The Chartership Forum

The Finite Element Method: First Principles / Strong and weak forms

Galerkin approximation and energy checks

Distinguish trial and test spaces and boundary terms. Relate weighted residual equilibrium to the finite matrix equations.

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 FEM/continuum reviewer to check derivations, pedagogical completeness, constraint conventions and the limits of the recorded benchmarks. Actual 125%, 150% and 200% browser zoom 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

What you should already know

Restrict the approximation space

Choose continuous piecewise polynomial basis functions N₁,…,Nₙ and express displacement as uₕ = ΣNⱼdⱼ. Apply the same basis to the admissible test field vₕ = ΣNᵢηᵢ, with constrained variation coefficients omitted. Inserting these expressions into virtual work and collecting the independent ηᵢ gives one equilibrium equation per free nodal degree of freedom.

∑j[∫0LNi′EANj′ dx]dj=∫0LNiq dx+Ni(L)P\sum_j\left[\int_0^L N_i\prime EA N_j\prime\,dx\right]d_j=\int_0^L N_iq\,dx+N_i(L)P

What it calculates: Galerkin equations for each unconstrained test function.

On an element, collect shape functions into the row N. The strain-displacement row is B = dN/dx, so εₕ = B dₑ. Linear elasticity gives σₕ = E B dₑ. Internal virtual work is ηₑᵀ∫Bᵀ E B A dx dₑ. The element coefficient is the stiffness matrix. In a small-strain continuum, B contains the appropriate displacement derivatives and D is the constitutive matrix written using a consistent stress/strain convention.

Ke=∫0hBTEBA dx,fe=∫0hNTq dx\mathbf K_e=\int_{0}^{h}\mathbf B^T E\mathbf B A\,dx,\qquad \mathbf f_e=\int_{0}^{h}\mathbf N^Tq\,dx

What it calculates: Axial element stiffness and consistent distributed load.

Ke=∫ΩeBTDB dΩ\mathbf K_e=\int_{\Omega_e}\mathbf B^T\mathbf D\mathbf B\,d\Omega

What it calculates: The analogous small-strain linear-elastic continuum expression. Plate/plane formulations require their appropriate thickness or geometric factors.

For the axial member B has units 1/m and EA has units N. Integrating gives stiffness in N/m, which multiplied by displacement produces force. The matrix is symmetric when the constitutive relation is symmetric and the integration is consistent. An unconstrained element is positive semidefinite because rigid translation produces zero strain. Positive definiteness of the assembled reduced matrix requires removal of rigid modes and other mechanisms; symmetry alone is insufficient.

In continuum notation, engineering shear strains and tensor shear strains use different factors of two. D and B must use the same convention. The compact BᵀDB expression does not excuse mixing them. The expression above also excludes geometric stiffness, follower-load linearisation and history-dependent constitutive tangents.

Worked example

Test the boundary terms using v = x

Given

  • Uniform bar: L = 2 m, P = 20 kN, q = 10 kN/m
  • Continuous force N(x) = 40 − 10x kN

Find

Verify the weak work identity with one admissible test function.

    Energy and convergence

    For conservative loads and this linear elastic axial problem, Π(u) = a(u,u)/2 − ℓ(u). Its first variation is a(v,u) − ℓ(v), so stationary potential energy gives the weak equation. With adequate restraints and EA bounded away from zero, the quadratic form is positive definite on V and the stationary point is a minimum. These conditions matter: a generic nonlinear equilibrium need not be a minimum.

    The Galerkin error e = u − uₕ satisfies a(vₕ,e) = 0 for every admissible finite-element test field. This orthogonality gives best approximation in the energy norm for this symmetric coercive problem. It does not establish monotonic pointwise stress convergence. Nonconforming, mixed, under-integrated or nonlinear formulations require their own stability and consistency arguments.

    ∥u−uh∥a2=∫0LEA(u′−uh′)2 dx\|u-u_h\|_a^2=\int_0^L EA(u\prime-u_h\prime)^2\,dx

    What it calculates: Energy-norm error squared; distinguish it from the missing strain energy, which is half this value for the homogeneous conservative problem.

    References and further study

    Klaus-Jürgen Bathe, Finite Element Procedures, Prentice Hall, 1996, ISBN 0-13-301458-4, section 3.3.4, pages 124–127, explains the differential, variational and Galerkin formulations used as the theoretical reference here. Peter Debney, Computational engineering, IStructE, version 1.3, July 2022, sections 7.8–7.9, pages 150–153, discuss model validity and independent checking. The supplied books are private references; no textbook example or figure is reproduced here.

    MIT OpenCourseWare: Bathe, Analysis of continuous systems introduces the virtual-displacement formulation. The displacement-based finite element method continues to discrete equations. These are further-learning links, not a claim that MIT verified this implementation.

    The calculations in this lesson were derived independently and checked against force integration, compliance and strain-energy identities. Verification applies to the stated axial model and test cases. It does not establish suitability for a real structure.