Creation of Output File

Post Reply
youngkyu
Posts: 36
Joined: Tue May 04, 2021 3:36 pm

Creation of Output File

Post by youngkyu » Fri May 14, 2021 2:41 pm

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

Horace Horsecollar
Posts: 23
Joined: Mon Mar 22, 2021 11:42 am

Re: Creation of Output File

Post by Horace Horsecollar » Sat May 15, 2021 9:41 am

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 181 times

Post Reply