Error in absolute acceleration record
Moderators: silvia, selimgunay, Moderators
Error in absolute acceleration record
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.
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.
Re: Error in absolute acceleration record
Would you post your recorder so we can test it.
Re: Error in absolute acceleration record
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.
#---------------- 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.
Re: Error in absolute acceleration record
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)
Re: Error in absolute acceleration record
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.
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.
Re: Error in absolute acceleration record
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;
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;
-
- Posts: 17
- Joined: Wed Oct 14, 2015 12:08 am
- Location: Sharif University of Technology; University of Arizona
Re: Error in absolute acceleration record
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.
set accelSeries "Series -dt $dt -filePath $GMfile -factor [expr $Scalefact*$g]";
Actually timeSeries is replaced by Series.