Corotational Trans. Error message

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

Moderators: silvia, selimgunay, Moderators

Post Reply
mmasoudi
Posts: 12
Joined: Wed Feb 11, 2009 2:45 pm
Location: ROSE School, Pavia, Italy

Corotational Trans. Error message

Post by mmasoudi »

Hi, I have tried to model a single beam having a 4 m length with 9 equal length elements using the Corotational transformation.
I got the following error and Interpreter windows was closed immediately. However, it works fine with 4 elements.
Any suggestion?

CorotCrdTransf3d computeEleLengthAndOrien: 0 length
ElasticBeam3d setDomain--Error initializing coordinate transformation
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: Corotational Trans. Error message

Post by vesna »

The message indicates that there is an element with zero length to which you trying to impose corotational transformation. You may have an error in setting up the coordinates.
mmasoudi
Posts: 12
Joined: Wed Feb 11, 2009 2:45 pm
Location: ROSE School, Pavia, Italy

Re: Corotational Trans. Error message

Post by mmasoudi »

The coordinates of the nodes are fine. However, it seems that 0.4 m is considered zero by Opensees. When I change the length unit from m to cm or mm everything works fine. My intention is to subdivide a 4m beam to 10 elements.
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: Corotational Trans. Error message

Post by vesna »

If you add, subtract, multiply or divide two
integer numbers the result is an integer

expression like this:

set len [expr 4/10]

is zero.

But, expression like this:
set len [expr 4./10]
is 0.4
mmasoudi
Posts: 12
Joined: Wed Feb 11, 2009 2:45 pm
Location: ROSE School, Pavia, Italy

Re: Corotational Trans. Error message

Post by mmasoudi »

Yes, that was the problem. Thanks for your help.
Post Reply