Techniqueresearch
Positivity-preserving limiter
Also called Zhang-Shu limiter.
Scales a high-order polynomial toward its cell mean so that density and pressure stay positive at the quadrature points. Keeps the mean and high order; positive means need a CFL condition.
The positivity-preserving limiter of Zhang and Shu keeps the density and pressure of a high-order scheme for the Euler equations positive, and for a scalar law keeps the solution within the bounds of the initial data, without losing high order for smooth solutions. In each cell it replaces the polynomial by , where is the cell mean and is the largest factor for which the values at a set of quadrature points are admissible. The mean does not change, so the scheme stays conservative. The limiter alone does not make the scheme positive. The other half of the method is a theorem: if the values at the Gauss-Lobatto points of every cell are admissible, then one forward Euler step of the cell means is a convex combination of first-order positive steps, and so the new means are admissible under a reduced CFL condition. SSP Runge-Kutta time stepping, with the limiter after every stage, carries this to high order in time.
In plain words
A gas cannot have negative density or negative pressure, but high-order schemes can produce such values near vacuum or at strong shocks, and then the program stops. This limiter fixes the problem one cell at a time. It keeps the cell's average, which is the part that carries the conservation law, and shrinks the shape of the polynomial toward that average, just enough that the density and pressure are positive at the points the scheme uses. If the shape was already fine, nothing changes. A separate argument shows that if the points in every cell are positive, then the averages after a small enough time step are positive too. So the two parts together keep the whole computation physical.
When it applies
- A scheme that updates cell means conservatively from point values at cell faces: DG, finite volume WENO, and other reconstructions.
- A first-order scheme that keeps the admissible set under a CFL condition, used as the building block in the proof. Lax-Friedrichs, HLL and Godunov fluxes are positive for the Euler equations; the Roe flux is not.
- An admissible set that is convex. For a scalar law, , the range of the initial data. For the Euler equations, , which is convex because is a concave function of the conserved variables where .
- Problems near vacuum or with very strong shocks: blast waves, jets with high Mach numbers, rarefactions into near vacuum, and the shallow water equations with wetting and drying, where the water depth must stay nonnegative.
The template
Let be the Gauss-Lobatto points of cell , with weights that add to 1, chosen with so that the rule is exact for the polynomials of degree . Then and are the cell faces. Let be these points, together with the Gauss points used by the flux and volume terms.
POSITIVITY-LIMITER(u_h, ε) ▷ applied after every SSP stage- 1
for each cell j with mean ū = (ρ̄, m̄, Ē) do - 2
ρ_min ← min over x in S_j of ρ_h(x) - 3
θ₁ ← min(1, (ρ̄ - ε) / (ρ̄ - ρ_min)); ρ̂ ← ρ̄ + θ₁ (ρ_h - ρ̄) - 4
for each x in S_j with p(û(x)) < ε: t_x ← the root in [0, 1] of p((1 - t) ū + t û(x)) = ε - 5
θ₂ ← min(1, min_x t_x) - 6
u_h ← ū + θ₂ (û - ū) ▷ the mean is unchanged
Here is a small positive number with and , for example . For a scalar law with bounds the limiter is one step: , with and the largest and smallest values of on .
Why the means stay admissible (theorem). In one dimension, write the forward Euler step of the means with and use the quadrature , with , so and :
The term is added and subtracted. Each bracket is one step of the first-order scheme with flux and ratio (here ), applied to three admissible states. If that scheme keeps for , then each bracket is in when . The point values are in after the limiter, so is a convex combination of points of and lies in . For with points, . An SSP Runge-Kutta stage is a convex combination of such steps, so the result holds for the full step, with the limiter after each stage.
Accuracy. For a smooth solution whose values stay away from the bounds, on fine grids and the limiter does nothing. Where it does act, Zhang and Shu show that the change is of the same order as the error of , so the order of accuracy is kept.
Classic examples
- Burgers' equation and other scalar laws: the limiter keeps the solution within the range of the initial data.
- Discontinuous Galerkin method: the limiter acts on the polynomial in each cell, checked at the Gauss-Lobatto and Gauss points.
- WENO schemes: the limiter acts on the reconstruction polynomial of each cell, with the same convex decomposition of the mean.
- Euler equations: density first, then pressure, as in the template.
- Shallow water equations: the water depth stays nonnegative at wet-dry fronts.
Density by hand. A cell has on , so and the left face value is . With : , and the limited density is , with face values and and the same mean.
Pressure by hand. With , take a cell mean , which has , and a point value , which has . Along the condition is , that is , with root . So for this cell, and with the point value becomes about , which has . With the root is slightly smaller.
Typical tests. The Sedov blast wave, the Leblanc shock tube with a pressure ratio of , and the double rarefaction into near vacuum. Without the limiter a high-order DG or WENO scheme produces negative pressure in the first few steps on these problems. With the limiter and the reduced CFL number they run to the end.
Variations
- Maximum-principle-satisfying limiter for scalar laws (Zhang and Shu 2010), the same scaling with the bounds of the initial data.
- Bound-preserving limiters for other systems: nonnegative water depth for shallow water (combined with well-balanced reconstruction), positive density for multicomponent and reactive flows, and bounds on mass fractions.
- Parametrized flux limiters, which limit the high-order flux toward a positive low-order flux instead of limiting the polynomial, and so allow the standard CFL number.
- Positivity-preserving entropy stable schemes, which combine the limiter with an entropy stable flux.
- Two and three dimensions. On rectangles, tensor products of Gauss and Gauss-Lobatto points give the convex decomposition, and the CFL condition is the sum over directions.
Pitfalls
- Limiter without the CFL condition. The limiter keeps the point values of the current state admissible, but the next means are admissible only for , which is several times smaller than the usual DG step. Without it, negative means can still appear.
- A flux that is not positive. The proof needs a first-order flux that keeps . With the Roe flux the scheme can fail near vacuum even with the limiter.
- Too few points in . Checking only the Gauss points of the volume integral is not enough. The Gauss-Lobatto points, including the faces, must be in the set.
- Solving the pressure equation badly. is a quadratic equation in for the Euler equations. Take the root in ; a crude bisection with few steps can leave a negative pressure.
- Using a fixed larger than the mean. If , the formula for is negative. Choose below the cell means.
- Confusing positivity with entropy stability or oscillation control. The limiter does not remove oscillations; a TVB or WENO limiter is still needed at shocks.
Exercises
- For a scalar law with bounds and a cell with point values at the Lobatto points , compute the mean and .
- Show that is concave on , and conclude that is convex.
- Show that the Lax-Friedrichs scheme keeps for the Euler equations when , using the convexity of and the exact solution of the Riemann problem.
References
- Xiangxiong Zhang and Chi-Wang Shu, On maximum-principle-satisfying high order schemes for scalar conservation laws, Journal of Computational Physics 229(9) (2010) 3091-3120, the scaling limiter for the bounds of a scalar law, the convex decomposition of the cell mean with Gauss-Lobatto points, the CFL condition, the accuracy of the limiter
- Xiangxiong Zhang and Chi-Wang Shu, On positivity-preserving high order discontinuous Galerkin schemes for compressible Euler equations on rectangular meshes, Journal of Computational Physics 229(23) (2010) 8918-8934, the limiter for density and pressure, the convex set of admissible states, the extension to two dimensions
- Sigal Gottlieb, Chi-Wang Shu and Eitan Tadmor, Strong stability-preserving high-order time discretization methods, SIAM Review 43(1) (2001) 89-112, SSP Runge-Kutta methods as convex combinations of forward Euler steps
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W3 standard |
|
Tag YD4710 Edit this page History Report an error Markdown