Error in NodeRecorder

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

Moderators: silvia, selimgunay, Moderators

Post Reply
alirezaii
Posts: 37
Joined: Fri Mar 16, 2012 8:07 am

Error in NodeRecorder

Post by alirezaii » Mon Dec 23, 2013 5:20 am

Hi vesna
I try to model a strut as follows:
wipe all;
## Units kips-inches
model BasicBuilder -ndm 2 -ndf 3
## Nodes
node 1 0.0 0.0
node 2 10.0 0.0
node 3 12.0 0.0
node 4 50.0 0.5
node 5 88.0 0.0
node 6 90.0 0.0
node 7 100.0 0.0
## Mass
mass 7 1.0 0.0 0.0
#Boundary Conditions
fix 1 1 1 1
fix 7 0 1 1
## Materials
# uniaxialMaterial Steel01 1 40.0 29800.0 0.003
uniaxialMaterial Steel02 1 40.0 29800.0 0.003 20 0.925 0.15 0.0005 0.01 0.0005 0.01
## Pipe Section (4” diameter, ½” wall thickness)
section fiberSec 1 {
patch circ 1 20 4 0.0 0.0 2.0 1.5 360.0 0.0
}
## Gusset Plate Section (1” thick, 20” wide)
section fiberSec 2 {
patch quadr 1 4 4 -10.0 0.5 -10.0 -0.5 10.0 -0.5 10.0 0.5
}
## Transformation
geomTransf Corotational 1
## Define Model
element elasticBeamColumn 1 1 2 1e3 1e8 1e6 1 ;# ‘Rigid’ offset
element nonlinearBeamColumn 2 2 3 3 2 1 ;# Gusset plate
element nonlinearBeamColumn 3 3 4 3 1 1 ;# Brace
element nonlinearBeamColumn 4 4 5 3 1 1 ;# Brace
element nonlinearBeamColumn 5 5 6 3 2 1 ;# Gusset plate
element elasticBeamColumn 6 6 7 1e3 1e8 1e6 1 ;# 'Rigid’ offset
## Recorder
set OutFileID "D:/ICCCBE2014/ICCCBE2/SCBF"
file mkdir $OutFileID/Output

recorder Node –file "$OutFileID/Output/Disp.txt" –time –node 7 –dof 1 disp
recorder Node -file "$OutFileID/Output/Reactions/SupportReactions.txt" -time -node 1 -dof 1 2 reaction
recorder EnvelopeNode -file "$OutFileID/Output/Reactions/MaxSupportReactions.txt" -time -node 1 -dof 1 2 reaction


## Apply the nodal Load
pattern Plain 1 Linear { load 7 1.0 0.0 0.0 }


## Static Analysis parameters
test EnergyIncr 1.0e-8 300 0
algorithm KrylovNewton
system UmfPack
numberer RCM

constraints Plain

set peaks [ list 0.25 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 ]
for {set i 1 } { $i <= 9 } {incr i 1} {
set dU [expr -1.0*pow((-1.0),$i)*[lindex $peaks [expr $i-1] ]/50.0 ]
integrator DisplacementControl 7 1 $dU 1 $dU $dU
analysis Static

analyze 50
}




but opensees gives me an ERROR "NodeRecorder:: NodeRecrder - dataToStore [Cofilenot recognized <disp , vel ,acce...>"

alirezaii
Posts: 37
Joined: Fri Mar 16, 2012 8:07 am

Re: Error in NodeRecorder

Post by alirezaii » Sun Dec 29, 2013 9:53 am

Hello all
Pleas help me in this case.

Best regards in advance.

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Error in NodeRecorder

Post by fmk » Thu Jan 02, 2014 3:55 pm

it is a strange error that probably has to do with some funny character in that first recorder command that is not showing up when you look a the line. comment the line out, i.e. # before it.
retype the command as you have it on the net line, don't cut and paste.

Post Reply