1. Introduction
The detonation process of gas is characterised by the rapid release of substantial energy within a short period. This process finds applications in developing novel detonation engines, but can also lead to significant damage in industrial explosion accidents. In both scenarios, the non-uniform nature of the surrounding gas, caused by unsteady gas flow and diffusion, deviates from the assumptions of the detonation theory of gases with uniformity. Studying the propagation process of detonation in a non-uniform gas holds significant practical value, providing theoretical and technical support for industrial safety and detonation propulsion (Bykovskii, Zhdan & Vedernikov Reference Bykovskii, Zhdan and Vedernikov2006; Sato et al. Reference Sato, Matsuo, Endo and Kasahara2006; Braun et al. Reference Braun, Lu, Wilson and Camberos2013; Frolov, Dubrovskii & Ivanov Reference Frolov, Dubrovskii and Ivanov2013; Honhar et al. Reference Honhar, Kaplan, Houim and Oran2020; Prakash & Raman Reference Prakash and Raman2021). In this study, non-uniformity encompasses variations in the state quantities of gas, such as concentration, thermodynamic parameters and flow velocity. In non-uniform conditions, the detonation process becomes extremely complicated. Dynamic parameters of the detonation and the wavefront structure differ significantly from those observed in a uniform gas, and the intrinsic physical mechanisms remain unclear. Advancing detonation theory to address critical issues in industrial production and detonation engines necessitates a methodical and comprehensive exploration of the detonation phenomenon within non-uniform gases.
The presence of multi-directional concentrations or temperature gradients in the environment following the release of combustible gas can significantly influence the behaviour of detonation waves. Researchers have extensively investigated this phenomenon through experiments and numerical simulations. Wang et al. (Reference Wang, Huang, Deiterding, Chen and Chen2023) highlighted six typical distributions of inhomogeneous mixtures, and provided a comprehensive review of relevant references. In particular, Ishii & Kojima (Reference Ishii and Kojima2007) explored the effects of non-uniformities on wavefront shape and detonation instability, observing that increasing gradients resulted in deflected wavefronts with larger deflection angles. Furthermore, Ettner, Vollmer & Sattelmayer (Reference Ettner, Vollmer and Sattelmayer2013) studied the effect of different concentration gradients on wavefront, detonation stability and pressure field, observing curved wavefronts and the occurrence of Mach reflection due to wall constraints. Kessler, Gamezo & Oran (Reference Kessler, Gamezo and Oran2012) investigated the influence of transverse concentration gradients on detonation waves in non-uniform combustible gases. They found that the activation energy of the mixture affects the front structures of detonation and their quenching mechanism with different composition gradients. Boeck et al. (Reference Boeck, Hasslberger and Sattelmayer2014, Reference Boeck, Berger, Hasslberger and Sattelmayer2016) conducted experimental studies using high-speed shadowgraph, OH imaging, pressure sensors and smoked foils to analyse detonation fronts in hydrogen–air mixtures with transverse concentration gradients. The research focused on elucidating how concentration gradients affect detonation propagation, and systematically characterising detonation behaviour in such conditions. Han, Wang & Law (Reference Han, Wang and Law2019) numerically examined the propagation of detonation in hydrogen–oxygen mixtures with transversal concentration gradients, identifying the mechanisms through which concentration gradients affect detonation propagation, and establishing the role of transversal concentration gradient in the stability of the detonation structure. Furthermore, Wang et al. (Reference Wang, Wu, Huang, Han and Song2020) investigated the effect of concentration gradients on cellular detonation, observing enhanced cellular instability and a transition from multi-headed to single-headed propagation modes. In addition, Chen et al. (Reference Chen, Huang, Lei, Wang, Chen and Han2023) conducted a numerical investigation of the propagation behaviours of detonations in hydrogen–oxygen mixtures with transverse concentration gradients, and the effects of confinement, particularly focusing on the impact of channel width and transverse waves on detonation behaviour.
In contrast, many studies examined the concentration gradient parallel to detonation propagation. These investigations involve placing gases with varying activities at different positions along the length of a tube. Donato, Donato & Lee (Reference Donato, Donato and Lee1981) reported that transmission detonation can rapidly adjust to new gases and achieve a steady state as activity increases, while locally becoming overdriven when the activity decreases. Similarly, Thomas, Sutton & Edwards (Reference Thomas, Sutton and Edwards1991) discovered that small concentration gradients facilitate detonation transmission, whereas large gradients may separate the shock front and reaction zone, leading to detonation quenching. Further research by Kuznetsov et al. (Reference Kuznetsov, Dorofeev, Efimenko, Alekseev and Breitung1997) explored the effects of decreased gradient on activity, and investigated the effect of the length of the driver segment. Boulal, Vidal & Zitoun (Reference Boulal, Vidal and Zitoun2016) studied the influence of composition distribution steepness on detonation dynamics and quenching mechanisms. They found that detonation quenching in non-uniform propane–oxygen mixtures depends on composition gradient steepness and local equivalence ratios, with sudden one-dimensional extinction under large gradients, and gradual quenching via marginal propagation in small gradients. Tang-Yuk et al. (Reference Tang-Yuk, Mi, Lee and Ng2018) specifically focused on the transmission of a detonation across a density interface, analysing the effects of different reaction kinetics models and changes in pressure, temperature and reaction progress during the propagation process. Ma, Wang & Han (Reference Ma, Wang and Han2020) investigated the effects of mixture inhomogeneity on the pulsating behaviour of a detonation, including the interaction of the leading shock with the local gradient, the adaptation and re-establishment of the detonation wave, and the transition from periodic pulsation to chaotic behaviour. Additionally, Wang et al. (Reference Wang, Huang, Deiterding, Chen and Chen2023) conducted numerical studies on detonation propagation in inhomogeneous mixtures with periodic reactant concentration gradients, unveiling two new physical phenomena, i.e. alternately occurring detonation quenching and re-initiation, and a double cellular structure consisting of large-scale structures with smaller substructures.
In the research mentioned above, non-uniformity is characterised by an overall gradient, which poses challenges for maintaining a steady state in detonation propagation. The wavefront is often significantly distorted in the presence of a gradient, leading to the quenching of the detonation. Although this representation of non-uniformity closely aligns with real-world scenarios, it does not lend itself well to studying the steady-state propagation mechanisms of detonation in non-uniform gases. An alternative approach involves maintaining uniform thermodynamic parameters in the flow field while introducing local perturbations. This method facilitates detonation propagation in an approximately steady-state manner, with the wavefront assuming a planar surface, albeit with small-scale triple-wave structures. This approach is conducive to examining the effects of perturbation scale and intensity on the wavefront structure. Notably, various researchers have explored detonation propagation using this line of inquiry. For instance, Li, Mi & Higgins (Reference Li, Mi and Higgins2015) and Mi et al. (Reference Mi, Higgins, Ng, Kiyanda and Nikiforakis2017a ) introduced spatially distributed discrete units to a uniform medium to achieve non-uniformity, resulting in distorted wavefronts and enhanced detonation propagation, thereby reducing the likelihood of quenching. In another study by Mi et al. (Reference Mi, Timofeev and Higgins2017b ), reactive gas layers or gas squares were dispersed in space at equal intervals within the gas medium to investigate the effect of spatial discreteness on detonation propagation. Cuadra, Huete & Vera (Reference Cuadra, Huete and Vera2020) proposed a linear asymptotic theory to describe the propagation of planar detonation fronts through heterogeneous mixtures of reactive gases with random fluctuations in the fuel mass fraction. Moreover, Zhou et al. (Reference Zhou, Zhang, Zhong, Deiterding and Wei2022) examined the effects of concentration fluctuations on detonation propagation, observing that random concentration fluctuations in the gas cause changes in the structure of the detonation wave, and result in the velocity of the wave no longer being equal to the Chapman–Jouguet (CJ) speed. When homogeneously distributed in space, it is evident that non-uniformity primarily influences the small-scale local structure of the wavefront rather than its overall shape. This prompts further investigation into whether these local changes will have a macroscopic effect on the detonation wave. Furthermore, Wang et al. (Reference Wang, Huang, Deiterding, Chen and Chen2023) conducted one- and two-dimensional simulations to study detonation propagation in mixtures with periodic sinusoidal or square wave distributions of the reactant concentration, exploring aspects such as detonation quenching, re-initiation, cellular structure, cell size, and detonation speed deficit. The transverse waves behind the detonation front play a crucial role in its propagation, particularly in unstable detonations with irregular structures (Radulescu et al. Reference Radulescu, Sharpe, Law and Lee2007; Lee Reference Lee2008). Understanding how these waves influence the detonation front’s local structure is essential for controlling propagation mechanisms such as failure and re-initiation. This study introduces a horizontal perturbation to disturb the detonation front and influence transverse wave propagation. We aim to examine the competition between the intrinsic instability of the transverse waves and the applied disturbance on the front structure and propagation.
The current investigation aims to examine the influence of transverse temperature non-uniformity on the propagation of detonation waves. Specifically, we are interested in observing how the local structures of the detonation front are altered by regular and periodic temperature non-uniformity in the transverse direction. Previous research has demonstrated that a global temperature gradient hinders the detonation from maintaining the CJ state, leading to a significant global curvature that can lead to detonation failure. However, in this study, as depicted in figure 1, the average state of the non-uniform gas mixture is equivalent to the homogeneous mixture, thereby ensuring that the detonation remains close to the CJ state. This set-up enables us to investigate the influence of periodic non-uniformity on the detonation front and its cellular structures by directly comparing it with the detonation front in a non-uniform gas mixture. Given the crucial role of transverse waves in detonation, the periodic temperature non-uniformity in the transverse direction allows for direct disruption of transverse waves. To elucidate the mechanism regarding the non-uniformity, a systematic study is conducted in the present study for different waves, including the inert shock, Zel’Dovich–von Neumann–Döring (ZND) detonation, and cellular detonation.
Schematic diagram of the transverse non-uniformity of temperature.

