Trisha Shetty (Editor)

Sod shock tube

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Sod shock tube

The Sod shock tube problem, named after Gary A. Sod, is a common test for the accuracy of computational fluid codes, like Riemann solvers, and was heavily investigated by Sod in 1978.

The test consists of a one-dimensional Riemann problem with the following parameters, for left and right states of an ideal gas.

( ρ L P L v L ) = ( 1.0 1.0 0.0 ) , ( ρ R P R v R ) = ( 0.125 0.1 0.0 )

( ρ L P L v L ) = ( 1.0 1.0 0.0 ) , ( ρ R P R v R ) = ( 0.125 0.1 0.0 )

where

The time evolution of this problem can be described by solving the Euler equations, which leads to three characteristics, describing the propagation speed of the various regions of the system. Namely the rarefaction wave, the contact discontinuity and the shock discontinuity. If this is solved numerically, one can test against the analytical solution, and get information how well a code captures and resolves shocks and contact discontinuities and reproduce the correct density profile of the rarefaction wave.

Analytic derivation

The different states of the solution are separated by the time evolution of the three characteristics of the system, which is due to the finite speed of information propagation. Two of them are equal to the speed of sound of the both states

The first one is the position of the beginning of the rarefaction wave while the other is the velocity of the propagation of the shock.

Defining:

The states after the shock are connected by the Rankine Hugoniot shock jump conditions.

But to calculate the density in Region 4 we need to know the pressure in that region. This is related by the contact discontinuity with the pressure in region 3 by

Unfortunately the pressure in region 3 can only be calculated iteratively, the right solution is found when u 2 equals u 4

This function can be evaluated to an arbitrary precision thus giving the pressure in the region 3

finally we can calculate

and ρ 3 follows from the adiabatic gas law

References

Sod shock tube Wikipedia