Hi,
Is it possible to save the results of a time history analysis in a tcl list. For example element forces of a particular element of the model in all time steps of the analysis.
I need to get a lot of outputs from my model and I think this amount of IO makes the process slower. Also the size of the text outputs becomes troublesome.
Anyway at the end of the day I need to reopen the outputs for post processing with another program (e.g. Matlab) and just keep the maximum response.
I was hoping to save all the output in a list during the analysis, and perform the post processing by tcl.
Is there any way to do this?
Saving the results in a tcl list
Moderators: silvia, selimgunay, Moderators
-
- Posts: 24
- Joined: Mon Jun 18, 2012 9:29 am
- Location: Lehigh University
Re: Saving the results in a tcl list
use lapped: http://wiki.tcl.tk/1479
set a {}
while {$analysisNotDone == 0} {
analyze 1
set myData [whatever command]
lappend a $myData
}
set a {}
while {$analysisNotDone == 0} {
analyze 1
set myData [whatever command]
lappend a $myData
}
-
- Posts: 24
- Joined: Mon Jun 18, 2012 9:29 am
- Location: Lehigh University
Re: Saving the results in a tcl list
Dear fmk,
Thank you for your response.
Is there an equivalent command for every type of node and element recorder? I am aware of the following commands for node reactions and element forces:
nodeReaction
eleForce
How about other types of outputs? For example element deformation outputs. Or outputs for fiber sections?
Thank you for your response.
Is there an equivalent command for every type of node and element recorder? I am aware of the following commands for node reactions and element forces:
nodeReaction
eleForce
How about other types of outputs? For example element deformation outputs. Or outputs for fiber sections?
-
- Posts: 24
- Joined: Mon Jun 18, 2012 9:29 am
- Location: Lehigh University
Re: Saving the results in a tcl list
I found this page which I think should be the answer of my question:
http://opensees.berkeley.edu/wiki/index ... t_Commands
Thanks though.
http://opensees.berkeley.edu/wiki/index ... t_Commands
Thanks though.