Algorithm Search⌘K

Modelcore

Phase-field model

Also called diffuse interface model.

Describes interfaces such as solidification fronts by a smooth order parameter, evolved by Allen-Cahn or Cahn-Hilliard equations, so they move implicitly.

A phase-field model describes a system with two or more phases, such as solid and liquid or two mixed fluids, by an order parameter u(x,t)u(x, t) that is near +1+1 in one phase, near −1-1 in the other, and changes smoothly across an interface of width about ε\varepsilon. The interface is not tracked: it is the region where uu is near 00, and it moves because uu evolves by a partial differential equation, the gradient flow of a free energy. The Allen-Cahn equation is the flow for an order parameter that is not conserved, and it moves interfaces by their curvature; the Cahn-Hilliard equation conserves the integral of uu, and it describes phase separation and coarsening. Topology changes, such as droplets that merge or break up, need no special treatment. The model links a microscopic free energy to the sharp interface laws of the continuum, as in the level set method, but with a physical interface energy built in.

The machine

Unknowns and energy. The order parameter u(x,t)u(x, t) on a domain in Rd\mathbb{R}^d with periodic or no-flux boundary conditions, and the free energy

F[u]=∫(ε22∣∇u∣2+W(u)) dx,W(u)=14(u2−1)2.\mathcal{F}[u] = \int \Big( \frac{\varepsilon^2}{2} |\nabla u|^2 + W(u) \Big)\, dx, \qquad W(u) = \frac14 (u^2 - 1)^2 .

The double well WW has minima at the two phases u=±1u = \pm 1, and the gradient term penalizes sharp changes. The chemical potential is the variational derivative μ=δF/δu=W′(u)−ε2Δu\mu = \delta \mathcal{F} / \delta u = W'(u) - \varepsilon^2 \Delta u, with W′(u)=u3−uW'(u) = u^3 - u.

Allen-Cahn (nonconserved). The L2L^2 gradient flow with mobility MM:

∂tu=−Mμ=M(ε2Δu−W′(u)).\partial_t u = -M \mu = M \big( \varepsilon^2 \Delta u - W'(u) \big).

Cahn-Hilliard (conserved). The H−1H^{-1} gradient flow, a conservation law with the flux −M∇μ-M \nabla \mu:

∂tu=∇⋅(M∇μ),μ=W′(u)−ε2Δu.\partial_t u = \nabla \cdot \big( M \nabla \mu \big), \qquad \mu = W'(u) - \varepsilon^2 \Delta u .

Solidification. Models of solidification couple uu to a temperature or a concentration field TT, which obeys a diffusion equation with a source from the latent heat, ∂tT=DΔT+12∂tu\partial_t T = D \Delta T + \frac12 \partial_t u in dimensionless form, and tilt the double well by a term proportional to TT, so that the phase with the lower free energy grows. Anisotropy of the interface energy enters through an ε\varepsilon that depends on the direction of ∇u\nabla u.

Parameters, fitted and derived. With physical units the energy is ∫(κ2∣∇u∣2+HW(u)) dx\int (\frac{\kappa}{2} |\nabla u|^2 + H W(u))\, dx. The interface energy σ\sigma is measured (fitted), and the width is chosen; then κ\kappa and the barrier height HH are derived from σ=223κH\sigma = \frac{2 \sqrt 2}{3} \sqrt{\kappa H} and the width 2κ/H\sqrt{2 \kappa / H} (Known result 3 with ε2=κ/H\varepsilon^2 = \kappa / H). The mobility MM is fitted to the measured speed of the interface or, in alloys, derived from the diffusion coefficient. In quantitative solidification models, the width is a numerical parameter much larger than the physical width, and the thin interface analysis of Karma and Rappel (1998) derives the coupling constant and the relaxation time from the capillary length and the diffusivity, so that the results do not depend on the width to leading order.

Discretization. Finite differences or Fourier spectral methods in space. The equations are stiff, because the gradient term is a diffusion with coefficient Mε2M \varepsilon^2 for Allen-Cahn and a fourth order term for Cahn-Hilliard, so time stepping treats the linear part implicitly, for example by semi-implicit Fourier steps or Crank-Nicolson, and the nonlinear part explicitly or by a convex splitting. The grid must resolve the interface with a few points per ε\varepsilon.

What it counts

The model predicts the position and the shape of the interfaces as functions of time: the speed of a front, the radius of a shrinking grain, the growth rate and the tip radius of a dendrite, the length scale of a pattern of phase separation and its coarsening in time. It also gives the free energy of a configuration, which decreases in time.

Relation to other models

  • Sharp interface models. As ε→0\varepsilon \to 0, the Allen-Cahn interface moves by mean curvature (Known result 4), and the Cahn-Hilliard interface obeys a Mullins-Sekerka free boundary problem (formal asymptotics, not proved here). Solidification models reduce to the Stefan problem with the Gibbs-Thomson condition at the interface. The phase-field model is a regularization of these sharp interface problems.
  • Level set. The level set method also represents the interface implicitly, by the zero set of a function, but the function has no physical meaning away from the interface and the speed of the interface must be given. In the phase-field model, the speed follows from the energy.
  • Volume of fluid and front tracking. The volume of fluid method carries the fraction of one phase per cell, and front tracking carries the interface as a mesh. Both keep the interface sharp. The phase field has a finite width, which costs grid points but makes topology changes automatic.
  • Two-phase flow. Coupling Cahn-Hilliard to the Navier-Stokes equations, with the capillary force −u∇μ-u \nabla \mu or μ∇u\mu \nabla u added to the momentum equation, gives a diffuse interface model of two immiscible fluids with surface tension.
  • Fracture and microstructure. The same construction, an order parameter with a gradient energy, is used for fracture (the order parameter is the damage), for grain growth with many order parameters, and for martensitic transformations with an elastic energy added.

Known results in the model

Known result 1 (energy decreases). With periodic or no-flux boundary conditions, smooth solutions satisfy

dFdt=−∫Mμ2 dx≤0(Allen-Cahn),dFdt=−∫M∣∇μ∣2 dx≤0(Cahn-Hilliard).\frac{d \mathcal{F}}{dt} = -\int M \mu^2\, dx \le 0 \quad \text{(Allen-Cahn)}, \qquad \frac{d \mathcal{F}}{dt} = -\int M |\nabla \mu|^2\, dx \le 0 \quad \text{(Cahn-Hilliard)}.

Proof. dFdt=∫(ε2∇u⋅∇∂tu+W′(u)∂tu) dx=∫μ ∂tu dx\frac{d \mathcal{F}}{dt} = \int (\varepsilon^2 \nabla u \cdot \nabla \partial_t u + W'(u) \partial_t u)\, dx = \int \mu\, \partial_t u\, dx after an integration by parts, whose boundary term is zero. For Allen-Cahn, ∂tu=−Mμ\partial_t u = -M \mu. For Cahn-Hilliard, ∫μ∇⋅(M∇μ) dx=−∫M∣∇μ∣2 dx\int \mu \nabla \cdot (M \nabla \mu)\, dx = -\int M |\nabla \mu|^2\, dx by one more integration by parts. □\square

Known result 2 (conservation and bounds). Cahn-Hilliard conserves the mass ∫u dx\int u\, dx, because ∂tu\partial_t u is a divergence with zero flux through the boundary. Allen-Cahn does not conserve it, but it keeps ∣u∣≤1|u| \le 1 if ∣u∣≤1|u| \le 1 at the start, by the maximum principle: at a point where uu has a new maximum above 11, Δu≤0\Delta u \le 0 and −W′(u)=u−u3<0-W'(u) = u - u^3 < 0, so uu cannot grow. Cahn-Hilliard has no maximum principle, and uu can leave [−1,1][-1, 1] slightly.

Known result 3 (the flat interface). In one dimension, u(x)=tanh⁡(x/(2 ε))u(x) = \tanh\big( x / (\sqrt 2\, \varepsilon) \big) is a stationary solution of both equations that joins −1-1 to +1+1, and its excess energy, the interface energy, is

σ=∫−∞∞(ε22u′2+W(u))dx=223 ε=0.942809 ε.\sigma = \int_{-\infty}^{\infty} \Big( \frac{\varepsilon^2}{2} u'^2 + W(u) \Big) dx = \frac{2 \sqrt 2}{3}\, \varepsilon = 0.942809\, \varepsilon .

Proof. With u′=(1−u2)/(2ε)u' = (1 - u^2) / (\sqrt 2 \varepsilon), u′′=−2uu′/(2ε)=−u(1−u2)/ε2u'' = -2 u u' / (\sqrt 2 \varepsilon) = -u (1 - u^2) / \varepsilon^2, so ε2u′′=u3−u=W′(u)\varepsilon^2 u'' = u^3 - u = W'(u) and μ=0\mu = 0. The profile also satisfies ε22u′2=14(1−u2)2=W(u)\frac{\varepsilon^2}{2} u'^2 = \frac14 (1 - u^2)^2 = W(u), so the energy density is 2W(u)=εu′2W(u)2 W(u) = \varepsilon u' \sqrt{2 W(u)}, and σ=∫−11ε2W(u) du=ε∫−111−u22 du=ε2⋅43\sigma = \int_{-1}^{1} \varepsilon \sqrt{2 W(u)}\, du = \varepsilon \int_{-1}^{1} \frac{1 - u^2}{\sqrt 2}\, du = \frac{\varepsilon}{\sqrt 2} \cdot \frac43. □\square

Check by hand. The profile passes from u=−0.9u = -0.9 to u=0.9u = 0.9 over the width 22 ε artanh⁡(0.9)=4.164 ε2 \sqrt 2\, \varepsilon\, \operatorname{artanh}(0.9) = 4.164\, \varepsilon. A midpoint sum of the energy density with ε=1\varepsilon = 1 over [−20,20][-20, 20] gives 0.9428090.942809.

Known result 4 (motion by mean curvature). For Allen-Cahn with M=1/ε2M = 1 / \varepsilon^2, that is ∂tu=Δu−W′(u)/ε2\partial_t u = \Delta u - W'(u) / \varepsilon^2, the interface moves, as ε→0\varepsilon \to 0, with normal speed equal to its mean curvature (the sum of the principal curvatures), toward its center of curvature. Evans, Soner and Souganidis (1992) proved the convergence to the level set solution of motion by mean curvature, for all times, including after singularities. With a general MM the speed is Mε2M \varepsilon^2 times the curvature.

Check by hand. A circle of radius RR in two dimensions has curvature 1/R1 / R, so dR/dt=−1/RdR / dt = -1 / R and R(t)2=R02−2tR(t)^2 = R_0^2 - 2 t. A disk of radius 11 disappears at t=1/2t = 1/2; in three dimensions a ball has curvature 2/R2 / R and disappears at t=R02/4t = R_0^2 / 4.

Known result 5 (spinodal decomposition). Linearize Cahn-Hilliard with a constant MM about a uniform state u0u_0: a perturbation eik⋅x+ste^{i k \cdot x + s t} grows at the rate

s(k)=−M∣k∣2(W′′(u0)+ε2∣k∣2),W′′(u0)=3u02−1.s(k) = -M |k|^2 \big( W''(u_0) + \varepsilon^2 |k|^2 \big), \qquad W''(u_0) = 3 u_0^2 - 1 .

So the uniform state is unstable if and only if W′′(u0)<0W''(u_0) < 0, that is ∣u0∣<1/3=0.577350|u_0| < 1 / \sqrt 3 = 0.577350 (the spinodal region), and then the waves with 0<∣k∣<−W′′(u0)/ε0 < |k| < \sqrt{-W''(u_0)} / \varepsilon grow. The fastest one has ∣k∣2=−W′′(u0)/(2ε2)|k|^2 = -W''(u_0) / (2 \varepsilon^2) and the rate MW′′(u0)2/(4ε2)M W''(u_0)^2 / (4 \varepsilon^2), which sets the length scale of the first pattern. For u0=0u_0 = 0: ∣k∣=1/(2ε)|k| = 1 / (\sqrt 2 \varepsilon) and s=M/(4ε2)s = M / (4 \varepsilon^2).

Proof. Put u=u0+vu = u_0 + v with small vv; then μ≈W′(u0)+W′′(u0)v−ε2Δv\mu \approx W'(u_0) + W''(u_0) v - \varepsilon^2 \Delta v and ∂tv=MΔ(W′′(u0)v−ε2Δv)\partial_t v = M \Delta (W''(u_0) v - \varepsilon^2 \Delta v). A Fourier mode gives s=M(−∣k∣2)(W′′(u0)+ε2∣k∣2)s = M (-|k|^2)(W''(u_0) + \varepsilon^2 |k|^2). The maximum over ∣k∣2|k|^2 is where −W′′(u0)−2ε2∣k∣2=0-W''(u_0) - 2 \varepsilon^2 |k|^2 = 0. □\square

Known result 6 (time step of explicit schemes). Forward Euler for Allen-Cahn on a grid of spacing Δx\Delta x in dd dimensions needs Δt≤Δx2/(2dMε2)\Delta t \le \Delta x^2 / (2 d M \varepsilon^2) for the diffusion part, as for the heat equation, and Cahn-Hilliard needs Δt=O(Δx4)\Delta t = O(\Delta x^4). This is why the linear part is treated implicitly.

References

  1. John W. Cahn and John E. Hilliard, Free energy of a nonuniform system. I. Interfacial free energy, The Journal of Chemical Physics 28(2), 1958, 258-267, the free energy with a gradient squared term and the interfacial energy of a flat interface
  2. Samuel M. Allen and John W. Cahn, A microscopic theory for antiphase boundary motion and its application to antiphase domain coarsening, Acta Metallurgica 27(6), 1979, 1085-1095, the equation for a nonconserved order parameter and the motion of the boundaries by their curvature
  3. L. C. Evans, H. M. Soner and P. E. Souganidis, Phase transitions and generalized motion by mean curvature, Communications on Pure and Applied Mathematics 45(9), 1992, 1097-1123, the convergence of the Allen-Cahn equation to the level set motion by mean curvature
  4. Alain Karma and Wouter-Jan Rappel, Quantitative phase-field modeling of dendritic growth in two and three dimensions, Physical Review E 57(4), 1998, 4323-4349, the thin interface analysis that relates the model parameters to the capillary length and the interface kinetics
  5. Long-Qing Chen, Phase-field models for microstructure evolution, Annual Review of Materials Research 32, 2002, 113-140, a review of the models for solidification, phase separation and solid state transformations

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/QJ60FZ/text.yaml