This work begins by addressing a fundamental problem related to the transmission of shock waves across a one-dimensional temperature interface, illustrating the evolution of these waves. This analysis serves as a benchmark for subsequent studies. Next, we explore geometrical shock dynamics (GSD), taking into account the non-uniformity of the media involved. Following this, we provide a brief introduction to the governing equations, their non-dimensionalisation, and the identification of relevant parameters. We then present and thoroughly discuss the numerical results, which include shock waves, ZND detonations, and cellular detonations. Finally, we conclude with a summary of the findings, and offer recommendations for future research endeavours.
2. Shock transmission through a temperature interface
A fundamental problem of shock transmission from an interface is first studied, which helps us to understand the propagation mechanism of detonation in a non-uniform gas mixture. As shown in figure 2, when a shock wave traverses a temperature interface in a one-dimensional channel, a transmitted shock, a reflected shock wave (or a rarefaction wave) and a contact discontinuity are generated at the interface. The speeds of these three waves are interconnected with the initial shock speed and mixture properties through a set of coupled nonlinear equations. An analytical solution can be obtained by solving the one-dimensional Riemann problem. The scenario under consideration involves a shock from a gas at 295 K passing through an interface into hotter or colder gases, equalising the initial pressures across the interface. The specific heat ratio
$\gamma$
is 1.44 in the entire flow field, the Mach number of the incident shock is 5.6, and the gas constant
$R$
is 218.79 J kg–1 K–1, corresponding to the thermodynamic parameters used in the next section. Upon passing through an interface (placed at
$x=0.4$
m) into a hotter gas, the shock front deflects downstream at the interface, indicating an increase in shock speed, as illustrated in figure 2(a). Conversely, as shown in figure 2(b), when the shock passes through an interface into a colder gas, the shock front deflects upstream at the interface, resulting in a decrease in shock speed. The flow field structures in the two cases differ as well. A rarefaction wave appears at the interface for the former case, while a reflected shock is generated at the interface for the latter case.
The
$x{-}t$
diagram of the transmission problem of the shock wave: (a) cold–hot interface (295–350 K), and (b) hot–cold interface (295–240 K).

Determining the post-shock state of the transmitted shock involves the application of shock jump conditions and isentropic relations in conjunction with the contact discontinuity condition. As depicted in figure 3, the intersection of the shock compression curve and isentrope in the
$p{-}u$
and
$p{-}T$
planes serves as the basis for determining the post-shock state. In the
$p{-}u$
diagram, it is observed that the particle velocity behind the shock amplifies as the shock traverses the cold–hot interface. Additionally, a direct correlation between the initial temperature of the hot gas and the particle velocity is established, indicating that a higher initial temperature results in a larger particle velocity. Conversely, when the shock encounters the hot–cold interface, distinct changes in velocity are observed. This disparity is attributed to the balanced pressure across the interface, resulting in a smaller density for the hotter gas, facilitating more effortless particle acceleration. Furthermore, it is noted that the transmitted shock exhibits lower post-shock pressures in the hot gas and higher post-shock pressures in the cold gas. Referring to the
$p{-}T$
diagram, the post-shock temperature increases in the hot gas and decreases in the cold gas. This behaviour agrees with the equation of state of the gas, i.e.
$p=\rho R T$
, indicating a decrease in post-shock density in the hot gas, and an increase in the cold gas.
Post-shock states of the transmitted and reflected shocks: (a)
$p{-}u$
diagram for the cold–hot interface; (b)
$p{-}T$
diagram for the cold–hot interface; (c)
$p{-}u$
diagram for the hot–cold interface; and (d)
$p{-}T$
diagram for the hot–cold interface.

3. Geometrical shock dynamics
The GSD model (Whitham Reference Whitham1957, Reference Whitham1959; Henshaw, Smyth & Schwendeman Reference Henshaw, Smyth and Schwendeman1986) provides an approximate method for predicting the position and speed of the shock front without explicitly calculating the flow field behind it. The theory assumes that points on the shock front move along rays normal to the shock with a speed determined by the changes in the shock front geometry and the changes in the mixture. An extended GSD model to calculate the motion of shock waves in gases with non-uniform properties (Schwendeman Reference Schwendeman1986) is expressed as
where
$A$
is the ray tube area, and
$M$
is the shock Mach number. The above formula is also known as the
$A{-}M$
relation. Here,
$S (M, x )$
is a source term that contains the gradients of the gas non-uniformities, and can be expressed as
where
$g (M, x )$
,
$h (M, x )$
and
$k (M, x )$
represent the strengths of non-uniformities of sound speed
$a_{0}$
, pressure
$p_{0}$
and specific heat ratio
$\gamma$
ahead of the propagating shock. In the present study, the pressure across the interface is uniform, and it is assumed that the specific heat ratio
$\gamma$
is a constant value, which means that the second and third parts of the source term
$S (M, x )$
vanish.
Efficient numerical methods for solving the propagating shock front based on the extended GSD theory have been developed by different researchers (Strehlow Reference Strehlow1964; Catherasoo & Sturtevant Reference Catherasoo and Sturtevant1982; Whitham Reference Whitham1957, Reference Whitham1959; Henshaw et al. Reference Henshaw, Smyth and Schwendeman1986; Noumir et al. Reference Noumir, Le Guilcher, Lardjane, Monneau and Sarrazin2015; Ridoux et al. Reference Ridoux, Lardjane, Monasse and Coulouvrat2018). The shock front is represented by a discrete set of points moving along rays with velocity
$U=a_{0} M$
. Therefore,
where
$\boldsymbol{n}$
is the normal vector to the shock front, and
$\beta$
refers to a particular ray. Discretisation of the above equation in space yields, for the discrete shock front positions
$x_{j} (t),\ j=1, \ldots , N$
, a system of
$N$
ordinary differential equations, which can then be integrated in time by using a third-order total variation diminishing Runge–Kutta method. Each point on the shock front is advanced along its unit normal vector with speed determined by an approximate integration of the
$A{-}M$
relation along rays. A mesh refinement scheme is also employed to maintain a relatively even point spacing, since the point spacing tends to increase in expansive regions of the shock front, or decrease in the compressive areas. A smoothing scheme is specifically used periodically to dampen high-frequency numerical fluctuations in the shock front position.
In the straight channel, as illustrated in figure 1, a non-uniform zone is composed of two cold layers and one hot layer with width ratio
$1:2:1$
corresponding to a complete period with wavelength
$s = 0.03$
m. In the entire flow field,
$\gamma$
has constant value 1.44 throughout the flow field. A shock wave of Mach number 5.6 from a uniform zone passes through the interface started at
$x = 0.06$
m into a non-uniform zone. The thermodynamic parameters used in the present case are consistent with the above case. Different sound speed ratios are used to characterise the non-uniformity of temperature. The sound speed in the hot zone is apparently larger than in the cold zone. The evolution of shock fronts for different sound speed ratios is shown in figure 4.
Shock fronts for cases with different sound speed ratios: (a)
$a_{\textit{hot}}/a_{\textit{cold}}=1.4$
, (b)
$a_{\textit{hot}}/a_{\textit{cold}}=1.6$
, (c)
$a_{\textit{hot}}/a_{\textit{cold}}=1.8$
and (d)
$a_{\textit{hot}}/a_{\textit{cold}}=2.0$
.

As demonstrated in § 2, when the shock wave penetrates the non-uniform zone, the shock velocity increases within the hot layer, while it decreases in the cold layers. This results in the formation of a curved shock front. In the hot layer, expansion waves propagate from the temperature interface towards the centre of the hot layer, causing the hot zone layer to bend forwards. Line AF in figure 4 indicates the position of the expansion head. In the cold layer, two oblique shocks (OS1 and OS2) and their corresponding triple-points form above the temperature interface. The paths of these two triple-points are represented by lines AE and AC in figure 4. The first triple-point moves away from the interface and reflects off the top wall, creating a Mach reflection of the front. Subsequently, the Mach stem gradually extends and converges, with the second triple-point located near the interface.
Change of shock front inclinations with different sound speed ratios.

