From Surf Wiki (app.surf) — the open knowledge base
Sod shock tube
Test for the accuracy of computational fluid codes
Test for the accuracy of computational fluid codes
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.
\left( \begin{array}{c}\rho_L\P_L\u_L\end{array}\right)
\left( \begin{array}{c}1.0\1.0\0.0\end{array} \right) , \left( \begin{array}{c}\rho_R\P_R\u_R\end{array}\right)
\left( \begin{array}{c}0.125\0.1\0.0\end{array}\right)
where ::*\rho is the density ::*P is the pressure ::*u is the velocity
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
NOTE: The equations provided below are only correct when rarefaction takes place on left side of domain and shock happens on right side of domain. 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 left and right states
Ask Mako anything about Sod shock tube — get instant answers, deeper analysis, and related topics.
Research with MakoFree with your Surf account
Create a free account to save articles, ask Mako questions, and organize your research.
Sign up freeThis content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.
Report