Algorithm Search⌘K

Theoremcore

Helmholtz-Hodge decomposition

Also called Helmholtz decomposition.

On a bounded Lipschitz domain every L2 vector field splits orthogonally into a gradient and a divergence-free field with zero normal component. The basis of projection methods.

The Helmholtz-Hodge decomposition says that every square integrable vector field on a bounded domain is the sum of a gradient and a divergence-free field that does not flow through the boundary, and that these two parts are orthogonal. The divergence-free part is the orthogonal projection of the field onto the incompressible fields, and the gradient part comes from a Neumann problem for the Poisson equation. This is the step that every projection method for incompressible flow performs, from Chorin's projection method to the pressure solve of stable fluids in graphics. The graphics version uses the result on a grid without proof; the precise statement adds the function spaces and the boundary condition, and the boundary condition matters, because a different condition gives a different projection.

Statement

Let Ω⊂Rd\Omega \subset \mathbb{R}^d, d≥2d \ge 2, be a bounded connected open set with Lipschitz boundary and outward unit normal n\mathbf{n}. Let L2(Ω)dL^2(\Omega)^d be the square integrable vector fields with the inner product (u,w)=∫Ωu⋅w dx(\mathbf{u}, \mathbf{w}) = \int_\Omega \mathbf{u}\cdot\mathbf{w}\,dx, and H1(Ω)H^1(\Omega) the Sobolev space of functions with square integrable first derivatives. Define

G(Ω)={∇q:q∈H1(Ω)},H(Ω)={w∈L2(Ω)d:∫Ωw⋅∇φ dx=0 for all φ∈H1(Ω)}.G(\Omega) = \{\nabla q : q \in H^1(\Omega)\}, \qquad H(\Omega) = \Big\{\mathbf{w} \in L^2(\Omega)^d : \int_\Omega \mathbf{w}\cdot\nabla\varphi\,dx = 0 \text{ for all } \varphi \in H^1(\Omega)\Big\}.

A field is in H(Ω)H(\Omega) exactly when ∇⋅w=0\nabla\cdot\mathbf{w} = 0 in the weak sense and its normal trace w⋅n\mathbf{w}\cdot\mathbf{n}, defined in H−1/2(∂Ω)H^{-1/2}(\partial\Omega) by Green's formula, is zero. For smooth fields this is ∇⋅w=0\nabla\cdot\mathbf{w} = 0 in Ω\Omega and w⋅n=0\mathbf{w}\cdot\mathbf{n} = 0 on ∂Ω\partial\Omega.

Theorem. L2(Ω)d=G(Ω)⊕H(Ω)L^2(\Omega)^d = G(\Omega) \oplus H(\Omega), and the sum is orthogonal. So every u∈L2(Ω)d\mathbf{u} \in L^2(\Omega)^d is uniquely u=∇q+w\mathbf{u} = \nabla q + \mathbf{w} with w∈H(Ω)\mathbf{w} \in H(\Omega) and q∈H1(Ω)q \in H^1(\Omega) unique up to an additive constant, and ∥u∥2=∥∇q∥2+∥w∥2\|\mathbf{u}\|^2 = \|\nabla q\|^2 + \|\mathbf{w}\|^2. The potential qq is the weak solution of the Neumann problem

∫Ω∇q⋅∇φ dx=∫Ωu⋅∇φ dxfor all φ∈H1(Ω),\int_\Omega \nabla q\cdot\nabla\varphi\,dx = \int_\Omega \mathbf{u}\cdot\nabla\varphi\,dx \quad \text{for all } \varphi \in H^1(\Omega),

that is Δq=∇⋅u\Delta q = \nabla\cdot\mathbf{u} in Ω\Omega and ∂q/∂n=u⋅n\partial q/\partial n = \mathbf{u}\cdot\mathbf{n} on ∂Ω\partial\Omega. The map Pu=wP\mathbf{u} = \mathbf{w} is the orthogonal projector onto H(Ω)H(\Omega), called the Leray projector.

In plain words

Think of the wind inside a closed room. Some of it moves like water poured from a jug: it spreads out from some places and gathers at others. The rest only swirls around and never piles up anywhere, and it never blows through the walls. The theorem says that every wind pattern is exactly one spreading part plus one swirling part, that there is only one way to split it, and that the two parts are independent of each other, so the energy of the whole is the energy of one part plus the energy of the other. The spreading part comes from a single height map: it always flows downhill on that map. To find the map, you solve one standard equation. A fluid that cannot be squeezed keeps only the swirling part, so a simulation can remove the spreading part at each step.

Proof

Step 1: G(Ω)G(\Omega) is closed. Let ∇qk→g\nabla q_k \to \mathbf{g} in L2(Ω)dL^2(\Omega)^d. Subtract the mean, so that ∫Ωqk=0\int_\Omega q_k = 0; this does not change ∇qk\nabla q_k. On a bounded connected Lipschitz domain the Poincare-Wirtinger inequality ∥q−qˉ∥L2≤CΩ∥∇q∥L2\|q - \bar q\|_{L^2} \le C_\Omega\|\nabla q\|_{L^2} holds; it follows from the compact embedding of H1(Ω)H^1(\Omega) in L2(Ω)L^2(\Omega) (Rellich). So (qk)(q_k) is a Cauchy sequence in H1(Ω)H^1(\Omega), with a limit qq, and ∇q=g\nabla q = \mathbf{g}. Hence g∈G(Ω)\mathbf{g} \in G(\Omega).

