How to Get Section Geometry
Moderators: silvia, selimgunay, Moderators
How to Get Section Geometry
I'm wondering if anyone knows of a convenient way to get the section geometry for an element already in a OpenSeesPy model.
I'm working on a few post-processing scripts for OpenSeesPy.
If I knew of a way to get section info about an element, it would be possible to plot thickened elements and do a whole host of other things.
I'm working on a few post-processing scripts for OpenSeesPy.
If I knew of a way to get section info about an element, it would be possible to plot thickened elements and do a whole host of other things.
Re: How to Get Section Geometry
There's not an easy way to get the section geometry from a fiber section. You can get the fiber locations and areas and make your best guess from there.
Re: How to Get Section Geometry
Hey Michael
Thanks for your response.
That makes sense - would that output would be through a recorder command, or is there any output command for fibre locations?
i.e. sectionFiber(eleTag, secNum) = [fibre_x, fibre_y, fibre_z]
What about non-fibre sections/elements?
Thanks for your response.
That makes sense - would that output would be through a recorder command, or is there any output command for fibre locations?
i.e. sectionFiber(eleTag, secNum) = [fibre_x, fibre_y, fibre_z]
What about non-fibre sections/elements?
Re: How to Get Section Geometry
There isn't a recorder option for the fiber locations and areas, but there could be. Can you create an "issue" at the OpenSees GitHub page?
https://github.com/OpenSees/OpenSees/issues
https://github.com/OpenSees/OpenSees/issues
Re: How to Get Section Geometry
Christian,
I see that there's a "fiberData" option for the FiberSection2d and 3d recorders. That should do the trick, except you probably want to get the number of fibers too. I'll add that as a recorder option.
Michael
I see that there's a "fiberData" option for the FiberSection2d and 3d recorders. That should do the trick, except you probably want to get the number of fibers too. I'll add that as a recorder option.
Michael
Re: How to Get Section Geometry
Hey Michael,
Thanks for your response on github and here. This works perfectly. I forgot you could use the eleResponse command with additional arguments.
For anyone else reading, the following command will do what I want.
out = op.eleResponse(1, 'section', '1', "fiberData" )
For most non-fiber elements we don't even input section dimensions, so manual input will be required either way to thicken elements.
C.
Thanks for your response on github and here. This works perfectly. I forgot you could use the eleResponse command with additional arguments.
For anyone else reading, the following command will do what I want.
out = op.eleResponse(1, 'section', '1', "fiberData" )
For most non-fiber elements we don't even input section dimensions, so manual input will be required either way to thicken elements.
C.
Re: How to Get Section Geometry
Do you divide the length of the returned vector by 5 in order to get the number of fibers? Seems dangerous