Masonry example without fully postproces

Lei Lei
Posts: 124
Joined: Mon Jul 10, 2023 1:28 pm

Re: Masonry example without fully postproces

Post by Lei Lei » Sun Nov 26, 2023 5:46 am

Thanks!

But why the data in the second file didn't contain the full-time history? It should have all the data during the 13400s instead of only the 450s.

Looking forward to your reply!

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Masonry example without fully postproces

Post by STKO Team » Mon Nov 27, 2023 8:35 am

Sorry but I cannot test it, there is a tcl file for custom recorders that is not in the attachments

Lei Lei
Posts: 124
Joined: Mon Jul 10, 2023 1:28 pm

Re: Masonry example without fully postproces

Post by Lei Lei » Tue Nov 28, 2023 2:05 am

Hello, you can just remove it.

It's just a 'recorder' file with code below:
----------------------------------------
set filename Results

file mkdir $filename

recorder Element -file $filename/ele-20-localforce.txt -time -ele 20 localForce;


recorder Node -file $filename/nodes-4-disp.txt -time -node 4 -dof 2 disp;
recorder Node -file $filename/nodes-5-force.txt -time -node 5 -dof 2 reaction;
------------------------------------------

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Masonry example without fully postproces

Post by STKO Team » Fri Feb 09, 2024 9:42 am

In my case it works fine.
However, since it's a parallel analysis with opensees mp, you need a parallel numberer and the mumps solver (see the attached file)
Curve Beam Model Test_Load Control.zip
(1.31 MiB) Downloaded 294 times

Lei Lei
Posts: 124
Joined: Mon Jul 10, 2023 1:28 pm

Re: Masonry example without fully postproces

Post by Lei Lei » Sun Feb 25, 2024 1:15 pm

I get it!

Thanks for your reply!

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Masonry example without fully postproces

Post by STKO Team » Mon Mar 04, 2024 9:28 am

You're welcome

Lei Lei
Posts: 124
Joined: Mon Jul 10, 2023 1:28 pm

Re: Masonry example without fully postproces

Post by Lei Lei » Sat Mar 09, 2024 2:07 pm

Dear STKOteam,

After using your recommended method for some time, I hope you can come up with a more convenient way to record node data.

Your proposed method creates only N files for N processes, and each file contains data for many nodes, making it difficult to find out which node the data belongs to.

Is there a way to output all of a node's data into a separate file under parallel computing?
STKO Team wrote:
Mon Nov 20, 2023 9:43 am
Otherwise, if you want to use plain recorders, you must create them one per process. Something like this:
recorder Node -file "ANodeRecorder_[getPID].txt" ....
where the [getPID] function will return the ID of the current processor.
So, in this way you will have N files, one for each process.
Then you can do some scripting to merge them

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Masonry example without fully postproces

Post by STKO Team » Tue Mar 12, 2024 10:45 am

Simple text-based node recorders are in OpenSees, STKO has no control over them.
Why don't you use the Monitor function in STKO? It's used to monitor a node response in real-time, but all it does is to write node data into a file, taking care of the processors.
Otherwise you can use the MPCORecorder and use the Python API to extract data from STKO post processor

Post Reply