PLUTO 4.4-patch4Reference run (DimensionLab)
Double Mach reflection: PLUTO reference run
PLUTO's own double Mach reflection test, four shipped configurations at 240 and 480 cells per unit: density and pressure stay positive; 5 of 8 runs fail the gate that the gas ahead of the incident shock is unchanged to 1e-12 (at 240: 01, 02, 03, 04; at 480: 03; largest change 0.04), just past the gate's four-cell margin. Intel Core i7-6800K CPU, serial, f64, 2026-11-29.
Reference case. This is a run of PLUTO 4.4-patch4, 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.
Failed: in 5 of 8 runs (01 at 240, 02 at 240, 03 at 240, 04 at 240, 03 at 480) the gas ahead of the incident shock changes by more than 1e-12, up to 0.04 (03 at 240). The change lies just past the gate's margin of four output cells, at the captured shock's leading edge; further ahead the gas keeps its state to round-off. Density and pressure stay positive in every run.
Results

Density along y = 0.0531 for the four configurations (480 cells per unit, averaged to 160) and Athena++ at 160

Mean density difference from Athena++ and between the two resolutions, per configuration

Change of the gas ahead of the incident shock against distance, all eight runs

Metrics
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Smallest density, configuration 01, 240 cells per unit (gate > 1e-10) | 1.4 | > 1e-10 | <1 % | ✓ pass |
| Smallest pressure, configuration 01, 240 cells per unit (gate > 1e-10) | 1 | > 1e-10 | <1 % | ✓ pass |
| Largest change of the gas ahead of the incident shock, configuration 01, 240 cells per unit (gate 1e-12) | 6.88e-11 | |x| ≤ 1e-12 | 69× | ✕ fail |
| Smallest density, configuration 02, 240 cells per unit (gate > 1e-10) | 1.4 | > 1e-10 | <1 % | ✓ pass |
| Smallest pressure, configuration 02, 240 cells per unit (gate > 1e-10) | 1 | > 1e-10 | <1 % | ✓ pass |
| Largest change of the gas ahead of the incident shock, configuration 02, 240 cells per unit (gate 1e-12) | 6.63e-11 | |x| ≤ 1e-12 | 66× | ✕ fail |
| Smallest density, configuration 03, 240 cells per unit (gate > 1e-10) | 1.4 | > 1e-10 | <1 % | ✓ pass |
| Smallest pressure, configuration 03, 240 cells per unit (gate > 1e-10) | 1 | > 1e-10 | <1 % | ✓ pass |
| Largest change of the gas ahead of the incident shock, configuration 03, 240 cells per unit (gate 1e-12) | 0.0387 | |x| ≤ 1e-12 | >1000× | ✕ fail |
| Smallest density, configuration 04, 240 cells per unit (gate > 1e-10) | 1.4 | > 1e-10 | <1 % | ✓ pass |
| Smallest pressure, configuration 04, 240 cells per unit (gate > 1e-10) | 1 | > 1e-10 | <1 % | ✓ pass |
| Largest change of the gas ahead of the incident shock, configuration 04, 240 cells per unit (gate 1e-12) | 3.37e-6 | |x| ≤ 1e-12 | >1000× | ✕ fail |
| Smallest density, configuration 01, 480 cells per unit (gate > 1e-10) | 1.4 | > 1e-10 | <1 % | ✓ pass |
| Smallest pressure, configuration 01, 480 cells per unit (gate > 1e-10) | 1 | > 1e-10 | <1 % | ✓ pass |
| Largest change of the gas ahead of the incident shock, configuration 01, 480 cells per unit (gate 1e-12) | 2.22e-16 | |x| ≤ 1e-12 | <1 % | ✓ pass |
| Smallest density, configuration 02, 480 cells per unit (gate > 1e-10) | 1.4 | > 1e-10 | <1 % | ✓ pass |
| Smallest pressure, configuration 02, 480 cells per unit (gate > 1e-10) | 1 | > 1e-10 | <1 % | ✓ pass |
| Largest change of the gas ahead of the incident shock, configuration 02, 480 cells per unit (gate 1e-12) | 2.22e-16 | |x| ≤ 1e-12 | <1 % | ✓ pass |
| Smallest density, configuration 03, 480 cells per unit (gate > 1e-10) | 1.4 | > 1e-10 | <1 % | ✓ pass |
| Smallest pressure, configuration 03, 480 cells per unit (gate > 1e-10) | 1 | > 1e-10 | <1 % | ✓ pass |
| Largest change of the gas ahead of the incident shock, configuration 03, 480 cells per unit (gate 1e-12) | 1.66e-10 | |x| ≤ 1e-12 | 166× | ✕ fail |
| Smallest density, configuration 04, 480 cells per unit (gate > 1e-10) | 1.4 | > 1e-10 | <1 % | ✓ pass |
| Smallest pressure, configuration 04, 480 cells per unit (gate > 1e-10) | 1 | > 1e-10 | <1 % | ✓ pass |
| Largest change of the gas ahead of the incident shock, configuration 04, 480 cells per unit (gate 1e-12)key | 2.22e-16 | |x| ≤ 1e-12 | <1 % | ✓ pass |
| Mean |density difference| from the Athena++ run, configuration 01, 160 per unit (reported) | 0.0607 | not gated | reported only | reported |
| Mean |density difference| between 240 and 480 cells per unit, configuration 01 (reported) | 0.0212 | not gated | reported only | reported |
| Run time at 480 cells per unit, configuration 01, seconds (reported) | 4510 | not gated | reported only | reported |
| Mean |density difference| from the Athena++ run, configuration 02, 160 per unit (reported) | 0.0607 | not gated | reported only | reported |
| Mean |density difference| between 240 and 480 cells per unit, configuration 02 (reported) | 0.0227 | not gated | reported only | reported |
| Run time at 480 cells per unit, configuration 02, seconds (reported) | 5560 | not gated | reported only | reported |
| Mean |density difference| from the Athena++ run, configuration 03, 160 per unit (reported) | 0.0504 | not gated | reported only | reported |
| Mean |density difference| between 240 and 480 cells per unit, configuration 03 (reported) | 0.0319 | not gated | reported only | reported |
| Run time at 480 cells per unit, configuration 03, seconds (reported) | 9820 | not gated | reported only | reported |
| Mean |density difference| from the Athena++ run, configuration 04, 160 per unit (reported) | 0.0488 | not gated | reported only | reported |
| Mean |density difference| between 240 and 480 cells per unit, configuration 04 (reported) | 0.0225 | not gated | reported only | reported |
| Run time at 480 cells per unit, configuration 04, seconds (reported) | 4790 | not gated | reported only | reported |
Setup
- Code
- PLUTO 4.4-patch4
- Grid and numerics
- 2D [0, 3.25] x [0, 1] (PLUTO's run on [0, 4] x [0, 1]); 240 and 480 cells per unit length; four configurations
- Hardware
- Intel Core i7-6800K workstation CPU, serial run; f64
References
- Third-party code
A. Mignone, G. Bodo, S. Massaglia, T. Matsakos, O. Tesileanu, C. Zanni, A. Ferrari, PLUTO: A Numerical Code for Computational Astrophysics, The Astrophysical Journal Supplement Series 170 (2007) 228-242 (section 6, double Mach reflection)
doi:10.1086/513316 - Third-party code
PLUTO 4.4-patch4, A. Mignone and collaborators, University of Torino (the code that ran; free software under the GNU General Public License, version 2); test Test_Problems/HD/Mach_Reflection
plutocode.ph.unito.it - 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 · CPUDouble Mach reflection: density against Athena++ at matched resolution
Kaze-Athena++ density difference over Athena++ refinement change, 160 cells per unit: 0.181
36 %double mach reflection · shock reflection