Catherasoo & Sturtevant (Reference Catherasoo and Sturtevant1982) have noted that the horizontal temperature interface would effectively obscure the
$C^+$
characteristic lines, leading to the formation of two triple-points on the front of the cold layer. In accordance with this assertion, it is evident from figure 4 that regardless of the sound speed ratio, a double triple-point structure will manifest on the shock front encountering the cold layer. Varying the sound speed ratios or temperature amplitudes solely influences the curvature of the shock front and the strength of the triple-points, without altering the type of the front structure. The curvature of the front varies under four different conditions and can be quantitatively described by five angles. As illustrated in figure 5, these angles include the two angles of triple-point trajectories (
$\angle$
BAE and
$\angle$
BAC), the two inclination angles of the oblique shocks, and one expansion head angle (
$\angle$
BAF). When the sound speed ratio increases, four of these five angles, except
$\angle$
BAF, are found to increase. This suggests that the front in the cold layers bends more severely. The angle
$\angle$
BAF remains almost constant due to the slight velocity difference of the expansion waves along the shock front compared to the speed of the shock wave. However, as depicted in figure 4, with an increase in the sound speed ratio, the hot zone front becomes more convex, indicating an increase in the intensity of the expansion waves. Therefore, the increased sound speed ratio leads to a more curved shock front due to the increased front velocity difference.
4. Numerical methodology
4.1. Governing equations
In this study, neglecting the effects of heat conduction, molecular diffusion and viscosity, the governing equations are the two-dimensional reactive Euler equations coupled with a simple two-step chain-branching reaction model (Short & Sharpe Reference Short and Sharpe2003; Ng, Radulescu & Higgins Reference Ng, Radulescu, Higgins, Nikiforakis and Lee2005), which can be written as
where
$U$
is the vector of conserved variables,
$F$
and
$G$
are both the fluxes, and
$S$
is the reaction source term. These can be written as
\begin{align} U &= [\rho , \rho u , \rho v , E , \rho y_{\textit{I}} , \rho y_{\textit{R}} ], \nonumber\\ F &= \big[\rho u , \rho u^{2} + p , \rho u v , u \left (E + p\right )\! , \rho u y_{\textit{I}} , \rho u y_{\textit{R}}\big], \nonumber\\ G &= \big[\rho v , \rho u v , \rho v^{2} + p , v \left (E + p\right )\! , \rho v y_{\textit{I}} , \rho v y_{\textit{R}}\big], \nonumber\\ S &= \left [0,0 , 0,0 , \omega _{\textit{I}} , \omega _{\textit{R}}\right ]\!, \end{align}
where,
$p$
,
$\rho$
are pressure and density, respectively,
$E$
is energy per unit volume, and
$u$
and
$v$
are the velocities in the
$x$
and
$y$
directions, respectively. The present two-step chemical reaction model has a thermally neutral chain-branching induction zone and an exothermic heat-releasing zone. Here,
$y_{\textit{I}}$
and
$y_{\textit{R}}$
represent the progress variables characterising the induction and exothermic processes in the two-step reaction model, and
$\omega _{\textit{I}}$
and
$\omega _{\textit{R}}$
represent the reaction rates of the induction and reaction processes, respectively.
For an ideal gas, the total energy and state equation can be written as
\begin{align} &E = \frac {p}{\gamma - 1} + \frac {\rho }{2} \big(u^{2} + v^{2}\big) - \rho y_{R} Q, \nonumber \\ &p= \rho R T, \end{align}
where
$Q$
is heat release of the chemical reaction,
$T$
is the temperature, and
$R$
is the universal constant of gas.
The extent of the induction zone is controlled by a reaction rate of Arrhenius form. At the end of the induction zone, the conversion of reactant into radical is finished. The reaction rate of the induction stage can be expressed as
where
$E_{\textit{I}}$
is the activation energy of the induction stage,
$T_{\textit{S}}$
is the temperature behind the leading shock of the ZND detonation with CJ speed,
$k_{\textit{I}}$
is a pre-exponential factor to control the induction length
$\varDelta _I$
, and
$H(1-y_{\textit{I}})$
is a step function, written as
\begin{align} H(1 - y_{\textit{I}}) = \begin{cases} 1, & {\textrm{if }} y_{\textit{I}} \lt 1, \\ 0, & {\textrm{if }} y_{\textit{I}} \geqslant 1. \end{cases} \end{align}
The rate of the exothermic process where the radical converts to the product can be expressed as
where
$E_{\textit{R}}$
is the activation energy in the exothermic stage, and
$k_{\textit{R}}$
is a pre-exponential factor to control the reaction length
$\varDelta _R$
. The change in the ratio of the induction length
$\varDelta _I$
to the reaction length
$\varDelta _R$
can affect the instability of the detonation.
To compare with the existing literature, a scaled activation energy parameter is given here as
where
$T_{\textit{S}}$
can be given as
The activation energies were defined to represent a typical hydrocarbon–oxygen mixture with weakly unstable stability, as discussed in the work of Ng et al. (Reference Ng, Radulescu, Higgins, Nikiforakis and Lee2005). The Arrhenius rate coefficients were calculated to make the induction length 1 mm, which is quite convenient for scaling the geometry with the detonation characteristic length. Calculating the detonation properties of stoichiometric
${\textrm{H}}_2{-}{\textrm{O}}_2{-}{\textrm{Ar}}$
with dilution from 0
$\%$
to 20
$\%$
using a detailed chemical reaction mechanism reveals that the activation energies range from 4 to 6, and the Mach number of detonations is approximately 5. Thus the present model and parameters mimic the stoichiometric
${\textrm{H}}_2{-}{\textrm{O}}_2{-}{\textrm{Ar}}$
with dilution from 0
$\%$
to 20
$\%$
with initial pressure below 50 kPa. The reaction and thermodynamic parameters are calculated and listed in table 1, corresponding to a weakly unstable detonation.
Reaction and thermodynamic parameters.

4.2. Numerical methods
For the two-dimensional reactive Euler equation, a second-order Strang operator splitting method effectively decouples the convection and chemical reaction source terms. The convection term is discretised using the explicit second-order MUSCL–Hancock method based on the Roe-HLL solver (Deiterding Reference Deiterding2003), while the reaction source term is numerically integrated through a semi-implicit fourth-order general Runge–Kutta stiff ordinary differential equation solver (GRK4A) (Kaps & Rentrop Reference Kaps and Rentrop1979). A sufficiently small grid size is necessary to capture the fine structure of the detonation wavefront. In this study, adaptive mesh refinement technology, based on the AMROC framework (Deiterding Reference Deiterding2009, Reference Deiterding2011a ,Reference Deiterding b ), is employed to reduce both computing time and memory requirements.
Numerical smoked foils with four different grid resolutions: (a) 8 pts/
$\varDelta _{\textit{I}}$
, (b) 16 pts/
$\varDelta _{\textit{I}}$
, (c) 32 pts/
$\varDelta _{\textit{I}}$
, (d) 48 pts/
$\varDelta _{\textit{I}}$
.

Temperature contours of the detonation front in the non-uniform gas mixture with different grid resolutions: (a) 8 pts/
$\varDelta _{\textit{I}}$
, (b) 16 pts/
$\varDelta _{\textit{I}}$
, (c) 32 pts/
$\varDelta _{\textit{I}}$
, (d) 48 pts/
$\varDelta _{\textit{I}}$
.

4.3. Grid convergence test
A grid convergence test for detonation propagation in a non-uniform gas with
$\Delta T = 55\ \text{K}$
, as shown in figure 1, using four different grid sizes – 8 pts/
$\varDelta _{\textit{I}}$
, 16 pts/
$\varDelta _{\textit{I}}$
, 32 pts/
$\varDelta _{\textit{I}}$
and 48 pts/
$\varDelta _{\textit{I}}$
– was carried out to determine the adequate grid size. The resulting numerical smoked foils and flow fields at a specific moment (
$t = 200$
$\unicode{x03BC}$
s) are illustrated in figures 6 and 7, respectively. A comparison of these flow fields revealed that grid resolutions 32 pts/
$\varDelta _{\textit{I}}$
and 48 pts/
$\varDelta _{\textit{I}}$
exhibited more intricate details compared to 8 pts/
$\varDelta _{\textit{I}}$
and 16 pts/
$\varDelta _{\textit{I}}$
. Notably, the flow fields from the 32 pts/
$\varDelta _{\textit{I}}$
and 48 pts/
$\varDelta _{\textit{I}}$
simulations demonstrated considerable similarity, particularly regarding the fluid structures. In addition, the maximum pressure history curves along
$y = 0.015$
m from figure 6 are plotted in figure 8 for comparison. It was observed that the maximum pressure history curves for grid sizes 32 pts/
$\varDelta _{\textit{I}}$
and 48 pts/
$\varDelta _{\textit{I}}$
almost completely overlapped. These results indicate that a grid size of 32 pts/
$\varDelta _{\textit{I}}$
provides an accurate flow field resolution, justifying its use in the present study.
Maximum pressure curves along
$y=0.015$
m with different grid resolutions.

