MFC
Exascale flow solver
Loading...
Searching...
No Matches
Detonation

Detonation validation

Status: 1D Chapman-Jouguet front speed and post-detonation state: validated for 2H2 + O2 + 7Ar. 2D cell width: partially validated (the cell width is not unique and depends on the perturbation seed). H2/air: open discrepancy (resolved waves decouple). Code: master at 0cdfdf02a. Examples: examples/1D_cj_detonation. See also Validation.

A reacting-Euler detonation couples shock capturing with the stiff split reaction integrator. The 1D check compares the front speed and the expansion behind it with the equilibrium Chapman-Jouguet (CJ) solution and the Taylor-Zeldovich (TZ) similarity solution for a closed end Taylor [83], computed from the mechanism file MFC uses (h2o2.yaml), so it tests the solver and not the mechanism. Tables marked "earlier" were measured on a pre-merge build with the settings listed and were not repeated.

One-dimensional CJ wave

Item Value
Geometry 1D tube, reflecting wall at x = 0, length 10 cm or 50 cm, extrapolation at the far end (the front never reaches it)
Gas 2H2 + O2 + 7Ar (X: H2 2, O2 1, Ar 7), 298 K, 100 kPa, at rest; Euler (no diffusion or viscosity)
Reference equilibrium CJ state and frozen vN state (cj_ref.py): \(D_{CJ}\) = 1692.225 m/s, \(p_{CJ}\) = 1684.9 kPa, \(T_{CJ}\) = 3075 K, \(u_{CJ}\) = 735.1 m/s, \(p_{vN}\) = 2874 kPa, \(T_{vN}\) = 2053 K; ZND induction length \(\Delta_i\) = 0.0763 mm; TZ plateau 622.9 kPa and 2570 K
Start the TZ solution at \(t_0\) = 40 \(\Delta_i/D_{CJ}\) (the u = 0 plateau, the fan as 7 constant steps, then a slab of fresh gas at the vN state 5 \(\Delta_i\) thick)
Numerics 5-equation model, mapped WENO5 with mp_weno, HLLC, SSP-RK3, split alpha-QSS reactions with adaptive substeps (2 to 16), fixed \(\Delta t = 0.3\,\Delta x/(u_{vN} + c_{vN})\)
Measured check_cj.py: shock position (rightmost crossing of \(p_1 + (p_{CJ} - p_1)/2\)), least-squares slope over the second half of the run (D), mean local speed over the last 5 saves (D_end), mean peak pressure within 20 \(\Delta_i\) of the shock over \(p_{vN}\), mean plateau pressure

Measured with --ic tz on master at 0cdfdf02a (NVHPC 25.11, one NVIDIA A100, double precision). D is the least-squares slope of the shock position over the second half of the run; "earlier" is the pre-merge study (same case on a different build, tube lengths and cells per \(\Delta_i\) as here).

Tube cells per \(\Delta_i\) cells D / \(D_{CJ}\) - 1 D_end / \(D_{CJ}\) - 1 local sd \(p_{max}/p_{vN}\) plateau \(p\) earlier (D, D_end, plateau)
50 cm 2.5 16380 -0.24 % -0.19 % 0.06 % 0.943 +0.12 % -0.24 %, -0.17 %, +0.15 %
50 cm 5 32760 -0.25 % -0.18 % 0.06 % 0.985 +0.10 % -0.25 %, -0.16 %, +0.12 %
10 cm 2.5 3276 -1.51 % -1.14 % 0.33 % 0.920 -0.20 % -1.53 %, -1.14 %, -0.15 %
10 cm 5 6552 -1.52 % -1.14 % 0.30 % 0.965 -0.31 % -1.51 %, -1.15 %, -0.25 %

The grids agree to 0.02 % in the front speed at the same time and the shortfall shrinks with distance (the 10 cm tubes end at 52 us, the 50 cm tubes at 264 us), so it is the approach to CJ and not discretization error. The plateau pressure is within 0.3 % and the front peak pressure reaches 0.92 to 0.99 of the vN value at 2.5 to 5 cells per \(\Delta_i\). NVHPC 25.11 on an A100 and on the CPU agree to the digits shown (10 cm, 2.5 cells per \(\Delta_i\)); all runs are double precision.

H2/air at 1 atm

