The Chartership Forum

Linear Finite Element Analysis / Truss elements in 2D and 3D

Axial stiffness and global assembly

Derive axial stiffness in global coordinates and recover member force without changing sign conventions.

Lesson review: expert verification remains open

This lesson has received a full-context editorial review and a check of its technical explanations. Selected arithmetic has been checked separately. This is not independent engineering sign-off.

Checks needed for project use

  • Independent member-analysis reviewer: truss idealisation, spatial stability, connection assumptions and buckling exclusions. No general 3D network solver is implemented.
  • Actual browser zoom at 125%, 150% and 200% remains unqualified.

These are educational models and exercises. Check their assumptions before using the results. The full technical content and every diagram have not yet been independently verified.

Concrete and steel calculations retain their stated first-generation Eurocode teaching basis. Use the standards and amendments specified for your project; do not mix generations without an appropriate design basis.

Read the lesson register and outstanding review notes

By the end of this lesson you should be able to

  • Construct a rank-one axial element in two or three dimensions
  • Assemble a restrained joint and check statics and compatibility separately
  • Distinguish an axial idealisation from a frame or a compression-resistance calculation

What you should already know

  • Linear assumptions and vector dot products
  • First Principles: axial bar formulation and assembly

Choose the axial idealisation

An ideal truss member transmits axial force between its end nodes. Loads act at the joints, and the element contributes no bending or torsional stiffness. This can represent a pin-jointed assembly when those assumptions describe the load path. A physical connection may transmit moments, and distributed transverse loads may cause member bending. Both require a different idealisation or an additional justified calculation.

In 2D each node has two translations; in 3D it has three. There are no nodal rotations in this element. The local axial displacement is the projection of global displacement onto the original member axis. Because the direction is evaluated in the undeformed geometry, transverse movement contributes no first-order extension when the member is aligned with a coordinate axis.

L=∥xb−xa∥,n=xb−xaL,δ=nT(ub−ua)=ad,a=[−nT nT]L=\|\mathbf x_b-\mathbf x_a\|,\quad\mathbf n=\frac{\mathbf x_b-\mathbf x_a}{L},\quad\delta=\mathbf n^T(\mathbf u_b-\mathbf u_a)=\mathbf a\mathbf d,\quad\mathbf a=[-\mathbf n^T\ \mathbf n^T]

What it calculates: Length, unit direction and first-order extension; d contains node a translations followed by node b translations.

Derive stiffness from energy

For constant EA, axial strain is δ/L and axial force is EAδ/L. Take tension as positive. Integrating the strain energy along the member gives EAδ²/(2L). Differentiate once with respect to the global displacement vector to obtain the nodal internal force, then again to obtain stiffness. This avoids memorising separate 2D and 3D matrices.

The resulting matrix is symmetric and has rank one: one relative axial motion costs energy. Rigid translations and first-order transverse relative motions cost none. Individual elements are therefore singular before assembly. Stability belongs to the connected, restrained system; it cannot be inferred from an element diagonal being positive.

Ue=EA2L(ad)2,Ke=EALaTa,N=EALadU_e=\frac{EA}{2L}(\mathbf a\mathbf d)^2,\qquad\mathbf K_e=\frac{EA}{L}\mathbf a^T\mathbf a,\qquad N=\frac{EA}{L}\mathbf a\mathbf d

What it calculates: Stiffness and tensile-positive member force obtained from the same energy.

Assemble by degree of freedom

Use an explicit map from each element translation to its global index. Add every matrix entry at the mapped row and column. The two contributions at a shared node act on the same unknown. Apply the supports after assembly and retain the original full matrix for reactions. The downloadable two-bar routine fixes both translations of the outer nodes and leaves the apex free.

Reversing node order changes n and swaps the displacement blocks together. Extension and tensile-positive force remain unchanged. Reversing only the direction vector would change the sign convention incorrectly. When reporting end forces, the force at node a is −Nn and at node b is +Nn; these are equal and opposite global vectors.

Worked example

Solve a two-bar joint by independent equations

Given

  • Half-span b = 3 m, height h = 4 m; L = 5 m
  • E = 200 GPa; A = 500 mm² for both bars
  • Joint load (Fx,Fy) = (20,−30) kN

Find

Joint movement and signed member forces.

    Sources and review limits

    The axial projection and energy derivation are written out above. TU Delft’s frame notes describe combining axial and transverse member behaviour. Independent review remains needed for spatial-network examples and real connection idealisation. The derivations, examples and teaching routines here are original. Automated checks cover the stated idealisations. Independent FEM specialist review remains open, including the teaching sequence and the limits placed on engineering use.