Numerical smoked foils of shocks in non-uniform gas with different temperature amplitudes: (a)
$\varDelta T=35$
K and (b)
$\Delta T=105$
K. Line AB is the temperature interface; line AC is the trajectory of the first triple-point; line AD is the trajectory of the second triple-point; line CD is the trajectory of the first triple-point after Mach reflection.

5. Numerical results and discussion
5.1. Shock propagation in non-uniform mixtures
Figure 9 shows numerical smoked foils of detonation propagation in the non-uniform gas for a case with low-temperature amplitude (
$\Delta T=35$
K) and a case with high-temperature amplitude (
$\Delta T=105$
K). The corresponding transient structures of the shock front are demonstrated in figure 10. The observed difference in the trajectories’ inclinations between the two smoked foils in figure 9 indicates that the curvature of the wavefront varies with the temperature amplitude of the non-uniformity. The strength of OS1 can be assessed by comparing the inclination angles of line AC. As shown in figure 9, the inclination angles for the two cases are
$22.42^\circ$
and
$28.15^\circ$
, corresponding to temperature amplitudes 55 and 105 K, respectively. Therefore, OS1 is weaker in the case with temperature amplitude 55 K compared to the case with temperature amplitude 105 K.
Initial transition process of shocks in the non-uniform mixtures: (a)
$\Delta T=35$
K, 7.5
$\unicode{x03BC}$
s; (b)
$\Delta T=35$
K, 45
$\unicode{x03BC}$
s; (c)
$\Delta T = 105$
K, 7.5
${\unicode{x03BC} }$
s; (d)
$\Delta T = 105$
K, 40
${\unicode{x03BC} }$
s.

Temperature variations along the upper wall and central lines in the channel: (a)
$\Delta T=35$
K, wall temperature; (b)
$\Delta T=35$
K, midline temperature; (c)
$\Delta T=105$
K, wall temperature; and (d)
$\Delta T=105$
K, midline temperature.

In accordance with the extended GSD results in § 3, two oblique shocks, namely OS1 and OS2, are initially formed in the cold zone due to the presence of the temperature interface, as shown in figure 10. Additionally, lines AC and AD represent the trajectories of the two triple-points at the shock front. The analysis further reveals that the evolution of the shock front involves the reflection of the first oblique shock OS1 on the top wall, resulting in the formation of a Mach stem and a new triple-point trajectory line CD. Subsequently, the collision and merging of the two triple-points at point D lead to the development of a single triple-point, leaving a trajectory line DE. The horizontal trajectory DE signifies the asymptotic approaching of a steady state by the shock front following the initial transit process. An examination of the small-temperature amplitude scenario reveals a correspondingly small angle
$\angle$
BAD, indicating the weakness of the oblique shock OS2 adjacent to the interface. Consequently, the weak oblique shock OS2 effortlessly merges when encountering the reflected triple-point, forming a weak von Neumann Mach reflection structure characterised by a smooth connection between the Mach stem and the oblique shock OS2. Conversely, under conditions with large-temperature amplitude, the interaction between the strong oblique shock OS2 and the Mach stem (shock–shock interaction) deflects the trajectory AD to DE. This culminates in the eventual establishment of a stable state of coexistence featuring the single Mach reflection adjacent to the oblique shock OS2. These two steady-state structures are consistent with the strong and weak reflections of the triple-wave structure of the detonation front proposed by Strehlow (Reference Strehlow1964), henceforth referred to as weak and strong structures in the present study.
Figure 11 shows the temperature curves at different locations along the wall and midline of the channel. In figure 11(c,d) for the case with temperature amplitude
$\Delta T = 105$
K, upon entry into the non-uniform gas, it is observed that the temperature of the shock front decreases to 1750 K in the cold layer, and increases to 2700 K in the hot layer. The formation of a Mach stem on the wall results in an increase in the temperature from 1750 K to 1950 K. This is followed by a transition process where the wall temperature increases from 1950 K to 2300 K. Eventually, a temperature 2300 K is reached, slightly exceeding the post-shock temperature 2241 K in the uniform gas. Subsequently, the temperature and pressure decay due to the rarefaction wave from the interface in the hot layer along the midline. In the case with
$\Delta T=35$
K, as shown in figure 11(a,b), the transition process is observed to be more gentle, resulting in smaller changes in temperature and pressure compared to the case with
$\Delta T = 105$
K.
Steady structures of shock waves: (a) schlieren plot with streamlines,
$\Delta T = 35$
K; (b) schlieren plot with streamlines,
$\Delta T = 105$
K; (c) temperature,
$\Delta T = 35$
K; (d) temperature,
$\Delta T = 105$
K; (e) pressure and temperature curves,
$\Delta T = 35$
K; ( f) pressure and temperature curves,
$\Delta T = 105$
K.

Figure 12(a,b) illustrate the steady-state configuration of shock waves for two distinct temperature amplitudes,
$\Delta T = 35$
K and
$\Delta T = 105$
K, representing weak and strong shock structures. In the case of a weak structure, the shock front in the hot layer exhibits slight convexity, while it displays a slight concavity in the cold layer. A smooth and continuous transition links the convex front in the hot layer to the concave front in the cold layer. Conversely, the strong structure requires an oblique shock to connect the front in the cold layer with the front in the hot layer, giving rise to a Mach reflection structure. The magnitude of the oblique shock OS2 is heavily contingent on the temperature amplitude across the horizontal interface. In the strong structure, the normal velocity of the fluid particle passing through OS2 is significantly lower than that passing through the Mach stem. Consequently, the temperature behind OS2 is considerably lower than behind the Mach stem, and much lower than behind the hot layer front, as observed in figure 12(c,d). Behind OS2, the temperature interface transforms into a contact discontinuity that couples with the shear layer of the Mach reflection structure, forming a new cold zone that segregates the gases in the cold and hot layers. Figure 12(a,b) also present the streamline in the frame of the leading shock. The flow field is partitioned into five regions in the
$y$
-direction by the front in the hot layer, two oblique shocks, and two Mach stems. The streamlines behind the front in the hot layer and oblique shocks deflect towards the cold layer, affecting the continuous compression of the gas within the cold layers. The temperature and pressure profiles along the designated dashed line in the temperature contours are shown in figures 12(e) and 12( f). The temperature of the cold zone is observed to be 1000–1200 K lower than that of the gas on either side of the interface.
The transition from a weak to a strong structure occurs as the temperature amplitude increases from a small value (35 K) to a large value (105 K). A distinctive feature between the two structures is the presence of oblique shocks linked to the interface. Figure 13 shows the variations in oblique shock height at different temperature amplitudes. We also compare the variation in the post-shock temperature and pressure behind the oblique shock with temperature amplitude. When the temperature amplitude is below a specific value, approximately 40 K, discernible oblique shocks are absent, resulting in a weak structure. In contrast, a higher temperature amplitude increases the oblique shock height for the strong structure. A longer oblique shock indicates a greater difference in position between the hot and cold zones, leading to a wider band of unreacted gas. Therefore, with a larger temperature difference, the oblique shock has a more significant effect on shaping the structure.
Heights and post-shock states of (a) oblique shock (OS) and (b) Mach stem (MS) for cases with different temperature amplitudes
$\Delta T$
.

The study of the inert shock provides insights into the propagation of ZND detonation in non-uniform gases. A key distinction between ZND detonation and the inert shock lies in the induction and chemical reaction. The rates of induction and exothermic reactions are influenced by the gas state behind the leading shock. The release of chemical energy significantly affects the leading shock in turn. Notably, the changes in fluid state have a profound effect on the induction and exothermic processes for detonations. The relationship between density, temperature, and the induction and exothermic rates is crucial for the two-step reaction model used in the present study. However, due to the exponential form of the Arrhenius law, the temperature gradient tends to dominate the induction and exothermic rates. In the hot layer, the high temperature behind the leading shock leads to a shorter induction zone, causing the front to be overdriven. Conversely, the low temperature behind the leading shock results in a lengthened induction zone in the cold layer, causing the front to be underdriven. It is important to note that the fronts in the two layers are not isolated from each other. They undergo a transition process before reaching a relatively stable state.
Numerical smoked foil of a ZND detonation propagating into non-uniform mixtures: (a)
$\Delta T=35$
K, (b)
$\Delta T=55$
K, (c)
$\Delta T=75$
K and (d)
$\Delta T=105$
K. Two blue shadows and one red shadow are added to the numerical smoked foils to indicate the range of non-uniformity.

