The mathematical procedure to form the frame element local axes according to the default orientation rule is summarized below:
- Let V1, V2 and V3 be the unit vectors that represent the local 1,2 and 3 axes respectively and we also have an auxiliary unit vector, Vn the definition of which is explained in the following procedure.
- V1 is the vector from start node to end node.
-
Then the vector Vn is
- [0, 0, 1] if local axis 1 is not parallel to global Z-axis.
- [1, 0, 0] if local axis 1 is in the direction of positive Z-axis of the global coordinate system.
- [-1, 0, 0] if local axis 1 is in the direction of negative Z-axis of the global coordinate system.
- Obtain V3 as V3 = V1 x Vn
- Obtain V2 as V2 = V3 x V1
|