The Finite Element Method: First Principles / Energy and variational principles
Potential energy and the first Ritz field
Derive equilibrium from potential energy and use a small Ritz approximation to study error.
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 notesBy the end of this lesson you should be able to
- Distinguish stored energy, load potential and virtual work
- Derive first and second variations for a conservative axial problem
- Calculate a one- and two-parameter Ritz approximation
What you should already know
- Strong and weak forms
- Differentiation, integration and symmetric quadratic forms
Define the potential
For a linearly elastic axial bar, strain energy is U(u) = ½∫EA(u′)² dx. A prescribed dead end load P has potential −Pu(L), and a prescribed axial line load q has potential −∫qu dx. “Dead” means the load is fixed in magnitude and direction while the displacement varies. Total potential Π is stored energy plus these load potentials. Its value depends on the chosen zero of potential; its variation determines equilibrium.
Do not confuse the final force-displacement product with the work done during loading. If a linear spring is loaded gradually from zero to P, the work is ½Pd. The load potential used to vary the final equilibrium under a prescribed dead P is −Pd. Combining ½kd² with −½Pd would give the wrong stationary displacement.
What it calculates: Total potential for the restrained, small-strain linear elastic bar and conservative dead loads.
Take a variation explicitly
Let uη = u + ηv, where v satisfies homogeneous essential conditions. Expand Π(uη) in powers of the scalar η. The derivative at η = 0 is the first variation. Its vanishing for every admissible v gives virtual work. The second derivative measures curvature of the potential along that variation. If EA is positive and restraints exclude rigid translation, the second variation is positive for non-zero v. The equilibrium is then a strict minimum.
Stationarity is the general variational statement. A nonlinear potential may have minima, maxima or saddle points, and some load systems have no scalar potential of this form. Frictional dissipation and follower-load effects require their own formulation. The minimum result below applies to the stated symmetric, coercive linear problem.
What it calculates: First variation for equilibrium and second variation for stability of this quadratic functional.
A one-parameter Ritz field
Impose u(0)=0 and choose uₕ = ax. This trial family satisfies the displacement boundary condition for any a, but cannot represent curvature. Substitute the field into Π, integrate each term and differentiate with respect to a. The resulting equation is the same as testing the weak equation with v=x. The unknown a is dimensionless strain; it is not the end displacement.
For L=2 m, EA=80 MN, P=20 kN and q=10 kN/m, a=0.000375. The end displacement is aL=0.75 mm. Strain energy is 11.25 J and the stationary potential is −11.25 J. The continuous strain energy is 11.6666667 J. The end displacement agrees in this particular problem while the field energy and strain do not.
What it calculates: Ritz equilibrium within the linear displacement family.
Continue with richer trial fields and energy error.
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.