Automatic geomTransf vecxz

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
NetoConrado
Posts: 8
Joined: Sun Oct 02, 2016 11:02 am
Location: Ryerson

Automatic geomTransf vecxz

Post by NetoConrado » Wed Mar 24, 2021 7:00 am

Hello! I am wondering if anyone knows any tool to calculate the vecxz for the geomTransf command.

I am modelling a large 3D bridge with frame elements (not truss) and I need to automate the calculation of vecxz for all the elements with different inclinations/angles.

I just need the local z to be in the vertical direction (pointing up) and y pointing to the left.

I am also curious as to why Opensees has to automatic (or default) option for this vector. In SAP2000 the local axis are defined automatically, isn't it? why OpenSees doesn't simplify this? it is an honest question, I assume there is a good reason for it and I want to know

thanks a lot for any ideas/suggestions!

mhscott
Posts: 582
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: Automatic geomTransf vecxz

Post by mhscott » Thu Mar 25, 2021 6:55 am

You can do what's described in this post: http://portwooddigital.com/2020/08/08/a ... x-z-plane/

Python is shown in the post, but you can do the same thing with Tcl.

NetoConrado
Posts: 8
Joined: Sun Oct 02, 2016 11:02 am
Location: Ryerson

Re: Automatic geomTransf vecxz

Post by NetoConrado » Thu Mar 25, 2021 7:34 am

mhscott wrote:
Thu Mar 25, 2021 6:55 am
You can do what's described in this post: http://portwooddigital.com/2020/08/08/a ... x-z-plane/

Python is shown in the post, but you can do the same thing with Tcl.
Thanks, Scott. This helps a lot
I used that algorithm and I have one quick question
if the element direction coincides with the global Y, then the vecxz returns 0 0 0
is that correct?

mhscott
Posts: 582
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: Automatic geomTransf vecxz

Post by mhscott » Thu Mar 25, 2021 11:04 am

Yes, you have to use a different vector for elements that coincide with global vertical

NetoConrado
Posts: 8
Joined: Sun Oct 02, 2016 11:02 am
Location: Ryerson

Re: Automatic geomTransf vecxz

Post by NetoConrado » Thu Mar 25, 2021 12:15 pm

mhscott wrote:
Thu Mar 25, 2021 11:04 am
Yes, you have to use a different vector for elements that coincide with global vertical
Oh I see. I need to carefully define how I want those to be myself
thanks

Post Reply