Frame (5): local-to-global transformation
Direction cosine matrix
The 3×3 rotation matrix whose rows are the unit vectors of the local axes in terms of global X, Y, Z:
And for the whole element (displacements and rotations at both ends):
where is the matrix after releases and rigid arms. The entries of are rounded to eight decimal places to remove numerical noise (for example instead of zero).
Local axis angle and the vertical case
are built as on the axes page:
| Member type | Reference vector for axis 2 | Special case |
|---|---|---|
| Vertical member (vertical column) | (projection of axis 2 on X positive) | — |
| Any non-vertical member: beam, brace, inclined column | (axis 2 in the vertical plane through axis 1, pointing up) | — |
Then the rotation angle about axis 1 is applied. Example: a vertical column with has axis 2 toward and axis 3 toward .
The distinction between vertical and non-vertical is geometric (from the end coordinates), not from naming the member a column or a beam. This is the same CSI/ETABS rule. Example: an inclined column from to : , , and . A near-vertical member within a small tolerance is treated as vertical, as in ETABS; so axes 2 and 3 (and the signs of local moments) may flip between a perfectly vertical column and a very slightly inclined one.
The exact rule: let be the differences between the end coordinates. If mm the member is a beam. Otherwise, if mm and mm, it is a column (axis 2 from ); anything else is a brace (axis 2 from ). The 1 mm tolerance is absolute and does not depend on the member length. Warning: if the top of a column is offset by more than 1 mm, it becomes a brace: axis 2 flips, and V2, M33, V3 and M22 change sign.
Member direction: the difference from ETABS
Before building the axes, AMS orders the member ends automatically (end ordering): end I is the lowest in Z, then lowest in X, then lowest in Y. The result:
- Column: axis 1 always points up.
- Beam: axis 1 toward (and a beam parallel to Y toward ).
ETABS, however, keeps axis 1 from I to J as you drew the member. So for a member drawn top-to-bottom, or right-to-left, its local forces (shear, moment and torsion) in AMS have the opposite sign to ETABS, because the local axes are reversed. The physical forces and global displacements are the same. When comparing with ETABS, take the drawing direction into account.
Joints shared with shells
At a joint where a frame meets a shell element, the solver stores the joint rotations with a sign consistent with the shell. So a diagonal compatibility matrix in the shell axes is applied to the rotation block of the global frame matrix:
The same transformation is reversed when frame forces are recovered, so the results shown to the user have the usual physical signs.
Current limits
- No known limits specific to the transformation. Just mind the member direction when comparing signs with ETABS.