Measured earlier on a pre-merge build with h2o2.yaml (stoichiometric H2/air, 300 K, 100 kPa, \(D_{CJ}\) = 1976.04 m/s, \(\Delta_i\) = 0.2305 mm, a 2 \(\Delta_i\) vN slab on the TZ start), not repeated here. At 2.5 and 5 cells per \(\Delta_i\) the front speed is within 0.6 % of \(D_{CJ}\) (plateau pressure within 0.5 %) but the wave is held together by numerical radical diffusion: the first post-shock cell already reacts. At 10, 20 and 40 cells per \(\Delta_i\) the wave decouples into an inert shock within 3 to 14 us (open discrepancy). The cause is open. The constant-volume ignition delay behind a frozen shock lengthens sharply with a small speed deficit in this mechanism (2.6 times at 0.95 \(D_{CJ}\) and 18.7 times at 0.9 \(D_{CJ}\), against 1.5 and 2.5 times for 2H2 + O2 + 7Ar), so a resolved wave with a slight deficit decouples; whether the 1D H2/air wave is stable at CJ in this model is not settled here. A more dissipative reconstruction (first order or WENO3) keeps the 10 cells per \(\Delta_i\) wave coupled to 37 us, and the default WENO5-M with mp_weno decouples at 13 to 14 us.

Two-dimensional cell width

Measured earlier on a pre-merge build, not repeated (7.5 cells per \(\Delta_i\) in a 34.65 mm periodic channel to 15 cm took about 3 hours on 16 GPU devices; examples/2D_detonation_cell runs the same mixture at 6.67 kPa from a driver and is not compared with the measured cell width). Mixture: 2H2 + O2 + 7Ar at 40 kPa ( \(D_{CJ}\) = 1667.30 m/s, \(\Delta_i\) = 0.2103 mm; cj_ref.py --p1 4e4), the TZ start with a transverse velocity perturbation of 60 m/s on the vN slab, a numerical soot foil from the running maximum of pressure, and the cell width taken from the dominant transverse mode of the foil. The measured cell width at 40 kPa is 6.3 mm (the detonation database of Kaneshige and Shepherd [35]).

Grid seed (modes in the channel) cells after 15 cm cell width
7.5 cells per \(\Delta_i\) 7 7 4.95 mm (0.79 of measured)
7.5 cells per \(\Delta_i\) 3 3 11.55 mm (1.83 of measured)
5 cells per \(\Delta_i\) 3 and 9 7 to 9, weakening after 14 cm 3.9 to 5.0 mm

The 2D front runs 4 to 8 % below \(D_{CJ}\) at 4 to 15 cm and 2 % below at 20 to 32 cm, the same deficit as the 1D runs of this mixture. Status: partially validated. MFC forms regular, strong, self-sustained cellular detonations, but the cell width in this periodic channel is not unique (each seed keeps its own mode over 15 cm, bracketing the measured value), so it is not a single predicted value. A unique width would need a much longer and wider channel or a random multi-mode seed.

Known limitations

  • The reference uses the same mechanism file as MFC, so the check is of the solver. The CJ solution of cj_ref.py agrees with an independent equilibrium code (the Shock and Detonation Toolbox) to 1.2e-6 relative in speed at 40 kPa (1667.298 and 1667.300 m/s) and reproduces its published H2/air value with the Mevel mechanism to 5e-6 (earlier; not repeated here).
  • The front approaches \(D_{CJ}\) slowly: the recombination tail behind the front is long (the H2O mass fraction reaches 99 % of its equilibrium value 7 mm, about 92 \(\Delta_i\), behind the shock). A 10 cm tube therefore ends 1.1 to 1.2 % below \(D_{CJ}\); this is the approach to CJ, not discretization error, since the grids agree.
  • The start needs a vN slab thick enough to ignite before the rarefaction from its rear reaches the shock; with 1 \(\Delta_i\) the 10 cells per \(\Delta_i\) run fails, and an overdriven slab (5 \(\Delta_i\) in H2/air) overshoots \(D_{CJ}\) by 27 %. This is a property of the start.
  • A resolved ZND profile cannot be prescribed through a case file (an initial condition is at most 10 constant patches, num_patches_max); the TZ start uses 10.
  • The cell-width runs of the earlier study are not repeated: they need tens of millions of cell-steps (multi-node, hours).
Page last updated: 2026-11-23