The Finite Element Method: First Principles / Energy and variational principles
Richer trial fields and energy error
Derive first and second variations for a conservative axial problem. Calculate a one- and two-parameter Ritz approximation.
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 potential energy and the first ritz field first.
Add a boundary-compatible bubble
Enrich the trial field to uₕ = ax + b x(L−x). The second term vanishes at both ends and allows curvature without changing the end displacement. Its coefficient b has units 1/m. The derivatives of the two basis functions are 1 and L−2x. Their stiffness cross-term is zero because ∫(L−2x) dx = 0. The new diagonal stiffness integral is EA L³/3 and its distributed-load term is q L³/6. The end force contributes nothing to that bubble equation.
Solving gives the same a as before and b=q/(2EA). Substitution reproduces the exact quadratic continuous solution for constant EA and q. This success follows from the exact field belonging to the enriched trial space. It is not a general guarantee that two parameters solve an arbitrary axial problem.
What it calculates: Ritz equations in coordinates with different physical units; each row is work-conjugate to its own coefficient.
Worked example
Compare the two trial spaces
Given
- L=2 m; EA=80 MN; P=20 kN; q=10 kN/m
Find
The midpoint displacement and energy improvement.
Quantify the error
Let u be the exact solution and uh a conforming Galerkin solution with homogeneous prescribed displacement. Orthogonality gives a(uh,u−uh)=0. Expanding a(u,u) then yields U−Uh = ½‖u−uh‖a². The same positive quantity equals Π(uh)−Π(u). This identity uses a symmetric bilinear form, the same exact load functional and admissible spaces. Inexact integration, nonconforming fields and altered loading require additional terms.
For non-zero prescribed movement, an affine trial set remains valid, but work accounting must include the enforced movement and its reaction. Do not apply the homogeneous-load energy identity unchanged to a different boundary-work convention.
What it calculates: Energy error identity under the stated homogeneous conservative assumptions.
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.
References and further study
Bathe, Finite Element Procedures (1996), §3.3.2, pp.110–111, was inspected for first variations and essential/natural conditions. The two-parameter axial example and its energy comparison are original derivations. The calculations and exercises here are original. The numerical checks cover the stated assumptions; independent specialist review remains open.