Euler-Lagrange Equations and Governing PDEs

Learning objectives

By the end of this lesson, you should be able to:

  • Explain how governing PDEs arise from an energy functional.
  • Derive the Euler-Lagrange equations for displacement and phase-field damage.
  • Understand the difference between strong form and weak form.
  • Interpret the displacement equilibrium equation.
  • Interpret the phase-field damage evolution equation.
  • Identify the role of natural and essential boundary conditions.
  • Connect the variational phase-field fracture energy to finite element implementation.

1. Why Euler-Lagrange equations matter

In phase-field fracture, we usually start from an energy functional.

For a brittle elastic solid, a common phase-field fracture energy is

\[ \Pi_\ell(u,d) = \int_{\Omega} g(d)\psi_e(\varepsilon(u))\,d\Omega + \int_{\Omega} G_c \left( \frac{d^2}{2\ell} + \frac{\ell}{2}|\nabla d|^2 \right) d\Omega - W_{\text{ext}}(u) \]

where:

  • \(u\) is the displacement field,
  • \(d\) is the phase-field damage field,
  • \(g(d)\) is the degradation function,
  • \(\psi_e\) is the elastic strain energy density,
  • \(G_c\) is the critical fracture energy,
  • \(\ell\) is the phase-field length scale,
  • \(W_{\text{ext}}\) is the external work.

The unknowns \(u\) and \(d\) are found by minimizing the energy:

\[ (u,d) = \arg\min \Pi_\ell(u,d) \]

subject to the irreversibility condition:

\[ \dot d \geq 0 \]

The Euler-Lagrange equations are the differential equations that come from this minimization problem.


2. Stationarity of the energy

A minimum of the energy must satisfy stationarity with respect to admissible variations.

For displacement variations \(v\), we require:

\[ \delta_u \Pi_\ell(u,d;v) = 0 \]

For damage variations \(q\), we require:

\[ \delta_d \Pi_\ell(u,d;q) = 0 \]

Here:

  • \(v\) is a virtual displacement or displacement test function,
  • \(q\) is a virtual damage variation or damage test function.

In words:

At equilibrium, small admissible changes in \(u\) and \(d\) should not decrease the total energy.


3. Kinematics and strain

For small-strain elasticity, the strain tensor is

\[ \varepsilon(u) = \frac{1}{2} \left( \nabla u + \nabla u^T \right) \]

The elastic strain energy density for an isotropic linear elastic material is

\[ \psi_e(\varepsilon) = \frac{1}{2}\lambda \left(\text{tr}\,\varepsilon\right)^2 + \mu \varepsilon:\varepsilon \]

where \(\lambda\) and \(\mu\) are Lamé parameters.

The undamaged stress is

\[ \sigma_0 = \frac{\partial \psi_e}{\partial \varepsilon} = \lambda \text{tr}(\varepsilon) I + 2\mu \varepsilon \]

The degraded stress is

\[ \sigma = g(d)\sigma_0 \]

for the simplest isotropic degradation model.


4. Displacement variation

The elastic part of the energy is

\[ \int_{\Omega} g(d)\psi_e(\varepsilon(u))\,d\Omega \]

Taking the variation with respect to \(u\), using the test function \(v\), gives

\[ \delta_u \int_{\Omega} g(d)\psi_e(\varepsilon(u))\,d\Omega = \int_{\Omega} g(d) \frac{\partial \psi_e}{\partial \varepsilon} : \varepsilon(v) \,d\Omega \]

Since

\[ \frac{\partial \psi_e}{\partial \varepsilon} = \sigma_0 \]

we get

\[ \delta_u \int_{\Omega} g(d)\psi_e(\varepsilon(u))\,d\Omega = \int_{\Omega} g(d)\sigma_0:\varepsilon(v)\,d\Omega \]

Define

\[ \sigma = g(d)\sigma_0 \]

Then

\[ \delta_u \int_{\Omega} g(d)\psi_e(\varepsilon(u))\,d\Omega = \int_{\Omega} \sigma:\varepsilon(v)\,d\Omega \]

5. External work variation

Assume the external work has the form

\[ W_{\text{ext}}(u) = \int_{\Omega} b\cdot u\,d\Omega + \int_{\Gamma_N} \bar t \cdot u\,dS \]

where:

  • \(b\) is a body force,
  • \(\bar t\) is a prescribed traction,
  • \(\Gamma_N\) is the Neumann boundary.

Then the variation is

