Error in absolute acceleration record

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

Moderators: silvia, selimgunay, Moderators

Post Reply
hyunee
Posts: 21
Joined: Thu Dec 13, 2012 12:21 am
Location: Virginia Tech

Error in absolute acceleration record

Post by hyunee »

Hello,
I have a question about recorder command to record absolute acceleration.
I did a dynamic analysis with UniformExcitation and tried to record the floor absolute acceleration using recorder Node command in ver. 2.4.3. However, it showed me an error that says "NodeRecorder - dataToStore Series -dt 0.01 -filePath NR94cnp.tcl-factor 386.2 not recognized <disp, vel, accel, incrDisp, incrDeltaDisp>"
I ran exactly the same tcl file in version 2.3.2 and got no problem. So I think that there is no problem in my tcl file. When I ran it without timeSeries option, it worked well in both ver. 2.4.3 and ver. 2.3.2. Could anyone tell me what the problem is?
Thank you.
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: Error in absolute acceleration record

Post by vesna »

Would you post your recorder so we can test it.
hyunee
Posts: 21
Joined: Thu Dec 13, 2012 12:21 am
Location: Virginia Tech

Re: Error in absolute acceleration record

Post by hyunee »

I just added the following command just after the command line of "# create load pattern:" in the example of "Dynamic Analysis of 2-Story Moment Frame (without panel zones)".

#---------------- Acceleration recorder -----------------------------------------------------------------------------
#Absolute acceleration recorder
recorder Node -file dataDir/Accel_S1.out -timeSeries $accelSeries -node 11 -dof 1 accel;
recorder Node -file dataDir/Accel_S2.out -timeSeries $accelSeries -node 12 -dof 1 accel;
recorder Node -file dataDir/Accel_S3.out -timeSeries $accelSeries -node 13 -dof 1 accel;

Thank you.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Error in absolute acceleration record

Post by fmk »

is $accelSeries an integer or a string? .. if a string, you must use the timeSeries command to define a timeseries before it is used in the pattern or recorder command (the pattern command will let you away with it, not the recorder command)
hyunee
Posts: 21
Joined: Thu Dec 13, 2012 12:21 am
Location: Virginia Tech

Re: Error in absolute acceleration record

Post by hyunee »

I put a time history of ground accelerations as an input ground motion and defined as follows:
set accelSeries "timeSeries -dt $dt -filePath $GMfile -factor [expr $Scalefact*$g]";
This one is working at least for analysis.

I also tried to use the timeSeries command to define the ground motion as follows:
timeSeries Path accelSeries -dt $dt -filePath $GMfile -factor [expr $Scalefact*$g];
However, this one is not working.
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: Error in absolute acceleration record

Post by vesna »

When using timeSeries you need to specify timeSeries tag:
timeSeries Path 10 -dt $dt -filePath $GMfile -factor [expr $Scalefact*$g];

After that define the recorder and the load pattern.

Here is an example of the recorder:
recorder Node -file dataDir/Accel_S1.out -timeSeries 10 -node 11 -dof 1 accel;
mohsenVazirizade
Posts: 17
Joined: Wed Oct 14, 2015 12:08 am
Location: Sharif University of Technology; University of Arizona

Re: Error in absolute acceleration record

Post by mohsenVazirizade »

I think the problem will be solved if you try the following command:

set accelSeries "Series -dt $dt -filePath $GMfile -factor [expr $Scalefact*$g]";

Actually timeSeries is replaced by Series.
Post Reply