The Finite Element Method: First Principles / Two-dimensional elements
Quadrilateral integration and patch tests
Derive a constant-strain triangle and a Q4 stiffness integral. Separate element consistency checks from assembled patch and convergence tests.
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 continuum/FEM reviewer: CST and Q4 derivations, patch-test scope, plane assumptions, thickness/load conventions and locking; no general 2D solver is qualified.
- 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 notesWhat you should already know
- Read strain conventions and the triangle first.
Derive the Q4 integral
Use the mapped gradients from the preceding module to form the same B blocks for four nodes. B generally varies through the element. Transform the area integral to the reference square and sum BᵀDB detJ at quadrature points. A two-by-two Gauss rule exactly integrates constant-property stiffness on an affine parallelogram because the products have degree at most two in each natural direction. On a distorted bilinear element, inverse-Jacobian terms generally make the integrand rational; two-by-two integration is then an approximation.
An affine physical displacement remains exactly reproducible on a valid distorted Q4 because ΣNi xi=x and ΣNi yi=y. This consistency property does not imply exact stiffness integration for every nodal displacement. Keep those two claims separate when interpreting a successful patch test.
What it calculates: Tensor-product quadrature for a bilinear continuum element.
Constitutive idealisation and loads
Plane stress allows thickness strain and sets out-of-plane stress to zero. Plane strain fixes the out-of-plane strain and generally produces σzz. The same B matrix can be paired with either reduction of isotropic elasticity, but those are different physical models. In plane strain, thickness is the represented out-of-plane length; a unit thickness produces forces per unit length of the long body.
For a constant body force b in N/m³, fe=t∫Nᵀb dA. On a straight two-node edge with uniform in-plane traction tbar in N/m², the consistent edge forces are t ℓ tbar/2 at each endpoint. Check both force resultant and moment. A coordinate boundary does not automatically imply a support; specify the displacement components that are actually restrained.
Move node 3 and sample the Q4 map. Coordinates are in metres. Blue curves map a regular natural-coordinate grid; the orange point is the selected (ξ, η). This is undeformed geometry.
Equal drawing scales: 120 SVG units per metre in both directions. Node order is 1–2–3–4 around the boundary. Coordinates below define the geometry.
- Selected physical point (m)
- (1, 0.5)
- Local determinant (m²)
- 0.5
- Smallest corner determinant (m²)
- 0.5
- Mapping validity
- Positive throughout this Q4
Prescribed affine field: u = 0.001x + 0.0004y; v = 0.0002x − 0.0002y. E = 200 GPa. This patch evaluates B and D at the selected point; it does not solve an assembled mesh.
| Component | Strain (με) | Stress (MPa) |
|---|---|---|
| xx | 1,000 | 202.67 |
| yy | -200 | 10.667 |
| xy (γ, τ) | 600 | 48 |
| Node | x (m) | y (m) | N |
|---|---|---|---|
| 1 | 0 | 0 | 0.25 |
| 2 | 2 | 0 | 0.25 |
| 3 | 2 | 1 | 0.25 |
| 4 | 0 | 1 | 0.25 |
Patch tests and implementation
The element source includes CST and Q4 stiffness routines. The checks cover symmetry, rigid modes, positive-energy strain modes, the triangle example and affine Q4 patch energy. A separate two-by-two element mesh test imposes affine boundary displacements and solves the free centre coordinates. Recovering the centre field checks assembly and interior equilibrium as well as interpolation.
The one-point Q4 has at most rank three because B has only three rows at that point. With eight coordinates and three rigid modes, at least two additional zero-energy modes remain. These hourglass modes are numerical mechanisms. A one-point result needs a justified stabilisation formulation; the teaching routine deliberately supplies none. It is available for diagnosis, not as a recommended production element.
Sources and review limits
The inspected continuum conventions from Bathe (1996), §4.2.1 pp.153–155, and the earlier continuum module establish the stress/strain ordering. MIT lecture 6 and lecture 8 are further study on element formulation and integration. The CST/Q4 matrices, affine fields and assembled patch tests here are independently derived. These examples and implementations are original teaching material. Independent FEM specialist review remains open; the numerical checks establish only the stated benchmark results.