5.2. The ZND detonation propagating in non-uniform mixtures
In this subsection, we examine the propagation of a ZND detonation in the non-uniform mixture to investigate the interaction between chemical reaction and non-uniformity on the front structure and its evolution. As shown in figure 14, the numerical smoked foils for cases with different temperature amplitudes
$\Delta T$
depict the presence of non-uniformity with two cold layers and one hot layer. The trajectories left by the triple-points moving between two channel walls are observable on the smoked foil. These triple-points originate from the double triple-points structure on the shock front in the cold layers, consistent with the initial transit process of the inert shock, as discussed in the previous subsection. The corresponding velocity profiles of the ZND detonation in non-uniform mixtures with different temperature amplitudes are shown in figure 15. The velocity profile is calculated by measuring the difference in wavefront position over a time interval. To capture the dynamics of high-frequency oscillations from transverse waves, data frames are collected every 5
$\unicode{x03BC}$
s. To accurately analyse the average velocity of the detonation wave, local fluctuations from these waves are filtered out, and consecutive frames are sampled at 50
$\unicode{x03BC}$
s intervals.
In figure 14(a), we can still observe that the horizontal triple-point trajectories generated by the oblique shock are consistent with cases of inert shock. However, in the present case with chemical reaction, the transverse waves severely interfere with the triple-point of the oblique shock associated with the temperature interface, causing its trajectory to be discrete and oscillated. The transverse waves dominate the propagation, and the temperature interface can only disturb the cell structure due to slight temperature differences across the interface. After the position where
$x = 0.9$
m, as shown in figure 14(a), the two triple-points no longer propagate symmetrically, and the diamond-shaped trajectories begin to twist. The loss of asymmetry of the triple-point trajectories can be attributed to the intrinsic instability of the detonation overcoming the initial regularity from the symmetry of the temperature interface. To verify this conclusion, we conducted a new simulation with
$k_R = 0.9\, {\textrm{s}}^{-1}$
, which corresponds to a very stable mixture, in contrast to the weakly unstable mixture used in our current study (
$k_R = 2.0\, \text{s}^{-1}$
). The numerical smoked foils are given in figure 16 for comparison. When comparing these two mixtures, we found that symmetry is maintained over a long distance (1.6 m) for the very stable mixture. In contrast, the weakly unstable mixture loses symmetry after just 1.2 m, highlighting the impact of intrinsic instability.
Velocity profiles of a ZND detonation in non-uniform mixtures with (a)
$\Delta T=35$
K, (b)
$\Delta T=55$
K, (c)
$\Delta T=75$
K and (d)
$\Delta T=105$
K.

Numerical smoked foil of a ZND detonation propagating into non-uniform mixtures with
$k_{\textit{R}} = 0.9 \text{ s}^{-1}$
and
$\Delta T=55$
K.

The numerical smoked foil shown in figure 14(b) exhibits characteristic features a case with
$\Delta T = 55$
K. Notably, ‘diamond’ cells manifest along triple-point trajectories. When the ZND detonation penetrates the non-uniform area, its front evolution is similar to that of a shock wave due to the velocity disparity on the front, resulting in the appearance of triple-wave structures (denoted as B, E, H, L, O, etc.) within the cold layer. As the triple-point of the expanding reactive Mach stem traverses the interface into the hot layer (D, G, N, etc.) and intersects with the symmetrical side’s triple-point, a ‘diamond’ pattern emerges on the numerical smoked foil. At the position where
$x=1.2$
m, the cell pattern begins to distort, gradually losing its symmetrical ‘diamond’ shape. The trajectory pattern closely resembles that depicted in figure 14(a). In this case, the temperature amplitude surpasses that in figure 14(a), consequently intensifying the oblique shock wave and significantly disrupting the cellular structure. The theoretical analysis and numerical results regarding the shock have demonstrated that as the amplitude of temperature increases, the strength of the oblique shock correspondingly intensifies. When the strength of the oblique shock is relatively weak compared to that of the transverse wave, the transverse wave is less likely to be influenced by the oblique shock. Conversely, the transverse waves can significantly affect the oblique shock, which may effectively ‘swallow’ the oblique shock and modify the local structure of the detonation front, particularly as shown in the case with the smallest temperature amplitude (
$\Delta T=35$
K). In cases where the strength of the oblique shock exceeds that of the transverse wave, the oblique shock exhibits considerable resistance to disturbance from the sweeping transverse waves. In contrast, the presence of a strong oblique shock effectively obstructs the transverse waves, as evidenced in the scenario with the largest temperature amplitude (
$\Delta T=105$
K).
Evolution of a ZND detonation wave immediately after entering the non-uniform region (
$\Delta T=55$
K): (a) 0
$\unicode{x03BC}$
s, (b) 15
$\unicode{x03BC}$
s, (c) 20
$\unicode{x03BC}$
s, (d) 30
$\unicode{x03BC}$
s, (e) 35
$\unicode{x03BC}$
s, ( f) 40
$\unicode{x03BC}$
s, (g) 45
$\unicode{x03BC}$
s and (h) 55
$\unicode{x03BC}$
s.

Profiles of the temperature and concentration of the radical (
$\Delta T=55$
K): (a) wall and (b) midline.

Figures 17 and 18 illustrate the formation of diamond-shaped trajectories, as shown in figure 14(b). The initial stage, depicted in figure 17(b), demonstrates significant front bending, presenting a convex front in the hot layer and two oblique shocks denoted as OS1 and OS2 in the cold layer. Notably, the induction zone lengthens as it approaches the temperature interface in the hot zone due to the pronounced influence of rarefaction waves near the interface. The flow separation in the cold and hot layers is distinguished by a new strip area of unreacted gas behind OS2, confined by the temperature interface and the reflected shock associated with the Mach stem. The flow particles behind OS2 initially move towards the upper wall, then deflect back towards the hot layer due to the gas compression behind OS1. In figure 17(c), an inert Mach stem, denoted as MS1 formed by OS1, elongates, accelerating the reaction and causing a significant bulging of the reaction front. Subsequently, in figure 17(d), the reaction front becomes fully coupled to the inert Mach stem, forming a strong reactive Mach stem denoted as RMS. Profiles of temperature and the concentration of intermediate products can be observed along the top wall and midline of the channel in figure 18(a). The profiles at 15–25
${\unicode{x03BC} }$
s reveal that the Mach stem in the cold layer strongly accelerates the reaction, thereby decreasing the induction length.
It is worth noting that as illustrated in figure 17(d–f), the expansion of RMS into the hot layer leads to the shedding of the unreacted gas strip due to the disappearance of the oblique shock OS2. Concurrently, the detachment of the detonation front in the cold layer is initiated, causing an increasing distance between the leading shock and the reaction surface. Moreover, due to the high temperature in the hot layer, the rapid reaction of the two RMS entering the hot layer accelerates the transverse waves, resulting in the propagation towards the midline of the channel and colliding to form a new strong Mach stem expanding outwards. In figure 18(b), it can be observed that the induction zone of the front in the hot layer continues to lengthen. Additionally, the gradual decrease in temperature behind the leading shock in the hot layer indicates a continuous attenuation of the front intensity, persisting until the new strong Mach stem is formed in the hot layer (45
${\unicode{x03BC} }$
s). The above discussion indicates that a competitive relationship exists between the detonation’s transverse waves and the oblique shock associated with the temperature interface.
Figure 14(c) shows the smoked foil for the case with temperature amplitude
$\Delta T = 75$
K. Before
$x=0.4$
m, discernible transverse waves are not observed entering the hot layer. This is because the chemical reaction behind the Mach stem in the cold layer is inhibited due to lower initial temperature, resulting in the Mach stem not being strong enough to extend into the hot layer. After
$x=0.4$
m, the triple-point trajectories gradually display cellular patterns, though the trajectories in the hot layer remain relatively weak. Compared to the cellular patterns depicted in figures 14(a) and 14(b), the cell length in figure 14(c) is more extended, indicating a weaker transverse wave in the hot layer with a lower velocity. Upon increasing the non-uniformity to
$\Delta T = 105$
K, as illustrated in figure 14(d), no prominent triple-point trajectories (or cells) manifest in the channel, except for faint traces generated by extremely weak transverse shocks. The smoked foil resembles the case of inert shock, with the notable distinction of the trajectory of the triple-point attached to the oblique shock now exhibiting fluctuation. This observation suggests that the oblique shock associated with the interface is the dominant factor, with the transverse wave being highly suppressed by the substantial temperature non-uniformity. At low temperatures, the chemical reaction rate in the cold layer slows down significantly, causing the front to separate, and restricting the generation of transverse waves. During this phase, the movement of the triple-point connected to the oblique shock is only slightly affected. However, the explosion of the hotspot in the shocked zone behind the separated shock front in the cold layer causes the front to speed up and push the oblique shock back to the interface. The expansion of the front in the cold layer is not sustainable, leading to a new cycle of separation in the cold layer. In the stage where
$0.4\lt x\lt1.2$
m, this process repeatedly occurs during propagation, resulting in highly disturbed triple-point trajectories. When
$x\gt 1.2$
m, high-frequency weak transverse waves in the cold layer stabilise the reaction rate, causing the disturbance of the triple-point trajectories to gradually diminish and reach a steady state.
As shown in figure 14(d), the extremely low temperature in the cold layer (190 K) compared to the other cases significantly suppresses the chemical reaction behind the Mach stem. This suppression prevents the expansion of the Mach stem and its merging with the oblique shock that links to the temperature interface, thus prohibiting its entry into the hot layer. Although a higher initial temperature can promote the reaction, the shock front of the hot layer decays due to the curvature effect, which is consistent with the detonation propagation subject to boundary loss, as described by Lee (Reference Lee2008).
In the case where
$\Delta T=105$
K, the propagation of the detonation wave can be analysed in four distinct stages. The first stage occurs approximately between
$x= 0.05$
m and
$x= 0.17$
m, during which the ZND detonation enters the non-uniform region, leading to the decoupling of the front in the cold layer. Subsequently, the weakened front in the hot layer results in the elongation of the induction zone. If no stimulation follows the leading shock, then the detonation in the hot layer will fail completely. However, as depicted in figure 19, the Mach reflection of the decoupled shock in the cold layer produces a reflected shock that strengthens the decoupled front in the hot layer. The discussion in § 2 suggests that the transmitted shock accelerates within the hot gas mixture as it passes through the temperature interface. Consequently, a reflected wave is formed behind the oblique shock OS2 in the cold layer, transmitting into the hot detonation products across the temperature interface, as demonstrated in figure 19(a,b). In the hot product, the reflected wave experiences acceleration, separating from the initial reflected wave and merging with the triple-point, and advances toward the induction zone located behind the leading front. Figure 19(c–e) illustrate that two reflected shocks within the induction zone converge, intensifying local pressure and temperature. As a result, a region of heightened temperature, known as a hotspot, emerges within the disengaged induction zone, thereby facilitating the detonation process.
The pressure profiles along the midline of the channel are shown in figure 20(a), demonstrating the compression and re-initiation process of the two reflected shocks. The reflected waves increase pressure from 0.75 MPa to 1.0 MPa, which generates a local hotspot at
$x=0.145$
m, triggering a local hotspot explosion. The compression wave produced by the hotspot explosion catches up with and strengthens the leading shock, which can be observed in figure 20(b). Furthermore, the expanding gas and transverse waves stemming from the hotspot explosion propagate into the cold region, causing gas compression. However, at
$x=0.15$
m in the hot zone, the hotspot explosion fails to initiate a chemical reaction in the cold zone.
Stimulation of cold layer transverse waves to the hot layer front (
$\Delta T=105$
K): (a) 20
$\unicode{x03BC}$
s, (b) 25
$\unicode{x03BC}$
s, (c) 35
$\unicode{x03BC}$
s, (d) 40
$\unicode{x03BC}$
s, (e) 45
$\unicode{x03BC}$
s, ( f) 55
$\unicode{x03BC}$
s, (g) 65
$\unicode{x03BC}$
s and (h) 70
$\unicode{x03BC}$
s.

