2.8 The Riemann Problem
2.8.1 Shock and rarefaction curves
In the previous section we have seen waves named “contact discontinuities”, “rarefactions”, and
“shocks”. We would like to describe in somewhat more details what these waves are and in which problems they arise. In practice, we need to be able to construct the discontinuity curves. To this aim, we start from a point uo ∈ Rd and try to find the state vector u that satisfies the Rankine-Hugoniot equations (2.44):
λ(u− u0) = f (u)− f(u0) = A(u0, u)(u− u0).
Obviously, the trivial identity is obtained for u = u0. We want to find a different solution in a neighborhood of u0. We note that this is a n-dimensional nonlinear system with n + 1 unknowns (u, λ) and cannot be solved as is.
The bi-orthogonality condition of the left and right eigenvalue systems of A(u0, u) yields:
hlj(u0, u), (u− u0)i = 0 for all j 6= i, i = 1, . . . , n (2.50) This is a n− 1-dimensional nonlinear system in the n unknowns given by the components of u. We can linearize this system by noting that by definition of average matrix (2.43) A(u0, u0) = A(u0), and hence we can write the following n− 1-dimensional linear system:
hlj(u0), (u− u0)i = 0 for all j 6= i.
Because of the bi-orthogonality condition, the previous equation tells us that the vector u− u0 must be perpendicular to all the left eigenvectors lj j 6= i, and thus parallel to ri:
u = u0+ αri(u) for all i.
Thus, the state vector u along a shock curve must be tangent to the curve, or stated in a different way, the solution to (2.50) is a smooth curve tangent to i-th eigenvector ri of the Jacobian matrix A(u0) at u0, a condition that gives us a (inconvenient but) practical way to calculate the curve given u0. Thus, at least in principle, the equation of the characteristic curve can be written in parametric form with parameter σ as:
u = Si(σ)(u0). (2.51)
We note that the curve at each point σ must be orthogonal to li and tangent to ri(see Figure 2.24).
On the other hand, we can define the “i-th rarefaction curve” as the integral curve of the vector field ri(u) passing through u0. In other words, to determine the i-th rarefaction curve we can define a differential equation in parametric space imposing the tangent condition on the right eigenvalue:
du
dσ = ri(u), u(0) = u0.
The solution to this equation gives a curve (again in parametric space):
u = Ri(σ)(u0), (2.52)
which results close to the shock curve u = Si(σ)(u0) up to second order around u0 (Figure 2.24).
Hence, at least locally around u0 we can confound Si(σ)(u0) with Ri(σ)(u0). In fact, the following result can be proved:
Ri(σ)(u0) = u0+ σri(u0) +O σ2 Si(σ)(u0) = u0+ σri(u0) +O σ2 ,
x u1
u2
x = 0 uL
uR u(t)
x t x = λi(uL)t x = λi(uR)t
u = uL
u = uR
FIGURE 2.25: Solution of the Riemann problem in the case of a rarefaction wave for a two-dimensional system. The left panel shows the situation in theu1, u2− x space. The states uLanduR are connected by a curve in the u1− u2, x space representing the rarefaction wave after each wave point has been advected with the corresponding speedλi (solid lines propagating from left to right).
The right panel shows the characteristics in thex− t space.
so that the error between Siand Riis given by:
| Ri(σ)(u0)− Si(σ)(u0)|≤ Cσ3
while the speed of propagation λialong the line can be expressed as:
λi(Si(σ)(u0), u0) = λi(u0) + σ
2h∇ λi(u0), ri(u0)i + O σ2 .
Before proceeding with the description of different elementary waves, we report a definition due to Lax [8] which is useful to classify some simple situations that occur in practice. We call “genuinely nonlinear” an i-th wave for which the directional derivative of the i-th eigenvalue along the corre-sponding right eigenvector ri is strictly greater than zero, i.e.,h∇ λi(u), ri(u)i > 0 for all u. When h∇ λi(u), ri(u)i = 0 the i-th wave is called “linearly degenerate”. In the first case, the speed of prop-agation λi along the characteristic curve Si(σ)(u0), is always increasing with u, since its derivative along the curve is greater than zero. In the second case, we have that the speed of propagation is constant long the characteristics, and thus similar to the “linear” case. Obviously the two cases can co-exist and co-evolve depending on the nature of the Jacobian matrix A(u) of the system.
Centered Rarefaction Waves. We consider a genuinely nonlinear wave and assume that uR = Ri(σ)(uL), i.e., uRlies in the i-th rarefaction curve emanating from uL. For some s∈ [0, σ], λi(s) = λi(Ri(s)(uL). If the wave is genuinely nonlinear, we can without loss of generality assume that λi is
increasing with s and is injective (for each value of λ ∈ [λi(uL), λi(uR)] there is a unique value of s such that λ = λi(s)). The solution of the Riemann problem is then given by:
u(x, t) =
uL if x < λi(uL)t,
Ri(s)(uL) if x = λi(s)t, λi(s)∈ [λi(uL), λi(uR)], uR if x > λi(uR)t.
Figure 2.25 summarizes the behavior. The construction of the solution u(x, t) for a fixed time t proceeds as follows. The rarefaction wave at x = 0 connecting the left and right states uLand uRis drawn on the spanning u and passing through x = 0 (shown in the figure with a dotted curve). Each point of this curve is moved horizontally by the amount λi(u)t.
Shock Waves. We look now at the case in which the uRstate is connected t the uLstate by a shock curve uR§i(σ)(uL). This occurs if the system is genuinely nonlinear. We can define the Rankine-Hugoniot speed λ = λi(uR, uL). The (piecewise constant) solution to the Riemann problem is then:
u(x, t) =
(uL if x < λt uR if x > λt.
Note that for σ > 0, we have that λi(uR) > λi(uL) and thus the Lax admissibility condition is violated. Obviously, the Lax condition is satisfied, i.e., u(x, t) is “entropy-stable” for σ < 0 since then λi(uR) < λi(uL, uR) < λi(uL).
Contact Discontinuity Waves. A contact discontinuity occurs for a linearly degenerate wave field.
Let uR = Ri(σ)(uL), i.e., the states uL and uR lie on a rarefaction curve, along which the speed is a constant (by assumption intrinsic in the Riemann problem formulation). The Rankine-Hugoniot condition writes:
f (uR)− f(uL) = Z σ
0 Jff Ri(s)(uL)
ri Ri(s)(uL) ds
= Z σ
0
λi(uL) ri Ri(s)(uL) ds
= λi(uL)Ri(σ)(uL)− uL .
The Lax entropy condition is satisfied as λi(uL) = λi(uL, uR) = λi(uR) and, moreover, the shock and rarefaction curves coincide Si(σ)(uL) = Ri(σ)(uL) for all σ.
The three elementary wave types are exemplified by the graphs in Figure 2.26 drawn in the x− t plane. The structure of the different waves can be identified by the direction of the left and right characteristics (drawn as dashed arrows) that are converging towards the discontinuity line in the case of a shock, parallel to the discontinuity line in the case of a contact discontinuity, and parallel to the left and right characteristics lines external to the rarefaction fan.
x
t x = λit
u = uL
u = uR
x
t x = λit
u = uL
u = uR
x t x = λi(uL)t x = λi(uR)t
u = uL
u = uR
FIGURE2.26: Qualitative behavior of the characteristic fields for the three types of elementary waves used in the solution of the Riemann problem: shock (left), contact discontinuity (center), rarefaction (right). The dash arrows indicate the directions of the characteristic curves outside the discontinuity region.
General solution of the Riemann problem The general solution of the Riemann problem can now be obtained as a superposition of elementary waves. To this aim, we want to find intermediate states uL = α0, α1, . . . , αd = uR such that each pair of adjacent states can be connected by one of the previously described elementary waves. In mathematical terms we can say that the intermediate state αi is connected to the previous state αi−1via a curve αi = Ψi(σi)(αi−1), so that the uLand uRstates can be written as a composition of the d functions:
uR= Ψd(σd)◦ . . . Ψ1(σ1)(uL).
If uRand uLare not too far apart, it can be shown that the above equation is well-posed and that there exist unique values of the wave strengths σi such that the above equation holds. Hence we proceed by starting from the uL = α0state and solve a sequence of Riemann problems for i = 1, . . . , n:
ut+ f (u)x = 0 u(x, 0) =
(αi−1 if x < 0, αi if x > 0,
as seen for example in the case of a linear system in Figure 2.23. Each of the Riemann problems has an entropy solution in the i-th characteristic family.
3 Numerical Solution of Hyperbolic Conservation Laws
In this section we used the previous developments to work the details of numerical schemes for the solution of Hyperbolic Conservation Laws. We will address essentially the method of Finite Volumes and digress only shortly on the Discontinuous Galerkin method, without touching at all the important field of purely Lagrangian methods.
We will be using most of the theoretical developments described in the previous sections as funda-mental building blocks for our numerical approach. We will focus on standard finite volume schemes maintaining and discussing as much as possible multidimensional problems. However, as truly mul-tidimensional methods are still open questions, we will spend much time looking at one-dimensional approximations, but we will try to use multidimensional approximations. For the more recent devel-opments we refer the reader to more specialized books.
3.1 The Differential Equation
Problem 3.1. Given a domain Ω ∈ Rd, which we assume possesses sufficient regularity, we want to find a vector function u ∈ Rm, u = (u1, . . . , um), ui = uu(x, t) : Ω × R+ 7→ R, that satisfies the following equation:
ut+ div f (u) = 0 for all x∈ Ω and t ∈ [0, T ], (3.1)
u(x, 0) = u0 for all x∈ Ω and t = 0, (3.2)
u(0, t) = ub for all x∈ ∂Ωin and t∈ [0, T ], (3.3)
where f (u) = (f1(u), . . . , fd(u)), fi(u) : Rm 7→ Rm.
We notice here that the ”inflow” boundary where boundary conditions are imposed must satisfy the compatibility conditions discussed in section 2.3. We start by giving some basic definitions of the domain discretizations and its property and define the geometric quantities that will be needed in the development.