Problemcore
Euler equations of gas dynamics
Also called compressible Euler equations.
The conservation laws of mass, momentum and energy of an inviscid compressible gas, closed by an equation of state.
- Model
- Real RAM
The Euler equations of gas dynamics are the conservation laws of mass, momentum and energy for a compressible gas with no viscosity and no heat conduction. With an equation of state, usually the ideal gas law, they form a hyperbolic conservation law with three wave speeds , and in one space dimension. The problem is to compute their solution from given initial and boundary data, including shocks and contact discontinuities. They are the standard test system for shock capturing methods: the exact Riemann solver solves them for two constant states, the Godunov method builds a scheme on that solution, and the Sod shock tube is the first test of nearly every code. They are the limit of the Navier-Stokes equations when viscosity and heat conduction go to zero. They should not be confused with the incompressible Euler equations, where the density is constant and there is no sound speed.
In plain words
A gas has a density, a velocity and an energy at every point. The Euler equations say three things. Mass is not created. Momentum changes only by the pressure push of the gas around it. Energy changes only by the work the pressure does. A rule that gives the pressure from the density and the energy closes the system.
Disturbances in the gas travel as sound waves, which move at the speed of sound relative to the gas, and as contact surfaces, which move with the gas. Strong sound waves steepen into shocks, which are thin layers where the pressure and the density jump.
Definition
Unknowns. The density , the velocity , the pressure , and the total energy per unit volume , with the specific internal energy.
One space dimension. With ,
Equation of state. For a polytropic ideal gas with ratio of specific heats , , so
For air, . The specific entropy is up to a constant.
Characteristic structure. Where and , the Jacobian has the eigenvalues , , with right eigenvectors
where is the specific enthalpy. The system is strictly hyperbolic. Fields 1 and 3 are genuinely nonlinear: they give shocks and rarefactions. Field 2 is linearly degenerate: it gives contact discontinuities, across which and are continuous and jumps (LeVeque 2002, Sections 14.3 to 14.8).
Several dimensions. With velocity , and
In direction the speeds are and , the last with multiplicity .
The computational problem. Given , initial data with , , boundary conditions and a final time , compute the admissible weak solution: a weak solution whose shocks satisfy the Rankine-Hugoniot conditions and the Lax entropy condition, which here means that the physical entropy increases across every shock.
Variants
- Other equations of state. Stiffened gas for liquids, van der Waals gases, and tabulated equations of state. They change and the Riemann solution, but not the conservation form.
- Isentropic and isothermal Euler. If is imposed, the energy equation is dropped and the system has two equations. It has the same form as the shallow water equations, which are isentropic Euler with and .
- Primitive variables. with . This form is equivalent only for smooth solutions; a scheme for it does not give the right shocks (Toro 2009, Section 3.3).
- With source terms. Gravity, chemical reactions (reactive Euler), and the quasi one dimensional nozzle equations with a variable area.
- Relativistic and magnetohydrodynamic extensions. More equations and more waves, with the same structure of a hyperbolic system.
Examples
The Sod shock tube. , for and for (Sod 1978). The exact Riemann solver gives the star state , , with to the left of the contact and to the right. The waves are:
- a left rarefaction from to , where ;
- a contact at ;
- a right shock at .
The entropy check: is on the left and in the rarefaction, just right of the contact, and in the undisturbed right state. So it is constant through the rarefaction, jumps at the contact, and increases from to across the shock. These values come from the reference code of the exact Riemann solver page; they are a measurement to five digits. The page on the Rankine-Hugoniot conditions checks the three jump conditions at this shock.
A contact alone. , , and everywhere. The exact solution is the jump in moving at speed . Any consistent conservative scheme with a positive diffusion smears this jump, and the smearing grows with time, because a contact is not self steepening.
Vacuum generation. Two gases moving apart fast enough leave a vacuum between them. For the Sod sound speeds, this happens when (Toro 2009, Chapter 4).
Known algorithms
- Godunov type finite volume methods. The Godunov method with the exact Riemann solver, or with approximate solvers: the Roe solver, HLL, HLLC and the Rusanov flux. High order versions use MUSCL, the piecewise parabolic method or WENO reconstruction with SSP Runge-Kutta time steps.
- Flux vector splitting and AUSM. Flux vector splitting (Steger-Warming, van Leer) and the AUSM scheme split the flux by the sign of the wave speeds without a Riemann solver.
- Central schemes. Lax-Friedrichs, Nessyahu-Tadmor and Kurganov-Tadmor need only the maximum wave speed.
- Classical second order schemes with artificial viscosity. The Lax-Wendroff method and the MacCormack method. They oscillate at shocks unless viscosity is added.
- Discontinuous Galerkin methods. Discontinuous Galerkin and RKDG methods use the same numerical fluxes at element faces.
- Supporting techniques. Positivity preserving limiters keep and positive, entropy stable schemes give a discrete entropy inequality, adaptive mesh refinement puts cells at the shocks, and the ghost fluid method treats interfaces between two materials.
| Algorithm | Time | Space | Properties | Code |
|---|---|---|---|---|
| AUSM scheme | O(m M K) worst | O(m M) extra | conservativedeterministicexplicitnot keeps moving contactkeeps stationary contact | 1 language |
| Berger-Colella adaptive mesh refinement | Θ(W) worst | Θ(M) extra | adaptiveconservativedeterministicexplicitsubcycling | 1 language |
| ENO schemes | O(r^3 m M K) worst | O(m M) extra | conservativedeterministicexplicit | 1 language |
| Flux vector splitting | O(m M K) worst | O(m M) extra | conservativedeterministicexplicitnot keeps stationary contact | 1 language |
| Ghost fluid method | Θ(N M) worst | Θ(M) extra | not conservativedeterministicexplicitsharp interface | 1 language |
| HLL Riemann solver | O(m M K) worst | O(m M) extra | conservativedeterministicexplicitnot keeps stationary contact | 1 language |
| HLLC Riemann solver | O(m M K) worst | O(m M) extra | conservativedeterministicexact isolated contactexplicitkeeps stationary contact | 1 language |
| Kurganov-Tadmor scheme | O(s m M K) worst | O(s m M) extra | conservativedeterministicexplicitriemann-solver-free | 1 language |
| MacCormack method | O(K M) worst | O(M) extra | conservativedeterministicexplicitnot monotonenot tvd | 1 language |
| MUSCL scheme | O(m M K) worst | O(m M) extra | conservativedeterministicexplicit | 1 language |
| Nessyahu-Tadmor central scheme | O(m M K) worst | O(m M) extra | conservativedeterministicexplicitriemann-solver-free | 1 language |
| Piecewise parabolic method | O(m M K) worst | O(m M) extra | conservativedeterministicexplicit | 1 language |
| Roe solver | O(m^2 M K) worst | O(m M) extra | conservativedeterministicnot entropy satisfyingexact single discontinuityexplicitkeeps stationary contactnot positive | 1 language |
| Runge-Kutta discontinuous Galerkin method | Θ(N M (k+1)^2) worst | Θ(M (k+1)) extra | conservativedeterministicexplicit | 1 language |
| Rusanov flux | O(m M K) worst | O(m M) extra | conservativedeterministicexplicitnot keeps stationary contact | 1 language |
Bounds
- Cost of an explicit scheme. On a grid of cells, one step of a Godunov type scheme costs operations, with a constant set by the Riemann solver. The time step is bounded by the CFL condition with , so reaching time takes steps. In one dimension the total is for a fixed ; in dimensions with cells it is .
- Accuracy at shocks. For a solution with shocks, the error of a scheme of any formal order is at best , and at contacts first order schemes give errors because the smearing spreads over . This is the rule of thumb in the literature and is what measurements show; the rates for systems are not proved in general.
- Well posedness (theorem). In one dimension, for data with small total variation near a state with , an admissible weak solution exists for all time (Glimm 1965). In two dimensions, Chiodaroli, De Lellis and Kreml (2015) proved that the isentropic system has Lipschitz initial data with infinitely many admissible weak solutions. So the entropy condition alone does not give uniqueness in several dimensions.
- Riemann problem (theorem). For an ideal gas, the one dimensional Riemann problem has a unique solution of the shock, rarefaction and contact type for every pair of states, and it contains a vacuum exactly when (Toro 2009, Chapter 4).
- Positivity. A scheme can produce or even from positive data. Measurement: the MacCormack method without added viscosity on the Sod problem with gives negative pressure within ten steps, see the MacCormack method.
Reductions
- To Riemann problems. A Godunov type scheme reduces each step to one Riemann problem per cell face. The exact solver reduces each Riemann problem to one scalar equation for .
- To linear acoustics. Linearization about a constant state gives the acoustics system with speeds and , which is the wave equation for small pressure perturbations.
- From Navier-Stokes. The compressible Navier-Stokes equations reduce to the Euler equations when viscosity and heat conduction are dropped. The vanishing viscosity limit is how the entropy condition is justified.
- To shallow water. The isentropic system with has the same mathematical form as the shallow water equations, with in the place of .
Applications
- Aerodynamics of transonic and supersonic flight: wings, inlets, nozzles, where the boundary layer is thin and the shocks are the main feature.
- Astrophysics: supernova blast waves, accretion flows, jets and the gas in galaxy simulations.
- Detonations and explosions, with reactive source terms.
- Inertial confinement fusion and high speed impact.
- A standard test bed for numerical methods for hyperbolic systems: the Sod, Lax, Shu-Osher and Woodward-Colella blast wave problems.
References
- Randall J. LeVeque, Finite Volume Methods for Hyperbolic Problems, Cambridge University Press, 2002, Section 14.3 (the Euler equations), Section 14.4 (polytropic ideal gas), Section 14.5 (entropy), Sections 14.8 to 14.13 (the Riemann problem for the Euler equations), Section 15.1 (Godunov's method), Section 15.3 (approximate Riemann solvers)
- Eleuterio F. Toro, Riemann Solvers and Numerical Methods for Fluid Dynamics, third edition, Springer, 2009, Section 1.1 (the Euler equations), Section 3.1 (the one dimensional Euler equations; 3.1.3 elementary waves), Section 3.3 (conservative and non-conservative formulations), Chapter 4 (the exact Riemann solver)
- G. A. Sod, A survey of several finite difference methods for systems of nonlinear hyperbolic conservation laws, Journal of Computational Physics 27 (1978) 1-31, the shock tube test problem
- E. Chiodaroli, C. De Lellis and O. Kreml, Global ill-posedness of the isentropic system of gas dynamics, Communications on Pure and Applied Mathematics 68 (2015) 1157-1190, infinitely many admissible weak solutions in two space dimensions
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag FXCWEJ Edit this page History Report an error Markdown