2.2. Sod's Shock Tube Problem

The 1D Sod shock tube, which can be solved analytically, is a Riemann problem used as a standard test problem in computational hydrodynamics.

[1] G.A. Sod, A survey of Several Finite Difference Methods for Systems of Nonlinear Hyperbolic Conservation, Journal of Computational Physics, 1978 vol. 27, pp. 1-31.

[2] J. Xiao, W. Breitung, M. Kuznetsov, H. Zhang, J. R. Travis, R. Redlinger, T. Jordan, “GASFLOW-MPI: A new 3-D parallel all-speed CFD code for turbulent dispersion and combustion simulations: Part I: Models, verification and validation”, International Journal of Hydrogen Energy, March 2017.

This tutorial demonstrates how to do the following:

  • Launch the GASFLOW graphical user interface: GASVIEW.

  • Create a new project.

  • Generate the mesh using the built-in tool.

  • Set numerical control parameters.

  • Enable the second-order discretization scheme for improved predictions.

  • Set gas properties, initial conditions and boundary conditions for a shock tube problem.

  • Set physical model for a shock tube problem.

  • Set output parameters for a 1D shock tube problem.

  • Generate and check the GASFLOW input file, ingf.

  • Set the remote GASFLOW server and run a calculation.

  • Plot the calculation results.

1) GASFLOW input file

2) GASFLOW results files

3) Comparison to the analytical solutions

[AS-FD 2] Transient Compressible Flow

Last updated

Was this helpful?