Recording data every N steps

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

Moderators: silvia, selimgunay, Moderators

Post Reply
husseinokail
Posts: 10
Joined: Sun Mar 11, 2007 11:44 pm
Location: Ain Shams

Recording data every N steps

Post by husseinokail »

Is there anyway that i specify the recorders to collect data every N steps of the solution

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

Post by fmk »

you can use the -dT timeIncr? option on the Node, EnvelopeNode,Element, and EnvelopeElement recorders.

if you specify -dT 1.0 on a static analysius with load control factor of 0.1 you will get a result at every 10 steps, transient analysis is obviously similar.

Place it anywhere an option would make sense, i.e. anywhere but the end of the command.

we will get silvia to update the manual.
husseinokail
Posts: 10
Joined: Sun Mar 11, 2007 11:44 pm
Location: Ain Shams

Post by husseinokail »

well, that works fine but i had a small problem,
I have a gravity load step after which i keep the load constant and reset the time to zero by:

loadConst -time 0.0

then i start my time history analysis

this is my recorder:
recorder Node -file $dir/node1.txt -time -dT .001 -node 1 -dof 1 2 disp;

the problem is that the time doesn't come back to zero


so this is my time scale

.1
.2
.3
.4
.5
.6
.7
.8
.9
1
1.001
1.002
and so on


any advice?

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

Post by silvia »

it does, but then you don't get a result until the next step.
what you can do is set time to -dT if you want zero on the first analysis step....
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
husseinokail
Posts: 10
Joined: Sun Mar 11, 2007 11:44 pm
Location: Ain Shams

Post by husseinokail »

Thanks
Post Reply