Conservation laws and shock capturing
Problems
- Euler equations of gas dynamics
The conservation laws of mass, momentum and energy of an inviscid compressible gas, closed by an equation of state.
core - Shallow water equations
Hyperbolic equations for the depth and depth-averaged velocity of a thin fluid layer under gravity, used for rivers, tsunamis and atmospheres.
core
Algorithms
- MacCormack method
A two-step predictor-corrector with forward then backward differences, second order and equal to Lax-Wendroff on linear problems.
1 languagesintro - Discontinuous Galerkin method
Space discretization with a polynomial of degree k in each cell and no continuity between cells, coupled only by numerical fluxes on faces. Conservative; order k + 1 for smooth solutions.
1 languagescore - Exact Riemann solver for the Euler equations
Finds the star-region pressure by Newton iteration on the shock and rarefaction relations, then samples the self-similar solution.
1 languagescore - Flux vector splitting
Splits the flux into parts with nonnegative and nonpositive eigenvalues and upwinds each part, with no Riemann solver.
1 languagescore - HLL Riemann solver
Approximates the Riemann fan by one intermediate state between the slowest and fastest wave estimates; robust and positive but diffusive at contacts.
1 languagescore - MUSCL scheme
Reconstructs limited linear slopes in each cell and solves Riemann problems between interface values, second order away from shocks.
1 languagescore - Roe solver
Approximates the Riemann problem by a linear one with a Roe-averaged Jacobian that resolves single shocks exactly.
1 languagescore - Rusanov flux
A numerical flux that averages the two physical fluxes and adds dissipation scaled by the largest local wave speed. Simple, robust and first order.
1 languagescore - Strong stability preserving Runge-Kutta methods
Explicit Runge-Kutta methods that are convex combinations of forward Euler steps, so they keep the TVD or positivity property under a scaled CFL limit.
1 languagescore - Yee FDTD scheme
Solves Maxwell's equations with E and H on staggered grids and leapfrog time steps. Second order, and the discrete divergence of the fields stays constant.
1 languagescore - AUSM scheme
Splits the flux into a convective part upwinded by an interface Mach number and a pressure part, and keeps contacts at rest exactly.
1 languagesadvanced - Berger-Colella adaptive mesh refinement
Covers regions that need resolution by nested finer grid patches, subcycled in time, with flux corrections at coarse-fine boundaries to keep conservation.
1 languagesadvanced - ENO schemes
Builds a high order reconstruction from the stencil with the smoothest data, chosen by divided differences, so that shocks cause almost no oscillations.
1 languagesadvanced - Ghost fluid method
Treats a material interface given by a level set by filling ghost cells with values that carry the interface jump conditions, so it is not smeared.
1 languagesadvanced - HLLC Riemann solver
Restores the contact wave in the HLL solver with two intermediate states, giving sharp contacts and shear layers.
1 languagesadvanced - Kurganov-Tadmor scheme
A semi-discrete central scheme that uses local wave speeds to shrink the numerical viscosity, giving an ODE system for the method of lines.
1 languagesadvanced - Nessyahu-Tadmor central scheme
A second order central scheme on staggered cells that needs no Riemann solver and no characteristic decomposition.
1 languagesadvanced - Piecewise parabolic method
Reconstructs a monotone parabola in each cell with steepening at contacts, a high order Godunov scheme for gas dynamics.
1 languagesadvanced - Runge-Kutta discontinuous Galerkin method
The Cockburn-Shu method for conservation laws: discontinuous Galerkin in space, SSP Runge-Kutta in time and a TVB slope limiter after each stage, so shocks are captured without oscillations.
1 languagesadvanced
Techniques
- Adaptive mesh refinement
Refines the grid during a run where an error indicator is large and coarsens it where the solution is smooth.
core - Harten-Hyman entropy fix
Modifies small wave speeds in the Roe flux so that transonic rarefactions do not become nonphysical expansion shocks.
1 languagesadvanced - Perfectly matched layer
An absorbing layer at the domain boundary built by complex coordinate stretching, so outgoing waves enter it without reflection and decay.
1 languagesadvanced - Summation-by-parts operators
Difference operators D = H^-1 Q with Q + Q^T = B, a discrete form of integration by parts. With weak boundary terms (SAT) the energy method proves stability for the discrete scheme.
1 languagesadvanced - Well-balanced schemes
Schemes for balance laws that keep a family of steady states exactly, such as the lake at rest over a varying bottom, by discretizing flux gradient and source term so that they cancel.
1 languagesadvanced - Entropy stable schemes
Schemes whose flux is an entropy conservative flux in Tadmor's sense plus dissipation in the entropy variables, so the discrete solution obeys an entropy inequality for every mesh.
1 languagesresearch - Positivity-preserving 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.
research
Definitions
- Hyperbolic conservation law
A system U_t + F(U)_x = 0. The conservation form says each quantity changes only by its flux. The system is hyperbolic when F'(U) has real eigenvalues and a full set of eigenvectors.
intro - Lax entropy condition
Picks the physical weak solution by requiring characteristics to run into each shock, which rules out expansion shocks.
core - Weak solution of a conservation law
A function that satisfies the conservation law after multiplying by smooth test functions and integrating by parts, which allows shocks.
core
Theorems
- Godunov's order barrier theorem
A linear monotone scheme for the advection equation is at most first order accurate, so high resolution schemes must be nonlinear.
core - Lax-Wendroff theorem
If a conservative, consistent scheme converges boundedly almost everywhere and in L1 as the mesh is refined, the limit is a weak solution. It need not be the entropy solution.
core - Rankine-Hugoniot conditions
A discontinuity in a weak solution moves with speed s such that s times the jump in u equals the jump in the flux f(u).
core