\[ \delta_u W_{\text{ext}}(u;v) = \int_{\Omega} b\cdot v\,d\Omega + \int_{\Gamma_N} \bar t\cdot v\,dS \]

Because the total potential energy contains \(-W_{\text{ext}}\), the displacement stationarity condition becomes

\[ \int_{\Omega} \sigma:\varepsilon(v)\,d\Omega - \int_{\Omega} b\cdot v\,d\Omega - \int_{\Gamma_N} \bar t\cdot v\,dS = 0 \]

This is the weak form of mechanical equilibrium.


6. Strong form of displacement equilibrium

The weak form is

\[ \int_{\Omega} \sigma:\varepsilon(v)\,d\Omega = \int_{\Omega} b\cdot v\,d\Omega + \int_{\Gamma_N} \bar t\cdot v\,dS \]

Using integration by parts, this corresponds to the strong form

\[ \nabla \cdot \sigma + b = 0 \quad \text{in } \Omega \]

with boundary conditions

\[ u = \bar u \quad \text{on } \Gamma_D \]

and

\[ \sigma n = \bar t \quad \text{on } \Gamma_N \]

where:

  • \(\Gamma_D\) is the Dirichlet boundary,
  • \(\Gamma_N\) is the Neumann boundary,
  • \(n\) is the outward unit normal.

The stress is degraded by damage:

\[ \sigma = g(d)\sigma_0 \]

Therefore, as \(d\) approaches 1, the material loses stiffness.


7. Damage variation

Now take the variation of the energy with respect to the damage field \(d\).

The phase-field energy is

\[ \Pi_\ell(u,d) = \int_{\Omega} g(d)\psi_e(\varepsilon(u))\,d\Omega + \int_{\Omega} G_c \left( \frac{d^2}{2\ell} + \frac{\ell}{2}|\nabla d|^2 \right) d\Omega - W_{\text{ext}}(u) \]

Only the first two terms depend on \(d\).

Using a damage test function \(q\), the damage variation is

