updateParameter Problem with v. 1.7.4

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
mebowers
Posts: 27
Joined: Fri Dec 15, 2006 8:02 am
Location: Clemson University

updateParameter Problem with v. 1.7.4

Post by mebowers »

Hey folks,

I stumbled upon a possible bug with v. 1.7.4 Can anybody run updateParameter in 1.7.4.? Apparently the format....

updateParameter -material $tag -refB value

is no longer valid in 1.7.4. It is looking for an integer first, not -material.

I can run the same file in 1.7.3 but not in 1.7.4. It should be noted that I am using OpenSees 1.7.4 with Vees.

Thanks,
Matt Bowers
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

that particular usage was a terrible hack of the parameter & updateParameter command .. try updateMaterials with the same options.
mebowers
Posts: 27
Joined: Fri Dec 15, 2006 8:02 am
Location: Clemson University

Post by mebowers »

I tried your suggestion...

updateMaterials is definitely recognized by v1.7.4 but not the -refB parameter identifier (it appears). The message NO RESULT appears, and the parameter is definitely not updated.

I tried some other values -B, -refBulkModul etc. but nothing seemed to work. Something is definitely wrong, is there another command to use intstead of -refB?
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

post a 2 element example that i can have a look at.
mebowers
Posts: 27
Joined: Fri Dec 15, 2006 8:02 am
Location: Clemson University

Post by mebowers »

wipe all

model basic -ndm 2 -ndf 2



# Loose Sand
set rho1 0.0000001586;
set RefShearMod1 7.9576;
set RefBulkMod1 21.7027;
set fricAng1 29;
set peakShearStr 0.1;
set refPress 0.0116;
set CoefConfi 0.5;
set phaseAng1 29;
set contrac1 0.27;
set dilat11 0;
set dilat21 0;
set lique11 0.00145;
set lique21 0.02;
set lique3 1;
set e1 0.85;
set n1 [expr $e1/($e1+1)]

#loose sand
nDMaterial PressureDependMultiYield 812 2 $rho1 $RefShearMod1 $RefBulkMod1 $fricAng1 $peakShearStr $refPress $CoefConfi $phaseAng1 $contrac1 $dilat11 $dilat21 $lique11 $lique21 $lique3


nDMaterial FluidSolidPorous 822 2 812 775 #Create Saturated Sand


node 1 0 0
node 2 12 0
node 3 12 12
node 4 0 12

node 5 12 24
node 6 0 24



# fix the base of two soil columns
fix 1 1 1
fix 2 1 1

set rmedsand 0.0000001759;
set rwater 0.00000009345
set g -386.4

element quad 1 1 2 3 4 525 PlaneStrain 822 0 $rmedsand 0 [expr ($rmedsand - $rwater)*$g]
element quad 2 4 3 5 6 525 PlaneStrain 822 0 $rmedsand 0 [expr ($rmedsand - $rwater)*$g]


#################################
system ProfileSPD
test NormDispIncr 1.0e-5 10 0
constraints Transformation
integrator LoadControl .2 1 .2 .2
algorithm Newton
numberer RCM
# create the Analysis
analysis Static
analyze 5

wipeAnalysis
setTime 0.0
#################################


updateMaterialStage -material 812 -stage 1 ; #PDMY sand
updateMaterialStage -material 822 -stage 1 ; #FluidSolidPorous Layer 4 and 2

#updateParameter -material 812 -refB 3; ### Displacements change in v. 1.7.3
updateMaterials -material 812 -refB 3; ### NO RESULT GIVEN in OpenSees 1.7.4

system ProfileSPD
test NormDispIncr 1.0e-5 10 0
constraints Transformation
integrator LoadControl .2 1 .2 .2
algorithm Newton
numberer RCM
# create the Analysis
analysis Static


pattern Plain 2 "Linear" {
# Node X Y Mz
load 5 500 0 0.0

}


analyze 5

vees
Post Reply