Calculus & Analysis

Burgers Riemann Entropy Shock and Fan

Watch characteristics collide into a shock or spread into a fan under the entropy rule.

By Riano · Published · Updated · Report a correction

Burgers Riemann Entropy Shock and Fan

The inviscid scalar conservation law ut + (u2/2)x = 0, known as the inviscid Burgers' equation, provides a classic model for nonlinear wave propagation, shock formation, and rarefaction. A Riemann problem consists of a piecewise constant initial condition with a left state uL and a right state uR. Because the flux function f(u) = u2/2 is strictly convex, characteristics will either collide or spread out, leading to two distinct types of solutions.

worked-example

Let us calculate the analytical solution for a Riemann problem where characteristics collide, forming a shock wave.

  1. Assume the initial left state is uL = 2 and the right state is uR = 0.
  2. Because uL > uR, the characteristic lines x = uLt and x = uRt will intersect. To maintain a single-valued solution, a shock must form.
  3. The shock speed s is determined by the Rankine-Hugoniot jump condition: s = (f(uL) - f(uR)) / (uL - uR). Since f(u) = u2/2, we have s = (2 - 0) / (2 - 0) = 1.
  4. This shock satisfies the Lax entropy condition: uR < s < uL (0 < 1 < 2).
  5. At time t = 1, the shock is located at x = s*t = 1. The spatial profile u(x,1) is 2 for x < 1, and 0 for x ≥ 1 (using our right-at-zero convention). A probe placed at x = 1 will therefore read 0.

experiment

We can observe both shock and rarefaction behaviors using the Burgers Riemann Entropy Shock and Fan interactive module.

  1. Set the Left state to -1 and Right state to 2. Here uL < uR, so characteristics spread apart.
  2. Set Time to 1. The characteristics form a rarefaction fan filling the space between x = -t (speed -1) and x = 2t (speed 2).
  3. Move the Probe position to 0. Inside the fan, the solution is u = x/t, so the probe reads 0.
  4. Change Time to 0. Notice the right-at-zero convention taking effect: the initial step is evaluated, so the probe at x=0 reads 2 instead of an undefined or averaged value.
  5. Change both states to 1. This forms a constant state with no shocks or fans. The probe reads 1 everywhere.

limitations

This module considers only the inviscid Burgers' equation (zero viscosity). Real physical systems, like fluid dynamics or traffic flow, often involve viscous or diffusive terms that smooth out shocks over a finite thickness. The module also restricts the domain and values to a finite grid for educational visualization. Furthermore, while this model accurately captures the entropy condition for convex fluxes, non-convex flux functions would require a more complex convex hull construction (Oleinik's condition) which is not covered here.

references

For more information on the Burgers' equation and Riemann problems, see:

  1. LeVeque, R. J. (2002). Finite Volume Methods for Hyperbolic Problems. Cambridge University Press. Chapter on Riemann problems and entropy conditions.
  2. Clawpack Documentation on Burgers' Equation: https://www.clawpack.org/riemann_book/html/Burgers.html

Experience it interactively

Adjust parameters, observe in real time, and build deep intuition with Riano’s interactive Burgers Riemann Entropy Shock and Fan module.

Try Burgers Riemann Entropy Shock and Fan on Riano →

More in Calculus & Analysis