Formation of a hotspot under transverse waves compression (
$\Delta T=105$
K): (a) pressure and (b)
$x{-}t$
diagram.

The second stage, as shown in figure 21(a–d), occurring approximately between
$x=0.17$
m and
$x=0.33$
m, is characterised by the complete suppression of chemical reaction in the cold layer and significant suppression in the hot layer. The detonation is severely underdriven during this stage. The trajectory of the triple-point on the numerical smoked foil exhibits a horizontal line. In the front velocity profiles depicted in figure 15(d), the average front velocity is merely
$0.8V_{\textit{CJ}}$
, and the oscillations of the front velocity curves in the two layers are minor, indicating a relatively stable state of the detonation during this stage. The chemical reaction provides weak support for the front in the hot layer, resulting in a structure similar to the strong, steady-state structure of the inert shock wave. The second stage is short-lived, as compression waves enter the induction zone in the hot zone, eventually triggering new hotspots, as shown in figure 21(a–d).
Sequences of front structures for the case with temperature amplitude
$\Delta T=105$
K: (a) 105
$\unicode{x03BC}$
s, (b) 120
$\unicode{x03BC}$
s, (c) 135
$\unicode{x03BC}$
s, (d) 150
$\unicode{x03BC}$
s, (e) 435
$\unicode{x03BC}$
s, ( f) 450
$\unicode{x03BC}$
s, (g) 465
$\unicode{x03BC}$
s, (h) 475
$\unicode{x03BC}$
s, (i) 750
$\unicode{x03BC}$
s, (j) 760
$\unicode{x03BC}$
s, (k) 770
$\unicode{x03BC}$
s and (l) 780
$\unicode{x03BC}$
s.

In the third stage, the chemical reaction in the cold layer is triggered by the compression effect generated by the hotspot in the hot layer. The gas behind the leading shock in the cold layer starts to react close to the position where
$x=0.36$
m, as shown in figure 14(d) (
$\Delta T=105$
K). The typical evolution of the detonation in this stage is depicted in figure 21(e–h). As shown in figure 21(e), the hot layer front outpaces the cold layer front, resulting in the appearance of a double triple-point structure in the cold layer. Moving on to figure 21( f), the reactive Mach stem chases the hot layer front, and it is noteworthy that two reflected waves converge towards the hot layer front. The chemical reaction accelerates and elongates the Mach stem, driving the triple-point towards the midline of the channel, and causing the trajectory on the numerical smoked foil to deflect towards the midline. However, the low temperature in the cold layer weakens the front before the triple-point enters the hot layer, and as a result, the trajectory deflects towards the walls. As shown in figure 21(g), the triple-point comes close to the interface but does not cross it. Subsequently, in figure 21(h), the reflected wave of the triple-wave structure once again strengthens the hot layer front, expanding and creating fluctuating trajectories on the numerical smoked foil. At this stage, the velocity curves of the front in the two layers experience significant oscillations and exhibit a phase difference between them.
The alternating strengthening of hot and cold layers characterises the behaviour of detonation waves during the third stage. Once the waves have strengthened, the entire detonation wave returns to a steady state, similar to the strong structure of an inert shock. This steady state also marks the beginning of the fourth stage. As shown in figure 14(d) (
$\Delta T=105$
K), the numerical smoked foil after
$x=1.3$
m is partitioned into three regions by the trajectories, resembling cases of inert shocks shown in figure 9(b). This similarity in structure suggests a resemblance between the detonation front and the shock front. Figures 21(i–l) illustrate the detonation fronts at four different moments, presenting a steady-state structure comprising a convex front in the hot layer, two oblique detonations associated with the temperature interface, and two planar fronts in the cold layers. At these moments, the higher temperatures in the hot layer and the weak transverse waves in the cold layers sustain the entire wavefront into a steady state. Further analysis, as shown in figure 14(d), reveals the presence of a local single-headed mode with weak transverse waves in the two thin cold layers near the walls. The coupling of the detonation front in the hot layer is primarily attributed to the curvature not being large enough to attenuate the detonation, and to a lesser extent, the presence of weak and disorganised transverse waves. The discrete nature of the entire detonation front, divided into three independent segments by temperature discontinuities, suggests that it is primarily the oblique shock rather than the transverse waves that governs the propagation mechanism in the non-uniform gas.
The plots in figure 15 present the velocity profiles of the detonation, offering insights for comprehending the underlying physics. Without non-uniformity, the ideal ZND detonation wave propagates at a constant CJ speed despite local fluctuation. However, with the presence of non-uniformity, the wavefront velocities exhibit distinct behaviour. Initially, the front velocities increase in the hot layer and decrease in the cold layer, consistent with prior discussions. Following a brief acceleration, the front velocity appears to decrease in both the cold and hot layers. Moreover, a higher temperature amplitude leads to a greater loss in velocity. A re-initiation process is then observed with the velocity exceeding
$V_{\textit{CJ}}$
slightly, indicating that a steady state is reached after the transient phase. For scenarios with the largest temperature non-uniformity (
$\Delta T=105$
K), the amplitude and frequency of velocity oscillation are notably reduced due to the suppression of transverse waves, with oblique shocks associated with the temperature interface dominating the propagation. Once the detonation attains a relatively steady state, the average detonation speed exceeds
$V_{\textit{CJ}}$
to a greater extent as the temperature amplitude (
$\Delta T$
) increases. This is attributed to the slight change in the total energy of the gas with
$\Delta T$
. Notably, the detonation speed exhibits a nonlinear relationship with the initial temperature due to its dependency on total energy (or enthalpy), which differs for non-uniform gases at the same averaged temperature. Specifically, under constant initial pressure, the enthalpy of a non-uniform gas slightly increases with rising
$\Delta T$
compared to that of a uniform gas.
Figure 22 illustrates the detonation fronts at
$x=1.4$
m for four different
$\Delta T$
. In figure 22(a), the front structure exhibits symmetry around the midline of the channel, indicating minimal influence of the temperature interface on the detonation propagation. The transverse waves are observed to propagate easily through the temperature interfaces. However, in figures 22(b) and 22(c), the front loses its symmetry around the midline, suggesting that the influence of non-uniformity is involved. Additionally, in figure 22(d), the front displays division due to the two temperature interfaces comprising cold and hot layers fronts along with two oblique shocks. This observation suggests that the non-uniformity completely prevents the transverse waves from crossing the interface at this stage.
Detonation fronts near
$x=1.4$
m for cases with different temperature amplitudes: (a)
$\Delta T=35$
K, (b)
$\Delta T=55$
K, (c)
$\Delta T=75$
K and (d)
$\Delta T=105$
K.

