Recorder problem

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

Moderators: silvia, selimgunay, Moderators

Post Reply
eroz
Posts: 49
Joined: Wed Sep 14, 2005 7:47 am
Location: San Francisco

Recorder problem

Post by eroz »

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
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

there was a bug in getResponse when you use a truss with a section .. it will be fixed in version 2.0.2 .. in the mantime you can use 'forces'
eroz
Posts: 49
Joined: Wed Sep 14, 2005 7:47 am
Location: San Francisco

Post by eroz »

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?
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

option 2 is nearly correct .. you need -node
eroz
Posts: 49
Joined: Wed Sep 14, 2005 7:47 am
Location: San Francisco

Post by eroz »

Thank you.
Post Reply