Degrees of freedom on the element
Frame elements are formulated in terms of the solution variables at user-defined end nodes and extra internal degrees of freedom associated with an internal node. The three-dimensional version of the element is discussed here. The two-dimensional version is found by appropriate reduction of the three-dimensional degrees of freedom. The element has three nodes (two user-defined and one internal), 12 external degrees of freedom, and three internal degrees of freedom. Each of the two end nodes has six external degrees of freedom: three displacements and three rotations. An internal node (at the center of the element) has three displacement degrees of freedom only, as shown in Figure 1.

The element is formulated in a local system with the x-direction representing the axial direction and the y- and z-directions representing the directions transverse to the frame element axis. In this local coordinate system the element's degrees of freedom can be written