Skip to content
DimensionLab

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

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 at t = 0.2, PPM configuration, 480 cells per unit (shown averaged over 3 x 3 blocks)

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

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

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

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

Metrics

MetricValueGateAllowance usedResult
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-1269×✕ 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-1266×✕ 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-12166×✕ 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)key2.22e-16|x| ≤ 1e-12<1 %✓ pass
Mean |density difference| from the Athena++ run, configuration 01, 160 per unit (reported)0.0607not gatedreported onlyreported
Mean |density difference| between 240 and 480 cells per unit, configuration 01 (reported)0.0212not gatedreported onlyreported
Run time at 480 cells per unit, configuration 01, seconds (reported)4510not gatedreported onlyreported
Mean |density difference| from the Athena++ run, configuration 02, 160 per unit (reported)0.0607not gatedreported onlyreported
Mean |density difference| between 240 and 480 cells per unit, configuration 02 (reported)0.0227not gatedreported onlyreported
Run time at 480 cells per unit, configuration 02, seconds (reported)5560not gatedreported onlyreported
Mean |density difference| from the Athena++ run, configuration 03, 160 per unit (reported)0.0504not gatedreported onlyreported
Mean |density difference| between 240 and 480 cells per unit, configuration 03 (reported)0.0319not gatedreported onlyreported
Run time at 480 cells per unit, configuration 03, seconds (reported)9820not gatedreported onlyreported
Mean |density difference| from the Athena++ run, configuration 04, 160 per unit (reported)0.0488not gatedreported onlyreported
Mean |density difference| between 240 and 480 cells per unit, configuration 04 (reported)0.0225not gatedreported onlyreported
Run time at 480 cells per unit, configuration 04, seconds (reported)4790not gatedreported onlyreported

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

All reference cases