OpenFOAM v2412Reference run (DimensionLab)
Forward-facing step: OpenFOAM rhoCentralFoam reference run
OpenFOAM v2412 rhoCentralFoam (KNP fluxes, van Leer) run of the forward-facing step at 480 x 160 cells passes its gates: largest change of the inflow ahead of the bow shock 8.2e-13 (gate 1e-10). Intel Core i7-6800K CPU, serial, f64, 2026-11-28.
Reference case. This is a run of OpenFOAM v2412, another code, not of a DimensionLab solver. It is shown as a reference for the problem; it is not counted in our solvers' verdicts or totals.
Results

Density along x at mid-height at each resolution, with Athena++

Metrics
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Largest change of the inflow ahead of the bow shockkey | 8.23e-13 | |x| ≤ 1e-10 | <1 % | ✓ pass |
| Smallest density in the fluid | 0.0242 | not gated | reported only | reported |
| Smallest pressure in the fluid | 0.00536 | not gated | reported only | reported |
| Mean density difference to Athena++ at N = 80 | 0.245 | not gated | reported only | reported |
| Mean density difference to Athena++ at N = 160 | 0.146 | not gated | reported only | reported |
| Mean density difference to the finest grid at N = 80 (self-convergence) | 0.0577 | not gated | reported only | reported |
Setup
- Code
- OpenFOAM v2412
- Grid and numerics
- 2D [0, 3] x [0, 1], 480 x 160 cells (80 also run), body-fitted step x > 0.6, y < 0.2, Mach 3, gamma 1.4, t = 4; rhoCentralFoam, KNP central-upwind fluxes, van Leer limiter, Euler step at Courant 0.2
- Hardware
- Intel Core i7-6800K workstation CPU, serial run; f64
References
- Third-party code
C. J. Greenshields, H. G. Weller, L. Gasparini, J. M. Reese, Implementation of semi-discrete, non-staggered central schemes in a colocated, polyhedral, finite volume framework, for high-speed viscous flows, International Journal for Numerical Methods in Fluids 63 (2010) 1-21
doi:10.1002/fld.2069 - Published benchmark
P. Woodward, P. Colella, The numerical simulation of two-dimensional fluid flow with strong shocks, Journal of Computational Physics 54 (1984) 115-173
doi:10.1016/0021-9991(84)90142-6
Our solvers on this problem
PassKaze · CPUForward-facing step at Mach 3: density against Athena++ at matched resolution
Kaze-Athena++ density difference over Athena++ refinement change, 160 cells per unit: 0.412
82 %forward step · supersonic flow
FailedKaze · CPUForward-facing step, Mach 3: density against Athena++
Density L1 difference from Athena++ relative to Athena++'s own change under refinement, 160 cells per unit: 1.35
270 %forward step · mach 3