time duration

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

Moderators: silvia, selimgunay, Moderators

Post Reply
hrodrigues
Posts: 44
Joined: Wed Nov 14, 2007 7:50 am
Location: Aveiro
Contact:

time duration

Post by hrodrigues »

I’d like to know the time duration in seconds on an analysis.
There is any OS command or TCL command to know this?
Tanks in advanced.
Hugo Rodrigues
PhD Student
Hugo Rodrigues
University of Aveiro, Portugal
sweet.ua.pt/~a19709
hrodrigues@ua.pt
silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia »

it's in tcl. here are pieces of what i have:

set thisStartTimeSeconds [clock seconds]

run the analysis

set thisEndTimeSeconds [clock seconds]

set duration [expr $thisEndTimeSeconds - $thisStartTimeSeconds]
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
hrodrigues
Posts: 44
Joined: Wed Nov 14, 2007 7:50 am
Location: Aveiro
Contact:

Post by hrodrigues »

thanks.!
PhD Student
Hugo Rodrigues
University of Aveiro, Portugal
sweet.ua.pt/~a19709
hrodrigues@ua.pt
silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia »

Tcl's a pretty cool language, you can do lots of stuff around your analysis.
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
Post Reply