how to save 'print' output to variable?

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

Moderators: silvia, selimgunay, Moderators

Post Reply
victorboserup
Posts: 1
Joined: Tue May 14, 2019 11:59 pm
Location: Technical University of Denmark

how to save 'print' output to variable?

Post by victorboserup » Thu Dec 19, 2019 7:39 am

Hi everyone

When running my transient analysis im saving the full general system matrix with 'printA' function to a file. However this computationally heavy work when i also need to import all these files for each timestep.

Is there a way to save the printA output values (for a SDOF system) to a variable (or lappend to a array) in OpenSees (Tcl)?

best regards,

Victor

Post Reply