In the present study, we used the reactive Euler equations with a simple two-step reaction model, ignoring some diffusion effects. To verify the approximations of the chemical reaction model, we conducted a new simulation with a detailed chemical reaction mechanism of a mixture
$2{\textrm{H}}_2+{\textrm{O}}_2+7{\textrm{Ar}}$
with initial pressure 6670 kPa and 295 K, which is close to the case used in the present study. The results in figure 23 show that the difference in the chemical reaction model does not generate a considerable variation in the smoked foils and detonation front with the presence of the non-uniformity of temperature.
Numerical smoked foils of cellular detonations in a mixture
$2{\textrm{H}}_2+{\textrm{O}}_2+7{\textrm{Ar}}$
with different non-uniformities: (a)
$\Delta T=55$
K and (b)
$\Delta T=105$
K.

Numerical smoked foils for the detonation propagation with a temperature non-uniformity (
$\Delta T=15$
K) of different wavelengths: (a)
$s = 0.01$
m, (b)
$s = 0.02$
m, (c)
$s = 0.04$
m and (d)
$s = 0.12$
m.

To investigate how the length scale of temperature non-uniformity affects detonation propagation, we conducted simulations to examine the relationship between the wavelength of non-uniformity, cell size and propagation velocity. Figure 24 displays the numerical smoked foils with varying wavelengths of non-uniformity, all maintaining the same temperature amplitude 15 K and a reaction pre-exponential factor
$k_R = 2.0\text{ s}^{-1}$
. Figures 25 and 26 illustrate the changes in cell size and velocity along the direction of propagation, respectively.
Cell sizes for the detonation propagation with a temperature non-uniformity (
$\Delta T=15$
K) of different wavelengths.

Velocity profiles for the detonation propagation with a temperature non-uniformity (
$\Delta T=15$
K) of different wavelengths: (a)
$s = 0.01$
m, (b)
$s = 0.02$
m, (c)
$s = 0.04$
m and (d)
$s = 0.12$
m.

In figure 24(a), a temperature non-uniform region with wavelength 0.01 m (
$0.25\lambda$
) at
$x = 0.06$
m causes fine cells to form at
$x = 0.1$
m, matching the wavelength. Due to the instability of the detonation wave, cell length increases at
$x = 0.05$
m and stabilises near
$x = 0.8$
m. In figure 24(b), increasing the wavelength to 0.02 m (
$0.5\lambda$
) delays the enlargement of cell length, which begins at
$x = 0.8$
m and stabilises at
$x = 1.0$
m, indicating that broader wavelengths suppress transverse wave development. In figure 24(c), when the wavelength reaches 0.04 m (
$1.0\lambda$
), the cell size synchronises with the inhomogeneity scale, stabilising at
$x = 0.1$
m. This highlights a strong stabilising effect of temperature discontinuities at wavelengths close to the CJ cell width. In figure 24(d), with wavelength 0.12 m (
$3\lambda$
), oversized cells form due to transverse waves, creating a ‘double cellular structure’ noted in Chen et al. (Reference Chen, Huang, Lei, Wang, Chen and Han2023). This ‘double cellular structure’ exhibits oscillatory characteristics below
$x = 0.8$
m, and remains unstable until the waves merge beyond
$x = 1.2$
m, after which cell length stabilises.
The velocity profiles demonstrate that the wavelength affects both the frequency and amplitude of oscillations in the detonation wave velocity during the initial propagation stage. As shown in figure 26, larger wavelengths lead to velocity oscillations characterised by lower frequencies and higher amplitudes. The reduced frequency is linked to greater spacing between transverse waves, while the higher amplitude indicates a stronger intensity of these waves. Although a larger wavelength produces fewer transverse waves, the present waves are more powerful. When the wavelength exceeds the cell width (as illustrated in figure 26), it suppresses the development of intrinsic detonation instability, causing irregular velocity oscillations to emerge later. In figure 26, the velocity signature of the ‘double cellular structure’ (highlighted within the red dashed boxes) reveals that large-scale fluctuations indicate oversized cells. In contrast, the small-scale oscillations inside the red box are attributable to the substructure cells, which emerge from the intrinsic instability of the mixture.
Next we compare the effects of different temperature amplitudes
$\Delta T$
on detonation wave evolution with fixed wavelength
$s = 0.02$
m. Temperature perturbations primarily influence reaction decoupling in cold zones, subsequently triggering secondary effects.
Numerical smoked foils for a ZND detonation propagation with temperature non-uniformity of different amplitudes: (a)
$\Delta T=15$
K, (b)
$\Delta T=55$
K and (c)
$\Delta T=105$
K.

In the numerical smoked foil, as shown in figure 27(a) (
$\Delta T = 15$
K), no reaction decoupling occurs in cold zones, and transverse waves develop freely. Cellular structures within
$x \lt 0.8$
m are induced by temperature discontinuities, with cell widths matching perturbation wavelengths. Beyond
$x \gt 0.8$
m, cells arise from detonation instabilities. Trajectories remain smooth, minimally affected by temperature discontinuities, and cell sizes approach those of unperturbed cases. In figure 27(b) with
$\Delta T = 55$
K, when
$x \lt 0.4$
m, reaction decoupling in cold zones suppresses transverse wave propagation, significantly increasing cell size. When
$0.4\lt x \lt0.8$
m, chemical reactions recover in cold zones. Transverse wave velocities increase, reducing cell size. When
$x \gt 0.8$
m, gas instabilities enlarge transverse wave spacing, increasing cell length. Temperature discontinuities obstruct transverse waves, distorting triple-point trajectories. The cell sizes are smaller than the case with
$\Delta T = 15$
K. In figure 27(c) with
$\Delta T = 105$
K, chemical reactions in cold zones are strongly suppressed. Oblique shock fronts and low-temperature gas bands at temperature discontinuities severely hinder transverse wave propagation. No typical cellular patterns form on the soot foil. Near
$x = 0.6$
m, transient transverse waves emerge due to gas instabilities but rapidly dissipate, demonstrating the strong obstruction effect of large temperature amplitude.
As shown in figure 28, the cell size decreases as the temperature amplitude increases. The cells vanish when the temperature amplitude becomes particularly large, and the cell size can be zero. However, at this point, the detonation wave does not fail. Instead, it exists in a discrete wavefront state, where the detonation wave propagates within the individual hot and cold regions in the form of a planar detonation wave. Based on the velocity profiles in figure 29, larger temperature amplitudes cause more significant initial velocity deficits in detonation waves. Wave velocities gradually recover only after transverse waves emerge. Notably, in figure 29(c) (
$x \gt 1.0$
m), the velocity curve exhibits high-frequency oscillations due to localised transverse wave disturbances in cold zones. These disturbances occur because transverse waves on the wavefront cannot penetrate temperature discontinuities.
Cell sizes for the ZND detonation propagation with temperature non-uniformity of different amplitudes.

Velocity profiles for the ZND detonation propagation with temperature non-uniformity of different amplitudes: (a)
$\Delta T=15$
K, (b)
$\Delta T=55$
K and (c)
$\Delta T=105$
K.

5.3. Propagation of cellular detonations in non-uniform mixtures
In the previous subsection, the analysis focused on the propagation of ZND detonations in non-uniform gases characterised by the presence of a temperature non-uniformity. This subsection shifts the focus towards examining the propagation of cellular detonations in similar non-uniform gases. A fully developed cellular detonation front is initially situated at
$x=0.1$
m upstream of the non-uniform area started at
$x=0.3$
m.
Numerical smoked foils of cellular detonation propagation with different non-uniformities: (a)
$\Delta T=35$
K, (b)
$\Delta T=55$
K, (c)
$\Delta T=75$
K and (d)
$\Delta T=105$
K.

Velocity profiles of cellular detonation propagation with different non-uniformities: (a)
$\Delta T= 35$
K, (b)
$\Delta T=55$
K, (c)
$\Delta T=75$
K and (d)
$\Delta T=105$
K.

Formation of the new cells of the cellular detonation for the case with
$\Delta T=55$
K.

