A question about output
Moderators: silvia, selimgunay, Moderators
A question about output
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
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
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
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