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.
Drift recorders
Re: Drift recorders
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. It will produce something like this: 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.
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. It will produce something like this: 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.
Re: Drift recorders
Dear STKO Team,STKO Team wrote: ↑Mon Oct 10, 2022 8:05 amDrift 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
I used this Python API in STKO post processor, and then attachment error occurred. What should I do to solve this problem
- Attachments
-
- erro.jpg (1.44 MiB) Viewed 4981 times
Re: Drift recorders
Sorry, my mistake.
Just remove utils. in front of ThreadUtils because you don't have it in a utils subfolder
Just remove utils. in front of ThreadUtils because you don't have it in a utils subfolder