Drift recorders

Post Reply
kolozvari
Posts: 227
Joined: Tue Oct 05, 2021 9:22 pm

Drift recorders

Post by kolozvari » Mon Oct 10, 2022 12:10 am

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.

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

Re: Drift recorders

Post by STKO Team » 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
(610.14 KiB) Downloaded 372 times
It will produce something like this:
drift.png
drift.png (240.8 KiB) Viewed 5107 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 5107 times

Wenyu
Posts: 25
Joined: Sat Sep 10, 2022 2:58 am

Re: Drift recorders

Post by Wenyu » Mon Jan 30, 2023 12:26 pm

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:
Attachments
erro.jpg
erro.jpg (1.44 MiB) Viewed 4979 times

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

Re: Drift recorders

Post by STKO Team » 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
utils.png (5.14 KiB) Viewed 4960 times

Wenyu
Posts: 25
Joined: Sat Sep 10, 2022 2:58 am

Re: Drift recorders

Post by Wenyu » Wed Feb 01, 2023 3:10 am

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!

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

Re: Drift recorders

Post by STKO Team » Wed Feb 01, 2023 7:43 am

you're welcome

Post Reply