Euler Equations (Compressible)
Euler Equations (Compressible): Theoretical Foundations
Overview
Professor, what exactly are the compressible Euler equations? Are they different from the incompressible Euler equations?
The Euler equations are the governing equations for fluid motion neglecting viscosity. In the compressible case, density changes, so they take the form of a coupled system of conservation laws including the energy equation. This is the starting point for compressible CFD.
Conservative Form Euler Equations
In one dimension, they can be written using the conservative variable vector $\mathbf{U}$ and flux $\mathbf{F}$ as follows.
Here,
So it's a system of three coupled equations. Are they mass conservation, momentum conservation, and energy conservation?
Exactly. In three dimensions, the momentum equation has three components, resulting in a system of five equations.
To close the system, an equation of state is needed. For an ideal gas, we use
For air, the specific heat ratio is $\gamma = 1.4$.
Properties as a Hyperbolic System
I've heard the Euler equations are hyperbolic. What does that mean?
That's an important concept. For the one-dimensional Euler equations, the condition for being hyperbolic is that all eigenvalues of the Jacobian $\mathbf{A} = \partial\mathbf{F}/\partial\mathbf{U}$ are real. The eigenvalues are
where $a = \sqrt{\gamma p/\rho}$ is the speed of sound. These are called characteristic speeds and represent the speeds at which information propagates.
$\lambda_1$ and $\lambda_3$ correspond to forward and backward acoustic waves, and $\lambda_2$ corresponds to an entropy wave (contact discontinuity). In supersonic flow ($|u| > a$), all eigenvalues have the same sign, meaning information propagates in only one direction. This directly affects how boundary conditions are set in CFD.
So in supersonic flow, information from downstream doesn't propagate upstream. I finally understand why boundary condition settings change depending on the Mach number.
At a subsonic inlet, information like pressure propagates upstream, so one physical quantity is specified from the outside and the rest are extrapolated from the interior. At a supersonic inlet, all characteristics are incoming, so all variables must be specified. If this principle is not followed, unphysical reflected waves will occur.
An 18th-Century Genius's Equations Still Beat at the Heart of CFD
Leonhard Euler derived the fluid motion equations in 1757. These equations, assuming an "ideal fluid" with no viscosity or heat conduction, were criticized at the time as being too abstract. Yet 270 years later, in supersonic and hypersonic CFD, these Euler equations are used even before the viscous-governed Navier-Stokes equations. Why? Because in high-speed flows where viscous effects become extremely small compared to inertial forces, the Euler equations approximate reality well. It's a moment to feel the enduring power of equations that transcend time.
Computational Methods for Euler Equations (Compressible)
Numerical Methods
When solving the Euler equations on a computer, handling shock waves is a key point, right?
Exactly. Solutions to the Euler equations include discontinuous solutions like shock waves and contact discontinuities. The techniques to capture these correctly numerically are the core technology of compressible CFD.
Godunov's Method and Riemann Solvers
In Godunov's method, the numerical flux is obtained by solving a local Riemann problem at the cell interface.
Here, $\mathbf{U}^*$ is the solution to the Riemann problem, and $\mathbf{U}_L, \mathbf{U}_R$ are the left and right states at the cell interface. Exact Riemann solvers are computationally expensive, so approximate Riemann solvers are widely used.
| Solver | Features | Advantages | Disadvantages |
|---|---|---|---|
| Roe (1981) | Linearized Riemann solution | High resolution of contact discontinuities | Requires entropy fix |
| HLL (1983) | 2-wave approximation | Robust, simple implementation | Contact discontinuities become diffused |
| HLLC (1994) | 3-wave approximation (includes contact wave) | Resolves contact discontinuities | Slightly more diffusive than Roe |
| AUSM+ (1996) | Mass flux splitting | Applicable to all Mach numbers | Requires parameter tuning |
The Roe Riemann solver is famous, but how is it actually calculated?
Roe computes Roe-averaged quantities from the left and right states to linearize the Jacobian. The Roe-averaged density is defined as $\hat{\rho} = \sqrt{\rho_L \rho_R}$. The numerical flux is
The second term is the upwind term that adds numerical dissipation.
High-Order Accuracy: MUSCL Method and Limiters
With first-order Godunov schemes, shock waves can spread over dozens of cells. For high-order accuracy, the MUSCL (Monotone Upstream-centered Schemes for Conservation Laws) method is used.
Here, $\phi(r)$ is the slope limiter function. Without a limiter, Gibbs oscillations occur near shock waves. Representative limiters include minmod, van Leer, and superbee.
Does the choice of limiter change the results?
It changes them quite a bit. minmod is the most diffusive but stable, superbee is sharp but tends to make expansion waves stair-stepped. Practically, van Leer or van Albada offer a good balance. WENO (Weighted Essentially Non-Oscillatory) schemes offer fifth-order accuracy and excellent shock capturing, but are computationally expensive.
What about time integration?
For explicit methods, TVD Runge-Kutta methods (Shu-Osher 3-stage 3rd-order) are standard. The CFL condition is
with CFL $\leq 1$ being the stability condition. For implicit methods, the LU-SGS (Lower-Upper Symmetric Gauss-Seidel) method is efficient, allowing larger CFL numbers, which speeds up convergence for steady-state calculations.
The Birth of Godunov's MethodโA Shock Wave Numerical Solution Born in the 1959 Soviet Union
A revolutionary development for numerically solving the Euler equations was "Godunov's method," proposed in 1959 by the Soviet mathematician Sergei Godunov. Previous finite difference methods struggled to suppress numerical oscillations (Gibbs phenomenon) around shock waves, but Godunov introduced the idea of "solving a Riemann problem at each cell interface." Interestingly, it is said that the original paper contained an honest comment by Godunov himself: "This first-order scheme is not very accurate." Nevertheless, the entire lineage of shock wave computation leading to modern HLLC and Roe schemes lies on the extension of this idea.
Euler Equations (Compressible) in Practice
Practical Guide
Professor, where are Euler equation solvers used in practice? If viscosity is ignored, is it still meaningful?
Related Topics
Experience the theory firsthand with the interactive simulator for this field
All Simulators