1 Introduction

Turbulent flows are usually characterised by a large range of length and time scales. In order to obtain accurate results, a direct numerical simulation (DNS) of such flows must resolve all these range of scales, especially the finest scales with accuracy in both amplitude and phase. Hence, the dissipation and dispersion properties of a numerical scheme has direct relevance to its scale resolving abilities. Due to their superior spectral properties, spectral methods and compact schemes are readily used. However, these methods are mainly limited to flows without discontinuities in the solution (such as shockwaves) and are found to cause non-physical oscillations when applied to flows with discontinuities. On the other hand, the use of Essentially Non Oscillatory (ENO) and Weighted Essentially Non Oscillatory (WENO) type schemes [14] are found to be robust for flows with discontinuities. However, these schemes in their original form are found to be too dissipative for turbulent flows. In addition, their dispersion properties may not be optimal. Research efforts documented in the literature have concentrated on the development of numerical schemes with high resolution and good shock capturing capabilities.

In order to develop and improve such schemes, it is important to have a framework to analyse and characterise a non-linear scheme. For this purpose, the Approximate Dispersion Relation (ADR) method was introduced in [17]. Subsequently, Li [12] introduced a simplified form of non-linear spectral analysis method based on the ADR method. The key idea of this method is to consider the semi-discretized one dimensional advection equation and to use only the fundamental modes obtained from a Fourier transform of the semi-discretized equation to deduce the modified wavenumber. A further observation concerning such an analysis is that most of the analysis technique are usually based on the semi-discretized dispersion relation of the one dimensional advection equation. However, when one considers multi dimensional problems, schemes that are analysed and optimized in one dimensional wavespace may not have isotropic behaviour. Therefore, the main advantage of a multi dimensional wavenumber analysis and optimization technique is the ability to quantify and reduce the amount of isotropic error. In this work, the method outlined in [12] is used and then extended to two dimensional wavenumber analysis.

Recent development of low dissipation shock capturing schemes can be found in [6], where Fu has developed a modified version of the WENO scheme (known as the TENO scheme) based on the use of a cut-off parameter which completely removes a sub schemes in its flux reconstruction when the normalized smoothness indicator exceeds a certain value. As compared to the WENO scheme, the TENO scheme is able to achieve better resolution. A natural choice to achieve better resolution properties is to combine the TENO/WENO/ENO scheme with another scheme which possesses spectral-like resolution to form a hybrid scheme. The development of such hybrid schemes can be found in [1, 3, 16, 20]. Most of these work concerns the hybridization of the WENO scheme with either a compact, central or spectral scheme. One of the key issues with hybrid scheme concerns the smooth transition from one scheme to another as the flow field changes from a smooth to a region where the solution is discontinuous. Ren [18] improved the hybrid compact-WENO scheme of Pirozzoli [16] by designing a continuous weighting function to avoid the abrupt transition from the compact to WENO scheme. A key issue concerning hybrid scheme relates to the proper design of a hybridization strategy which ensures the robustness of the numerical solver in one dimensional and multi dimensional problems.

Other than the hybridization of schemes, another approach which can improve the spectral properties of a shock capturing schemes is to use optimization technique. Optimization technique for explicit and implicit finite difference schemes can be found in [7, 11, 19, 21, 22]. Most of these technique are usually based on the pioneering work of Tam and Webb who devised the dispersion-relation-preserving (DRP) schemes for computational acoustics. Within the context of a non-linear shock capturing schemes, the methods used in [21, 26] are based on optimizing the weighting of each candidate stencils. In [7], the underlying linear sub scheme of the Targeted Essentially Non Oscillatory (TENO) scheme is optimized based on re-expressing the linear scheme into a separate set of finite difference coefficients that govern the dispersion and dissipation property of the numerical scheme separately. The dispersion properties are optimized by solving a set of linear algebraic equation based on the condition that the integrated error across the wavenumber range is minimized. No free parameter is involved. In this article, the method used in [21] is further explored in connection with the Targeted Essentially Non Oscillatory (TENO) scheme [6]. In [21], a class of finite difference scheme with minimized dissipation and controllable dispersion (MDCD) was developed. The key concept of the MDCD scheme is that the coefficients of the finite difference scheme can be expressed in terms of two free independent parameters which allow for separate optimization of its dispersion and dissipation properties. The concept of the MDCD scheme is then coupled with the TENO scheme to allow for the weighting function of each candidate stencil to be expressed in term of two free independent parameters. This leads to the development of the MDCD-TENO scheme. This approach differs from the approach used in [7], where the coefficients of the underlying linear sub scheme is being optimized instead. Since the non-linear mechanism of the shock capturing scheme is needed only in the vicinity of a discontinuity and that it can drastically worsen the spectral properties of the scheme in smooth flow, a hybrid scheme which blends the linear MDCD scheme with the non-linear MDCD-TENO scheme is proposed. A robust blending method based on the inherent normalized smoothness indicator of the TENO scheme is proposed. The hybrid MDCD-TENO scheme is then spectrally optimized in two dimensional wavenumber space for its dispersion property.

Concerning the desired spectral properties of a finite difference schemes, it is generally accepted that the dispersion error should be minimized based on some chosen criteria such as the dispersion relation of the one dimensional advection equation. As for the dissipation of the numerical scheme, there exists no established guidelines for how the dissipation should be optimized. In practice, a scheme with too much dissipation makes it unsuitable for DNS. On the other hand, the use of non dissipative central difference scheme directly on the Navier Stokes equation can lead to numerical instabilities associated with the aliasing error arising from the non-linear advection terms [17]. As pointed out by Pirozzoli [17], a small amount of dissipation is useful since there exists significant dispersion error in the high wavenumber range and that it would be desirable to damp out the waves propagating at an incorrect speed. The main dilemma concerning the optimization of the dissipation is that the optimal dissipation is problem dependent. In this work, the developed approach allow the user to adjust the numerical dissipation through a free parameter. In the work of Fu [7], the choice of the leading finite difference coefficient that govern the dissipation property has a direct effect on numerical dissipation. However, the choice of the stencil length would impose additional constraint on its value, such that it must fall within specified range that satisfy the monotonicity condition to ensure that anti dissipation behaviour does not appear at intermediate wavenumber. A final note concerning the optimal dissipation can be found in [8], where the authors have proposed an approximate dispersion-dissipation relation for finite-difference schemes for estimating the dissipation required to damp spurious high-wavenumber waves based on a relation between the group velocity and the dissipation rate.

The paper is organized in the following manner. Firstly, a review of the existing WENO and TENO shock capturing schemes are presented. This is followed by a review of one dimensional non-linear spectral analysis method [12] and the Minimum Dispersion and Controllable Dissipation (MDCD) scheme [21]. Thereafter, the one dimensional non-linear spectral analysis method is extended to two dimensional wavenumber space. A hybrid scheme was then developed based on the combination of the Minimum Dispersion and Controllable Dissipation (MDCD) scheme and the Targeted Essentially Non Oscillatory (TENO) scheme. The two dimensional wavenumber analysis framework was then used to optimize the dispersion property of the hybrid scheme in two dimensional wavenumber space. Finally, the spectrally optimized hybrid schemes are compared against existing baseline schemes through a series of benchmark test cases.

2 Key Concepts of WENO and TENO Schemes

In order to describe the WENO scheme, a general hyperbolic conservation law in 1D is considered. The one dimensional conservation law can be described as follows:

$$\begin{aligned} \frac{\partial u}{\partial t} + \frac{\partial f(u)}{\partial x} = 0, \end{aligned}$$
(1)

u(xt) is the conservative variable and f(u) is the flux function. By considering a uniformly discretized space, Eq. (1) can be written in a semi-discrete form using a conservative finite difference scheme:

$$\begin{aligned} \frac{\partial u_{i}}{\partial t} = - \frac{{\hat{f}}_{i+1/2} - {\hat{f}}_{i-1/2} }{\varDelta x}. \end{aligned}$$
(2)

In order to introduce the correct upwinding, the numerical flux at the cell interface is generally split into two parts as follow; \({\hat{f}}_{i+1/2} = {\hat{f}}_{i+1/2}^{+} + {\hat{f}}_{i+1/2}^{-} \). In this paper, the flux vector splitting approach of Lax-Friedreich is used [9]. For the sake of brevity, only the positive part of the split numerical flux is described below. The stencils of the negative split numerical flux can be obtained through symmetry at the cell interface, \(x_{i+1/2}\). The flux at the cell interface is interpolated with discrete \(f_{i}\) of the surrounding nodal values using a convex combination of r candidate-stencil fluxes. Mathematically, the numerical flux, \({\hat{f}}_{i+1/2}\) can be expressed as:

$$\begin{aligned} {\hat{f}}_{i+1/2} = \sum _{k = 0}^{r-1} \omega _{k} {\hat{f}}_{k, i+1/2}. \end{aligned}$$
(3)

The non-linear weights in Eq. (3) are defined as:

$$\begin{aligned} \omega _{k} = \frac{\alpha _{k}}{ \sum _{i} \alpha _{i}}, \quad \alpha _{k} = \frac{c_{k}}{(\epsilon + \beta _{k})^{p}}. \end{aligned}$$
(4)

\(\epsilon \) represents a small number to avoid division by zero. For illustration purposes, the fifth order WENO scheme of Jiang and Shu [9] will be presented. r is equal to 3 for the WENO5-JS scheme. \(\epsilon \) is set to 1.0e-6 and p is set to 2.0. The linear weights are given by \(c_{0} = 0.1\), \(c_{1} = 0.6\), \(c_{2} = 0.3\). The sub schemes to be used in Eq. (3) are given as:

$$\begin{aligned} \begin{aligned} {\hat{f}}_{0, i+1/2}&= \frac{1}{3}f_{i-2} - \frac{7}{6}f_{i-1} + \frac{11}{6}f_{i},\\ {\hat{f}}_{1, i+1/2}&= -\frac{1}{6}f_{i-1} + \frac{5}{6}f_{i} + \frac{1}{3}f_{i+1}, \\ {\hat{f}}_{2, i+1/2}&= \frac{1}{3}f_{i} + \frac{5}{6}f_{i+1} - \frac{1}{6}f_{i+2}. \end{aligned} \end{aligned}$$
(5)

The smoothness indicator determines the weighting contribution of each sub schemes towards the flux reconstruction at the cell interface. The smoothness indicators, \(\beta _{i}\) of the WENO5-JS scheme are given by:

$$\begin{aligned} \begin{aligned} \beta _{0}&= \frac{13}{12}(f_{i-2} -2f_{i-1} + f_{i})^{2} + \frac{1}{4}(f_{i-2} -4f_{i-1} + 3f_{i})^{2}, \\ \beta _{1}&= \frac{13}{12}(f_{i-1} -2f_{i} + f_{i+1})^{2} + \frac{1}{4}(f_{i-1} -f_{i+1})^{2}, \\ \beta _{2}&= \frac{13}{12}(f_{i} -2f_{i+1} + f_{i+2})^{2} + \frac{1}{4}(3f_{i} -4f_{i+1} + f_{i+2})^{2}. \end{aligned} \end{aligned}$$
(6)

Details of the 7th order WENO-JS scheme can be found in [9, 14]. Following this, the TENO5 and TENO6 scheme described in [4, 5] will be introduced. The key differences between the TENO and WENO type schemes lies in the use of a cut off parameter to remove a linear sub scheme if it crosses a discontinuity. The other major difference between the WENO and TENO scheme lies in the sub stencils used in the flux reconstruction. While the sub schemes used within the WENO scheme has the same stencil width, the sub stencils within the TENO schemes are constructed with incremental width. For example, the 7th order WENO is compose of four 4 point stencils while the 7th order TENO is compose of three 3 point stencils and two 4 point stencils. In the case of having two closely located discontinuity at both end of the main scheme’s stencil width, the TENO scheme is able to guarantee the ENO property since there exist one centrally located sub scheme which can avoid crossing with discontinuities located at either end of the main scheme stencil width. As for the WENO scheme, the sub stencils are located chronologically from the most upwind biased location to the most downwind biased location. This ensures that all WENO sub schemes crosses with the discontinuities located at either end of the main scheme stencil width. In this paper, only the TENO5 scheme is presented for completeness. Further details of the TENO6 scheme can be found in [5]. The numerical flux of the TENO scheme is expressed similarly as Eq. (3), with the exception of the weighting definition. The weighting of the TENO scheme is defined as:

$$\begin{aligned} \omega _{k} = \frac{\alpha _{k}}{ \sum _{i} \alpha _{i}}, \quad \alpha _{k} = c_{k}\delta _{k}, \end{aligned}$$
(7)

where \(\delta _{k}\) represents a sharp cut off function and is defined as:

