I have a model consisting of two truss members. Applying lateral static point load. Recorder for member forces work if truss members are assigned elastic material properties but not if members are assigned inelastic properties:
p.s. no problem with displacement recorders in either model
#________________________________________
#MODEL 1: ELASTIC
model BasicBuilder -ndm 2 -ndf 2
node 1 0 0
node 2 360 0
node 3 180 156
fix 1 1 1
fix 2 1 1
uniaxialMaterial Elastic 1 38375.56
element truss 1 1 3 9.0 1
element truss 2 3 2 9.0 1
recorder Node d3.xls disp -node 3 -dof 1
recorder Element -file f1.txt -ele 1 axialForce
recorder Element -file f2.txt -ele 2 axialForce
pattern Plain 1 "Linear" {
load 3 10.0 0.0 0.0
}
constraints Plain
numberer RCM
system UmfPack
test NormDispIncr 1.0e-4 10
algorithm Newton
integrator LoadControl 1
analysis Static
analyze 1
#________________________________________
#MODEL 2: INELASTIC
model BasicBuilder -ndm 2 -ndf 2
node 1 0 0
node 2 360 0
node 3 180 156
fix 1 1 1
fix 2 1 1
uniaxialMaterial Steel01 1 36 29000 0.2
set b_BRB1 3.0;
section Fiber 1 {
patch quad 1 3 3 [expr -$b_BRB1 / 2.0] [expr -$b_BRB1 / 2.0] [expr $b_BRB1 / 2.0] [expr -$b_BRB1 / 2.0] [expr $b_BRB1 / 2.0] [expr $b_BRB1 / 2.0] [expr -$b_BRB1 / 2.0] [expr $b_BRB1 / 2.0]
}
element truss 1 1 3 1
element truss 2 3 2 1
recorder Node d3.xls disp -node 3 -dof 1
recorder Element -file f1.txt -ele 1 axialForce
recorder Element -file f2.txt -ele 2 axialForce
pattern Plain 1 "Linear" {
load 3 10.0 0.0 0.0
}
constraints Plain
numberer RCM
system UmfPack
test NormDispIncr 1.0e-4 10
algorithm Newton
integrator LoadControl 1
analysis Static
analyze 1
Recorder problem
Moderators: silvia, selimgunay, Moderators
I was using an older version of OpenSees (gave displacements but not forces). I downloaded the newer version and can record forces using "forces" now. But this time I can`t record displacements. I have tried both below:
Option 1) recorder Node d3.txt disp -node 3 -dof 1
Option 2) recorder Node -file d.txt node 3 -dof 1 disp
and neither worked for getting node displacements. Any suggestions?
Option 1) recorder Node d3.txt disp -node 3 -dof 1
Option 2) recorder Node -file d.txt node 3 -dof 1 disp
and neither worked for getting node displacements. Any suggestions?