Last reviewed 30 Sept 2026 · 5 min read
What the finite element method does
Most real structures — a bridge deck, a station box, a dam — are too complicated to solve with a closed-form formula. The finite element method (FEM) replaces the continuous structure by a finite number of small pieces (elements) joined at points (nodes). Inside each element the unknown (displacement) is approximated by simple functions of the nodal values. The result is a large set of algebraic equations that a computer solves.
In structural engineering the displacement-based method dominates:
= global stiffness matrix, = nodal displacements, = nodal forces. It is the matrix stiffness method of structural analysis, generalised to continuum problems.
Steps of an analysis
- Idealise the structure — choose the type of element, geometry, supports and materials.
- Discretise — divide it into elements and number the nodes (this is the mesh).
- Choose shape functions — how displacement varies inside an element.
- Form the element stiffness matrix and load vector .
- Assemble the global and by adding each element's contribution at the shared degrees of freedom.
- Apply boundary conditions — prescribed displacements (supports) remove rows and columns.
- Solve for the unknown nodal displacements.
- Post-process — compute strains, stresses, member forces and reactions from the displacements.
Shape functions
Displacement inside an element is written from the nodal values :
The shape functions must satisfy:
- at node and 0 at every other node (the Kronecker property), so the interpolation returns the nodal values.
- everywhere (so that a rigid-body translation gives zero strain).
- Continuity across element boundaries (compatibility) and the ability to represent constant strain (completeness).
For a two-node bar of length with local coordinate : , (linear). For higher accuracy, quadratic and cubic functions are used.
Element stiffness matrix
From the strain–displacement relation and the material law :
For the axial bar (two nodes, area , modulus ):
For the plane frame / beam element in bending (Euler–Bernoulli, four degrees of freedom: deflection and rotation at each end):
The beam's shape functions are cubic (Hermite) polynomials, which ensure continuity of the deflection and slope.