Step 2: the orthogonal splitting. L2(Ω)dL^2(\Omega)^d is a Hilbert space and G(Ω)G(\Omega) is a closed subspace, so by the projection theorem L2(Ω)d=G(Ω)⊕G(Ω)⊥L^2(\Omega)^d = G(\Omega) \oplus G(\Omega)^\perp, with a unique splitting and Pythagoras' identity for the norms.

Step 3: G(Ω)⊥=H(Ω)G(\Omega)^\perp = H(\Omega). A field w\mathbf{w} is orthogonal to G(Ω)G(\Omega) exactly when ∫Ωw⋅∇φ=0\int_\Omega \mathbf{w}\cdot\nabla\varphi = 0 for every φ∈H1(Ω)\varphi \in H^1(\Omega), which is the definition of H(Ω)H(\Omega). Testing with φ∈Cc∞(Ω)\varphi \in C_c^\infty(\Omega) gives ∇⋅w=0\nabla\cdot\mathbf{w} = 0 in the sense of distributions. Then w\mathbf{w} is in H(div)H(\mathrm{div}), Green's formula ⟨w⋅n,φ⟩∂Ω=∫Ωw⋅∇φ+∫Ω(∇⋅w)φ\langle \mathbf{w}\cdot\mathbf{n}, \varphi\rangle_{\partial\Omega} = \int_\Omega \mathbf{w}\cdot\nabla\varphi + \int_\Omega (\nabla\cdot\mathbf{w})\varphi holds on Lipschitz domains (Girault and Raviart 1986, Chapter I), and with all φ∈H1(Ω)\varphi \in H^1(\Omega) it gives w⋅n=0\mathbf{w}\cdot\mathbf{n} = 0 in H−1/2(∂Ω)H^{-1/2}(\partial\Omega). The converse is the same formula read backward.

Step 4: the potential. u−∇q∈H(Ω)\mathbf{u} - \nabla q \in H(\Omega) means ∫Ω(u−∇q)⋅∇φ=0\int_\Omega (\mathbf{u} - \nabla q)\cdot\nabla\varphi = 0 for all φ\varphi, which is the Neumann problem of the statement. On the quotient space H1(Ω)/RH^1(\Omega)/\mathbb{R} the form ∫∇q⋅∇φ\int\nabla q\cdot\nabla\varphi is an inner product, and by Step 1 its norm is equivalent to the H1H^1 norm, so the Lax-Milgram theorem (here the Riesz theorem is enough) gives exactly one solution class. □\square

Consequences

  • Pressure elimination. Apply PP to the incompressible Navier-Stokes equations with u⋅n=0\mathbf{u}\cdot\mathbf{n} = 0: P∇p=0P\nabla p = 0, so ut=P(−(u⋅∇)u+νΔu+f)\mathbf{u}_t = P\big(-(\mathbf{u}\cdot\nabla)\mathbf{u} + \nu\Delta\mathbf{u} + \mathbf{f}\big) on H(Ω)H(\Omega). The pressure is the gradient part, ∇p=(I−P)(… )\nabla p = (I - P)(\dots), and it is found from a Neumann problem. Here pp is the pressure divided by the density.
  • Projection methods. Chorin's method applies a discrete PP once per time step. On the staggered MAC grid, the discrete divergence DD and gradient GG satisfy GT=−DG^T = -D, so the discrete projection u↦u−G(DG)−1Du\mathbf{u} \mapsto \mathbf{u} - G(DG)^{-1}D\mathbf{u} is orthogonal too, and the theorem holds again on the grid. On a collocated grid with wide central differences the discrete gradient has a checkerboard null space, and the discrete version fails.
  • Energy. Because PP is orthogonal, ∥Pu∥≤∥u∥\|P\mathbf{u}\| \le \|\mathbf{u}\|: a projection never adds kinetic energy.
  • Two dimensions. In 2D on a simply connected domain, every w∈H(Ω)\mathbf{w} \in H(\Omega) is ∇⊥ψ=(∂yψ,−∂xψ)\nabla^\perp\psi = (\partial_y\psi, -\partial_x\psi) for a stream function ψ∈H01(Ω)\psi \in H^1_0(\Omega). This is the basis of the vorticity-streamfunction formulation.

