The Finite Element Method: First Principles / Shape functions
Element integration and interpolation checks
Check partition of unity, completeness and continuity. Connect interpolation order to strain, stiffness and consistent loading.
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 notesWhat you should already know
- Read nodal interpolation and completeness first.
Integrate stiffness and loading
Insert B=(2/L)dN/dξ into Ke=∫BᵀEAB dx and replace dx with (L/2)dξ. Products of the quadratic basis derivatives have degree two. Integrating their constant, linear and quadratic terms over [−1,1] gives the matrix below. It is symmetric, has zero row sums and has a rigid-translation null vector. Its units are N/m.
For uniform axial q, integrate each shape function to obtain qL[1,4,1]ᵀ/6. Equal thirds preserve total force but fail the virtual-work identity for the quadratic test fields. Load consistency is a property of the chosen basis, not a rule that every node receives an equal share.
What it calculates: Exactly integrated constant-property quadratic axial element, with left/middle/right ordering.
Worked example
Evaluate a quadratic field between nodes
Given
- L = 2 m
- Nodal displacements [0, 0.4375, 0.75] mm
Find
Displacement at x=0.5 m and strains at both ends.
Prescribe a displacement field and inspect its strain, stiffness and internal nodal forces. These displacements are inputs; the laboratory does not solve a loaded boundary-value problem.
Vertical range ±0.75 mm. The horizontal coordinate is position along the undeformed element.
- Left-end strain
- 500 με
- Right-end strain
- 250 με
- Strain energy
- 11.667 J
- Sum of internal nodal forces
- 0 (within round-off) N
| Node | x (m) | u (mm) | Force (kN) |
|---|---|---|---|
| 1 | 0 | 0 | -36.667 |
| 2 | 1 | 0.4375 | 13.333 |
| 3 | 2 | 0.75 | 23.333 |
Inspect element stiffness
| Row | Column 1 | Column 2 | Column 3 |
|---|---|---|---|
| 1 | 93.333 | -106.67 | 13.333 |
| 2 | -106.67 | 213.33 | -106.67 |
| 3 | 13.333 | -106.67 | 93.333 |
The straight element has constant E and A and uses small axial strain. Internal nodal forces are Kd. They exclude externally applied distributed loads and support-reaction recovery. Negative strain denotes compression; buckling is outside this model.
Implementation and independent checks
The interpolation evaluator returns basis values, derivatives, sampled fields, stiffness and internal forces. Its three-point Gauss integration is exact for these polynomial stiffness entries. The regression reference uses the separately integrated matrix above and an analytical energy integral; it does not reuse the quadrature loop.
For a quadratic field, let Δ=d3−d1 and c=d2−(d1+d3)/2. The energy is EA[Δ²+16c²/3]/(2L). A constant translation cancels from both quantities. This identity provides a useful check at random nodal values, including compression and mixed signs. Forces Kd represent the internal force vector for that imposed field. Reactions require the full external-load and constraint problem.
References and further study
Bathe, Finite Element Procedures (1996), §3.3.4, pp.124–127, was inspected for interpolation within a Galerkin formulation. MIT lecture 3 is further study on interpolation and element matrices. The basis, quadratic matrix and examples above are derived explicitly here. The calculations and exercises here are original. The numerical checks cover the stated assumptions; independent specialist review remains open.