Euler Equations (Compressible)

Category: Fluid Analysis (CFD) | Integrated 2026-04-06
CAE visualization for euler equations theory - technical simulation diagram
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.


$$ \frac{\partial \mathbf{U}}{\partial t} + \frac{\partial \mathbf{F}}{\partial x} = 0 $$

Here,


$$ \mathbf{U} = \begin{pmatrix} \rho \\ \rho u \\ \rho E \end{pmatrix}, \quad \mathbf{F} = \begin{pmatrix} \rho u \\ \rho u^2 + p \\ (\rho E + p)u \end{pmatrix} $$

๐Ÿง‘โ€๐ŸŽ“

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.


$$ \mathbf{U} = [\rho, \; \rho u, \; \rho v, \; \rho w, \; \rho E]^T $$

To close the system, an equation of state is needed. For an ideal gas, we use


$$ p = (\gamma - 1)\rho\left(E - \frac{u^2+v^2+w^2}{2}\right) $$

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


$$ \lambda_1 = u - a, \quad \lambda_2 = u, \quad \lambda_3 = u + a $$

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.


Coffee Break Trivia Corner

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.


$$ \mathbf{F}_{i+1/2} = \mathbf{F}(\mathbf{U}^*(0; \mathbf{U}_L, \mathbf{U}_R)) $$

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.


SolverFeaturesAdvantagesDisadvantages
Roe (1981)Linearized Riemann solutionHigh resolution of contact discontinuitiesRequires entropy fix
HLL (1983)2-wave approximationRobust, simple implementationContact discontinuities become diffused
HLLC (1994)3-wave approximation (includes contact wave)Resolves contact discontinuitiesSlightly more diffusive than Roe
AUSM+ (1996)Mass flux splittingApplicable to all Mach numbersRequires 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


$$ \mathbf{F}_{i+1/2} = \frac{1}{2}(\mathbf{F}_L + \mathbf{F}_R) - \frac{1}{2}|\hat{\mathbf{A}}|(\mathbf{U}_R - \mathbf{U}_L) $$

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.


$$ \mathbf{U}_{L} = \mathbf{U}_i + \frac{1}{2}\phi(r)(\mathbf{U}_i - \mathbf{U}_{i-1}) $$

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


$$ \Delta t \leq \text{CFL} \cdot \frac{\Delta x}{|u| + a} $$

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.


Coffee Break Trivia Corner

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 Simulators

Experience the theory firsthand with the interactive simulator for this field

All Simulators

Related fields

Thermal AnalysisV&V ยท Quality AssuranceStructural Analysis
Rate this article
Thank you for your feedback!
Helpful
More details
Report error
Helpful
0
More details
0
Report error
0
Written by NovaSolver Contributors
Anonymous Engineers & AI โ€” Sitemap
About the Authors