In figure 30, numerical smoked foils of cellular detonations with four different non-uniformities are depicted. In the case with small
$\Delta T$
, the propagation is primarily influenced by the transverse waves, with the oblique shock formed by the temperature interface having a limited effect. However, for cases with large
$\Delta T$
, the oblique shock dominates the evolution of the front, with the high-frequency weak transverse waves causing only small fluctuations. Figure 31 illustrates the front velocities of the cellular detonations in non-uniform gases. A comparison with the front velocity of the ZND detonation depicted in figure 15 shows that the initial decay state disappears due to the presence of the cellular structures. However, in the case with
$\Delta T=105$
K, the initial decay state persists, which implies that the cellular structures delay the effect of non-uniformity compared to the ZND detonation.
The regular and symmetrical non-uniformity is expected to create a symmetrical distribution along the detonation front. If the detonation is highly stable and characterised by regular transverse waves and regular detonation cells, then the presence of non-uniformity should not alter the symmetry of the flow field. However, the front loses its regularity and symmetry when dealing with unstable detonation. Interestingly, the presence of regular, spaced non-uniformities tends to enhance the regularity of unstable detonations. In this study, the width of the channel corresponds to the cell width. As a result, the regularly spaced temperature interfaces disturb the detonation front, leading to a symmetrical but locally distorted cell for an extended detonation travel. The type of detonation used in this study is weakly unstable, meaning that intrinsic instability becomes significant after a considerable distance as the initial regularity fades. If a highly stable detonation were employed, then it should maintain the symmetry of the cell even with the presence of regular, spaced non-uniformities.
Numerical smoked foils of multi-headed cellular detonations with different non-uniformities: (a)
$\Delta T=35$
K, (b)
$\Delta T=55$
K, (c)
$\Delta T=75$
K and (d)
$\Delta T=105$
K.

Figure 32 shows the formation of new cells for cellular detonations in non-uniform gases. When the detonation reaches the non-uniform area at
$x = 0.3$
m, an oblique shock wave (A and B) is observed on the wavefront. The reactive Mach stems merge into the oblique shock, leading to the simultaneous appearance of a kink (C and D) on the Mach stem. The reflection on the wall enhances the kink and transforms it into a stronger triple-point (E). Similarly, identical to the above discussion, a new oblique shock is formed (F and G), with H, I and J representing the new triple-points. The trajectories of the original and newly generated triple-points collectively give rise to the smaller cells. As mentioned earlier, when a shock wave interacts with a temperature interface, both a transmitted shock and a reflected shock (or a rarefaction wave) can be generated simultaneously. In the case of cellular detonations, the transverse shock can also transform into a transmitted shock and a reflected shock (or a rarefaction wave) upon encountering the interface. As such, the interface acts as a disturbance source that significantly impacts the detonation front and its propagation mechanism.
Furthermore, figure 33 shows the numerical smoked foils of the cellular detonation as the number of cells in the channel increases. The corresponding velocity profiles are plotted in figure 34. The findings reveal that the cell pattern remains relatively unchanged with only slight distortion with a neglectable weak non-uniformity, as shown in figure 33(a). However, significant changes in the cell pattern are observed in figure 33(b,c) with an increased non-uniformity. One change is the generation of fine cells, and the other is the high cell shape distortion, characterised by the deflection of the triple-point trajectories across the temperature interface. Following an extended transition process, a final steady state is reached at approximately
$x=1.2$
m, featuring irregular cellular patterns and small subcells, which suggests that moderate non-uniformity may promote cellular instability. In the case with large non-uniformity (figure 33
d), the propagation of transverse waves is dramatically suppressed, and the detonation front appears isolated by the temperature interface. This results in dominating the oblique shock associated with the temperature interface. These observations reveal the interplay between the intrinsic instability of the detonation and the non-uniformity of flow, also highlighting the competition between the two factors.
Velocity profiles of multi-headed cellular detonations with different non-uniformities: (a)
$\Delta T=35$
K, (b)
$\Delta T=55$
K, (c)
$\Delta T=75$
K and (d)
$\Delta T=105$
K.

Figure 35 shows the structures of the detonation front for various non-uniformities near
$x=1.4$
m. The entire detonation front maintains regularity when
$\Delta T=35$
K, as illustrated in figure 35(a). Notably, completed and extended transverse waves are observable behind the front, and the temperature interface has a negligible effect on the detonation front, merely causing a slight change in the induction length. The flat averaged velocity profiles depicted in figure 34(a) further confirm the regularity of the cellular pattern in the non-uniform area. Subsequently, in figure 35(b,c), with increasing non-uniformity of the flow field (
$\Delta T=55$
or 75 K), the influence of non-uniformity comes into play, with the emergence of smaller cells and trajectories twisting at the interface. Additionally, small-scale unreacted gas pockets are observed to develop behind the front, stemming from the oblique shocks connected to the interface. The crossing of transverse waves over the interface engulfs the oblique shocks, leading to the generation of unreacted gas pockets. The averaged velocity profiles shown in figure 34(b,c) exhibit low-frequency fluctuations, reaching amplitudes up to 10 % around
$V_{\textit{CJ}}$
. Furthermore, in figure 35(d), the separation of the detonation front by the temperature interface results in the potent suppression of intrinsic instability due to the significant non-uniformity, leading to the disappearance of transverse waves. Consequently, a large mass of unreacted gas pockets forms behind the wavefront, and these are subsequently consumed slowly in the field of hot products, with no feedback on the front. As a result, the averaged propagation velocity of the detonation decreases by 10 % compared to the CJ speed. The pressure distribution along a vertical straight line near the detonation front is also plotted in figure 35. The results reveal that the significant temperature discontinuity enhances the distinctness and regularity of the detonation front by suppressing the development of transverse waves.
Structures and pressure distributions along the detonation fronts for four different non-uniformities of temperature near
$x=1.4$
m: (a)
$\Delta T=35$
K, (b)
$\Delta T=55$
K, (c)
$\Delta T=75$
K and (d)
$\Delta T=105$
K.

6. Conclusions
The present study aims to investigate how transverse temperature non-uniformity affects the propagation of detonation waves. Specifically, the research focuses on observing the competition between the non-uniformity and the transverse wave, and its effect on changes in the local structures of the detonation front caused by regular and periodic temperature variations. The study starts by analysing the transmission of shock waves in a one-dimensional space. It utilises the extended GSD model to theoretically predict the propagation of shock waves in non-uniform mixtures. Following this, the research employs the Euler equations and chemical reaction models to analyse the evolution of inert shock waves, ZND detonation waves, and cellular detonation waves sequentially.
Introducing a temperature interface in the non-uniform gas makes the flow field and wavefront discrete, forming an oblique shock that connects the convex wavefront in the hot layer with a weaker wavefront in the cold layer. Within the numerical smoked foil, the trajectories of the triple-points attached to the oblique shocks lead to the broadening of the hot layer and the narrowing of the cold layers. When the strength of the oblique shock is relatively weak compared to that of the transverse wave, the transverse wave is less likely to be influenced by the oblique shock. Conversely, the transverse waves can significantly affect the oblique shock, which may effectively ‘swallow’ the oblique shock and modify the local structure of the detonation front, particularly as shown in the scenario with the smallest temperature amplitude. In cases where the strength of the oblique shock exceeds that of the transverse wave, the oblique shock exhibits considerable resistance to disturbance from the sweeping transverse waves. In contrast, the presence of a strong oblique shock effectively obstructs the transverse waves, as evidenced in the scenario with the largest temperature amplitude. The strength of the triple-point trajectory also varies depending on the degree of non-uniformities. For cases with small non-uniformities, transverse waves dominate the propagation, while in cases with large non-uniformities, we see high-frequency weak transverse waves causing only minor amplitude oscillation. Furthermore, the findings suggest that the cellular structures delay the impact of non-uniformity compared to ZND detonation.
Temperature amplitude and non-uniformity wavelengths are two key parameters that control detonation propagation. The temperature amplitude influences the chemical reactions in the cold zones, which tends to inhibit the propagation of transverse waves. In contrast, the wavelengths primarily affect the spacing and strength of these transverse waves, especially during the early stages of propagation. In a ZND detonation, the presence of transverse temperature non-uniformities distorts the detonation front, creating transverse waves that are comparable to the wavelength, and reducing the local propagation velocity. However, after an initial transit period, the detonation can recover its CJ velocity as intrinsic instabilities come into play. Consequently, the temperature amplitude has minimal impact on the steady propagation velocity. This is likely due to the global energy conservation involving periodically spaced hot and cold zones with equal amplitude values. In the steady state, the cell sizes are determined by the temperature amplitude; larger temperature amplitudes result in smaller cell sizes. When the temperature amplitude is sufficiently high (approximately 105 K), the detonation cells effectively disappear, and the cell size approaches zero. It is important to note that even with such a high-temperature amplitude, the detonation does not fail despite the significant blockage of transverse waves.
Understanding how detonation propagates in non-uniform gases is essential for various engineering applications. In pulse detonation engines, the irregularities in detonation tubes, caused by practical limitations, play a significant role. Our research highlights that these inconsistencies can lead to the formation of pockets of unreacted gas, which need to be considered during the design process. Additionally, variations in detonation speed can affect engine thrust, underscoring the importance of accounting for these factors in design considerations. In the context of gas pipeline design, our study recommends strategies such as rapidly cooling pipe walls to effectively mitigate the impact of detonation waves. Furthermore, our investigation reveals alterations in the front structure when shock and detonation waves traverse a non-uniform mixture, contributing valuable insights to theoretical research.
Funding
This work is supported by National Natural Science Foundation of China (nos 12072036 and 12221002).
Declaration of interests
The authors report no conflict of interest.









































































































































