AMS / AMSPRO Manual 06 — Theory & equations / Frame (5): local-to-global transformation

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:

R=[e1Te2Te3T]=[l1m1n1l2m2n2l3m3n3],l1=XJ−XIL, m1=YJ−YIL, n1=ZJ−ZIL\mathbf R=\begin{bmatrix}\mathbf e_1^{T}\\ \mathbf e_2^{T}\\ \mathbf e_3^{T}\end{bmatrix}= \begin{bmatrix} l_1&m_1&n_1\\ l_2&m_2&n_2\\ l_3&m_3&n_3 \end{bmatrix},\qquad l_1=\frac{X_J-X_I}{L},\ m_1=\frac{Y_J-Y_I}{L},\ n_1=\frac{Z_J-Z_I}{L}

And for the whole element (displacements and rotations at both ends):

T=diag⁡(R,R,R,R)(12×12),ulocal=T uglobal\mathbf T=\operatorname{diag}(\mathbf R,\mathbf R,\mathbf R,\mathbf R)\quad(12\times12),\qquad \mathbf u_{local}=\mathbf T\,\mathbf u_{global}

Kglobal=TT klocal T,fglobal=TTflocal\boxed{\mathbf K_{global}=\mathbf T^{T}\,\mathbf k_{local}\,\mathbf T},\qquad \mathbf f_{global}=\mathbf T^{T}\mathbf f_{local}

where klocal\mathbf k_{local} is the matrix after releases and rigid arms. The entries of R\mathbf R are rounded to eight decimal places to remove numerical noise (for example 10−1710^{-17} instead of zero).

Local axis angle and the vertical case

e2,e3\mathbf e_2, \mathbf e_3 are built as on the axes page:

Member type Reference vector for axis 2 Special case
Vertical member (vertical column) +X+X (projection of axis 2 on X positive) —
Any non-vertical member: beam, brace, inclined column +Z+Z (axis 2 in the vertical plane through axis 1, pointing up) —

Then the rotation angle β\beta about axis 1 is applied. Example: a vertical column with β=90∘\beta=90^\circ has axis 2 toward +Y+Y and axis 3 toward −X-X.

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 (0,0,0)(0,0,0) to (2,0,4)(2,0,4): e1=(0.447,0,0.894)\mathbf e_1=(0.447,0,0.894), e2=(−0.894,0,0.447)\mathbf e_2=(-0.894,0,0.447), and e3=(0,−1,0)\mathbf e_3=(0,-1,0). 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 ΔX,ΔY,ΔZ\Delta X,\Delta Y,\Delta Z be the differences between the end coordinates. If ∣ΔZ∣≤1|\Delta Z|\le 1 mm the member is a beam. Otherwise, if ∣ΔX∣≤1|\Delta X|\le 1 mm and ∣ΔY∣≤1|\Delta Y|\le 1 mm, it is a column (axis 2 from +X+X); anything else is a brace (axis 2 from +Z+Z). 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:

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:

G=∑a=13sa eash eash T,sa=±1,Kθθ←G Kθθ G\mathbf G=\sum_{a=1}^{3} s_a\,\mathbf e^{sh}_a\,\mathbf e^{sh\,T}_a,\quad s_a=\pm1,\qquad \mathbf K_{\theta\theta}\leftarrow \mathbf G\,\mathbf K_{\theta\theta}\,\mathbf G

The same transformation is reversed when frame forces are recovered, so the results shown to the user have the usual physical signs.

Current limits