
logo produced via intsharplogo_1_rev.yaml — output folder: logo, YAML, and GIF
Unit Tests
Euler Tests
1D compressible Euler (single-phase and two-phase) with selectable FV (AUSM+UP/HLLC) and DG (P1/P2/P3 with HLLE), stiffened-gas EOS, optional MUSCL/Barth-Jespersen reconstruction, and configurable convergence studies.
- sod_shock_tube_1d — 1D Sod shock tube: ideal gas Riemann problem with FV and DG (P1/P2/P3), plus analytical-reference convergence figures
- water_air_shock_tube_1d — Two-phase water-air 5-equation model, Wood's formula, v_riem flux splitting (has regression test)
- rayleigh_taylor_2d — 2D two-phase 5-equation FV Rayleigh–Taylor setup with gravity source
Comparison Tests
Per-field sharpening with multiple fields overlaid in one GIF. Each test page has the full YAML and run command.
- tanh_hat_10_rev_compare — 1D: 10 revolutions, no sharpening vs PM (curve overlay)
- tanh_circle_10_rev_compare — 2D: 10 revolutions, no sharpening vs PM (contour overlay)
Logo Test
Image-based initial condition: intsharp logo (PDF→PNG) advected one revolution. Output folder includes logo, YAML, and GIF.
- intsharplogo_1_rev — 2D: logo IC, 1 revolution, 50 frames, white 0.5 contour on blue (#2563eb), PM sharpening, CFL 0.5
Running the tests
# From the repo root:
python run.py unit_tests/sod_shock_tube_1d.yaml
python run.py unit_tests/water_air_shock_tube_1d.yaml
python run.py unit_tests/rayleigh_taylor_2d_2026-02-09_14:16:18/rayleigh_taylor_2d.yaml
python run.py unit_tests/tanh_hat_10_rev_compare.yaml
python run.py unit_tests/tanh_circle_10_rev_compare.yaml
python run.py unit_tests/intsharplogo_1_rev.yaml
Regression tests (pytest)
Euler tests verify output matches reference snapshots:
pytest tests/test_sod_shock_tube.py tests/test_water_air_shock_tube.py -v