- Describe the difficulties of modeling shock waves.
A shock wave occurs when the speed of transit of some mechanical phenomenon through a medium outpaces the speed of sound in that medium.
Mathematically, a shock wave is a discontinuity: there is an instantaneous change in values across the threshold. The phenomenon doesn't directly appear in the governing equations, but instead arises in their solution.
One way to think of this situation is that the solution “attempts” to become multi-valued:
Since a function is a map from
Salient features of mathematical interest include the angle of shocks, the consequences of increasing Mach number
Let us examine two simple differential equations that give rise to shock waves in their solutions.
\nu \frac{\partial^{2} u}{\partial x^{2}} $$
where
The solution is
\frac{u_\textrm{R} + u_\textrm{L}}{2} - \frac{u_\textrm{R} + u_\textrm{L}}{2} \tanh \left( \frac{\left( \left( x-x_0 \right) - s , t \right)\left( u_\textrm{R} + u_\textrm{L} \right)}{4 \nu} \right) $$
where
Sod's problem represents a shock tube with varying fluid viscosities, commonly used as a test of numerical solvers.
One of the standard tests for numerical schemes simulating the Euler equations is the Sod shock tube problem. This is a simple one-dimensional setup that is initialised with a single discontinuity in the density and energy density. It then develops a left-going rarefaction wave, a right-going shock and a somewhat slower right-going contact discontinuity. The advantage of the Sod Shock Tube is that it has an analytical solution that can be compared against.
The right-hand side of the fluid equation is simply the Euler operator,
$$
- \nabla \dot $$
The IVP setup is given by
-
Examine
initializers.py:SodShock1D
. -
Examine
sod-mpi.py
. -
Holger, “The Euler Equations: Sod Shock Tube” (watch video)
-
ibackus
,sod-shocktube
(analytical solution implementation)
Many of the characteristics of (mathematical) shock waves are governed by the viscosity. At the time of writing, MIRGE-Com only supports inviscid flow. There is currently a project to integrate artificial viscosity, which is used to stabilize numerics so that shock waves do not exhibit numerical dispersion and physically-spurious oscillation near the wave front.
- “Artificial Viscosity”
- Caramana, Shashkov, Whalen, “Formulations of Artificial Viscosity for Multi-dimensional Shock Wave Computations”
Reproduce the inviscid supersonic wedge problem in MIRGE-Com.