Page 1 of 1

Drift recorders

Posted: Mon Oct 10, 2022 12:10 am
by kolozvari
Hello, how can I setup drift recorders in a multi-story building? Is it possible to do it only once so I can easily post-process drifts after each analysis?

Please let me know.

Thank you.

Re: Drift recorders

Posted: Mon Oct 10, 2022 8:05 am
by STKO Team
Drift recorders in OpenSees can work only in sequential analysis. They do not work in parallel. (or at least they do not work in a straightforward manner).
We talked about this in out webinar on the Introduction to the STKO Python API.

One way is to use the Python API in STKO post processor:
Here you can find a building model for parallel analysis with OpenSeesMP. In the folder there is a python script for the STKO Python API to be used in the post-processor.
It will extract the drift ratio for all columns it finds.
DRIFT.zip
(610.14 KiB) Downloaded 372 times
It will produce something like this:
drift.png
drift.png (240.8 KiB) Viewed 5110 times
Another way is to add dummy zero length elements between the column-ends, add 2 dummy (E = 0) elastic material in the global X and Y direction. Record material.strain.
In zero-length elements it will be the displacement-jump.
You can then extract it from gauss-plot
Having a zero-length element between the 2 column's end-nodes will guarantee both nodes to be on the same processor.
drift-zlen.png
drift-zlen.png (20.49 KiB) Viewed 5110 times

Re: Drift recorders

Posted: Mon Jan 30, 2023 12:26 pm
by Wenyu
STKO Team wrote:
Mon Oct 10, 2022 8:05 am
Drift recorders in OpenSees can work only in sequential analysis. They do not work in parallel. (or at least they do not work in a straightforward manner).
We talked about this in out webinar on the Introduction to the STKO Python API.

One way is to use the Python API in STKO post processor:
Here you can find a building model for parallel analysis with OpenSeesMP. In the folder there is a python script for the STKO Python API to be used in the post-processor.
It will extract the drift ratio for all columns it finds.
DRIFT.zip
It will produce something like this:
drift.png

Another way is to add dummy zero length elements between the column-ends, add 2 dummy (E = 0) elastic material in the global X and Y direction. Record material.strain.
In zero-length elements it will be the displacement-jump.
You can then extract it from gauss-plot
Having a zero-length element between the 2 column's end-nodes will guarantee both nodes to be on the same processor.
drift-zlen.png
Dear STKO Team,
I used this Python API in STKO post processor, and then attachment error occurred. What should I do to solve this problem :cry:

Re: Drift recorders

Posted: Tue Jan 31, 2023 3:47 pm
by STKO Team
Sorry, my mistake.
Just remove utils. in front of ThreadUtils because you don't have it in a utils subfolder
utils.png
utils.png (5.14 KiB) Viewed 4963 times

Re: Drift recorders

Posted: Wed Feb 01, 2023 3:10 am
by Wenyu
STKO Team wrote:
Tue Jan 31, 2023 3:47 pm
Sorry, my mistake.
Just remove utils. in front of ThreadUtils because you don't have it in a utils subfolder
utils.png
Thank you so much!

Re: Drift recorders

Posted: Wed Feb 01, 2023 7:43 am
by STKO Team
you're welcome