The Chartership Forum

Linear Finite Element Analysis / Mesh verification

Field error and energy norms

Define the quantity being checked, measure field error and recognise when a neat convergence table is misleading.

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 verification specialist: quantity selection, singular fields, adaptive methods and acceptance criteria. The exact error identities apply to the stated uniform beam benchmark.
  • Actual browser zoom, screen-reader/additional-browser use and native-fullscreen visual rendering remain unqualified; see report.

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

  • Separate algebraic, discretisation and modelling error
  • Derive displacement and energy-norm errors for a uniform Hermite beam mesh
  • Use refinement and extrapolation only when their assumptions match the observed sequence

What you should already know

  • Beam interpolation, energy and consistent loading
  • Solver residuals and stress recovery

Write the comparison before refining

Specify a quantity of interest, its location and its units. A support reaction, midpoint movement, section moment and local peak stress can converge differently. Keep geometry, material, loads, supports and recovery conventions unchanged while refining. Otherwise the sequence mixes discretisation changes with changes to the physical problem.

Start with equilibrium, symmetry where applicable, deformation shape and load direction. A converged solution to the wrong restraint system can give a very convincing table. Compare with a hand calculation or a deliberately simpler model before interpreting small differences as accuracy.

Algebraic error is the error in solving the assembled equations. Discretisation error comes from restricting the admissible fields. Modelling error comes from the adopted geometry, constitutive law, dimensional reduction and boundary conditions. The first can often be made small relative to the second, while the third may dominate both.

w(x)=qx(L3−2Lx2+x3)24EI,w(L/2)=5qL4384EI,U=q2L5240EIw(x)=\frac{qx(L^3-2Lx^2+x^3)}{24EI},\quad w(L/2)=\frac{5qL^4}{384EI},\quad U=\frac{q^2L^5}{240EI}

What it calculates: Exact displacement and strain energy for a simply supported prismatic Euler–Bernoulli beam under uniform q.

Use a case that exposes interpolation error

The reference displacement is quartic. A two-node Hermite beam interpolates a cubic from endpoint values and slopes, so one element cannot reproduce that quartic throughout its length. For this particular uniform beam and consistent loading, the exact nodal movements and slopes satisfy the assembled equations. The remaining error occurs inside elements.

That property is special to this one-dimensional benchmark. It does not mean ordinary beam meshes always give exact nodal results. It does show why checking only nodal values can miss a field error. With two elements, the midpoint is a node and its movement is exact to numerical precision, although the field is still approximate.

Within an element of length h and local coordinate s, the quartic interpolation remainder is q s²(s−h)²/(24EI). It vanishes with its first derivative at both ends and reaches its largest magnitude at s=h/2. This gives an independent pointwise error reference.

max⁡e∣w−wh∣=∣q∣h4384EI,∥e∥E2=∫0LEI(w′′−wh′′)2 dx,∥e∥E∥w∥E=16 n2\max_e|w-w_h|=\frac{|q|h^4}{384EI},\qquad\|e\|_E^2=\int_0^L EI(w''-w_h'')^2\,dx,\qquad\frac{\|e\|_E}{\|w\|_E}=\frac1{\sqrt6\,n^2}

What it calculates: Maximum interior error and relative energy-norm error for n equal elements in this specific benchmark.

Relate the norm to energy without changing its meaning

The energy norm squared of the exact field is 2U. Galerkin orthogonality gives ||e||E²=2(U−Uh) for this conforming, consistently loaded problem. Thus the relative energy-norm error is the square root of the relative strain-energy difference. Reporting the energy difference as the norm error would understate it.

Integrating the squared curvature remainder gives Uh/U=1−1/(6n⁴). The implementation separately integrates the squared curvature error with a three-point Gauss rule and compares it with this expression. It also checks support reactions and the maximum interior displacement error. These comparisons test different parts of the calculation.

At zero load both the exact and discrete fields vanish. Their absolute difference is zero, but relative error against the zero reference norm is undefined. The laboratory reports that condition explicitly.

Sources and specialist review

The beam reference and error identities are derived from the Euler–Bernoulli boundary-value problem and Hermite interpolation; they are checked independently of assembly. Netlib supplies algebraic stopping context. Adaptive error estimators, singular fields and decision-specific tolerances need specialist review. The derivations, examples and teaching routines are original. Bounded numerical checks are recorded; independent specialist review of the formulation, applicability and educational treatment remains open. Download the analysis routines, together with their member and bar dependencies.