Examples to check by hand.

  1. On the unit disk, u=(x−y, x+y)\mathbf{u} = (x - y,\ x + y) splits as ∇(12r2)=(x,y)\nabla(\tfrac12 r^2) = (x, y) plus w=(−y,x)\mathbf{w} = (-y, x). The field w\mathbf{w} has divergence 00, and on the circle w⋅n=(−y,x)⋅(x,y)=0\mathbf{w}\cdot\mathbf{n} = (-y, x)\cdot(x, y) = 0. The parts are orthogonal: ∫(x,y)⋅(−y,x)=∫(−xy+xy)=0\int (x, y)\cdot(-y, x) = \int (-xy + xy) = 0.
  2. On the unit square, u=(1,0)\mathbf{u} = (1, 0) is divergence free, but it flows through the walls x=0x = 0 and x=1x = 1, so it is not in H(Ω)H(\Omega). Its decomposition is u=∇x+0\mathbf{u} = \nabla x + 0: the projection removes it completely. A divergence-free field is in H(Ω)H(\Omega) only if its normal component on the boundary is zero.
  3. On the periodic square [0,2π]2[0, 2\pi]^2, where there is no boundary, u=(sin⁡x+sin⁡y, 0)\mathbf{u} = (\sin x + \sin y,\ 0) has divergence cos⁡x\cos x. It splits as ∇(−cos⁡x)=(sin⁡x,0)\nabla(-\cos x) = (\sin x, 0) plus (sin⁡y,0)(\sin y, 0), which is divergence free, and ∫ ⁣ ⁣∫sin⁡xsin⁡y=0\int\!\!\int \sin x \sin y = 0. The constant field (1,0)(1, 0) is now in the divergence-free part.

Tightness

  • The boundary condition is part of the theorem. With q∈H01(Ω)q \in H^1_0(\Omega) instead of H1(Ω)H^1(\Omega), the same proof gives a second orthogonal splitting, L2(Ω)d={∇q:q∈H01(Ω)}⊕{w:∇⋅w=0}L^2(\Omega)^d = \{\nabla q : q \in H^1_0(\Omega)\} \oplus \{\mathbf{w} : \nabla\cdot\mathbf{w} = 0\}, with no condition on w⋅n\mathbf{w}\cdot\mathbf{n}. Example 2 shows that the two projections differ: the second one keeps (1,0)(1, 0). A projection method must use the splitting that matches the wall condition of the flow.
  • Connectedness. On a domain with mm connected components, the potential is unique only up to one constant per component. The splitting itself is unchanged.
  • Holes. On a domain that is not simply connected, H(Ω)H(\Omega) contains fields that are both divergence free and curl free. On the annulus 1<r<21 < r < 2, the field (−y,x)/r2(-y, x)/r^2 is such a field, and it is not ∇⊥ψ\nabla^\perp\psi for a ψ\psi that vanishes on the whole boundary. The full Hodge decomposition separates these harmonic fields, whose dimension is given by the topology of Ω\Omega. The two-part splitting of the theorem is still true; only the description of H(Ω)H(\Omega) by stream functions changes.
  • Smoothness. The theorem is an L2L^2 statement. Smooth data on a smooth boundary give a smooth qq and w\mathbf{w} by elliptic regularity, but on a domain with corners qq can have singular derivatives at the corners even for smooth u\mathbf{u}. In LpL^p with p≠2p \ne 2 the splitting is no longer orthogonal, and on Lipschitz domains it holds only for some pp near 2; Galdi (2011, Chapter III) treats the LqL^q theory.
  • Unbounded domains. On all of Rd\mathbb{R}^d the splitting holds in L2L^2, with qq in a homogeneous Sobolev space instead of H1H^1, because the Poincare-Wirtinger inequality of Step 1 fails.

History

Helmholtz (1858) split a velocity field into a potential part and a vortex part in his paper on vortex motion. Weyl (1940) gave the orthogonal decomposition of square integrable vector fields in his method of orthogonal projection, and Hodge theory extended the decomposition to differential forms on manifolds. Leray used the projection onto divergence-free fields in his work on the Navier-Stokes equations in the 1930s, and Chorin (1968) turned it into a numerical method. Girault and Raviart (1986) and Galdi (2011) give the version for Lipschitz domains used here.

References

  1. Vivette Girault and Pierre-Arnaud Raviart, Finite Element Methods for Navier-Stokes Equations, Springer, 1986, Chapter I (the spaces H(div), the normal trace and the decomposition of vector fields)
  2. Giovanni P. Galdi, An Introduction to the Mathematical Theory of the Navier-Stokes Equations: Steady-State Problems, second edition, Springer, 2011, Chapter III (the Helmholtz-Weyl decomposition in L2 and Lq)
  3. Alexandre J. Chorin and Jerrold E. Marsden, A Mathematical Introduction to Fluid Mechanics, third edition, Springer, 1993, Chapter 1 (the Helmholtz-Hodge decomposition and the projection of the Euler equations)
  4. Hermann Weyl, The method of orthogonal projection in potential theory, Duke Mathematical Journal 7(1) (1940) 411-444, orthogonal decomposition of square integrable vector fields
  5. Hermann Helmholtz, Ueber Integrale der hydrodynamischen Gleichungen, welche den Wirbelbewegungen entsprechen, Journal fuer die reine und angewandte Mathematik 55 (1858) 25-55, the splitting of a velocity field into a potential part and a vortex part
  6. Alexandre J. Chorin, Numerical solution of the Navier-Stokes equations, Mathematics of Computation 22(104) (1968) 745-762, the decomposition used as a numerical projection step

Where this leads

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/EVZZQK/text.yaml