← All theory chapters
Theory / FEM

Quadratic Interpolation & Approximation Spaces

Construct a three-node bar and separate interpolation order, mesh refinement and integration accuracy.

Theory · Educational notes

What does adding the middle node make possible?

Use the same 100 mm bar, EA = 1000000 N and q = 10 N/mm, but now give the midpoint its own displacement. Compare linear and quadratic fields.

The extra nodal value allows curvature in displacement and a linear strain gradient. Its shape function also changes the consistent load weights. Adding a midpoint while retaining equal load thirds would not reproduce the quadratic virtual-work formulation.

Connect the physical quantities

A midside degree of freedom allows a curved displacement field. It is not just an extra point on the straight line between ends. For the uniform distributed-load bar, the exact displacement is quadratic, so a matching quadratic element can reproduce it.

The relationship used in this example

x=L2(1+ξ),ddx=2Lddξx=\frac L2(1+\xi),\qquad \frac{\mathrm d}{\mathrm dx}=\frac2L\frac{\mathrm d}{\mathrm d\xi}

A quadratic element adds a midpoint degree of freedom so the displacement can curve inside one element. The resulting strain varies linearly for a straight affine-mapped bar. Approximation order describes the space of fields an element can represent; it does not by itself specify material accuracy, mesh quality or integration rules.

Work through the example

Step 1

Consistent weights [1,4,1]/6 give [166.6667,666.6667,166.6667] N.

Step 2

Their sum is qL = 1000 N.

Step 3

The solved midpoint 0.0375 mm exceeds the straight-line midpoint 0.025 mm, while both have tip 0.05 mm.

Full example conditions and reference values

Use L = 100 mm, EA = 1,000,000 N and q = 10 N/mm with u1 = 0 and zero end traction. The load vector is [166.6667, 666.6667, 166.6667] N. Solving the two free equations gives u2 = 0.0375 mm and u3 = 0.05 mm. The constrained residual is −1000 N. The quadratic field reproduces u = q(Lx−x²/2)/EA throughout this bar. For comparison, a single linear element gives the same tip displacement but only 0.025 mm at the midpoint.

Displacement curves comparing one linear and one quadratic bar element with the exact solution.
Original Jaylab diagram calculated from the worked example. Exactness applies to this uniform, affine-mapped bar and load, not to general quadratic-element models.

Compare the numbers before judging the result

Compare the calculated values
Node x (mm)Consistent load (N)Solved u (mm)
0166.66670
50666.66670.0375
100166.66670.05

Midpoint displacement is independent here; it no longer has to be half the tip value.

What the result means for a model

Higher order helps only when geometry, integration and solution smoothness support it. Contact discontinuities and distorted midside nodes need care. Compare error per computational cost rather than assuming every second-order mesh is better.

The midpoint node adds an independent displacement, not simply a plotting point. Confirm node ordering and integration before comparing higher-order and refined linear meshes.

Another application: Do not divide a quadratic element load equally

The consistent loads for a uniform axial load on a straight three-node bar are in the ratio 1:4:1. For 1000 N total they are 166.667, 666.667 and 166.667 N. Equal thirds preserve total force but not the work of every quadratic virtual displacement.

Further modeling details

1 · Check nodal interpolation

Evaluate each shape function at −1, 0 and +1: the values form the identity matrix. Their sum is one, so translating every node by the same amount gives zero strain. Reproduction of constant and linear fields is a basic consistency requirement. Quadratic shape functions may become negative away from their node; this is not automatically an error.

2 · Differentiate in physical coordinates

For the evenly spaced straight bar J = dx/dξ = L/2. Thus B = (2/L)dN/dξ. If the physical midpoint is moved away from the geometric midpoint, the mapping need not be affine; use its actual Jacobian. Reusing a constant-J formula for a distorted mapping gives incorrect stiffness.

3 · Choose sufficient quadrature

With constant EA and an affine mapping, the stiffness integrand is a quadratic polynomial in ξ. Two-point Gauss integration is exact. One-point integration misses a deformation mode and introduces an additional zero-energy mode beyond rigid translation. Curved geometry or varying material coefficients changes the integration requirement.

4 · Separate h and p refinement

h refinement makes elements smaller; p refinement enriches the interpolation order. Compare an engineering quantity such as displacement, section force or strain energy at comparable cost. Neither approach removes a singularity caused by an idealized point load, sharp re-entrant corner or abrupt constraint.

5 · Use higher order deliberately

A quadratic bar improves axial interpolation but still has no bending or torsion. Quadratic solids are not a universal substitute for shell modeling of a thin cover. For a pack model, first choose the deformation mechanism and interface representation; then assess interpolation and mesh refinement.

Formula and symbol reference

Open the complete formula reference
N1=12ξ(ξ−1)N_1=\tfrac12\xi(\xi-1)
N2=1−ξ2,N3=12ξ(ξ+1)N_2=1-\xi^2,\qquad N_3=\tfrac12\xi(\xi+1)
uh=∑i=13Niui,∑iNi=1u^h=\sum_{i=1}^3N_i u_i,\qquad \sum_iN_i=1
x=L2(1+ξ),ddx=2Lddξx=\frac L2(1+\xi),\qquad \frac{\mathrm d}{\mathrm dx}=\frac2L\frac{\mathrm d}{\mathrm d\xi}
ke=EA3L[7−81−816−81−87]\mathbf k_e=\frac{EA}{3L}\begin{bmatrix}7&-8&1\\-8&16&-8\\1&-8&7\end{bmatrix}
fe=qL6[141]\mathbf f_e=\frac{qL}{6}\begin{bmatrix}1\\4\\1\end{bmatrix}
SymbolMeaningUnit / convention
ξNatural coordinate; nodes ordered −1, 0, +1dimensionless
Nᵢ, uᵢShape function and nodal axial displacement1; mm
E, A, LAxial modulus, cross-section and lengthMPa; mm²; mm
q, fₑUniform axial line load and consistent nodal forcesN/mm; N

When this example stops applying

The displayed matrices are for a straight, constant-EA axial bar with a geometric midpoint and small strain. They do not apply unchanged to arbitrary 2D/3D quadratic elements or to curved mappings.

Check your interpretation

For uₑ = [0, 1, 0] mm, what happens to axial strain at the midpoint?

Show the reasoning

At ξ = 0, dN2/dξ = 0 and the strain is zero, even though strain is nonzero away from the midpoint. A single central integration point therefore misses the energy of this mode. Two-point integration detects it.

Sources and calculation scope

The questions and comparison tables are independently authored teaching examples. Numbers illustrate the stated models; they are not measured cell/pack data or commercial-solver validation.

Comparison calculations (Python)

English / Korean · revised 1 November 2026