diff --git a/_data/tutorials.yml b/_data/tutorials.yml index 31a2fc1a..665d3d42 100644 --- a/_data/tutorials.yml +++ b/_data/tutorials.yml @@ -7,6 +7,7 @@ tutorials: - Inviscid_Bump - Inviscid_Wedge + - Sod_Shock_Tube - Inviscid_ONERAM6 - Laminar_Flat_Plate - Laminar_Cylinder diff --git a/_tutorials/compressible_flow/Sod_Shock_Tube/Sod_Shock_Tube.md b/_tutorials/compressible_flow/Sod_Shock_Tube/Sod_Shock_Tube.md new file mode 100644 index 00000000..8dc87dce --- /dev/null +++ b/_tutorials/compressible_flow/Sod_Shock_Tube/Sod_Shock_Tube.md @@ -0,0 +1,297 @@ +--- +title: Sod Shock Tube +permalink: /tutorials/Sod_Shock_Tube/ +written_by: PraptiPatra +for_version: 8.6.0 +revised_by: +revision_date: +revised_version: +solver: Euler +requires: SU2_CFD +complexity: basic +follows: Inviscid_Wedge +--- + +![Sod shock tube: SU2 vs exact solution](../../tutorials_files/compressible_flow/Sod_Shock_Tube/images/sod_compare.png) +Figure (1): Density, velocity, pressure and internal energy at $$t = 6.3246 \times 10^{-4}$$ s. SU2 (symbols, 400 cells) against the exact solution (line). + +## Goals + +Upon completing this tutorial, the user will be familiar with performing a time-accurate simulation of an unsteady, compressible, inviscid flow and verifying it against an exact solution. The problem is the classic shock tube of Sod (1978), a one-dimensional Riemann problem whose solution contains all three types of wave found in the Euler equations: a rarefaction fan, a contact discontinuity and a shock. The following capabilities of SU2 will be showcased in this tutorial: +- Unsteady, 2D Euler equations on a quasi-1D mesh +- Explicit time integration (Runge-Kutta) with a fixed physical time step +- Starting a simulation from a user-defined, discontinuous initial condition (written as an ASCII restart file) +- Upwind (ROE, HLLC, AUSM, SLAU2) and central (JST) convective schemes +- 2nd-order MUSCL reconstruction and slope limiters +- Euler wall and symmetry boundary conditions + +Because the exact solution is known, this case is also a convenient way to measure the error of a scheme and to see how it converges under mesh refinement. + +## Resources + +The resources for this tutorial can be found in the [compressible_flow/Sod_Shock_Tube](https://github.com/su2code/Tutorials/tree/master/compressible_flow/Sod_Shock_Tube) directory in the [tutorial repository](https://github.com/su2code/Tutorials). You will need the configuration file ([sod.cfg](https://github.com/su2code/Tutorials/tree/master/compressible_flow/Sod_Shock_Tube/sod.cfg)), the mesh file ([sod_400.su2](https://github.com/su2code/Tutorials/tree/master/compressible_flow/Sod_Shock_Tube/sod_400.su2)) and the initial condition ([solution_flow_00000.csv](https://github.com/su2code/Tutorials/tree/master/compressible_flow/Sod_Shock_Tube/solution_flow_00000.csv)). + +The folder also contains the Python scripts that generate these files and post-process the results: +- [make_mesh.py](https://github.com/su2code/Tutorials/tree/master/compressible_flow/Sod_Shock_Tube/make_mesh.py): writes the mesh for any number of cells +- [make_ic.py](https://github.com/su2code/Tutorials/tree/master/compressible_flow/Sod_Shock_Tube/make_ic.py): writes the initial condition for a given mesh +- [compare_exact.py](https://github.com/su2code/Tutorials/tree/master/compressible_flow/Sod_Shock_Tube/compare_exact.py): computes the exact solution and compares it with the SU2 result +- [run_study.py](https://github.com/su2code/Tutorials/tree/master/compressible_flow/Sod_Shock_Tube/run_study.py) and [plot_study.py](https://github.com/su2code/Tutorials/tree/master/compressible_flow/Sod_Shock_Tube/plot_study.py): repeat the case for several schemes, limiters and meshes, and plot the comparison + +## Tutorial + +The following tutorial will walk you through the steps required to solve the Sod shock tube problem with SU2 and to compare the result with the exact solution. It is assumed you have already obtained and compiled SU2_CFD. If you have yet to complete these requirements, please see the [Download](/docs_v7/Download/) and [Installation](/docs_v7/Installation/) pages. The post-processing scripts need Python 3 with NumPy, pandas and Matplotlib. + +### Background + +A shock tube is a closed tube divided by a thin diaphragm into two sections holding the same gas at different states. At time $$t = 0$$ the diaphragm is removed, and the pressure difference drives a flow along the tube. Because the initial state is just two constant states separated by a jump, this is a *Riemann problem*, and its exact solution can be constructed from the theory of the Euler equations (see e.g. Toro, *Riemann Solvers and Numerical Methods for Fluid Dynamics*, chapter 4). + +For the Sod problem the high-pressure gas is on the left, and three waves form: + +1. A **rarefaction fan** travels to the left, into the high-pressure gas. Across it the gas expands smoothly and accelerates. +2. A **contact discontinuity** moves to the right with the gas. It separates the gas that was originally on the left from the gas that was originally on the right. Density and temperature jump across it, but pressure and velocity do not. +3. A **shock** travels to the right, into the low-pressure gas, compressing and accelerating it. + +Between the rarefaction and the shock lies the *star region*, where the pressure $$p^*$$ and velocity $$u^*$$ are uniform. The value of $$p^*$$ is the root of a single nonlinear equation, which the script `compare_exact.py` solves by bisection. Every other quantity then follows in closed form. Since the solution depends only on the similarity variable $$(x - x_0)/t$$, where $$x_0$$ is the position of the diaphragm, the waves spread out linearly in time without changing shape. + +The Sod problem is a standard test for compressible flow solvers because each wave tests a different property of a numerical scheme. A shock compresses itself and is captured in a few cells by most schemes. A contact has no such self-steepening, so it is smeared more and more by numerical dissipation. The rarefaction is smooth, but its corners show how well the scheme handles a sudden change in gradient. + +### Problem Setup + +The classic non-dimensional Sod states are used here, converted to SI units with a reference pressure of $$10^5$$ Pa and a reference density of $$1$$ kg/m$$^3$$. The gas is air ($$\gamma = 1.4$$, $$R = 287$$ J/(kg K)), the tube is 1 m long and the diaphragm is at $$x = 0.5$$ m. + +| | Left ($$x < 0.5$$ m) | Right ($$x > 0.5$$ m) | +|---|---|---| +| Density | 1.0 kg/m$$^3$$ | 0.125 kg/m$$^3$$ | +| Pressure | 100 000 Pa | 10 000 Pa | +| Velocity | 0 m/s | 0 m/s | +| Temperature ($$T = p/\rho R$$) | 348.432 K | 278.746 K | + +The simulation runs until the non-dimensional time $$t = 0.2$$, which in SI units is + +$$ +t_{end} = 0.2 \, \frac{L}{\sqrt{p_{ref}/\rho_{ref}}} = 0.2 \times \frac{1 \text{ m}}{316.23 \text{ m/s}} = 6.3246 \times 10^{-4} \text{ s}. +$$ + +At this time the waves are well separated but none has reached the ends of the tube. This matters for the comparison: the exact solution assumes an infinitely long tube, and a wave reflected from a closed end would travel back into the region being compared. The exact solution gives $$p^* = 30\,313$$ Pa, $$u^* = 293.29$$ m/s and a shock speed of $$554.08$$ m/s (0.30313, 0.92745 and 1.75216 in non-dimensional units). + +### Mesh Description + +SU2 always solves on a 2D (or 3D) mesh, so the one-dimensional tube is represented by a thin strip: 400 square quadrilateral cells along $$x$$, and a single cell in $$y$$. Each cell is 2.5 mm wide, and the mesh has 401 × 2 = 802 points. The four boundary markers are `left` and `right` (the closed ends of the tube) and `lower` and `upper` (the sides of the strip). + +The mesh is written by `make_mesh.py`, which takes the number of cells as an argument. This makes it easy to repeat the case on coarser or finer meshes: + +``` +python3 make_mesh.py 400 # writes sod_400.su2 +``` + +The sides of the strip use `MARKER_SYM` (symmetry), so no mass, momentum or energy crosses them and the flow stays one-dimensional. The ends of the tube use `MARKER_EULER` (inviscid wall). At $$t_{end}$$ the waves have not yet reached the ends (the rarefaction head is at $$x \approx 0.26$$ m and the shock at $$x \approx 0.85$$ m), so the choice of end condition does not affect the result. + +### Initial Condition + +SU2 can initialize a simulation from the free-stream state, but it has no option for a discontinuous initial state like the one in a shock tube. Instead, we write the initial solution ourselves as an ASCII restart file and start the simulation as a restart. This technique works for any initial condition that can be expressed point by point. + +The script `make_ic.py` reads the point coordinates from the mesh and writes `solution_flow_00000.csv`: + +``` +python3 make_ic.py sod_400.su2 +``` + +The file starts with a header line, followed by one line per mesh point, in the same order as the points in the mesh file: + +``` +"PointID","x","y","Density","Momentum_x","Momentum_y","Energy" +0,0.000000000000e+00,0.000000000000e+00,1.000000000000e+00,0.0,0.0,2.500000000000e+05 +... +200,5.000000000000e-01,0.000000000000e+00,1.250000000000e-01,0.0,0.0,2.500000000000e+04 +... +``` + +A few things to note about this file: +- The columns after the coordinates are the **conservative** variables of the compressible solver: $$\rho$$, $$\rho u$$, $$\rho v$$ and $$\rho E$$, where $$\rho E = p/(\gamma-1) + \tfrac{1}{2}\rho(u^2+v^2)$$ is the total energy per unit volume. Since the gas is initially at rest, $$\rho E = p/(\gamma - 1)$$, which is $$2.5 \times 10^5$$ J/m$$^3$$ on the left and $$2.5 \times 10^4$$ J/m$$^3$$ on the right. +- SU2 stores the solution at the mesh points (it is a vertex-based finite volume code). The point exactly at $$x = 0.5$$ m is given the right state. Since half of its control volume lies on the left of the diaphragm, this moves the effective diaphragm half a cell (1.25 mm) to the left. The effect shrinks with the mesh and is small next to the numerical smearing of the waves: giving this point the average of the two states instead changes the $$L_1$$ error by less than 10 % on all meshes tested. +- For an unsteady restart, SU2 reads the solution of the time step *before* `RESTART_ITER`. With `RESTART_ITER= 1` it reads iteration 0, which is why the file name ends in `_00000`. Setting `RESTART_ITER= 0` stops SU2 with the error *Requesting a negative iteration number for the restart file*. + +### Configuration File Options + +The configuration file is short, and the options that matter most are explained here. The free-stream state is set to the right (low-pressure) state. It only provides the reference values and the default initial state; because `RESTART_SOL= YES`, the actual initial solution is read from `solution_flow_00000.csv`: + +``` +% ------------- PROBLEM DEFINITION ------------- +SOLVER= EULER +MATH_PROBLEM= DIRECT +RESTART_SOL= YES +% +% ------------- FREE-STREAM = RIGHT STATE ------------- +MACH_NUMBER= 0.0 +INIT_OPTION= TD_CONDITIONS +FREESTREAM_OPTION= TEMPERATURE_FS +FREESTREAM_PRESSURE= 10000.0 +FREESTREAM_TEMPERATURE= 278.746 +REF_DIMENSIONALIZATION= DIMENSIONAL +``` + +`REF_DIMENSIONALIZATION= DIMENSIONAL` makes SU2 solve in SI units, so the time step and the output are in seconds, pascals and so on, and can be compared directly with the values in the problem setup. + +The time integration is explicit and time-accurate: + +``` +% ------------- TIME-ACCURATE (EXPLICIT) ------------- +TIME_DOMAIN= YES +TIME_MARCHING= TIME_STEPPING +TIME_DISCRE_FLOW= RUNGE-KUTTA_EXPLICIT +RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 ) +UNST_CFL_NUMBER= 0.0 +TIME_STEP= 6.3246e-7 +RESTART_ITER= 1 +TIME_ITER= 1001 +INNER_ITER= 1 +``` + +With `TIME_MARCHING= TIME_STEPPING`, every point advances with the same physical time step, which is what a time-accurate explicit simulation needs (in a steady simulation, each point would use its own local time step). `UNST_CFL_NUMBER= 0.0` tells SU2 to use the fixed `TIME_STEP` rather than computing one from a CFL number. With `RESTART_ITER= 1` and `TIME_ITER= 1001`, the simulation takes 1000 steps of $$6.3246 \times 10^{-7}$$ s and stops exactly at $$t_{end}$$. + +An explicit scheme is only stable if information does not travel more than about one cell per time step. This is measured by the CFL number, $$\text{CFL} = \max(|u| + a)\,\Delta t / \Delta x$$, where $$a$$ is the speed of sound. The fastest signal in this problem is $$|u| + a \approx 693$$ m/s, in the gas between the contact and the shock: this gas moves at $$u^* = 293$$ m/s and, having been heated by the shock to 398 K, also has the highest speed of sound (400 m/s). This gives $$\text{CFL} \approx 0.175$$ on the 400-cell mesh. In tests with this configuration, the simulation is stable up to $$\text{CFL} \approx 0.7$$ and diverges at $$\text{CFL} = 1$$. If you change the number of cells, scale `TIME_STEP` with the cell size to keep the same CFL number. + +The boundary conditions and the spatial discretization: + +``` +% ------------- BOUNDARIES ------------- +MARKER_EULER= ( left, right ) +MARKER_SYM= ( lower, upper ) +% +% ------------- NUMERICS ------------- +NUM_METHOD_GRAD= GREEN_GAUSS +CONV_NUM_METHOD_FLOW= ROE +MUSCL_FLOW= YES +SLOPE_LIMITER_FLOW= VENKATAKRISHNAN_WANG +VENKAT_LIMITER_COEFF= 0.05 +``` + +`ROE` is an upwind scheme: it computes the flux between two cells from the waves of an approximate (linearized) Riemann problem between them, so it adds numerical dissipation according to the direction in which information travels. `MUSCL_FLOW= YES` reconstructs a linear variation of the solution inside each cell, which makes the scheme second-order accurate in smooth regions. Near discontinuities this reconstruction would create new maxima and minima (oscillations), so a slope limiter reduces the slopes there. The effect of these choices is studied in the results section. + +Finally, the input and output files. Restart files are read and written in ASCII (CSV) format, so the initial condition can be written by a script and the result can be read directly by `compare_exact.py`: + +``` +% ------------- INPUT / OUTPUT ------------- +MESH_FILENAME= sod_400.su2 +SOLUTION_FILENAME= solution_flow +READ_BINARY_RESTART= NO +RESTART_FILENAME= restart_flow +OUTPUT_FILES= RESTART_ASCII, PARAVIEW +VOLUME_OUTPUT= COORDINATES, SOLUTION, PRIMITIVE +OUTPUT_WRT_FREQ= 1000 +``` + +### Running SU2 + +Generate the mesh and the initial condition (or use the files provided), then run SU2: + +``` +python3 make_mesh.py 400 +python3 make_ic.py sod_400.su2 +SU2_CFD sod.cfg +``` + +The simulation takes a few seconds. Every 100 time steps SU2 prints the current physical time and the density residual. The last output should be: + +``` ++--------------------------------------+ +| Time_Iter| Cur_Time| rms[Rho]| ++--------------------------------------+ +| 1000| 6.3246e-04| -2.501790| +``` + +The solution at $$t_{end}$$ is written to `restart_flow_01000.csv` (and `vol_solution_01000.vtu` for ParaView). Note that in an unsteady simulation the residual does not go to zero: the flow is changing in time, so there is no converged state to reach. + +### Results + +Compare the result with the exact solution by running: + +``` +python3 compare_exact.py restart_flow_01000.csv +``` + +The script prints the exact star-region values and the $$L_1$$ norm of the density error, + +$$ +L_1 = \sum_i \left| \rho_i - \rho_{exact}(x_i) \right| \Delta x, +$$ + +and plots the four flow variables against the exact solution (Figure 1). With the settings above, $$L_1 = 2.16 \times 10^{-3}$$ kg/m$$^2$$. All three waves are in the right place with the right strength: +- The **shock** is captured within 2 cells (counting the points between 10 % and 90 % of the density jump). +- The **contact** is spread over about 8 cells. Unlike a shock, a contact does not steepen itself, so numerical dissipation smears it more and more as time goes on. +- The **rarefaction** is reproduced closely, with slight rounding of its corners. +- Small undershoots remain just after the contact (1.4 %) and the shock (2.9 %). The Venkatakrishnan-type limiters are smooth, and they allow small over- and undershoots in exchange for not clipping smooth extrema. + +### Comparing Schemes, Limiters and Meshes + +Because the exact solution is known, this case is a convenient test bench for the numerical settings. The scripts `run_study.py` and `plot_study.py` in the tutorial folder repeat the simulation for every combination shown below and produce the figures in this section. Each run takes a few seconds. On every mesh the time step is scaled with the cell size, so all runs use the same CFL number. + +#### Convective schemes + +![Convective schemes](../../tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_schemes.png) +Figure (2): Density near the rarefaction tail, the contact and the shock, and velocity near the shock, for five convective schemes on 400 cells. The upwind schemes use MUSCL with the Venkatakrishnan-Wang limiter. + +| Scheme | ROE | HLLC | AUSM | SLAU2 | JST | +|---|---|---|---|---|---| +| $$L_1$$ (density) | 2.16e-3 | 2.29e-3 | 2.20e-3 | 2.34e-3 | 3.54e-3 | + +The four upwind schemes (`ROE`, `HLLC`, `AUSM`, `SLAU2`) give nearly identical results. They all build the flux from the direction in which waves travel, so their numerical dissipation acts where it is needed. `JST` is a central scheme: it averages the two neighbouring states and adds artificial dissipation, switched on by a pressure sensor. With its default coefficients (`JST_SENSOR_COEFF= ( 0.5, 0.02 )`), which are tuned for steady aerodynamic flows, it overshoots the shock by about 16 % and leaves oscillations behind both the shock and the contact. For flows with strong, moving discontinuities, an upwind scheme is the better choice. + +#### Slope limiters + +![Slope limiters](../../tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_limiters.png) +Figure (3): The same regions for ROE with MUSCL and five choices of slope limiter, on 400 cells. + +| Limiter | none | `VAN_ALBADA_EDGE` | `VENKATAKRISHNAN` | `BARTH_JESPERSEN` | `VENKATAKRISHNAN_WANG` | +|---|---|---|---|---|---| +| $$L_1$$ (density) | 2.36e-3 | 2.08e-3 | 1.98e-3 | 1.98e-3 | 2.16e-3 | + +Without a limiter, the second-order reconstruction creates new extrema next to the discontinuities: ahead of the shock the density drops to 0.118 kg/m$$^3$$, below the undisturbed value of 0.125, and the gas moves backwards at about 20 m/s. This is what slope limiters are for. A scheme that is better than first order and never creates new extrema cannot be linear (Godunov's theorem), so the limiter acts as a nonlinear switch that reduces the slope near discontinuities. Van Albada still allows visible overshoots behind the shock and at the contact. Barth-Jespersen and the two Venkatakrishnan limiters keep the solution almost free of oscillations. + +#### The limiter threshold and dimensional variables + +The Venkatakrishnan limiter contains a threshold $$\varepsilon$$: where the differences between neighbouring points are smaller than $$\varepsilon$$, the solution is considered smooth and is not limited. This prevents the limiter from reacting to tiny variations in nearly constant regions. The two Venkatakrishnan variants in SU2 define the threshold differently: +- `VENKATAKRISHNAN` uses $$\varepsilon^2 = (K L)^3$$, with $$K$$ = `VENKAT_LIMITER_COEFF` and a fixed reference length $$L$$ = 1 m. This value does not depend on the size of the flow variables. +- `VENKATAKRISHNAN_WANG` uses $$\varepsilon^2 = (K \, \Delta_{range})^2$$, where $$\Delta_{range}$$ is the difference between the largest and smallest value of each variable in the whole domain. The threshold therefore scales with the variables. + +In this tutorial the variables are dimensional, with pressures of order $$10^4$$ Pa, so $$\varepsilon^2 = 1.25 \times 10^{-4}$$ is negligible and plain `VENKATAKRISHNAN` behaves almost exactly like Barth-Jespersen. With ROE this works well. With HLLC or AUSM, however, it produces a sawtooth behind the tail of the rarefaction, where the exact solution is constant: + +![Limiter threshold](../../tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_threshold.png) +Figure (4): Density behind the rarefaction tail for HLLC with the two Venkatakrishnan limiters. + +The tail of the rarefaction moves at $$u^* - a^* \approx -22$$ m/s, so it is almost stationary and anything created there stays in place. In this nearly flat region the limiter, without an effective threshold, switches on and off from one point to the next. HLLC and AUSM do not damp the resulting odd-even pattern, which reaches $$\pm 0.025$$ kg/m$$^3$$ on 400 cells and grows to $$\pm 0.033$$ kg/m$$^3$$ on 800 cells, so it does not disappear with mesh refinement. With `VENKATAKRISHNAN_WANG` it is gone for every scheme. This is why the configuration file of this tutorial uses `VENKATAKRISHNAN_WANG`. If you use plain `VENKATAKRISHNAN` in a dimensional simulation, check that `VENKAT_LIMITER_COEFF` gives a meaningful threshold for your variables. + +#### First and second order + +![First vs second order](../../tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_order.png) +Figure (5): Density for first-order ROE (`MUSCL_FLOW= NO`) and second-order ROE (`MUSCL_FLOW= YES`) on 400 cells. + +Without MUSCL reconstruction, the scheme is first order. Every wave is visibly smeared, and the error is almost four times larger ($$L_1 = 8.10 \times 10^{-3}$$ against $$2.16 \times 10^{-3}$$). The contact suffers most: it is spread over 23 cells instead of 8. + +#### Mesh convergence + +![Mesh convergence](../../tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_convergence.png) +Figure (6): $$L_1$$ density error against cell size for first- and second-order ROE, on meshes of 100 to 1600 cells. + +| Cells | 100 | 200 | 400 | 800 | 1600 | +|---|---|---|---|---|---| +| $$L_1$$, 1st order | 1.95e-2 | 1.27e-2 | 8.10e-3 | 5.14e-3 | 3.26e-3 | +| $$L_1$$, 2nd order | 7.21e-3 | 4.00e-3 | 2.16e-3 | 1.19e-3 | 6.70e-4 | +| Contact width (cells), 1st / 2nd order | 12 / 5 | 17 / 6 | 23 / 8 | 33 / 10 | 46 / 13 | + +The error decreases steadily, but with an observed order of accuracy of 0.65 for the first-order scheme and 0.86 for the second-order scheme, not 1 and 2. This is expected for a solution with discontinuities, and it is not a defect of the solver. The design order of a scheme only applies where the solution is smooth. A shock is always captured within a fixed number of cells (2 to 3 for the second-order scheme and 7 to 8 for the first-order scheme, on every mesh), so its contribution to the error is proportional to the cell size $$h$$. A contact is worse, because nothing keeps it sharp: its width in cells keeps growing as the mesh is refined, roughly as $$N^{1/2}$$ for the first-order scheme and $$N^{1/3}$$ for the second-order scheme (see the last row of the table), which means its physical width shrinks only like $$h^{1/2}$$ and $$h^{2/3}$$. The contact therefore limits the overall convergence rate to less than one (see LeVeque, *Finite Volume Methods for Hyperbolic Problems*, chapter 8). + +### Conclusions + +The Sod shock tube shows that SU2 captures all three types of wave in the compressible Euler equations, and that the error decreases steadily under mesh refinement. In summary: +- An initial condition that SU2 cannot set through the configuration file can be written as an ASCII restart file. +- For time-accurate explicit simulations, use `TIME_MARCHING= TIME_STEPPING` with a fixed `TIME_STEP` chosen from the CFL condition. +- Upwind schemes with MUSCL reconstruction and a limiter capture shocks within a few cells without oscillations. The default JST settings are not suited to strong moving discontinuities. +- Contacts are always smeared more than shocks, and they limit the convergence rate to less than first order. +- In dimensional simulations, prefer `VENKATAKRISHNAN_WANG`, whose threshold scales with the flow variables. + +### References + +- G. A. Sod, *A survey of several finite difference methods for systems of nonlinear hyperbolic conservation laws*, Journal of Computational Physics 27 (1978) 1-31. +- E. F. Toro, *Riemann Solvers and Numerical Methods for Fluid Dynamics*, 3rd ed., Springer, 2009. +- R. J. LeVeque, *Finite Volume Methods for Hyperbolic Problems*, Cambridge University Press, 2002. diff --git a/tutorials_files/compressible_flow/Sod_Shock_Tube/images/sod_compare.png b/tutorials_files/compressible_flow/Sod_Shock_Tube/images/sod_compare.png new file mode 100644 index 00000000..2359a308 Binary files /dev/null and b/tutorials_files/compressible_flow/Sod_Shock_Tube/images/sod_compare.png differ diff --git a/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_convergence.png b/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_convergence.png new file mode 100644 index 00000000..0c5a9f3e Binary files /dev/null and b/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_convergence.png differ diff --git a/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_limiters.png b/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_limiters.png new file mode 100644 index 00000000..8e3d94af Binary files /dev/null and b/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_limiters.png differ diff --git a/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_order.png b/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_order.png new file mode 100644 index 00000000..69e894b4 Binary files /dev/null and b/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_order.png differ diff --git a/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_schemes.png b/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_schemes.png new file mode 100644 index 00000000..3c37565a Binary files /dev/null and b/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_schemes.png differ diff --git a/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_threshold.png b/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_threshold.png new file mode 100644 index 00000000..812f4397 Binary files /dev/null and b/tutorials_files/compressible_flow/Sod_Shock_Tube/images/study_threshold.png differ