Riemann problem

From HandWiki

A Riemann problem, named after Bernhard Riemann, is a specific initial value problem composed of a conservation equation together with piecewise constant initial data which has a single discontinuity in the domain of interest. The Riemann problem is very useful for the understanding of equations like Euler conservation equations because all properties, such as shocks and rarefaction waves, appear as characteristics in the solution. It also gives an exact solution to some complex nonlinear equations, such as the Euler equations. In numerical analysis, Riemann problems appear in a natural way in finite volume methods for the solution of conservation law equations due to the discreteness of the grid. For that it is widely used in computational fluid dynamics and in computational magnetohydrodynamics simulations. In these fields, Riemann problems are calculated using Riemann solvers.

The Riemann problem in linearized gas dynamics

As a simple example, we investigate the properties of the one-dimensional Riemann problem in gas dynamics (Toro, Eleuterio F. (1999). Riemann Solvers and Numerical Methods for Fluid Dynamics, Pg 44, Example 2.5)

The initial conditions are given by

[ρu]=[ρLuL] for x0and[ρu]=[ρRuR] for x>0

where x = 0 separates two different states, together with the linearised gas dynamic equations (see gas dynamics for derivation).

ρt+ρ0ux=0ut+a2ρ0ρx=0

where we can assume without loss of generality a0. We can now rewrite the above equations in a conservative form:

Ut+AUx=0:

where

U=[ρu],A=[0ρ0a2ρ00]

and the index denotes the partial derivative with respect to the corresponding variable (i.e. x or t).

The eigenvalues of the system are the characteristics of the system λ1=a,λ2=a. They give the propagation speed of the medium, including that of any discontinuity, which is the speed of sound here. The corresponding eigenvectors are

𝐞(1)=[ρ0a],𝐞(2)=[ρ0a].

By decomposing the left state uL in terms of the eigenvectors, we get for some α1,α2

UL=[ρLuL]=α1𝐞(1)+α2𝐞(2).

Now we can solve for α1 and α2:

α1=aρLρ0uL2aρ0α2=aρL+ρ0uL2aρ0

Analogously

UR=[ρRuR]=β1𝐞(1)+β2𝐞(2)

for

β1=aρRρ0uR2aρ0β2=aρR+ρ0uR2aρ0

Using this, in the domain in between the two characteristics t=|x|/a, we get the final constant solution:

U*=[ρ*u*]=β1𝐞(1)+α2𝐞(2)=β1[ρ0a]+α2[ρ0a]

and the (piecewise constant) solution in the entire domain t>0:

U(t,x)=[ρ(t,x)u(t,x)]={UL,0<tx/aU*,0|x|/a<tUR,0<tx/a

Although this is a simple example, it still shows the basic properties. Most notably, the characteristics decompose the solution into three domains. The propagation speed of these two equations is equivalent to the propagation speed of sound.

The fastest characteristic defines the Courant–Friedrichs–Lewy (CFL) condition, which sets the restriction for the maximum time step for which an explicit numerical method is stable. Generally as more conservation equations are used, more characteristics are involved.

References

  • Toro, Eleuterio F. (1999). Riemann Solvers and Numerical Methods for Fluid Dynamics. Berlin: Springer Verlag. ISBN 3-540-65966-8. 
  • LeVeque, Randall J. (2004). Finite-Volume Methods for Hyperbolic Problems. Cambridge: Cambridge University Press. ISBN 0-521-81087-6. 

See also