\[ \delta_d \Pi_\ell(u,d;q) = \int_{\Omega} g'(d)\psi_e(\varepsilon(u))q\,d\Omega + \int_{\Omega} G_c \left( \frac{d}{\ell}q + \ell \nabla d \cdot \nabla q \right) d\Omega \]

The stationarity condition is

\[ \int_{\Omega} g'(d)\psi_e(\varepsilon(u))q\,d\Omega + \int_{\Omega} G_c \left( \frac{d}{\ell}q + \ell \nabla d \cdot \nabla q \right) d\Omega = 0 \]

This is the weak form of the damage equation.


8. Strong form of the damage equation

Starting from the weak form

\[ \int_{\Omega} g'(d)\psi_e q\,d\Omega + \int_{\Omega} G_c \left( \frac{d}{\ell}q + \ell \nabla d \cdot \nabla q \right) d\Omega = 0 \]

integrate the gradient term by parts:

\[ \int_\Omega G_c \ell \nabla d \cdot \nabla q\,d\Omega = - \int_\Omega G_c \ell \Delta d\, q\,d\Omega + \int_{\partial\Omega} G_c \ell (\nabla d \cdot n)q\,dS \]

If the natural damage boundary condition is used,

\[ \nabla d \cdot n = 0 \quad \text{on } \partial\Omega \]

then the boundary term vanishes.

The strong form becomes

\[ g'(d)\psi_e + G_c \left( \frac{d}{\ell} - \ell \Delta d \right) = 0 \quad \text{in } \Omega \]

This is the governing PDE for the damage field.


9. Interpreting the damage PDE

The strong damage equation is

\[ g'(d)\psi_e + G_c \left( \frac{d}{\ell} - \ell \Delta d \right) = 0 \]

Each term has a physical meaning.

Crack-driving term

\[ g'(d)\psi_e \]

This term couples damage to elastic strain energy.

For the common degradation function

\[ g(d) = (1-d)^2 + k \]

we have

\[ g'(d) = -2(1-d) \]

So the crack-driving term is usually negative when strain energy is positive. This encourages damage growth.

Local fracture resistance term

\[ G_c \frac{d}{\ell} \]

This penalizes nonzero damage.

It resists spreading damage everywhere.

Gradient regularization term

\[ -G_c \ell \Delta d \]

This smooths the damage field and controls the width of the diffused crack.

Together, these terms define how the crack evolves spatially.


10. Complete coupled strong form

For the simplest isotropic AT2 phase-field fracture model, the coupled governing equations are:

\[ \nabla \cdot \sigma + b = 0 \quad \text{in } \Omega \]
\[ g'(d)\psi_e + G_c \left( \frac{d}{\ell} - \ell \Delta d \right) = 0 \quad \text{in } \Omega \]

with

\[ \sigma = g(d)\frac{\partial \psi_e}{\partial \varepsilon} \]

and

\[ \varepsilon(u) = \frac{1}{2} \left( \nabla u + \nabla u^T \right) \]

Boundary conditions:

\[ u = \bar u \quad \text{on } \Gamma_D \]
\[ \sigma n = \bar t \quad \text{on } \Gamma_N \]
\[ \nabla d \cdot n = 0 \quad \text{on } \partial\Omega \]

Damage irreversibility:

\[ \dot d \geq 0 \]

or incrementally:

\[ d_n \geq d_{n-1} \]

11. Complete coupled weak form

Find \(u\) and \(d\) such that for all test functions \(v\) and \(q\):

\[ \int_{\Omega} \sigma:\varepsilon(v)\,d\Omega = \int_{\Omega} b\cdot v\,d\Omega + \int_{\Gamma_N} \bar t\cdot v\,dS \]

and

\[ \int_{\Omega} g'(d)\psi_e q\,d\Omega + \int_{\Omega} G_c \left( \frac{d}{\ell}q + \ell \nabla d \cdot \nabla q \right) d\Omega = 0 \]

with

\[ \sigma = g(d)\sigma_0 \]

and

\[ \sigma_0 = \lambda \text{tr}(\varepsilon(u))I + 2\mu \varepsilon(u) \]

This weak form is what we usually implement in finite element codes.


12. Why weak form is preferred in FEM

The strong form contains second derivatives, such as

\[ \Delta d \]

and divergence of stress,

\[ \nabla \cdot \sigma \]

These require high smoothness if solved directly.

The weak form reduces the derivative requirements by integration by parts.

For example,

\[ \int_\Omega \nabla d \cdot \nabla q\,d\Omega \]

only requires first derivatives of \(d\) and \(q\).

This is why standard \(C^0\) finite elements can be used.

In FEniCS, this corresponds naturally to expressions like:

dot(grad(d), grad(q))*dx

rather than explicitly computing:

laplacian(d)

13. Tension-compression split in the PDEs

The simple model degrades the full elastic energy:

\[ g(d)\psi_e(\varepsilon) \]

However, this can cause damage under compression.

To avoid this, we split the energy:

\[ \psi_e(\varepsilon) = \psi_e^+(\varepsilon) + \psi_e^-(\varepsilon) \]

and degrade only the tensile part:

\[ \psi_e(\varepsilon,d) = g(d)\psi_e^+(\varepsilon) + \psi_e^-(\varepsilon) \]

Then the stress becomes

\[ \sigma = g(d)\frac{\partial \psi_e^+}{\partial \varepsilon} + \frac{\partial \psi_e^-}{\partial \varepsilon} \]

and the damage equation becomes

\[ g'(d)\psi_e^+ + G_c \left( \frac{d}{\ell} - \ell \Delta d \right) = 0 \]

Now only tensile energy drives fracture.


14. History field version

To enforce irreversibility approximately, many implementations use a history field:

\[ \mathcal{H}(x,t) = \max_{\tau \in [0,t]} \psi_e^+(\varepsilon(u(x,\tau))) \]

Then the damage equation becomes

\[ g'(d)\mathcal{H} + G_c \left( \frac{d}{\ell} - \ell \Delta d \right) = 0 \]

For

\[ g(d) = (1-d)^2 + k \]

we have

\[ g'(d) = -2(1-d) \]

Therefore,

\[ -2(1-d)\mathcal{H} + G_c \left( \frac{d}{\ell} - \ell \Delta d \right) = 0 \]

This form is common in staggered phase-field fracture implementations.


15. Linearized damage equation with history field

Using the history field form:

\[ -2(1-d)\mathcal{H} + G_c \left( \frac{d}{\ell} - \ell \Delta d \right) = 0 \]

Expand the first term:

\[ -2\mathcal{H} + 2d\mathcal{H} + G_c\frac{d}{\ell} - G_c\ell\Delta d = 0 \]

Group terms involving \(d\):

\[ \left( \frac{G_c}{\ell} + 2\mathcal{H} \right)d - G_c\ell\Delta d = 2\mathcal{H} \]

This is a linear elliptic PDE for \(d\) if \(\mathcal{H}\) is known.

This is one reason the staggered method is convenient:

  1. solve \(u\),
  2. update \(\mathcal{H}\),
  3. solve a linear damage PDE for \(d\),
  4. repeat.

16. Weak form of the history-field damage equation

Starting from

\[ \left( \frac{G_c}{\ell} + 2\mathcal{H} \right)d - G_c\ell\Delta d = 2\mathcal{H} \]

multiply by a test function \(q\) and integrate:

\[ \int_\Omega \left( \frac{G_c}{\ell} + 2\mathcal{H} \right)d q \,d\Omega + \int_\Omega G_c\ell \nabla d \cdot \nabla q \,d\Omega = \int_\Omega 2\mathcal{H}q \,d\Omega \]

This is one of the most common weak forms used in simple phase-field fracture codes.

In FEniCS-like notation, it resembles:

a_d = ((Gc/l) + 2*H)*d*q*dx + Gc*l*dot(grad(d), grad(q))*dx
L_d = 2*H*q*dx

17. Damage bounds

The phase-field variable should satisfy

\[ 0 \leq d \leq 1 \]

and irreversibility requires

\[ d_n \geq d_{n-1} \]

Therefore, the complete bound is

\[ d_{n-1} \leq d_n \leq 1 \]

The history-field method helps prevent healing, but it does not always strictly enforce the lower bound \(d_n \geq d_{n-1}\) in every numerical setting.

A more rigorous approach is to solve the damage problem as a bound-constrained variational inequality.


18. Variational inequality form

With irreversibility, the damage minimization problem becomes constrained.

At load step \(n\), find \(d_n\) such that

\[ d_n \geq d_{n-1} \]

and the energy cannot be reduced by any admissible damage variation.

This leads to a variational inequality rather than a simple equality.

Symbolically,

\[ \delta_d \Pi_\ell(u_n,d_n; q-d_n) \geq 0 \]

for all admissible \(q\) satisfying

\[ q \geq d_{n-1} \]

This is more mathematically faithful to irreversible fracture.

However, it requires solvers that can handle bound constraints.


19. Essential and natural boundary conditions

For the displacement field, common boundary conditions are:

Essential displacement boundary condition

\[ u = \bar u \quad \text{on } \Gamma_D \]

This is imposed directly in finite element codes.

Natural traction boundary condition

\[ \sigma n = \bar t \quad \text{on } \Gamma_N \]

This appears naturally in the weak form through the external work term.

For the damage field, the common natural boundary condition is:

\[ \nabla d \cdot n = 0 \quad \text{on } \partial\Omega \]

This usually appears automatically from the weak form if no explicit damage boundary condition is imposed.

Sometimes, we impose \(d=1\) to prescribe an initial crack.

For example:

\[ d = 1 \quad \text{on } \Gamma_{\text{crack}} \]

or initialize \(d\) using a smooth crack profile.


20. Common implementation strategy

A typical staggered algorithm is:

Given d_{n-1}

For load step n:

    1. Apply displacement or force increment.

    2. Initialize d_n = d_{n-1}.

    3. Repeat until convergence:

        a. Solve mechanical equilibrium for u_n:

           div(sigma) + b = 0

        b. Compute tensile energy psi_plus.

        c. Update history field:

           H = max(H_old, psi_plus)

        d. Solve damage equation for d_n.

        e. Enforce bounds:

           d_n = max(d_n, d_{n-1})
           d_n = min(d_n, 1)

    4. Save u_n, d_n, reaction force, energy, etc.

This staggered approach is popular because each subproblem is easier than the fully coupled monolithic problem.


21. FEniCS-style weak form sketch

A simple FEniCS-like damage equation with history field may look like:

# Trial and test functions
d = TrialFunction(Vd)
q = TestFunction(Vd)

# Known history field H
a_d = ((Gc/l) + 2*H)*d*q*dx + Gc*l*dot(grad(d), grad(q))*dx
L_d = 2*H*q*dx

The displacement weak form may look like:

u = Function(Vu)
v = TestFunction(Vu)

eps = sym(grad(u))
sigma0 = lambda_*tr(eps)*Identity(dim) + 2*mu*eps
sigma = g(d_old)*sigma0

F_u = inner(sigma, sym(grad(v)))*dx - dot(b, v)*dx - dot(tbar, v)*ds

In a nonlinear solve, one would compute the Jacobian:

J_u = derivative(F_u, u, du)

The exact implementation depends on:

  • degradation function,
  • tension-compression split,
  • boundary conditions,
  • monolithic or staggered scheme,
  • irreversibility method.

22. Strong form versus weak form summary

Concept Strong form Weak form
Mechanical equilibrium \(\nabla\cdot\sigma + b = 0\) \(\int_\Omega \sigma:\varepsilon(v)d\Omega = W_{\text{ext}}(v)\)
Damage equation \(g'(d)\psi_e + G_c(d/\ell - \ell\Delta d)=0\) \(\int_\Omega g'(d)\psi_e q + G_c(dq/\ell + \ell\nabla d\cdot\nabla q)d\Omega=0\)
Derivative order Higher Lower
FEM suitability Less direct Natural
Boundary terms Must be specified explicitly Natural BCs appear automatically

23. Common mistakes

Mistake 1: Using full elastic energy under compression

If the full elastic energy drives damage, cracks may grow under compression.

Use a tension-compression split when modeling tensile brittle fracture.

Mistake 2: Forgetting irreversibility

Without irreversibility, cracks can heal during unloading.

Always enforce:

\[ d_n \geq d_{n-1} \]

Mistake 3: Choosing mesh size too large compared to \(\ell\)

The damage profile must be resolved.

A typical requirement is:

\[ h \leq \frac{\ell}{3} \]

or

\[ h \leq \frac{\ell}{5} \]

Mistake 4: Confusing strong and weak forms

The strong form contains \(\Delta d\), but the weak form contains \(\nabla d \cdot \nabla q\).

In FEM, implement the weak form.

Mistake 5: Missing residual stiffness

If \(g(1)=0\), the stiffness matrix may become singular.

Use a small residual stiffness \(k\):

\[ g(d) = (1-d)^2 + k \]

24. Conceptual summary

Starting from the energy functional

\[ \Pi_\ell(u,d) = \int_{\Omega} g(d)\psi_e(\varepsilon(u))\,d\Omega + \int_{\Omega} G_c \left( \frac{d^2}{2\ell} + \frac{\ell}{2}|\nabla d|^2 \right) d\Omega - W_{\text{ext}}(u) \]

stationarity with respect to \(u\) gives mechanical equilibrium:

\[ \nabla \cdot \sigma + b = 0 \]

stationarity with respect to \(d\) gives the damage PDE:

\[ g'(d)\psi_e + G_c \left( \frac{d}{\ell} - \ell\Delta d \right) = 0 \]

The weak forms are the forms used in finite element implementation.

The complete model must also include:

  • boundary conditions,
  • irreversibility,
  • damage bounds,
  • tension-compression split if needed,
  • a numerical solution strategy.

25. Key terms

Term Meaning
Euler-Lagrange equation Governing equation obtained from stationarity of an energy functional
Strong form PDE form of the governing equations
Weak form Integral form used in FEM
Test function Virtual variation used to derive weak form
Stationarity Condition that first variation of energy is zero
Mechanical equilibrium Balance of internal and external forces
Damage PDE Governing equation for phase-field crack evolution
Natural boundary condition Boundary condition arising automatically from integration by parts
Essential boundary condition Boundary condition imposed directly
History field Variable storing maximum crack-driving energy
Variational inequality Constrained variational statement for irreversible damage

26. Suggested references

  1. Griffith, A. A. (1921). The phenomena of rupture and flow in solids. Philosophical Transactions of the Royal Society of London. Series A.
  2. Francfort, G. A., & Marigo, J.-J. (1998). Revisiting brittle fracture as an energy minimization problem. Journal of the Mechanics and Physics of Solids.
  3. Bourdin, B., Francfort, G. A., & Marigo, J.-J. (2000). Numerical experiments in revisited brittle fracture. Journal of the Mechanics and Physics of Solids.
  4. Bourdin, B., Francfort, G. A., & Marigo, J.-J. (2008). The variational approach to fracture. Journal of Elasticity.
  5. Miehe, C., Hofacker, M., & Welschinger, F. (2010). A phase field model for rate-independent crack propagation. Computer Methods in Applied Mechanics and Engineering.
  6. Pham, K., Amor, H., Marigo, J.-J., & Maurini, C. (2011). Gradient damage models and their use to approximate brittle fracture. International Journal of Damage Mechanics.
  7. Borden, M. J., Verhoosel, C. V., Scott, M. A., Hughes, T. J. R., & Landis, C. M. (2012). A phase-field description of dynamic brittle fracture. Computer Methods in Applied Mechanics and Engineering.

The equations above describe propagation once a phase-field fracture model is chosen. The next conceptual issue is whether the same model correctly predicts the birth of cracks in uncracked bodies.