Page 1 of 1

Creation of Output File

Posted: Fri May 14, 2021 2:41 pm
by youngkyu
Dear support team members,

I have a question regarding the creation of the result files in using STKO.

Other than Recorder (mpco file) in STKO,

I would like to get the results at nodes and elements in a format of text file (or .dat or .csv etc.) when hitting analysis button.

For instance,
the tcl command, "recorder" as below generates .xml or .dat files that contain displacement time series at nodes.

# record nodal displacement, acceleration, and pore pressure
eval "recorder Node -file Results/Gdisplacement.out -time -node $nodeListS -dof 1 2 disp"

I appreciate your support in advance.
Best,
Youngkyu

Re: Creation of Output File

Posted: Sat May 15, 2021 9:41 am
by Horace Horsecollar
Dear youngkyu ,

you have two options:
1) You can add to the analysis the custom command (see picture) and write:
# record nodal displacement, acceleration, and pore pressure
eval "recorder Node -file Results/Gdisplacement.out -time -node $nodeListS -dof 1 2 disp"
2) The most elegant and effective solution (but more complicated) is to use API python interface (https://asdeasoft.net/?webinar), you can implement basically everything, it is incredibly powerful.

Regards
Untitled.png
Untitled.png (34.62 KiB) Viewed 1312 times