Skip to content

Add Sod shock tube tutorial page - #237

Open
PraptiPatra wants to merge 1 commit into
su2code:developfrom
PraptiPatra:feature/sod-shock-tube
Open

PraptiPatra wants to merge 1 commit into
su2code:developfrom
PraptiPatra:feature/sod-shock-tube

Conversation

@PraptiPatra

Copy link
Copy Markdown

Proposed Changes

  • Adds a new compressible-flow tutorial page, _tutorials/compressible_flow/Sod_Shock_Tube/Sod_Shock_Tube.md, listed after Inviscid_Wedge in _data/tutorials.yml.
  • Adds six figures in tutorials_files/compressible_flow/Sod_Shock_Tube/images/.

The tutorial solves the Sod shock tube with the compressible Euler solver and verifies the result against the exact Riemann solution. It covers:

  • setting a discontinuous initial condition through an ASCII restart file,
  • explicit time stepping with a fixed time step and the CFL condition,
  • a comparison of convective schemes (ROE, HLLC, AUSM, SLAU2, JST), slope limiters, and first- vs second-order reconstruction,
  • a mesh-convergence study (100 to 1600 cells), explaining why the observed order is below the design order for a solution with discontinuities.

One finding may be of wider interest: plain VENKATAKRISHNAN uses a fixed threshold ε² = (K · 1 m)³, which is negligible in a dimensional simulation. With HLLC or AUSM this produces an odd-even sawtooth behind the rarefaction tail that grows with mesh refinement, while VENKATAKRISHNAN_WANG, whose threshold scales with the range of each variable, removes it. The page therefore uses VENKATAKRISHNAN_WANG. If useful, a short note about this could also be added to config_template.cfg.

Related Work

New compressible-flow tutorial: unsteady Sod shock tube verified against
the exact Riemann solution. Covers setting a discontinuous initial
condition through an ASCII restart file, explicit time stepping and the
CFL condition, and a comparison of convective schemes, slope limiters
and mesh convergence, including the effect of the Venkatakrishnan
limiter threshold in dimensional simulations.

Case files: su2code/Tutorials, compressible_flow/Sod_Shock_Tube.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant