Skip to content

Finite Element Analysis

From Continuum To Mesh: Plane Stress And The Patch Test

Constitutive matrices, BᵀDB, CST versus Q4, and a patch test that must return 7 MPa and 35 kN on every mesh.

Nov 24, 202610 min read

Explorer · Plane-stress patch

∣u∣=(ϵxx)2+(νϵxy)2|u|=\sqrt{(\epsilon_x x)^2+(\nu\epsilon_x y)^2}
0max |u|
Displacements ×1500

σx–εx (plane stress, uniaxial)

7.0 MPa @ εx = 1e-4

Patch test across CST meshes (solver output)

MeshTrianglesσx (MPa)Reaction (kN)
2×147.000035.000
4×2167.000035.000
8×4647.000035.000

εx

1.0×10⁻⁴

εy

−3.0×10⁻⁵

F

35.0 kN

Problem

A rectangular plate patch, L=1.0 mL = 1.0\ \text{m} by H=0.5 mH = 0.5\ \text{m}, thickness t=0.010 mt = 0.010\ \text{m}, has E=70 GPaE = 70\ \text{GPa} and ν=0.30\nu = 0.30. The left edge is fixed in xx with a single vertical constraint against rigid-body motion; the right edge receives a uniform extension Δ=0.10 mm\Delta = 0.10\ \text{mm}.

This is a constructed verification case, not an example from the source notes: a mesh that cannot reproduce constant strain here cannot be trusted anywhere.

Plane Stress Or Plane Strain

A thin plate with free faces is in plane stress:

[D]ps=E1−ν2[1ν0ν10001−ν2].[D]_{ps} = \frac{E}{1-\nu^2}\begin{bmatrix} 1 & \nu & 0 \\ \nu & 1 & 0 \\ 0 & 0 & \tfrac{1-\nu}{2} \end{bmatrix}.

A long body constrained through its thickness is in plane strain:

[D]pe=E(1−ν)(1+ν)(1−2ν)[1ν1−ν0ν1−ν10001−2ν2(1−ν)].[D]_{pe} = \frac{E(1-\nu)}{(1+\nu)(1-2\nu)}\begin{bmatrix} 1 & \tfrac{\nu}{1-\nu} & 0 \\ \tfrac{\nu}{1-\nu} & 1 & 0 \\ 0 & 0 & \tfrac{1-2\nu}{2(1-\nu)} \end{bmatrix}.

They are not interchangeable; the physical constraint decides.

Element Formulation

Shape functions interpolate nodal displacements, {u}=[N]{de}\{u\} = [N]\{d_e\}; their derivatives give {ϵ}=[B]{de}\{\epsilon\} = [B]\{d_e\} and {σ}=[D]{ϵ}\{\sigma\} = [D]\{\epsilon\}. The stiffness is

[Ke]=t∫Ae[B]T[D][B] dA=t∫−11∫−11[B]T[D][B] ∣J∣ dξ dη,[K_e] = t\int_{A_e} [B]^T [D] [B]\, dA = t\int_{-1}^{1}\int_{-1}^{1} [B]^T [D] [B]\, |J|\, d\xi\, d\eta,

where the second form maps an isoparametric element to parent coordinates and is evaluated by Gauss quadrature.

CST Versus Q4

  • CST (three-node triangle): linear displacement, constant [B][B], so [Ke]=tA[B]T[D][B][K_e] = tA[B]^T[D][B] exactly. Handles irregular boundaries; needs many elements for steep gradients.
  • Q4 (four-node quadrilateral): bilinear in (ξ,η)(\xi, \eta), strain varies inside the element, needs the Jacobian and an integration order. Sensitive to distortion.

Neither is universally better; geometry, loading and convergence evidence decide.

Analytical Answer

ϵx=ΔL=1.0×10−4,σx=Eϵx=7.0 MPa,ϵy=−νϵx=−3.0×10−5,τxy=0,\epsilon_x = \frac{\Delta}{L} = 1.0\times10^{-4}, \qquad \sigma_x = E\epsilon_x = 7.0\ \text{MPa}, \qquad \epsilon_y = -\nu\epsilon_x = -3.0\times10^{-5}, \qquad \tau_{xy} = 0, F=σxtH=(7.0×106)(0.010)(0.5)=35,000 N.F = \sigma_x tH = (7.0\times10^6)(0.010)(0.5) = 35{,}000\ \text{N}.

Running The Patch Test

The tested solver builds structured CST meshes, assembles tABTDBt A B^T D B for every triangle, prescribes the edge displacements and solves. On 4×24\times2 (16 triangles) and 8×48\times4 (64 triangles) meshes every element returns σx=7.000 MPa\sigma_x = 7.000\ \text{MPa} to within 10−1410^{-14} relative error, and the left-edge reaction is 35.000 kN35.000\ \text{kN}. The explorer colours the plate by displacement magnitude u2+v2\sqrt{u^2+v^2} with u=ϵxxu = \epsilon_x x, v=ϵyyv = \epsilon_y y — the stress is uniform, so a stress contour would be a single flat colour.

Mesh Quality And Convergence

Aspect ratio is the longest element dimension over the shortest; the source guidance targets AR≈1AR \approx 1 and records about 55% displacement error at AR=24AR = 24 for its benchmark. For real problems, track a quantity of interest:

%ΔQoI=∣QoInew−QoIoldQoInew∣×100%.\%\Delta QoI = \left|\frac{QoI_\text{new} - QoI_\text{old}}{QoI_\text{new}}\right| \times 100\%.

The source project criteria are below 2% for displacement-based design, 5% for stress-based design and 0.5% for analytical benchmarks — project choices, not code limits.

Singularities

Sharp corners, point loads and idealized constraints produce stresses that grow without bound under refinement while displacements and reactions converge. A singular peak is never a converged material stress. For weld toes, the source records the hot-spot extrapolation σHS=1.67σ0.4t−0.67σ1.0t\sigma_{HS} = 1.67\sigma_{0.4t} - 0.67\sigma_{1.0t}, valid only with its matching mesh procedure. Integration-point stress and nodal-averaged stress are different quantities; averaging is post-processing.

Series · Finite Element Analysis

  1. Part 1

    From A Physical Truss To [K]{d}: The Direct-Stiffness Pipeline

  2. Part 2

    When Bending Is Not Enough: Euler–Bernoulli Versus Timoshenko

  3. Part 3

    From Continuum To Mesh: Plane Stress And The Patch Test

All analysis

Comments (3)

Demo discussion
  • Marcus Lewis

    Marcus@brownduck888

    The patch test is underrated — if a mesh can't reproduce constant strain, nothing downstream matters.

    • Delphine Williams

      Delphine@angryduck951

      How would the reaction check change under plane strain for the same imposed extension?

    • Nathan Jones

      Nathan@sadgorilla816

      Glad the singularity note is there; chasing a corner peak through refinement is a classic trap.