$$\begin{aligned} \delta _{k}={\left\{ \begin{array}{ll} 0, &{} \text {if }\chi _{k}<C_{T}.\\ 1, &{} \text {otherwise}. \end{array}\right. } \end{aligned}$$
(8)

\(C_{T}\) is taken to be \(10^{-6}\) and \(10^{-7}\) for the TENO5 and TENO6 schemes respectively in this paper. The normalised smoothness indicator, \(\chi _{k}\) is defined as:

$$\begin{aligned} \chi _{k} = \frac{\gamma _{k}}{ \sum _{k} \gamma _{k}}, \end{aligned}$$
(9)

where

$$\begin{aligned} \gamma _{k} = \left( 1.0 + \frac{\tau _{k}}{\beta _{k} + \epsilon } \right) ^{6}. \end{aligned}$$
(10)

\(\beta _{k}\) is given as:

$$\begin{aligned} \begin{aligned} \beta _{0}&= \frac{1}{4}(f_{i-1} -f_{i+1})^{2} + \frac{13}{12}(f_{i-1} -2f_{i} + f_{i+1})^{2}, \\ \beta _{1}&= \frac{1}{4}(f_{i+2} -4f_{i+1} + 3f_{i})^{2} + \frac{13}{12}(f_{i+2} -2f_{i+1} + f_{i})^{2}, \\ \beta _{2}&= \frac{1}{4}(3f_{i} -4f_{i-1} + f_{i-2})^{2} + \frac{13}{12}(f_{i} -2f_{i-1} + f_{i-2})^{2}. \end{aligned} \end{aligned}$$
(11)

For the TENO5 scheme, the sixth order \(\tau _{5}\) is given as:

$$\begin{aligned} \begin{aligned} \tau _{5} =&\frac{1}{5040}[5788f_{i-2}^{2} +f_{i-2}(-45681f_{i-1} + 64843f_{i} - 38947f_{i+1} + 8209f_{i+2})\\&+ f_{i-1}(93483f_{i-1} -275836f_{i} + 173498f_{i+1} - 38947f_{i+2})\\&+ f_{i}(210993f_{i} -275836f_{i+1} + 64843f_{i+2} )\\&+ f_{i+1}(93483f_{i+1} - 45681f_{i+2}) + 5788f_{i+2}^{2} ]. \end{aligned} \end{aligned}$$
(12)

The linear sub schemes of the TENO5 scheme are given:

$$\begin{aligned} \begin{aligned} {\hat{f}}_{0, i+1/2}&= -\frac{1}{6}f_{i-1} + \frac{5}{6}f_{i} + \frac{2}{6}f_{i+1},\\ {\hat{f}}_{1, i+1/2}&= \frac{2}{6}f_{i} + \frac{5}{6}f_{i+1} - \frac{1}{6}f_{i+2}, \\ {\hat{f}}_{2, i+1/2}&= \frac{2}{6}f_{i-2} - \frac{7}{6}f_{i-1} + \frac{11}{6}f_{i}. \end{aligned} \end{aligned}$$
(13)

For the TENO5 scheme, \(c_{0,1,2} = [0.6, \ 0.3, \ 0.1]\). For the TENO6 scheme, \(c_{0,1,2,3} = [0.45, \ 0.3, \ 0.05, \ 0.2]\). The key advantage of the TENO scheme lies in its much reduced numerical dissipation at high reduced wavenumber as compared to the WENO scheme. It offers marginal improvement in terms of its dispersion property as compared to the WENO scheme of the same stencil width. This is primarily because of the cut off parameter which removes the background linear scheme if the smoothness indicator is below a specified value.

3 1D Non-linear Spectral Analysis and MDCD Scheme

In this section, the WENO and TENO schemes introduced earlier will be analysed using non-linear spectral analysis method. In addition, the concept of the Minimum Dispersion and Controllable Dispersion (MDCD) scheme will be introduced. Before presenting an analysis of these schemes, a short review of the non-linear spectral analysis method is presented.

3.1 1D Non-linear Spectral Analysis

Unlike a linear scheme, the modified wavenumber of a non-linear scheme cannot be easily derived analytically and therefore a numerical approach was introduced to deduce the spectral properties of the numerical scheme. One of the first non-linear spectral analysis approach was the ADR method introduced in [17]. The essential idea of ADR is based on the ratio of the spectra solution at time, \(\tau \) of the primary Fourier mode with respect to its initial complex amplitude of Fourier mode. For a single mode initial condition, the solution spectra at time \(\tau \) obtained through the use of a non-linear shock capturing scheme contains multiple Fourier modes instead of a single mode as in the case of a linear scheme. Furthermore, the different Fourier modes may interact at later time stages which affect the evolution of each Fourier mode. The framework of the ADR method may be further simplified by neglecting the temporal discretization effect in the case of a very small time step and performing a Fourier analysis of the semi-discretized system instead [12]. A numerical flux, \(F_{j}\) at node j can be written in terms of its spatial derivative as:

$$\begin{aligned} F(x_{j}) = \varDelta x f^{'}(x_{j}) = F(f_{j-p},.....,f_{j+q}). \end{aligned}$$
(14)

In the context of a non-linear scheme, the flux function must contain the harmonic modes in addition to the fundamental mode, \(e^{ik_{0}x_{j}}\), that is

$$\begin{aligned} F(x_{j}) = {\hat{F}}_{k_{0}}e^{ik_{0}x_{j}} + \sum _{k=k_{1}}^{k_{max}} {\hat{F}}_{k}e^{ikx_{j}}, \end{aligned}$$
(15)

where \({\hat{F}}_{k_{0,1,2...}}\) is the complex amplitude of the Fourier modes. This is in contrast to linear schemes, for which the flux function contains only the fundamental mode. Similar to the ADR approach, a quasi linear analysis accounts for only the leading order Fourier modes of the non-linear effects embodied within a shock capturing scheme. Therefore, only the primary mode is considered for further analysis. The complex amplitude of the leading order Fourier mode, \({\hat{F}}_{k_{0}}\) can thus be obtained through a Discrete Fourier Transform (DFT),

$$\begin{aligned} {\hat{F}}_{k_{0}} = \frac{1}{N}\sum _{j=0}^{N-1} F_{j}e^{-ik_{0}x_{j}}. \end{aligned}$$
(16)

\(F_{j}\) is the flux obtained numerically through the non-linear differentiation given in Eq. (14). The real part of the modified wavenumber relates to the dispersion property and the imaginary part relates to the dissipation property. Using an initial condition, \(f_{j} = e^{ik_{0}x_{j}}\), which is a sinusoidal function with wavenumber \(k_{0}\) and only the leading order Fourier mode in Eq. (15), the numerical flux can be expressed as:

$$\begin{aligned} F(x_{j}) = {\hat{F}}_{k_{0}}e^{ik_{0}x_{j}} = \varDelta x f^{'}_{j} = ik_{0}^{*}\varDelta x e^{ik_{0}x_{j}}. \end{aligned}$$
(17)

Using Eq. (17), the modified wavenumber of the non-linear scheme can thus be expressed in terms of the leading order complex Fourier amplitude. The real and imaginary part of the modified wavenumber correponds to the dispersion and dissipation property of the numerical scheme.

$$\begin{aligned} \Re (k_{0}^{*}\varDelta x) = \Re (-i{\hat{F}}_{k_{0}}), \quad \Im (k_{0}^{*}\varDelta x) = \Im (-i{\hat{F}}_{k_{0}}). \end{aligned}$$
(18)

The leading order complex Fourier mode is obtained through Eq.  (16). In order to obtain the dispersion or dissipation curve along the entire wavenumber spectrum, the wavenumber of the initial condition is varied for the entire spectrum so as to produce a list of fundamental complex Fourier modes.

3.2 MDCD Scheme

The concept of the Minimum Dispersion and Controllable Dissipation (MDCD) scheme can be traced back to [21] where the authors have introduced a novel approach for one dimensional optimization of linear finite difference schemes based on two free parameter. It was shown that the dispersion and dissipation properties of the linear scheme can be separately controlled through two independent parameters; \(\gamma _{disp}\) and \(\gamma _{diss}\). As compared to existing optimization technique, the main advantage of this technique lies in the modification of the dispersion and dissipation property separately without affecting one another. The general form of the MDCD schemes is given as [21]:

$$\begin{aligned} f^{'} (x) = f^{'}_{C} + \alpha f^{'}_{L} + \beta f^{'}_{R}, \end{aligned}$$
(19)

where

$$\begin{aligned} \begin{aligned} f^{'}_{C}&= \frac{1}{\varDelta x} \sum _{m =-r+1}^{r-1} a_{m}f_{m}, \\ f^{'}_{L}&= \frac{1}{\varDelta x} \sum _{m =-r}^{r-1} (-1)^{r-m-1} \ \left( {\begin{array}{c}2r-1\\ r-m-1\end{array}}\right) f_{m}, \\ f^{'}_{R}&= \frac{1}{\varDelta x} \sum _{m =-r+1}^{r-1} (-1)^{r-m} \ \left( {\begin{array}{c}2r-1\\ r-m\end{array}}\right) f_{m}. \end{aligned} \end{aligned}$$

The binomial coefficient \(\left( {\begin{array}{c}n\\ k\end{array}}\right) \) is defined by \(\left( {\begin{array}{c}n\\ k\end{array}}\right) = \frac{n!}{k!(n-k)!}\). \(\gamma _{disp} = \alpha + \beta \) and \(\gamma _{disp} = \alpha - \beta \) are two independent parameters which can be used to separately optimize the dispersion and dissipation property of the scheme separately. It was shown mathematically that the dispersion and dissipation property of such a scheme can be expressed as [21]:

(20)

which proves that \(\gamma _{disp}\) and \(\gamma _{diss}\) are two independent parameter. In order to facilitate the construction of the MDCD scheme and the MDCD-TENO scheme which will be introduced in later sections, the spectral properties of the MDCD scheme will be studied in detail for the case of \(r=3\). When \(r=3\), the expanded form of the fourth order MDCD scheme is given as [21]:

(21)

The real and imaginary part of the modified wavenumber of Eq. (21) can be written as:

$$\begin{aligned} \begin{aligned} \Re (k^{*}\varDelta x)&= \Bigg ( \frac{4}{3} + 5\gamma _{disp} \Bigg ) \sin k \varDelta x + \Bigg ( -\frac{1}{6} - 4\gamma _{disp} \Bigg ) \sin 2k \varDelta x + \gamma _{disp} \sin 3k \varDelta x, \\ \Im (k^{*}\varDelta x)&= \gamma _{diss} \Bigg ( 4(\cos k \varDelta x)^{3} - 12 (\cos k \varDelta x)^{2} + 12 (\cos k \varDelta x) -4 \Bigg ). \end{aligned} \end{aligned}$$
(22)

3.3 Spectral Properties of WENO, TENO and MDCD Schemes

A comparison of the dispersion and dissipation property of the baseline WENO, TENO and MDCD schemes are presented in Fig. 1. For the purpose of comparison sake, various values of \(\gamma _{disp}\) and \(\gamma _{diss}\) are considered for the MDCD scheme. It can be seen that the TENO schemes have slightly better dispersion and lower dissipation as compared to WENO schemes having the same stencil width. For the fourth order MDCD scheme, it can be seen that a value of \(\gamma _{disp} = 0.0545\) gives the optimal dispersion property while a value of \(\gamma _{disp} = 0.035\) gives a less than optimal dispersion property. The dissipation of the MDCD scheme is negative as long as \(\gamma _{diss} > 0\). For a value of \(\gamma _{diss} = 0\), the MDCD scheme will have no numerical dissipation. With the use of increasing positive value of \(\gamma _{diss}\), the amount of numerical dissipation in the high wavenumber region increases.

Fig. 1
figure 1

Comparison of (a) dispersion, \(\Re (k_{x}^{*} \varDelta x)\) and (b) dissipation, \(\Im (k_{x}^{*} \varDelta x)\) property of different schemes. The label \(WENOX-JS\) refers to the \(X^{th}\) order WENO scheme proposed by Jiang and Shu [9]

4 2D Semi Discrete Non-linear Spectral Analysis

In this section, one dimensional non-linear spectral analysis method is extended to two dimensional wavenumber analysis. In order to assess the accuracy of the numerical schemes in two dimensional space, the semi-discretized numerical dispersion relation of the two dimensional Linearised Euler equations (LEE) belonging to one of the acoustic modes are used [24, 25]. \({\overline{u}}\), \({\overline{v}}\) and a are taken to be 1. Without considering the acoustic term, the advection terms correspond to an entropy mode. With the consideration of the acoustic term, the coupling of the spectral properties of the numerical scheme in both spatial directions is taken into account [24, 25]. This acoustic mode (largest eigenvalue of the LEE) is also the critical mode having the most dispersion and dissipation error at lower wavenumber when a coupled spatial temporal analysis is considered [23]. The dispersion relation is expressed as:

$$\begin{aligned} \omega ^{*}_{semi} = \underbrace{{\overline{u}}k^{*}_{x} + {\overline{v}}k^{*}_{y}}_{advection} + \underbrace{a\sqrt{(k^{*}_{x})^{2} + (k^{*}_{y})^{2} }}_{acoustic}. \end{aligned}$$
(23)

Considering a uniform grid spacing in both spatial directions; \(\varDelta _{x}\) = \(\varDelta _{y}\) = \(\varDelta \), the dispersion relation of the two dimensional Linearised Euler equations (LEE) can be expressed as:

$$\begin{aligned} \omega ^{*}_{semi} \varDelta = {\overline{u}}k^{*}_{x} \varDelta + {\overline{v}}k^{*}_{y} \varDelta + a\sqrt{(k^{*}_{x} \varDelta )^{2} + (k^{*}_{y} \varDelta )^{2} }. \end{aligned}$$
(24)

Using the semi-discretized dispersion relation of the two dimensional advection and linearized Euler equations, the non-linear schemes can be analysed in multi-dimensional space. The phase and amplitude error of the numerical scheme can be quantified using the real and imaginary component of the difference between the semi-discretized and physical dispersion relation, (\(\omega ^{*} \varDelta - \omega \varDelta \)). The dispersion and dissipation property of the WENO5-JS, TENO5, TENO6 scheme is plotted in Figs. 23 and 4.

Fig. 2
figure 2

Measure of phase (a) and amplitude (b) error of WENO5-JS scheme in two dimensional wavenumber space based on the dispersion relation of the LEE

Fig. 3
figure 3

Measure of phase (a) and amplitude (b) error of TENO5 scheme in two dimensional wavenumber space based on the dispersion relation of the LEE

Fig. 4
figure 4

Measure of phase (a) and amplitude (b) error of TENO6 scheme in two dimensional wavenumber space based on the dispersion relation of the LEE

In Figs. 23 and 4, the contour plots represent difference in values from the physical dispersion value. The larger the deviation, the larger the dispersion or dissipation error. \(\Re (\omega ^{*} \varDelta - \omega \varDelta )\) represents the phase error while \(\Im (\omega ^{*} \varDelta - \omega \varDelta )\) represents the amplitude error of the spatial discretization scheme. At low reduced wavenumber, the values are very close to zero since there is little dispersive or dissipation error. The phase and amplitude error of the WENO5-JS, TENO5 and TENO6 scheme based on the dispersion relation of the 2D advection equation are plotted in Figs. 56 and 7).

Fig. 5
figure 5

Measure of phase (a) and amplitude (b) error of WENO5-JS scheme in two dimensional wavenumber space based on the dispersion relation of the advection equation

Fig. 6
figure 6

Measure of phase (a) and amplitude (b) error of TENO5 scheme in two dimensional wavenumber space based on the dispersion relation of the advection equation

Fig. 7
figure 7

Measure of phase (a) and amplitude (b) error of TENO6 scheme in two dimensional wavenumber space based on the dispersion relation of the advection equation

The key difference between the use of the advection and linearized Euler equations lies in the magnitude of the error especially at the intermediate and high reduced wavenumber range. It can be seen that the errors are much larger in the case of the two dimensional linearized Euler equations at the intermediate and high reduced wavenumber range. At the low reduced wavenumber range, the errors are close to zero for either the advection and linearized Euler equations.

5 Two Dimensional Optimization of Non-linear Schemes

In this part, we present a framework for which the non-linear scheme can be optimized in two dimensional wavenumber space based on the dispersion relation of the two dimensional advection equations. The basic idea is to optimize the weighting contribution of the linear part of the nonlinear scheme based on the dispersion relation of the two dimensional advection equation equations. In particular, the TENO scheme is split into a linear and nonlinear part from which the weighting associated with the linear part of the TENO scheme can be expressed in terms of the two free parameters of the MDCD schemes. Expressing the linear scheme in terms of the weighting parameters allows for the specific tailoring of the dispersion and dissipation property of the numerical scheme. The only drawback of such an approach is that the schemes are optimized for their dissipation and dispersion properties at the expense of their formal order of accuracy. Different from [21], the cost function used in this optimization is the minimization of the integrated sum of dispersive error, \(E_{disp}\) in two-dimensional wavenumber space. Since the dispersion and dissipation property of the numerical scheme can be separately optimized, the cost function only considers the dispersion error. The dispersion error for every reduced wavenumber combination is multiplied by an exponential term, \(e^{ \beta (2 \pi - k_{x} \varDelta x - k_{y} \varDelta y) }\) so as to ensure a larger weighting for error closer to the lower wavenumber range. \(\beta \) is a parameter which controls the magnitude of the weighting.

$$\begin{aligned} E_{disp} = \frac{1}{ e^{ 2 \beta \pi } } \int _{r_{1} \pi }^{r_{2} \pi } \int _{r_{1} \pi }^{r_{2} \pi } | \Re (\omega ^{*}_{scheme} \varDelta - \omega \varDelta ) | e^{ \beta (2 \pi - k_{x} \varDelta x - k_{y} \varDelta y) } \ dk_{x}\varDelta x \ dk_{y} \varDelta y\qquad \end{aligned}$$
(25)

It should be noted that \(\varDelta = \varDelta x = \varDelta y\). \(r_{1}\) and \(r_{2}\) are set to 0.1 and 0.8 respectively. They represent the considered wavenumber range for which the error is integrated for the optimization process. The free parameters to be optimized in this context is the values of \(\gamma _{disp}\) and \(\gamma _{diss}\) used in the weighting of the sub scheme of the TENO6 scheme. The remaining parameters are kept the same as the original TENO6 scheme. By weighting the integrated error more in the low wavenumber range, the error in the low wavenumber range can be reduced more effectively through the optimization procedure.

5.1 The MDCD-TENO Scheme

The semi-discrete finite difference scheme in conservative form can be written as:

$$\begin{aligned} \frac{\partial u_{i}}{\partial t} = - \frac{{\hat{f}}_{i+1/2} - {\hat{f}}_{i-1/2} }{\varDelta x}. \end{aligned}$$
(26)

where \({\hat{f}}_{i+1/2}\) is the numerical flux. The numerical flux of the TENO scheme can be rewritten in terms of a combination of a linear and nonlinear part:

$$\begin{aligned} {\hat{f}}_{i+1/2} = \underbrace{\sum _{k=0}^{r} C_{k}^{r} {\hat{f}}_{k, i+1/2}^{r}}_{linear} + \underbrace{\sum _{k=0}^{r} (\omega _{k} - C_{k}^{r}) {\hat{f}}_{k, i+1/2}^{r},}_{nonlinear} \end{aligned}$$
(27)

where

$$\begin{aligned} \begin{aligned} {\hat{f}}_{0, i+1/2}&= -\frac{1}{6}f_{i-1} + \frac{5}{6}f_{i} + \frac{2}{6}f_{i+1},\\ {\hat{f}}_{1, i+1/2}&= \frac{2}{6}f_{i} + \frac{5}{6}f_{i+1} - \frac{1}{6}f_{i+2}, \\ {\hat{f}}_{2, i+1/2}&= \frac{2}{6}f_{i-2} - \frac{7}{6}f_{i-1} + \frac{11}{6}f_{i},\\ {\hat{f}}_{3, i+1/2}&= \frac{3}{12}f_{i} + \frac{13}{12}f_{i+1} - \frac{5}{12}f_{i+2} + \frac{1}{12}f_{i+3}. \end{aligned} \end{aligned}$$
(28)

The linear part mainly affects the formal order of accuracy while the nonlinear part is responsible for capturing the discontinuities. For the nonlinear part, \(\omega _{k}\) is the weighting related to the relative smoothness of f on each set of candidate stencils. It is defined similarly as the original TENO scheme given in Eqs. (7) to (10). For the linear part, \(C_{k}^{r}\) is the optimal weight which can be written in terms of the free parameters. The optimal weights are derived by comparing the expanded form of the linear part of Eq. (27) to the form of the minimized dispersion and controllable dissipation (MDCD) schemes given in Eq. (19). The resulting optimal weight is shown in Table 1.

Table 1 Optimal weights \(C_{k}\) for MDCD-TENO6 scheme, \(r = 3\)

The key advantage of this framework is that this allow for specific tailoring of the dispersion or dissipation of the nonlinear scheme based on the absolute value of \(|\gamma _{disp}|\) and \(|\gamma _{diss}|\) respectively.

5.2 The Hybrid Scheme

Since the nonlinear mechanism of the shock capturing scheme may deteriorate the spectral properties of the scheme even in the smooth region, a hybrid scheme which combines the MDCD-TENO6 scheme with its linear counterpart is proposed. The reason for the use of the fourth order MDCD scheme lies in the fact that the stencil width of the linear MDCD scheme is the same as that of the TENO6 scheme. The hybridization strategy of the numerical flux is inherently based on the smoothness indicator of the TENO6 scheme. The numerical flux of the hybrid scheme is expressed as

$$\begin{aligned} {\hat{f}}_{i+1/2}^{Hybrid} = \sigma _{i+1/2}{\hat{f}}_{i+1/2}^{MDCD} + (1 - \sigma _{i+1/2}){\hat{f}}_{i+1/2}^{MDCD-TENO6}, \end{aligned}$$
(29)

where \(\sigma _{i+1/2}\) is the blending factor. \({\hat{f}}_{i+1/2}^{MDCD}\) and \({\hat{f}}_{i+1/2}^{MDCD-TENO6}\) are the numerical fluxes of the MDCD scheme and the MDCD-TENO6 scheme. The numerical flux of the MDCD scheme is given by the linear part of Eq. (27) and the optimal weighting is provided in Table 1. The blending factor is given by

$$\begin{aligned} \sigma _{i+1/2} = min (1, \frac{r_{i+1/2}}{r_{c}}), \end{aligned}$$
(30)

where \(r_{c}\) is a threshold parameter used to control the contribution of the linear scheme to the overall spectral property. \(r_{c}\) is set to 0.03 based on numerical experiments and the optimal spectral properties desired. A lower value of \(r_{c}\) would imply that a higher percentage of the numerical flux would be computed by the linear MDCD scheme. However, setting too low value of \(r_c\) would lead to a loss of shock capturing properties. \(r_{i+1/2}\) is the blending function computed from the smoothness indicator, \(\beta _{k}\) of the TENO scheme;

$$\begin{aligned} r_{i+1/2} = min\left( \frac{|\beta _{k}|}{\sum _{k = 0}^{3} |\beta _{k}|}\right) \quad k = 0,1,2,3. \end{aligned}$$
(31)

The algorithm works as follows:

(32)

n is set to 4 and 8 for one dimensional and multi-dimensional problems respectively. In Eq. (32), \(\sigma _{i+1/2}\) is taken to be 1 if \(|\beta _{k, max} - \beta _{k, min}|\) is less than \(\varDelta x^{n}\).

5.3 Spectral Properties of the Hybrid Scheme

In this subsection, the spectral properties of the hybrid scheme with respect to the original TENO6 scheme will be analysed in both one dimensional and two dimensional wavenumber space. The proposed hybrid scheme will be denoted as the HYB-MDCD-TENO6 here-after. Since the dispersion and dissipation properties of the numerical scheme can be tailored separately, the value of \(\gamma _{disp}\) will first be optimized for its dispersion properties. In the following part, the integrated error, \(E_{disp}\) is plotted as a function of \(\gamma _{disp}\) for different \(\beta \) values considered. This is shown in Fig. 8. After that, the spectral properties of the HYB-MDCD-TENO6 scheme for different values of \(\gamma _{disp}\) is compared in Figs. 9, 10 and Table 2.

Fig. 8
figure 8

Comparison of normalized integrated dispersion error, \(\frac{E_{disp} - (E_{disp})_{min}}{(E_{disp})_{max} - (E_{disp})_{min}}\) as a function of \(\gamma _{diss}\) for different \(\beta \) values

Table 2 Optimized values of \(\gamma _{disp}\) for different values of \(\beta \)
Fig. 9
figure 9

Comparison of (a) dispersion, \(\Re (k_{x}^{*} \varDelta x)\) property and (b) phase error, \(\Re (k_{x}^{*} \varDelta x - k_{x} \varDelta x)\) of hybrid and baseline schemes

Fig. 10
figure 10

Comparison of dissipation, \(\Im (k_{x}^{*} \varDelta x)\) property of hybrid schemes with different values of \(\gamma _{diss}\)

Using the framework of the MDCD scheme ensures that both the dispersion and dissipation property can be separately controlled through \(\gamma _{disp}\) and \(\gamma _{diss}\) respectively. For stability reason, the dissipation should be non negative for all wavenumber. It can be seen in Fig. 9 that an optimal \(\gamma _{disp}\) value of 0.0568 gives the optimal dispersion property for the hybrid scheme. In principle, the dissipation must be as small as possible but sufficiently large to ensure the stability of the simulation and the damping of the spurious numerical oscillation. Consequently, the optimal value of dissipation is problem dependent. An advantage of using the MDCD scheme is that this allows for the flexibility in adjusting the dissipation without affecting the dispersion property. In the instance that there is no numerical stability issues or spurious numerical oscillation, the dissipation of the hybrid scheme can be almost eliminated by choosing a very small \(|\gamma _{diss}|\). The flexibility in adjusting the dissipation makes it possible to develop a robust code for the simulation of problems with discontinuities. In principle, \(\gamma _{diss}\) can be chosen in an adaptive way. For the purpose of comparison, the value of \(\gamma _{diss}\) will be set to 0.0001 and 0.03. In two dimensional wavenumber space, the phase and amplitude error of the hybrid scheme is illustrated in Figs. 11 and 12.

Fig. 11
figure 11

Comparison of phase error of (a) hybrid scheme (\(\gamma _{disp} = 0.0568\)) with baseline (b) WENO5-JS and (c) TENO6 schemes in two dimensional wavenumber space based on the dispersion relation of the two dimensional advection equation

Fig. 12
figure 12

Comparison of dissipation error of (a) hybrid scheme (\(\gamma _{diss} = 0.0001\)), (b) hybrid scheme (\(\gamma _{diss} = 0.03\)) with baseline (c) WENO5-JS and (d) TENO6 schemes in two dimensional wavenumber space based on the dispersion relation of the two dimensional advection equation

6 Numerical Tests

6.1 Numerical Methods

In this section, numerical results for different canonical cases based on the one, two and three dimensional Euler/Navier Stokes equation are discussed. For completeness, the non dimensional form of the three dimensional Navier Stokes equations is presented from which the viscous terms are neglected for cases based on the Euler equation only. For the one and two dimensional test problems, the terms corresponding to the higher dimension are neglected. The governing equation of the non dimensional form of the three dimensional compressible Navier-Stokes equations for idea gas are given by:

$$\begin{aligned} \frac{\partial U}{\partial t} + \frac{\partial F}{\partial x} + \frac{\partial G}{\partial y} + \frac{\partial H}{\partial z} = \frac{1}{Re}\frac{\partial F^{v}}{\partial x} + \frac{1}{Re}\frac{\partial G^{v}}{\partial y} + \frac{1}{Re}\frac{\partial H^{v}}{\partial z}, \end{aligned}$$
(33)

where the vectors U, F, G, H are expressed as:

$$\begin{aligned} \begin{aligned}&U = \begin{bmatrix} \rho \\ \rho u \\ \rho v \\ \rho w \\ e \end{bmatrix} \quad F = \begin{bmatrix} \rho u \\ \rho u^{2} + p \\ \rho u v \\ \rho u w \\ eu + pu \end{bmatrix} \quad G = \begin{bmatrix} \rho v \\ \rho u v \\ \rho v^{2} + p\\ \rho v w \\ ev + pv \end{bmatrix} \quad H = \begin{bmatrix} \rho w \\ \rho u w \\ \rho v w \\ \rho w^{2} + p\\ ew + pw \end{bmatrix} \end{aligned} \end{aligned}$$
(34)

and the vectors \(F^{v}\), \(G^{v}\) and \(H^{v}\) are expressed as:

$$\begin{aligned} \begin{aligned}&F^{v} = \begin{bmatrix} 0 \\ \tau _{xx} \\ \tau _{xy} \\ \tau _{xz} \\ u\tau _{xx} + v\tau _{xy} + w\tau _{xz} + q_{x} \end{bmatrix} \quad G^{v} = \begin{bmatrix} 0 \\ \tau _{yx} \\ \tau _{yy} \\ \tau _{yz} \\ u\tau _{yx} + v\tau _{yy} + w\tau _{yz} + q_{y} \end{bmatrix}\\\\&H^{v} = \begin{bmatrix} 0 \\ \tau _{zx} \\ \tau _{zy} \\ \tau _{zz} \\ u\tau _{zx} + v\tau _{zy} + w\tau _{zz} + q_{z} \end{bmatrix},\\\\ \end{aligned} \end{aligned}$$
(35)

The viscous stress tensor and heat flux are given by:

$$\begin{aligned}&\begin{aligned}&\tau _{xx} = \mu \left( \frac{4}{3}\frac{\partial u}{\partial x} - \frac{2}{3}\frac{\partial v}{\partial y} - \frac{2}{3}\frac{\partial w}{\partial z} \right) ,\\&\tau _{yy} = \mu \left( \frac{4}{3}\frac{\partial v}{\partial y} -\frac{2}{3}\frac{\partial u}{\partial x} - \frac{2}{3}\frac{\partial w}{\partial z} \right) , \\&\tau _{zz} = \mu \left( \frac{4}{3}\frac{\partial w}{\partial z} -\frac{2}{3}\frac{\partial u}{\partial x} - \frac{2}{3}\frac{\partial v}{\partial y} \right) , \\&\tau _{xy} = \tau _{yx} = \mu \left( \frac{\partial u}{\partial y} + \frac{\partial v}{\partial x} \right) , \\&\tau _{yz} = \tau _{zy} = \mu \left( \frac{\partial v}{\partial z} + \frac{\partial w}{\partial y} \right) , \\&\tau _{xz} = \tau _{zx} = \mu \left( \frac{\partial w}{\partial x} + \frac{\partial u}{\partial z} \right) . \end{aligned} \end{aligned}$$
(36)
$$\begin{aligned}&q_{x} = \mu \frac{1}{(\gamma -1)M^{2}Pr} \frac{\partial T}{\partial x} \quad q_{y} = \mu \frac{1}{(\gamma -1)M^{2}Pr} \frac{\partial T}{\partial y} \quad q_{z} = \mu \frac{1}{(\gamma -1)M^{2}Pr} \frac{\partial T}{\partial z}. \nonumber \\ \end{aligned}$$
(37)

Other derived quantities can be calculated from the vector U as follows:

$$\begin{aligned} p = \left( e - \frac{1}{2}\rho (u^{2} + v^{2} + w^{2}) \right) (\gamma -1) \quad T = \frac{\gamma M^{2} p}{\rho } \end{aligned}$$
(38)

The viscosity is computed based on Sutherlaw law:

$$\begin{aligned} \mu = T^{1.5}\frac{1.0 + T_{ref}}{T + T_{ref}}, \end{aligned}$$
(39)

where \(T_{ref} = \frac{110.4}{T_{\infty }}\). \(T_{\infty }\) is defined as the dimensional free stream temperature. For these cases, the third order Total Variation Diminishing (TVD) RK3 scheme is used for time advancement:

$$\begin{aligned} \begin{aligned} u^{(1)}&= u^{n} + \varDelta t L(u^{n}),\\ u^{(2)}&= \frac{3}{4}u^{n} + \frac{1}{4}u^{1} + \frac{1}{4}\varDelta t L(u^{(1)}), \\ u^{n+1}&= \frac{1}{3}u^{n} + \frac{2}{3}u^{(2)} + \frac{2}{3}\varDelta t L(u^{(2)}). \end{aligned} \end{aligned}$$
(40)

The spatial discretization methods employed for these cases are the WENO-JS, TENO or the hybrid MDCD-TENO6 schemes for the convective terms. For the use of the hybrid MDCD-TENO6 schemes, \(\gamma _{diss}\) is set to 0.0001 for all numerical tests. The viscous stress and heat fluxes are computed through a generic 4th order central difference scheme. In order to avoid numerical oscillation, the local characteristic decomposition method is employed. For the construction of the left and right eigenvector, the Roe-averaged primitive variables are used. The constructed eigenvectors of the Euler equations are then used to transform the numerical flux from the physical to characteristic space and vice versa. Flux splitting and flux reconstruction are performed in the characteristic space. Finally, the reconstructed characteristic fluxes are then transformed back into physical space for the calculation of the derivatives. Further details can be found in [15, 21]. Numerical results of the different schemes are compared with the original WENO5-JS scheme under a coarse grid. A fine grid case based on the WENO5-JS scheme with uniform grid in x and y is used for reference comparison. For each test cases, the boundary conditions are imposed by specifying appropriate values at the ghost points and the boundary nodes (if required) relevant to the specific boundary condition. With the use of ghost points, numerical schemes of the same stencil width can be used throughout the computational domain even at the boundary nodes. All two and three dimensional computations are performed using a parallel hybrid MPI-OMP Euler/Navier Stokes code while the one dimensional computations are performed using a serial Euler code.

6.2 One Dimensional Cases

In this section, several numerical tests for the one dimensional Euler equations are considered for the purpose of evaluating the performance of the non-linear scheme. For the one dimensional Euler equation, local characteristic decomposition method is employed, from which the eigenvectors at the cell interface are computed from the Roe-averaged primitive variables. Numerical results are compared between the WENO5-JS, WENO7-JS TENO5 and TENO6 and the hybrid MDCD-TENO6 schemes.

6.2.1 Sod Problem

The initial condition of the Sod problem is given by:

$$\begin{aligned} (\rho , u, p)={\left\{ \begin{array}{ll} (1.0,0,1.0), &{} \text {if }x \le 0,\\ (0.125,0,0.1), &{} {x > 0}. \end{array}\right. } \end{aligned}$$
(41)

The solutions are compared at \(t=0.14\). For the purpose of comparison, a uniform grid of 200 points are used. The reference result is computed using the WENO5-JS scheme with a fine grid of 1000 points. The computational domain is taken to be [\(-\) 0.5e,0.5]. Dirichlet boundary conditions are imposed on both ends of the domain.

Fig. 13
figure 13

a Comparison of density profile at \(t=0.14\) for Sod problem, b Plot of blending factor, \(\sigma (x,t)\) of first flux components at \(t=0.14\) for HYB-MDCD-TENO6, \(\gamma _{disp} = 0.0568\) scheme

The results are plotted in Fig. 13. It can be seen that the results of the hybrid scheme are closer to the reference results as compared to the baseline TENO6 scheme. Also, it can be seen that the both the TENO5 and TENO6 give closer results to the reference case than the baseline WENO5-JS and WENO7-JS scheme. As previously mentioned, the blending factor is a measure of the usage of the linear MDCD scheme. It can be clearly seen that \(\sigma \) remain 1.0 when the flow region is smooth and become less than 1.0 when the flow display a sharp change in gradient. By utilizing only the linear MDCD scheme in the smooth region of the flow, better spectral properties of the spatial discretization scheme can be obtained. In order to have a fair comparison of the numerical schemes in terms of their efficiency, the performance metric used in [13] is adopted in this study. The efficiency metric is defined as follows:

$$\begin{aligned} E_{\varDelta } = \frac{1}{\epsilon T}, \end{aligned}$$

where \(\epsilon \) is a measure of the error metric and T is the CPU time needed for the simulation to reach the solution at \(t=0.14\). The \(L_{1}\) error norm definition is used for the error metric. The sum of the absolute difference between the reference solution and the solution for each scheme across all grid points is considered. Since \(E_{\varDelta }\) is not a constant for different sets of \(\epsilon \) and T combination, the error metric is kept to a similar range of value for the different schemes by refining the grid when necessary. For each scheme, the grid is successively refined until the \(L_{1}\) error is about \(3.5 \times 10^{-1}\) and the results are summarized in Table 3.

Table 3 Efficiency comparison of the 1D Sod tube problem

In Table 3, it can be seen that the HYB-MDCD-TENO6 scheme is the most efficient scheme among the different spatial discretization schemes. The HYB-MDCD-TENO6 scheme can achieve similar magnitude of \(L_{1}\) error with lesser grid points.

6.2.2 Lax Problem

The initial condition of the Lax problem is given by:

$$\begin{aligned} (\rho , u, p)={\left\{ \begin{array}{ll} (0.445,0.698,3.528), &{} \text {if }x \le 0,\\ (0.5,0,0.571), &{} {x > 0}. \end{array}\right. } \end{aligned}$$
(42)

The solutions are compared at \(t=0.13\). For the purpose of comparison, a uniform grid of 200 points are used. The reference result is computed using the WENO5-JS scheme with a fine grid of 2000 points. The computational domain is taken to be [\(-\) 0.5e,0.5]. Dirichlet boundary conditions are imposed on both ends of the domain.

Fig. 14
figure 14

a Comparison of density profile at \(t=0.13\) for Lax problem, b Plot of blending factor, \(\sigma (x,t)\) of first components at \(t=0.13\) for HYB-MDCD-TENO6, \(\gamma _{disp} = 0.0568\) scheme

The results are plotted in Fig. 14. It can be seen that the results of the hybrid scheme are slightly closer to the reference results as compared to the baseline TENO6 scheme. Also, it can be seen that the both the TENO5 and TENO6 schemes give better results than the baseline WENO5-JS and WENO7-JS scheme. For the plot of the blending factor, it can be clearly seen that \(\sigma \) remain 1.0 when the flow region is smooth and become less than 1.0 when the flow display a significant change in gradient.

6.2.3 Shu Osher Problem

This test problem represents an interaction between a Mach 3 shockwave and a sine entropy wave which generates a flow field with both small scale structures and discontinuities. The initial condition of the Lax problem is given by:

$$\begin{aligned} (\rho , u, p)={\left\{ \begin{array}{ll} (0.445,0.698,3.528), &{} \text {if }x < -4,\\ (1.0 + \frac{1}{5} \sin (5x),0,1.0), &{} {x \ge -4}. \end{array}\right. } \end{aligned}$$
(43)

The solutions are compared at \(t=1.8\). For the purpose of comparison, a uniform grid of 200 points are used. The reference result is computed using the WENO5-JS scheme with a fine grid of 2000 points. The computational domain is taken to be [\(-\) 5.0e,5.0]. Dirichlet boundary conditions are imposed on both ends of the domain. This test measures the ability of the numerical scheme to resolve the waves with short wavelength.

Fig. 15
figure 15

a Comparison of density profile at \(t=1.8\) for Shu-Osher problem, b Plot of blending factor, \(\sigma (x,t)\) of first flux components at \(t=1.8\) for HYB-MDCD-TENO6, \(\gamma _{disp} = 0.0568\) scheme

The results are plotted in Fig. 15. It can be seen that the results of the hybrid scheme are slightly closer to the reference results as compared to the baseline TENO6 scheme. Also, it can be seen that the both the TENO5 and TENO6 schemes give better results than the baseline WENO5-JS and WENO7-JS scheme. The plot of the blending factor display similar trends as compared to previous cases. \(\sigma \) remain 1.0 when the flow region is smooth and become less than 1.0 when the flow display a significant change in gradient.

6.3 Two Dimensional Cases

6.3.1 2D Double Mach Reflection of a Strong Shock

The double Mach reflection test is a close representation of planar shock reflection in the air from a wedge. Instead of orientating the geometry to create an angled surface, the shock is orientated at an angle and the wall is kept parallel to the bottom domain. For this case, only the two dimensional Euler equation is considered. It is a widely used benchmark to test the ability of the numerical scheme to capture shock and resolve the small scale structures. For the present simulation, the computational domain is taken to be [0,4] x [0,1]. From \(x>=\frac{1}{6}\), the lower boundary is set to be a reflecting free slip wall. At the initial state, a right moving Mach 10 shock is placed at \(x = \frac{1}{6}\) with an incidence angle of \(60^{\circ }\) to the x-axis. For the top boundary, the fluid variables are defined to exactly follow the evolution of the Mach 10 shockwave. Mathematically the top boundary is defined as:

(44)

Inflow conditions are imposed fixed values based on the pre-shock condition while the outflow values at the ghost points are linearly extrapolated from the interior points. The initial condition is:

$$\begin{aligned} (\rho , u, v, p)={\left\{ \begin{array}{ll} (8.0,8.25\sin (60),-8.25\cos (60),116.5), &{} \text {if }x< (\frac{1}{6} + \frac{y}{\tan (60)} ),\\ (1.4,0,0,1), &{} \text {otherwise}. \end{array}\right. } \end{aligned}$$
(45)
Fig. 16
figure 16

Comparison of density profile at \(t=0.2\) for double Mach reflection problem. Solid lines for \(\rho \) ranges from 1.4 to 11 with 20 equally separated levels

Fig. 17
figure 17

Plot of the blending factor (a) \(\sigma _{x} (x,y,t)\) and (b) \(\sigma _{y} (x,y,t)\) of the first flux component (\(F_{1}\), \(G_{1}\)) in each spatial direction at \(t=0.2\) for HYB-MDCD-TENO6, \(\gamma _{disp} = 0.0568\) scheme

As the shock propagates from left to right, a self similar shock structure with two triple points evolve. At the primary triple point, the incident shock, reflected shock and Mach stem intersects. A secondary triple points is formed from the intersection of the reflected shock, bowed Mach stem and a secondary reflected shock [10]. A primary slip line emanates from both triple points. In Fig. 16, it can be seen that the cases using the TENO5 and TENO6 scheme are able to produce finer scale structure along the primary slip line (curled flow structure) as compared to the baseline WENO5-JS scheme. As compared to the fine grid WENO5-JS case, both the TENO5 and TENO6 cases are able to produce either similar or finer scale structures despite using a coarser grid. The hybrid schemes are able to produce even finer scale structures at the primary slip line as compared to the baseline TENO6 scheme. A plot of the blending factor in the x and y direction for the hybrid scheme is shown in Fig. 17. It can be seen that at region where there is sharp change in the gradient of the flow, the blending factor approaches zero. At region where the gradient of the flow is smooth, the blending factor approaches one. At region of intermediate gradient, the blending factor lies between zero and one.

6.3.2 2D Euler–Shock Vortex Interaction

This problem describes the interaction of a stationary shock and a vortex. Details of the initial and boundary conditions were obtained from [15]. The computational domain is set to [0,2] x [0,1]. A Mach 1.1 shock is positioned at \(x = 0.5\) and normal to the \(x-\) axis. Its left and right states are given as

$$\begin{aligned} (\rho , u, v, p)={\left\{ \begin{array}{ll} (1.0,1.1\sqrt{\gamma },0,1), &{} \text {if }x < 0.5,\\ (1.1691,1.1133,0,1.245), &{} \text {otherwise}. \end{array}\right. } \end{aligned}$$
(46)

A small vortex is superposed on the left state region and its center is located at \((x_{c},y_{c}) = (0.25,0.5)\). The initial condition to the left of the normal shock is given by:

$$\begin{aligned} \begin{aligned} \rho&= (1 - (\gamma -1)\frac{\epsilon ^{2}}{4 \alpha \gamma } e^{2 \alpha (1-r^{2})})^{\frac{1}{\gamma -1}},\\ u&= 1.1\sqrt{\gamma } + \epsilon \tau e^{\alpha (1-r^{2})} \frac{(y - y_{c})}{r}, \\ v&= - \epsilon \tau e^{\alpha (1 - r^{2})} \frac{(x - x_{c})}{r}, \\ p&= \rho ^{\gamma }, \end{aligned} \end{aligned}$$
(47)

where \(\tau = r/r_{c}\) and \(r = \sqrt{(x-x_{c})^{2} + (y-y_{c})^{2}}\). \(\epsilon = 0.3\) is a measure of the strength of the vortex. \(\alpha = 0.204\) controls the decay rate of the vortex and \(r_{c} = 0.05\) is the critical radius at which the vortex has the maximum strength. A grid of \((N_{x},N_{y}) = (250,100)\) is used. The reference results is computed on a refined grid of \((N_{x},N_{y}) = (1000,400)\). Both inflow and outflow values at the ghost points are linearly extrapolated from the interior points. Top and bottom sides are imposed symmetry boundary condition.

Fig. 18
figure 18

Comparison of density contour at \(t=0.6\) for shock vortex interaction problem. Solid lines for \(\rho \) ranges from 1.1 to 1.22 with 45 equally separated levels

The results are compared at \(t = 0.6\) and they are illustrated in Fig. 18. Density distribution of different results at y=0.5 are illustrated in Fig. 19. It can be seen that the different spatial discretization methods give very similar results although the TENO5, TENO6 and HYB-MDCD-TENO6 schemes has slightly more numerical oscillation at region close to the normal shock. It can be seen that all methods capture the shock and vortex well. It can be seen that the HYB-MDCD-TENO6 scheme is able to achieve sharper normal shock profile and lower vortex core density as compared to the baseline TENO6 schemes. This is because of the lower numerical dissipation. Also, it can be seen that both the TENO5 and TENO6 cases give better results than the WENO5-JS and WENO7-JS cases at these regions. A plot of the blending factor in the x and y direction for the hybrid scheme is shown in Fig. 20.

Fig. 19
figure 19

Plot of density distribution at \(y=0.5\) for the different schemes at \(t=0.6\)

Fig. 20
figure 20

Plot of the blending factor, \(\sigma _{x} (x,y,t)\) and \(\sigma _{y} (x,y,t)\) of the first flux components (\(F_{1}\), \(G_{1}\)) in each spatial direction at \(t=0.6\) for HYB-MDCD-TENO6, \(\gamma _{disp} = 0.0568\) scheme

It can be clearly seen that the blending factor approaches zero at location where the normal shock and bow shock is present. At region where the vortex core is present, the blending factor remain at values close to 1 where most of the linear scheme is being utilized in the computation of the numerical flux. There exist region where the blending factor can become lesser than 1.0 despite being a ’smooth’ region of the flow. This is because of the presence of numerical ’noise’ propagating from the discontinuous region of the flow to the smooth region of the flow.

Fig. 21
figure 21

Comparison of density profile at \(t=120\) for shockwave mixing layer problem. Solid lines for \(\rho \) ranges from 0.228 to 1.8 with 15 equally separated levels

Fig. 22
figure 22

Plot of the blending factor, \(\sigma _{x} (x,y,t)\) and \(\sigma _{y} (x,y,t)\) of the first flux components (\(F_{1}\), \(G_{1}\)) in each spatial direction at \(t=120\) for HYB-MDCD-TENO6, \(\gamma _{disp} = 0.0568\) scheme

6.3.3 2D Shockwave Impingement on Spatially Evolving Mixing Layer

The impingement of a shockwave onto a spatially evolving mixing layer is designed to test the resolution of a scheme when shockwaves interact with vortices. In this setup, fluctuation is imposed onto the vertical component of the velocity at the inlet so as to perturb the mixing layer. For this case, the two dimensional Navier Stokes equations are solved. As the shear layer evolves spatially, an oblique shock from the top boundary travels through the mixing layer, reflects from the free slip wall at the lower boundary and passes through the mixing layer again. It is noted that a free slip instead of a no slip wall is used at the bottom boundary in order to avoid any boundary layer formation, which may complicate the reflection of the oblique shock. For the present simulation, the computational domain is taken to be [0,200] x [-20,20]. The inlet condition is given as \(u = 2.5 + 0.5\tanh (2y)\). The initial condition is given as:

$$\begin{aligned} (\rho , u, v, p)={\left\{ \begin{array}{ll} (0.3626,2.0,0.0,0.3327), &{} \text {if }y < 0,\\ (1.6374,3.0,0.0,0.3327), &{} \text {otherwise}. \end{array}\right. } \end{aligned}$$
(48)

Post shock condition \((\rho , u, v, p)= (2.1101,2.9709,-\,0.1367e,0.4754)\) is imposed at the top boundary and a free slip wall is imposed at the bottom boundary. The freestream Mach number and Reynolds number is 0.6 and 500 respectively. The Prandtl number is set to 0.72 and the freestream temperature is set to 300K. The vertical fluctuations imposed at the inlet are given by:

$$\begin{aligned} \begin{aligned} v^{'}&= \sum _{k=1}^{2} a_{k}\cos (2\pi kt/T + \phi _{k}) \exp (-y^{2}/b),\\ b&= 10 \quad a_{1} = a_{2} = 0.05 \quad \phi _{1} = 0 \quad \phi _{2} = \pi /2,\\ T&= \frac{\lambda }{u_{c}} \quad \lambda = 30 \quad u_{c} = 2.68. \end{aligned} \end{aligned}$$
(49)

An equally spaced grid of \((N_{x},N_{y}) = (500,100)\) is used. The reference result is calculated on a refined grid of \((N_{x},N_{y}) = (2000,400)\). Density contours are shown in Fig. 21 at \(t=120\). It can be observed that the WENO5-JS, TENO5, TENO6 and HYB-MDCD-TENO6 cases obtain similar results which is very comparable to the reference result. However, it should be noted that the self similar structure of the downstream vortices of the reference case showcases smaller scale structure close to its vortex core. As compared to the baseline TENO6 case, the HYB-MDCD-TENO6 case showcases presence of smaller scale structure within its downstream vortex core from \(X \gtrapprox 160\) onward. Also, the size of the downstream vortices are comparatively larger. A plot of the blending factors, \(\sigma _{x}\) and \(\sigma _{y}\) of the first flux component in each spatial directions is shown in Fig. 22. The slanted ’white line’ region where the blending factor is close to zero corresponds to the location of the impinging oblique shock interacting with the mixing layer.

Fig. 23
figure 23

a Evolution of normalized kinetic energy, \(E_{k}(t)/E_{k}(0)\) b entrosphy, \(\varOmega (t)/\varOmega (0)\) for different spatial discretization schemes. The grid size is \(64^{3}\)

Fig. 24
figure 24

a Evolution of normalized kinetic energy, \(E_{k}(t)/E_{k}(0)\) b entrosphy, \(\varOmega (t)/\varOmega (0)\) for different spatial discretization schemes. The grid size is \(128^{3}\)

6.4 Three Dimensional Case

6.4.1 3D Inviscid Taylor Green Vortex

The inviscid Taylor Green Vortex is a test case used to assess the built in dissipation of the numerical method. This is quantitatively assessed through the volume averaged kinetic energy and entrosphy. The computational domain is \([0,2 \pi ]\) x \([0,2 \pi ]\) x \([0,2 \pi ]\). The volume averaged kinetic energy and entrosphy are defined as:

$$\begin{aligned} \begin{aligned} E_{k}(t)&= \frac{1}{(2 \pi )^{3}} \int _{0}^{2 \pi } \int _{0}^{2 \pi } \int _{0}^{2 \pi } \frac{\rho _{i} u_{i}u_{i}}{2} dxdydz,\\\\ \varOmega (t)&= \frac{1}{(2 \pi )^{3}} \int _{0}^{2 \pi } \int _{0}^{2 \pi } \int _{0}^{2 \pi } \frac{ \omega _{i} \omega _{i}}{2} dxdydz, \end{aligned} \end{aligned}$$
(50)

where \(\omega _{i}\) stands for the vorticity component. The initial condition taken from [2, 7] is given as:

$$\begin{aligned} \begin{aligned} u(x,y,z,0)&= \sin (x)\cos (y)\cos (z),\\ v(x,y,z,0)&= -\cos (x)\sin (y)\cos (z),\\ w(x,y,z,0)&= 0,\\ \rho (x,y,z,0)&= 1.0,\\ p(z,y,z,0)&= 100 + \frac{1}{16}[ (\cos (2x) + \cos (2y))(2 + \cos (2z)) - 2 ]. \end{aligned} \end{aligned}$$
(51)

The pressure is defined such that to limit the Mach number to be less than 0.1. A uniform grid of \(64^{3}\) and \(128^{3}\) is used. A comparison of the normalized volume averaged kinetic energy and the enstrophy for the different spatial discretization schemes are presented in Figs. 23 and 24 for a grid size of \(64^{3}\) and \(128^{3}\) respectively. For the decay of the kinetic energy, it can be clearly seen that the HYB-MDCD-TENO6 cases offer the smallest decay among the different spatial discretization schemes. It is an indication that the hybrid scheme is less dissipative for non linear simulations with broadband length-scales. Also, it can be seen that the TENO6 scheme is less dissipative than the baseline WENO5-JS and WENO7-JS schemes. A larger value of entrosphy implies the presence of more vortical structures in the flow.

7 Conclusions

In this work, a quasi-linear semi-discrete (wavenumber) analysis of shock capturing schemes in two-dimensional wavenumber space is proposed. Using the dispersion relation of the two dimensional advection and linearized Euler equations, the spectral properties of a spatial scheme can be quantified in two dimensional wavenumber space. A hybrid scheme which combines the merits of the Minimum Dispersion and Controllable Dissipation (MDCD) scheme with the Targeted Essentially Non-Oscillatory (TENO) scheme was developed and tested. The scheme was spectrally optimized in such a way that the linear part of the scheme can be separately optimized for its dispersion and dissipation properties. It is shown that the HYB-MDCD-TENO6 scheme provides similar or better resolution as compared to the baseline TENO6 scheme for the same grid size. In a quantitative comparison of the efficiency of the schemes, it was also shown that the HYB-MDCD-TENO6 scheme is more efficient than the baseline WENO and TENO schemes.