A question about output

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

Moderators: silvia, selimgunay, Moderators

Post Reply
liwei
Posts: 15
Joined: Sat May 31, 2008 8:26 am

A question about output

Post by liwei »

I build a simple model with two truss elements.But when I souced it , the output file just gave nothing but the number 1 like this "1 ".I know the number "1" should be the analysis step. But I cannot get the internal force of truss elements. Why??

model basic -ndm 2 -ndf 2
reliability

node 1 0.0 0.0
node 2 10.0 1.0
node 3 20.0 0.0

set E 200.0
set P 18.0
set A 250.0


uniaxialMaterial Elastic 1 $E
#uniaxialMaterial Elastic 1 $E

section Uniaxial 1 1 P

# GEOMETRIC TRANSFORMATION
# geomTransf Corotational 1

element truss 1 1 2 $A 1
element truss 2 2 3 $A 1

fix 1 1 1
fix 2 0 0
fix 3 1 1

pattern Plain 1 Linear {
load 2 0.0 $P
}

recorder Element -file ele1global.out -time -ele 1 globalForce

constraints Plain
numberer RCM
test NormUnbalance 1.0e-6 25 0
integrator LoadControl 1 1 1 1
algorithm Newton
system ProfileSPD
sensitivityIntegrator -static
sensitivityAlgorithm -computeAtEachStep
analysis Static
analyze 1
liwei
Posts: 15
Joined: Sat May 31, 2008 8:26 am

Post by liwei »

Sorry, the souce code has some question.


This the new one:
model basic -ndm 2 -ndf 2

node 1 0.0 0.0
node 2 10.0 1.0
node 3 20.0 0.0

set E 200.0
set P 18.0
set A 250.0


uniaxialMaterial Elastic 1 $E



element truss 1 1 2 $A 1
element truss 2 2 3 $A 1

fix 1 1 1
fix 2 0 0
fix 3 1 1

pattern Plain 1 Linear {
load 2 0.0 $P
}

recorder Element -file ele1global.out -time -ele 1 globalForce


constraints Plain
numberer RCM
test NormUnbalance 1.0e-6 25 0
integrator LoadControl 1 1 1 1
algorithm Newton
system ProfileSPD
analysis Static

analyze 1
silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia »

the truss does not take the globalForce argument. see the manual, please.
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
liwei
Posts: 15
Joined: Sat May 31, 2008 8:26 am

Post by liwei »

Thanks!
But I need know internal force of truss elements. How can I find it?
silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia »

please see the manual, either at the element or at the recorder, or both.
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
liwei
Posts: 15
Joined: Sat May 31, 2008 8:26 am

Post by liwei »

:) , Thanks a lot .
Post Reply