A class of finite difference schemes with low dispersion and ...

6 downloads 4157 Views 2MB Size Report
Mar 1, 2011 - A scheme with very large numerical dissipation is surely not suitable for DNS. On the other hand, Lechner et al. [20] noticed that the minimal ...
Journal of Computational Physics 230 (2011) 4616–4635

Contents lists available at ScienceDirect

Journal of Computational Physics journal homepage: www.elsevier.com/locate/jcp

A class of finite difference schemes with low dispersion and controllable dissipation for DNS of compressible turbulence Zhen-Sheng Sun a,b, Yu-Xin Ren a,⇑, Cédric Larricq a, Shi-ying Zhang b, Yue-cheng Yang b a b

Department of Engineering Mechanics, Tsinghua University, Beijing 100084, China Xi’an Research Institute of High-tech, Xi’an, Shaanxi 710025, China

a r t i c l e

i n f o

Article history: Received 10 June 2010 Received in revised form 22 February 2011 Accepted 24 February 2011 Available online 1 March 2011 Keywords: Low dispersion scheme Dissipation controllable scheme WENO scheme Hybrid scheme Direct numerical simulation Compressible turbulent flow

a b s t r a c t In this paper, a class of finite difference schemes which achieves low dispersion and controllable dissipation in smooth region and robust shock-capturing capabilities in the vicinity of discontinuities is presented. Firstly, a sufficient condition for semi-discrete finite difference schemes to have independent dispersion and dissipation is derived. This condition enables a novel approach to separately optimize the dissipation and dispersion properties of finite difference schemes and a class of schemes with minimized dispersion and controllable dissipation is thus obtained. Secondly, for the purpose of shock-capturing, one of these schemes is used as the linear part of the WENO scheme with symmetrical stencils to constructed an improved WENO scheme. At last, the improved WENO scheme is blended with its linear counterpart to form a new hybrid scheme for practical applications. The proposed scheme is accurate, flexible and robust. The accuracy and resolution of the proposed scheme are tested by the solutions of several benchmark test cases. The performance of this scheme is further demonstrated by its application in the direct numerical simulation of compressible turbulent channel flow between isothermal walls. Ó 2011 Elsevier Inc. All rights reserved.

1. Introduction Turbulent flows are characterized by a large range of length scales. To be reliable, a direct numerical simulation (DNS) of such flows must resolve these scales, especially the small ones with accuracy in both amplitude and phase. Therefore, dissipation and dispersion properties of numerical schemes are of crucial importance. Because of their superior spectral properties, spectral methods and compact schemes are extensively used [1–5]. However, these methods are limited to compute flows without shock waves since they have been found to cause non-physical oscillations when applied to flow with discontinuities. ENO and WENO schemes [6,7], on the other hand, provide robust shock-capturing capability and high order accuracy. However, in their original forms, the dispersion and dissipation properties of these schemes are not optimized. The 5th WENO scheme of Jiang and Shu, for instance, is reported too dissipative for the detailed simulation of turbulent flow [8]. A lot of efforts have been therefore devoted to developing numerical schemes with high resolution and good shock-capturing capabilities. The observations presented above suggest that, for designing such schemes, a natural choice is to combine the ENO/ WENO scheme with another scheme with spectral-like resolution to form a so-called hybrid scheme. Adams and Shariff [9] proposed the hybrid compact-ENO scheme that coupled a non-conservative compact scheme with a shock-capturing ENO scheme for shock and turbulence interaction simulation. The compact scheme is applied where the flow field is smooth

⇑ Corresponding author. Tel.: +86 10 62785543; fax: +86 10 62781824. E-mail address: [email protected] (Y.-X. Ren). 0021-9991/$ - see front matter Ó 2011 Elsevier Inc. All rights reserved. doi:10.1016/j.jcp.2011.02.038

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

4617

and the ENO scheme is used near the discontinuities. Pirozzoli [10] derived a hybrid compact-WENO scheme in which a conservative compact scheme is coupled with a WENO scheme to make the overall scheme conservative. Ren et al. [11] improved the previous hybrid compact-WENO scheme by designing a continuous weight function to avoid the abrupt transition between the compact and WENO schemes. When solving the system of hyperbolic conservation laws, they used the characteristic decomposition to improve the resolution of the scheme. Shen and Yang [12] have also developed a hybrid compact-WENO scheme. Similar ideas have been adopted by Kim and Kwon [13], who proposed a high-order hybrid scheme which combined a central scheme and the WENO scheme for compressible flow field analysis. Costa and Don [14] developed the hybrid spectral-WENO scheme. An alternative approach is to improve the spectral properties of the shock-capturing schemes by using the optimization techniques. The optimization procedures are usually based on the pioneering works of Tam and Webb [15], who devised the dispersion-relation-preserving (DRP) scheme for computational acoustics. Lockard et al. [16] developed an optimized ENO scheme for the solution of Euler equations. Their simulations showed that the optimized ENO scheme performed better than the non-optimized one for the case of linear wave propagation problems. Weirs and Candler [17] developed optimized WENO schemes to solve the hyperbolic conservation laws. They devised a strategy that consists of optimizing the weights of all candidate reconstructions and adding an additional candidate stencil to make the stencils symmetric rather than upwind-biased. This idea was further explored by Martín et al. [8], who developed a bandwidth-optimized WENO scheme for the DNS of compressible turbulent boundary layer. The essential idea of bandwidth-optimized WENO scheme is to determine the optimal weight by minimizing an elaborately designed integrated error function. Wang and Chen [18] proposed the optimized WENO scheme for solution of the linearized Euler equations with discontinuities. They designed a two level optimization procedure but only considered the biased stencils. Ponziani et al. [19] used the optimized WENO scheme for the DNS of isotropic compressible turbulence as well as aeroacoustic phenomena. Concerning the optimization of the spectral properties of the finite differences schemes, it is generally accepted that the dispersion error should be minimized according to some chosen criteria. However, there are no general guidelines on how the dissipation should be optimized. A scheme with very large numerical dissipation is surely not suitable for DNS. On the other hand, Lechner et al. [20] noticed that the minimal dissipation produced by central difference scheme was insufficient in suppressing the numerical oscillation and could lead to instability. Therefore, a small amount of dissipation is needed to suppress numerical instabilities that may be caused by unresolved high wavenumber structures of the solution [20]. This point was further confirmed by Pirozzoli [10] who pointed out that a certain amount of dissipation was not necessarily a bad feature since, in the range of high wavenumbers, the waves propagated at an incorrect speed. It was then desirable to damp them as much as possible. The main difficulty in the optimization of the dissipation properties of the finite difference schemes is that the optimal dissipation is often problem dependent. For example, the bandwidth-optimized WENO scheme derived by Martín et al. [8] gave satisfying results in the DNS of supersonic boundary layer. However, this scheme is susceptible to cause numerical oscillations in some test cases as reported by Cai and Ladeinde [21]. According to the above discussion, it would be beneficial to design high order numerical schemes with minimized dispersion and controllable dissipation. However, this is not always possible since the dissipation and dispersion properties of a finite difference scheme are often inter-dependent. Indeed, in most of the available procedures for the optimization of the spectral properties of the finite difference schemes, the cost functions are the blending of the dissipation and dispersion errors. As a result, the change of the dissipation properties may deteriorate the already optimized dispersion properties. Therefore, it is desirable to have a class of finite difference schemes in which the dispersion and dissipation can be controlled separately. In the present paper, we will design a class of semi-discrete finite difference schemes with minimized dispersion and controllable dissipation which is called the MDCD schemes hereafter. To design a MDCD scheme, a sufficient condition for the semi-discrete schemes to have independent dispersion and dissipation is derived, which makes it possible to optimize the dispersion properties of the scheme and to adjust the dissipation by the introduction of a free parameter. An important feature of the MDCD schemes is that the adjustment of the dissipation will not affect the optimized dispersion properties of the schemes. It is also found that the linear MDCD schemes can be used as the linear part of the WENO schemes to construct the so-called MDCD–WENO schemes which can be used to compute flow with discontinuities. As noted by Pirozzoli [22] and Shen et al. [23], the nonlinear mechanisms of the shock-capturing schemes may cause a dramatic corruption of their spectral properties even for the smooth flows. In the mean time, it is noted that the nonlinear weighting procedure of the WENO scheme is need only in the vicinity of discontinuities. Therefore, a hybrid scheme is proposed which is the blending of the linear MDCD scheme and the MDCD–WENO scheme using the technique of Ren et al. [11]. The approximate dispersion relation (ADR) [22] is computed to study the spectral properties of the nonlinear hybrid scheme and significant improvements over the original and optimized WENO schemes are observed. It is worthwhile to point out that the MDCD properties not only can improve the resolution of the finite difference schemes, but also enhance their flexibility and robustness. Because the dissipation of the MDCD schemes is adjustable, it is possible to make the MDCD schemes to posses smallest possible dissipation that is sufficient to ensure the stability and the damping of spurious numerical oscillations by adjusting only one parameter. On the other hand, for some very demanding problems with strong discontinuities, a rather large dissipation can be provided to enhance the robustness of the MDCD scheme so that a stable and converged numerical result can be obtained. Several benchmark test cases are presented in the present paper to demonstrate the superior performance of the proposed hybrid scheme. This scheme has also been applied successfully to the DNS of compressible turbulent channel flows.

4618

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

2. Finite difference schemes with minimized dissipation and controllable dispersion 2.1. A sufficient condition for designing the MDCD schemes In this section, a sufficient condition for a class of finite difference schemes to have independent dissipation and dispersion will be derived. We consider the scalar, one-dimensional hyperbolic conservation law given by

@u @f þ ¼ 0; @t @x

ð1Þ

where u is a conserved quantity and f is the flux. For simplicity, the semi-discrete finite difference scheme of Eq. (1)

@u þ fD0 ðxÞ ¼ 0 @t

ð2Þ

is considered on uniform grids. The finite difference approximation to the first derivative grid points can be expressed as

fD0 ðxÞ ¼

@f @x

based on (2r + 1) symmetrical

r 1 X bm fm ; Dx m¼r

ð3Þ

where fm = f(x + mDx). It is well-known that Eq. (3) can achieve 2rth order of accuracy when the coefficients bm are properly chosen. However, the main drawback of such an approach is that the dispersion and dissipation properties of the resulting scheme are not optimal. On the other hand, spectral-optimized finite difference schemes such as the DRP schemes optimize the dissipation and dispersion properties at the expense of formal order of accuracy. This is also the approach of the present paper. Furthermore, as discussed in Section 1, we want to design a class of finite difference schemes with minimized dispersion and controllable dissipation. For this purpose, the following lemma is introduced. @f Lemma 1. If fD0 ðxÞ in Eq. (3) approximates @x to (2r  2)th order of accuracy, the dispersion and dissipation of the corresponding semi-discrete scheme, Eq. (2), are determined respectively by two free parameters cdisp and cdiss which are independent of each other.

Proof. If fD0 ðxÞ approximates

fD0 ðxÞ

¼

fD0 C

fD0 L

þa

þ

@f @x

to (2r  2)th order of accuracy, it can be written in the following general form,

bfD0 R ;

ð4Þ

where

fD0 C ¼

r1 1 X @f þ OðDxÞ2r2 ; am fm ¼ @x Dx m¼rþ1

fD0 L ¼

  r1 2r  1 1 X fm ; ð1Þrm1 Dx m¼r rm1

fD0 R ¼

  r 2r  1 1 X fm ; ð1Þrm Dx m¼rþ1 rm

and the binomial coefficient

  n k

¼

  n is defined by k

n! : k!ðn  kÞ!

@f Since fD0 C is a (2r  2)th order approximation to @x using (2r  1) symmetrical points, its coefficients, am, can be uniquely determined and the solutions are

8 Qr1 > < Q q¼rþ1;q – m;0 ðqÞ ; if m – 0; r1 ðmkÞ am ¼ k¼rþ1;k – m > : 0; otherwise:

Furthermore, it is easy to prove that

fD0 L ¼

1 2r1 D fr  OðDx2r2 Þ Dx

fD0 R ¼

1 2r1 r fr  OðDx2r2 Þ; Dx

and

4619

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

@f where Dfr = f(r1)  fr and rfr = fr  fr1. Therefore, Eq. (4) is a (2r  2)th order approximation of @x with two free parameters a and b. The dispersion and dissipation properties of the semi-discrete scheme corresponding to Eq. (4) can be deduced as follows. Considering f(x) to be a pure harmonic function

f ðxÞ ¼ eixx ;

ð5Þ

we have

@f ¼ ik=Dxeixx ; @x

ð6Þ

where k = xDx is the scaled wavenumber with 0 6 k 6 p. Substituting Eq. (5) into Eq. (4), we obtain 0

fD0 ðxÞ ¼ ik =Dxeixx :

ð7Þ

0

In Eq. (7), k is the modified wavenumber given by 0

0

0

k ¼ Rðk Þ þ iIðk Þ; 0

ð8Þ

0

0

where Rðk Þ and Iðk Þ represent the real and imaginary part of k which are associated with the dispersion and dissipation of the scheme, respectively. Their specific forms are 0

Rðk Þ ¼ cdisp sin rk þ

    r1  X 2r  1 2r  1 2am þ ð1Þrm1 cdisp  sin mk; rm1 rm m¼1

ð9Þ

   r1   2r  1 P 2r 0 ; Iðk Þ ¼ cdiss cos rk þ ð1Þr þ ð1Þrm cos mk r rm m¼1

ð10Þ

cdisp ¼ a þ b; cdiss ¼ a  b:

ð11Þ

where

It is apparent that cdisp and cdiss are two independent parameters. This completes the proof.

h

Lemma 1 can be generalized if it is allowed to further reduce the order of accuracy of the scheme. In fact, the procedure for proving Lemma 1 can be also applied to fD0 C in Eq. (4) with a reduced order of accuracy. Repeating this procedure, the following lemma can be obtained. @f Lemma 2. If fD0 in Eq. (3) approximates @x to (2r  2n)th order of accuracy (1 6 n < r), the dispersion and dissipation of the corresponding semi-discrete scheme are determined separately by two sets of free parameters each with n elements. Lemmas 1 and 2 make it possible to design the finite difference schemes with the MDCD properties. To be specific, we only consider Lemma 1 in the present paper. In this case, cdisp can be determined by optimization of the dispersion properties. cdiss is chosen to provide the dissipation needed in a specific simulation. After the determination of cdiss and cdisp, a and b are computed according to Eq. (11) and the corresponding MDCD scheme is thus constructed.

2.2. Spectral properties of the MDCD scheme To facilitate the construction of the MDCD scheme, the spectral properties and the optimization procedures of the finite difference scheme will be studied in detail for the case r = 3 in this subsection. When r = 3, the specific form of Eq. (4) is

   2 3 1  12 cdisp  12 cdiss f3 þ 2cdisp þ 3cdiss þ 12 f2 6     7 7 1 6 6 þ  5 c  15 c  2 f1 þ 10c f0 þ 5 c  15 c þ 2 f1 7; fD0 ðxÞ ¼ diss 2 disp 2 diss 3 2 disp 2 diss 3 7 Dx 6 4 5     1 1 1 þ 2cdisp þ 3cdiss  12 f2 þ 2 cdisp  2 cdiss f3 which is a 4th order approximation of

@f . @x

ð12Þ

The real part of the modified wavenumber of Eq. (12) can be written as

    4 1 0 Rðk Þ ¼ þ 5cdisp sin k þ   4cdisp sin 2k þ cdisp sin 3k: 3 6

ð13Þ

The optimized value of cdisp can be evaluated by minimizing the following integrated error function [8]



1 etp

Z p

0

etðpkÞ ðRðk Þ  kÞ2 dk:

ð14Þ

0

We note that t in Eq. (14) is a parameter which is used to control the relative importance of the low wavenumber and high wavenumber errors. The relationship between E and cdisp is plotted in Fig. 1 for different values of t. It can be easily seen that

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

10

-2

10

-3

10

-4

10

-5

ν=4 ν=6 ν=8 ν=10

E

4620

10

-6

10

-7

10

-8

10

-9

-0.05

0

0.05

γdisp

0.1

Fig. 1. Relation between E and cdisp for different t.

Table 1 Optimized values of cdisp due to different t.

t

4

6

8

10

cdisp

0.0714071

0.0545455

0.0463783

0.0420477

2

ℜ(k’)

1.5

1

spectral UW5 C6 MDCD, γdisp=0.0714071 MDCD, γdisp=0.0545455 MDCD, γdisp=0.0463783 MDCD, γdisp=0.0420477

0.5

0 0.5

1

1.5

2

2.5

3

k Fig. 2. Comparison of dispersion properties of various schemes. Note the dispersion properties of UW5 and C6 are the same.

E has a minimum and the corresponding value of cdisp is the optimized one. The optimal values of cdisp corresponding to different values of t are shown in Table 1. The dispersion properties of the 4th order MDCD schemes based on the optimized cdisp for different t are shown in Fig. 2. For the purpose of comparison, the dispersion properties of the 5th order upwindbiased scheme (UW5, the original WENO scheme disabling the nonlinear weights) and the 6th order central difference scheme (C6) are also shown. It can be seen that the dispersion properties of the UW5 is the same as that of C6 while the MDCD schemes show higher resolutions. To show the dispersion properties more clearly, the dispersion errors defined by 0 Rðk Þ=k  1 are plotted in Fig. 3. The final optimized value of cdisp for the practical applications will be determined in the next section where the nonlinear mechanism needed for shock-capturing will also be considered. The dissipation of the MDCD scheme can be adjusted by changing the value of cdiss. To ensure the stability of the scheme, the dissipation should be non-negative for all wavenumbers. The imaginary part of the modified wavenumber of Eq. (12) can be written as:

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635 0

Iðk Þ ¼ cdiss gðcosðkÞÞ;

4621

ð15Þ

where

gðxÞ ¼ 4x3  12x2 þ 12x  4;

1 6 x 6 1:

2

0

As g (x) = 12(x  1) P 0, g(x) is non-decreasing. It is straightforward to verify g(1) = 0. Therefore, we have g(x) 6 0 for 1 6 x 6 1. This proves g(cos(k)) 6 0. If f0 (u) P 0, the dissipation of the MDCD scheme is non-negative as long as cdiss P 0. For the case f0 (u) 6 0, cdiss 6 0 will ensure the dissipation is non-negative. It is clear that the dissipation of the MDCD scheme is an increasing function of jcdissj. From this point, we use the notation MDCD (jcdissj) to denote a MDCD scheme with a specific dissipation corresponding to the value of cdiss. For example, the dissipation of MDCD(0) and MDCD(0.05) are shown in Fig. 4 where the dissipations of UW5 and C6 are also depicted. If we use

Z p    0 G ¼  Iðk Þdk

ð16Þ

0

as a measure of the dissipation, it is clear that G is a linear function of jcdissj. The relation between G and jcdissj is shown in Fig. 5 where it can be seen that the dissipation error of the MDCD scheme can be chosen in a range from zero to an infinite

MDCD, γdisp=0.0714071 MDCD, γdisp=0.0545455 MDCD, γdisp=0.0463783 MDCD, γdisp=0.0420477 UW5 C6 spectral

0.06

ℜ(k’)/k-1

0.04

0.02

0

-0.02

0

0.5

1

1.5

k

Fig. 3. Comparison of dispersion errors of various schemes. Note the dispersion errors of UW5 and C6 are the same.

0

-0.2

-0.4

ℑ(k’)

-0.6

MDCD(0) MDCD(0.05) UW5 C6

-0.8

-1

-1.2

-1.4 0

0.5

1

1.5

2

2.5

k Fig. 4. Comparison of the dissipation of various schemes.

3

4622

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

MDCD UW5 C6

0.6 0.4 0.2 0 -0.2

G

-0.4 -0.6 -0.8 -1 -1.2 -1.4 -1.6 -1.8 0.01

0.02

0.03

0.04

0.05

|γdiss| Fig. 5. Relation between G and jcdissj.

large value. On the other hand, the dissipation errors of UW5 and C6 are fixed. It can be also observed that the dissipation of MDCD(0.035) is similar to that of UW5 while both MDCD(0) and C6 have zero dissipation. 3. The nonlinear MDCD scheme 3.1. The MDCD–WENO scheme The semi-discrete finite difference scheme of Eq. (1) in conservative form can be written as

duj 1 ¼ LðuÞj ¼  ð^f jþ1=2  ^f j1=2 Þ; dt Dx

ð17Þ

where ^f jþ1=2 is the numerical flux. To achieve shock-capturing capability, we rewrite the numerical flux of the MDCD scheme within the framework of the WENO scheme with symmetrical stencils. That is

^f jþ1=2 ¼

r X

C rk qrk ðxjþ1=2 Þ þ

k¼0

r X



xr  C rk qrk ðxjþ1=2 Þ;

ð18Þ

k¼0

where qrk ðxjþ1=2 Þ is the rth order accurate approximation of the numerical flux based on a set of candidate stencils denoted by Sk ¼ ðxjþkrþ1 ; . . . ; xjþk Þ. The detailed formulation of qrk ðxjþ1=2 Þ can be found in [8]. Using the notation of [7], C rk is the optimal weight and xk is the weight related to the relative smoothness of f on each set of candidate stencils. In terms of the numerical flux in Eq. (18), the spatial derivative in Eq. (4) is evaluated as

fD0 ðxj Þ

" # r

1 X r r r ¼ C q ðxjþ1=2 Þ  qk ðxj1=2 Þ þ Xjþ1=2  Xj1=2 ; Dx k¼0 k k

ð19Þ

where

Xjþ1=2 ¼

r X



xr  C rk qrk ðxjþ1=2 Þ:

ð20Þ

k¼0

According to Eq. (19), the finite difference approximation of the derivative can be split into two parts



fD0 xj ¼ fD0 linear þ fD0 nonlinear : The linear part

fD0 -linear

" # r

1 X r r r ¼ C q ðxjþ1=2 Þ  qk ðxj1=2 Þ Dx k¼0 k k

ð21Þ

ð22Þ

mainly affects the formal order of accuracy of the scheme and the nonlinear part

fD0 -nonlinear ¼

1 ½Xjþ1=2  Xj1=2  Dx

is responsible for capturing the discontinuities.

ð23Þ

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

4623

Because both Eqs. (4 and 22) are based on the same symmetric stencils, C rk can be written as functions of cdisp and cdiss (or a and b ). When r = 3, the relations are shown in Table 2. It is noted that the corresponding MDCD–WENO scheme is 4th order accurate and satisfies the MDCD properties. We also note that both the linear and nonlinear parts of the scheme are important in order to design a finite difference with good spectral properties and shock-capturing capability. The nonlinear weight xr in the present paper is that proposed by Taylor et al. [25], which is proved to be superior to the original weight of Jiang and Shu [7]. 3.2. The hybrid scheme The nonlinear finite difference scheme MDCD–WENO has good shock-capturing capabilities. However, the spectral properties of the shock-capturing schemes may be much different from their linear counterpart. In other words, the nonlinear mechanisms of the shock-capturing schemes may deteriorate the spectral properties of the schemes even in the smooth region [22,23]. Moreover, the computation of the nonlinear terms of the MDCD–WENO scheme is very time-consuming. To overcome these limitations, a hybrid scheme combining MDCD–WENO with its linear counterpart is developed. The linear MDCD scheme is applied in the smooth region while the nonlinear mechanism is activated in the vicinity of discontinuities. In the present paper, the hybridization is based on the method of Ren et al. [11] to avoid the abrupt transition from the linear scheme to the nonlinear one. The numerical flux of the hybrid scheme is given by

^f ^MDCD ^MDCD—WENO ; jþ1=2 ¼ rjþ1=2 f jþ1=2 þ ð1  rjþ1=2 Þf jþ1=2

ð24Þ

^MDCD—WENO represent the numerical fluxes computed by the linear MDCD scheme and where rj+1/2 is the weight, ^f MDCD jþ1=2 and f jþ1=2 the MDCD–WENO scheme respectively. The weight is a continuous function of the smoothness indicator and is designed to be [11]



rjþ1=2 ¼ min 1;

 r jþ1=2 : rc

ð25Þ

In Eq. (25), rj+1/2 is the smoothness indicator computed by

rjþ1=2 ¼ minðr j ; r jþ1 Þ;

ð26Þ

where

rj ¼

j2Dfjþ1=2 Dfj1=2 j þ e

ð27Þ

ðDfjþ1=2 Þ2 þ ðDfj1=2 Þ2 þ e

and Dfj+1/2 = fj+1  fj. The positive parameter e is given by



0:9r c n2 ; 1  0:9r c

ð28Þ

where n is chosen as n = 103. rc in Eq. (25) is a threshold for identifying the smooth flow. When rj+1/2 P rc, the flow is considered to be smooth and the MDCD–WENO flux is not computed to improve the efficiency of the hybrid scheme. In the present paper, rc is set to be rc = 0.4. By adopting a fixed value of rc, the dissipation of the numerical scheme is only controlled by cdiss. 3.3. The spectral properties of the hybrid scheme For a nonlinear scheme, no analytical formula of the spectral relations can be obtained. However, the modified wavenumber of the nonlinear scheme in terms of the approximate dispersion relation (ADR) can be obtained using the technique of Pirozzoli [22]. In order to optimize the dispersion properties of the proposed hybrid scheme (referred to as MDCD-HY hereafter), its ADR based on the optimized cdisp presented in Table 1 is plotted in Fig. 6. The dispersion properties of the original WENO scheme developed by Jiang and Shu [7](referred to as WENO-JS hereafter) and the optimized WENO scheme developed by Martín et al. [8] (referred to as WENO-SYMBO hereafter) are also shown for comparison. The selection of the cdisp for the MDCD-HY scheme is based on the following criterion: the resolving efficiency [24] n ¼ kpc should be maximized subjected 0 to the constraint jRðk Þ=k  1j 6 s for all k 6 kc, where s is the tolerance of the dispersion error. In [17], s = 1.5% is used in the optimization procedure. Based on this tolerance, the optimal cdisp is cdisp = 0.0545455 (t = 6) according to Fig. 7. However, it Table 2 Optimized weights Ck(0 6 k 6 3) for the MDCD–WENO scheme. The superscript r is omitted for brevity. C0

C1

3 2 ð disp

1 2

c

þ cdiss Þ

C2 3 2

9 2

 cdisp þ cdiss

1 2

C3 3 2

9 2

 cdisp  cdiss

3 2 ð disp

c

 cdiss Þ

4624

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

ℜ(k’)

1.5

1

spectral WENO-JS WENO-SYMBO MDCD-HY, γdisp=0.0714071 MDCD-HY, γdisp=0.0545455 MDCD-HY, γdisp=0.0463783 MDCD-HY, γdisp=0.0420477

0.5

0 0.5

1

1.5

2

2.5

3

K Fig. 6. Comparison of dispersion properties of various shock-capturing schemes.

spectral WENO-JS WENO-SYMBO MDCD-HY, γdisp=0.0710471 MDCD-HY, γdisp=0.0545455 MDCD-HY, γdisp=0.0463783 MDCD-HY, γdisp=0.0420477

0.1

ℜ(k’)/k-1

0.05

0

-0.05

-0.1

0.5

1

1.5

2

K Fig. 7. Comparison of dispersion errors of various shock-capturing schemes.

can be seen in Fig. 7 that the corresponding dispersion error is relatively large in the region 0.5 6 k 6 1.5. To reduce the dispersion error for the low wavenumber (k 6 1.5) elements of the solution, we choose s = 0.5% in the present and the optimal value of cdisp is

cdisp ¼ 0:0463783

ð29Þ

which is corresponding to t = 8. The resolving efficiency of the resulting MDCD-HY scheme is 41%. Based on the same tolerance, the resolving efficiency of WENO-JS and WENO-SYMBO are 21% and 28%, respectively. According to these results, a significant improvement in the resolution of MDCD-HY over WENO-JS and WENO-SYMBO can be expected. The dissipation of the hybrid scheme is function of cdiss, when f0 (u) P 0, we need cdiss P 0 to ensure that the dissipation is non-negative. Furthermore, Ck(0 6 k 6 3) is usually required to be non-negative, which leads to cdiss 6 cdisp. Therefore, we have

0 6 cdiss 6 0:0463783:

ð30Þ

0

When f (u) 6 0, the corresponding constraint is

0:0463783 6 cdiss 6 0:

ð31Þ

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

4625

0.5

0

ℑ(k’)

-0.5

-1

MDCD-HY(0) MDCD-HY(0.046) WENO-JS WENO-SYMBO

-1.5

-2

0

0.5

1

1.5

2

2.5

3

k Fig. 8. Comparison of dissipation properties of various shock-capturing schemes.

We use the notation MDCD-HY (jcdissj) to denote a MDCD-HY scheme with the specific dissipation corresponding to the value of cdiss. The dissipation properties of the MDCD-HY(0) and MDCD-HY(0.046) are computed using the technique of ADR [22] and are shown in Fig. 8. In principle, the dissipation must be as small as possible but large enough to ensure the stability of the simulation and the damping of spurious numerical oscillations. Consequently, the optimal value of dissipation is problem-dependent. A significant advantage of the MDCD-HY scheme is that it provides the flexibility in adjusting the dissipation without corrupting its dispersion properties. When numerical stability is not an issue and there are no spurious oscillations, the dissipation error of MDCD-HY produced by the optimal weight and nonlinear mechanism can be almost eliminated by choosing a cdisp with a small absolute value. On the other hand, MDCD-HY can also supply large dissipation by increasing jcdissj. As shown in Fig. 8, the largest dissipation of MDCD-HY can be actually larger than that of WENO-JS. The flexibility in adjusting the dissipation makes it possible to develop a versatile and robust code for the simulation of complex problems with discontinuities. In principle, cdiss can be also chosen in an adaptive way. For example, the cdiss of the MDCD-HY scheme at a grid point can be related to the distribution of local numerical solutions in the vicinity of this grid point. This point will be further investigated in the future work. 3.4. Application to Euler and Navier–Stokes equations In this section, the MDCD-HY scheme is applied to solve Euler and Navier–Stokes equations. For brevity, the procedure is illustrated using one-dimensional Euler equations of gas dynamics, which, in conservation form, can be written as

@U @F þ ¼ 0; @t @x

ð32Þ

where

2

3

2

3

q qu 6 7 6 7 U ¼ 4 qu 5; F ¼ 4 qu2 þ p 5: qE quH The inviscid numerical fluxes are computed by considering the local characteristic flux decompositions. The procedure involves the following steps: (1) At each fixed xj+1/2, the average state Uj+1/2 is determined by a simple average or the Roe average. ðiÞ ðiÞ (2) The left eigenvector matrix Ljþ1=2 ði ¼ 1; 2; 3Þ and right eigenvector matrix Rjþ1=2 ði ¼ 1; 2; 3Þ as well as the eigenvalues ðiÞ kjþ1=2 ði ¼ 1; 2; 3Þ of the Jacobian matrix @F/@U are evaluated at the average state. (3) For each set of candidate stencils, the local characteristic decomposition of fluxes are computed by ðiÞ

wðiÞ m ¼ Ljþ1=2 Fm ;

m 2 ½j  r þ 1; j þ r;

where r = 3 is chosen in the present paper.

4626

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

^ ðiÞ;;MDCD ^ ðiÞ;;MDCD—WENO (4) The numerical characteristic flux functions w or w are computed from the local characteristic jþ1=2 jþ1=2 ðiÞ; ðiÞ; fluxes wm by using the linear MDCD scheme or the nonlinear MDCD–WENO scheme. wm can be evaluated by the Roe-type local characteristic flux according to

( (

ðiÞ;þ;Roe

¼ wm

ðiÞ;;Roe

¼0

ðiÞ;þ;Roe

¼0

ðiÞ;;Roe

¼ wm

wm wm wm wm

ðiÞ

ðiÞ

if kjþ1=2 > 0; ðiÞ

ðiÞ

if kjþ1=2 < 0

or the flux based on local Lax-Friedrichs flux splitting which can be written as

8 ðiÞ ðiÞ ðiÞ L Fm þ max jk jL Um > < wðiÞ;þ;LF ¼ jþ1=2 l2ðjrþ1;...;jþrÞ l jþ1=2 ; m 2 ðiÞ ðiÞ ðiÞ > Ljþ1=2 Fm  max jk jLjþ1=2 Um : ðiÞ;;LF l2ðjrþ1;...;jþrÞ l wm ¼ : 2 We basically use the Roe-type scheme as it is less dissipative and thus achieves higher resolution. However, it should be noted that the Roe-type WENO schemes admit rarefaction shocks that do not satisfy the entropy condition and an entropy fix procedure with ðiÞ; wjþ1=2

¼

8 < wðiÞ;Roe

if kj kjþ1 > 0;

: wðiÞ;LF

otherwise

jþ1=2 jþ1=2

ðiÞ ðiÞ

is used in the practical computation. (5) The approach of hybridization is the same as that previously used for the scalar conservation law. That is ðiÞ; ðiÞ ðiÞ;;MDCD ðiÞ ðiÞ;;MDCD—WENO ^ jþ1=2 ¼ rjþ1=2 wjþ1=2 þ ð1  rjþ1=2 Þwjþ1=2 w

ð33Þ

with



rðiÞ 1; jþ1=2 ¼ min

ðiÞ

rjþ1=2 rc

 ;



 ðiÞ ðiÞ r jþ1=2 ¼ min r jðiÞ ; r jþ1 ; and ðiÞ rj

¼

    ðiÞ ðiÞ 2Dwjþ1=2 Dwj1=2  þ e ðDwjþ1=2 Þ2 þ ðDwj1=2 Þ2 þ e ðiÞ

ðiÞ

:

(6) The inviscid numerical flux is finally computed by

  b cþ c F jþ1=2 ¼ Rjþ1=2 W jþ1=2 þ W jþ1=2 : The MDCD-HY scheme for the one-dimensional Euler equation can be extended to solve multi-dimensional Euler and Navier–Stokes equations on Cartesian and curvilinear coordinates. The detailed formulation is omitted here and further details can be found in [26] where the hybrid compact-WENO scheme on curvilinear coordinates is considered.

4. Numerical tests In order to analyze the behavior of the MDCD-HY scheme for solving problems characterized by a wide range of length scales, various test problems have been computed, including a wave packet with a broadband sine waves, shock/entropy wave interaction and an acoustic disturbance characterized by different length scales. For comparison, the computations have also been carried out with WENO-JS and WENO-SYMBO. For all one-dimensional problems presented in this section, the MDCD-HY(0) can achieve stable numerical solutions. Nevertheless, in some test cases, results obtained using MDCDHY with larger dissipation are also presented to show the influence of the numerical dissipation. To demonstrate the robustness and computational efficiency of the proposed scheme, a two-dimensional viscous shock tube problem with different initial conditions has been solved. As a further test of the present scheme, the DNS of the compressible turbulent flow between isothermal walls is presented in this section. For all one and two-dimensional test cases, the low storage fourth order Runge–Kutta scheme [27] is used for the time integration. For the three-dimensional DNS, an implicit dual-time stepping LUSGS algorithm [28] is adopted to advance the solution in time.

4627

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

4.1. Transportation of a wave packet The linear advection equation is used to test the accuracy of the MDCD-HY scheme. The governing equation is

@u @u þ ¼ 0: @t @x

P The initial condition is u0 ðxÞ ¼ m1 m k¼1 sinð2pkxÞ, and periodic boundary conditions are imposed at the two end points of the region 0 6 x 6 1. The solution of this problem is characterized by the wave packet with different length scales. As m becomes larger, it contains higher wavenumber elements. The simulation is carried out up to t = 1.0 using a Courant number CFL = 0.1. Four cases with m = 1, m = 5, m = 10 and m = 20 are computed on different grid points. Errors of the numerical solutions in L2 norm are shown in Fig. 9. The results indicate that WENO-JS, WENO-SYMBO and MDCD-HY can all achieve their theoretical order of accuracy (5th, 3th and 4th order, respectively) when the grid number is large enough. Because WENO-JS has the highest order of accuracy, it will gradually become the most accurate scheme as the increase of the grid numbers. However, this behavior is in close relation with the length scale of the wave packet. When m = 1, 5, 10 and 20, at least 80, 500, 1000 and 1500 grid points are needed, respectively to make WENO-JS more accurate than MDCD-HY. This is corresponding to 75–100 grid points in one wavelength to resolve the highest wavenumber component of the solution. In practice applications such as DNS of turbulent flow, one can rarely use such a large number of grid points. If about 10–20 points in one wavelength are used to compute the highest wavenumber component, the MDCD-HY will always be several times more accurate than WENO-JS according to Fig. 9. 4.2. The Shu–Osher problem This problem is governed by the one-dimensional Euler equations with the following initial conditions:

10

-2

10

-3

10

-4

10

-5



ð3:857143; 2:629369; 10:3333Þ; if x 6 1; ð1 þ 0:2 sinð5xÞ; 0; 1Þ;

otherwise: WENO-JS WENO-SYMO MDCD-HY(0) 3th 5th

10-6 10-7 10-8 10

10

-1

10

-2

WENO-JS WENO-SYMO MDCD-HY(0) 3th 5th

10-3

L2 error

L2 error

ðq; u; pÞ ¼

10

-4

10

-5

10-6

-9

10-7 100

200

300 400500

200

N

-1

10

-2

10

-3

10

-4

WENO-JS WENO-SYMO MDCD-HY(0) 3th 5th

600 8001000

10-5

10-6

WENO-JS WENO-SYMO MDCD-HY(0) 3th 5th

-1

10-2

L2 error

L2 error

10 10

400

N

10

-3

10

-4

10-5

10-7

N

500

1000

1500

Fig. 9. The rate of convergence in terms of L2 errors.

N

500

1000

1500

4628

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

4.5

4

3.5

3

ρ

Exact WENO-JS WENO-SYMBO MDCD-HY(0) MDCD-HY(0.015)

2.5

2

1.5

1 2

4

6

8

x Fig. 10. Shu–Osher problems. Distribution of density at t = 1.8 for WENO-JS, WNO-SYMBO and MDCD-HY.

Exact WENO-JS WENO-SYMBO MDCD-HY(0) MDCD-HY(0.015)

5

ρ

4.5

4

3.5

3

5

5.5

6

6.5

7

7.5

x Fig. 11. The enlarged portion of Fig. 10 near the entropy disturbances.

This test case represents a Mach 3 shock wave interacting with a sine entropy wave which generates a flow field with both small scale structures and discontinuities. This is a good test case to evaluate the spectral properties as well as the shockcapturing capability of a scheme. The solution is advanced in time up to t = 1.8 on the computational domain x 2 [0, 10]; the grid number is N = 200. Density distributions computed with different schemes are shown in Figs. 10 and 11. The solution obtained using WENO-JS on a N = 2000 grid is considered to be the ‘‘exact’’ solution although the real exact solution is not known for this problem. Both MDCD-HY(0) and MDCD-HY(0.015) demonstrate superior resolution than WENO-SYMBO and WENO-JS in reproducing the correct flow features downstream the shock wave. Because the dissipation of MDCDHY(0.015) is similar to that of WENO-SYMBO, the improved dispersion property of MDCD-HY is responsible for its better resolution. Comparing results of MDCD-HY(0) with MDCD-HY(0.015), one can see that even a small amount of dissipation will influence the results. Therefore, the dissipation should be reduced as much as possible if it will not create spurious numerical oscillations. The flexibility in adjusting the numerical dissipation offered by MDCD-HY thus appears to be a great advantage for problems with both small scale structures and discontinuities. 4.3. Propagation of broadband sound waves This test problem corresponds to the propagation of a sound wave packet which contains acoustic turbulent structures with various length scales. The initial conditions are given by

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

4629

exact WENO-JS WENO-SYMBO MDCD-HY(0)

1.001

p

1.0005

1

0.9995

0.999 0.2

0.4

0.6

0.8

1

x Fig. 12. Broadband wave propagation. Distribution of pressure for WENO-JS, WNO-SYMBO and MDCD-HY(0) with k0 = 4.

exact WENO-JS WENO-SYMBO MDCD-HY(0)

1.0025 1.002 1.0015 1.001

p

1.0005 1 0.9995 0.999 0.9985 0.998 0

0.2

0.4

0.6

0.8

x Fig. 13. Broadband wave propagation. Distribution of pressure for WENO-JS, WNO-SYMBO and MDCD-HY(0) with k0 = 8.

pðx; 0Þ ¼ p0 1 þ e

N=2 P

! ðEp ðkÞÞ

0:5

sinð2pkðx þ wk ÞÞ ;

k¼1

qðx; 0Þ ¼ q0 ðpðx; 0Þ=p0 Þ1=c ; 2 ðcðx; 0Þ=c0 Þ; uðx; 0Þ ¼ u0 þ c1

where

Ep ðkÞ ¼

 4 2 k e2ðk=k0 Þ k0

is the energy spectrum which reaches its maximum at k = k0. The computation domain is x 2 [0, 1] and wk is a random number ranging from 0 to 1. e is a small parameter which determines the intensity of the acoustic turbulence and is chosen to qffiffiffiffi be e = 0.001 in the simulation. c ¼ cqp is the speed of sound. Periodic boundary conditions are imposed at the boundaries. Computations have been carried out with different schemes for k0 = 4, 8, 12 on a N = 128 grid using a Courant number CFL = 0.2. The simulations are computed for one period of time. When k0 = 4, most part of the turbulent energy is

4630

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

1.001

p

1.0005

1

exact WENO-JS WENO-SYMBO MDCD-HY(0)

0.9995

0.999

0.9985

0.2

0.25

0.3

0.35

x

0.4

0.45

Fig. 14. A randomly chosen enlarge portion of Fig. 13.

1.004

exact WENO-JS WENO-SYMBO MDCD-HY(0)

1.003

1.002

p

1.001

1

0.999

0.998 0.2

0.4

x

0.6

0.8

Fig. 15. Broadband wave propagation. Distribution of pressure for WENO-JS, WNO-SYMO and MDCD-HY(0) with k0 = 12.

concentrated on low wavenumbers; when k0 = 12, the high wavenumber structures are more energetic. The numerical results in terms of pressure distribution are shown in Figs. 12–16. When k0 = 4, all schemes give very similar numerical results which means that all schemes are capable of capturing low wavenumber flow features. However, as k0 increases, the differences in resolution among the various schemes become more obvious. MDCD-HY(0) performs remarkably better than WENO-JS and WENO-SYMBO according to Figs. 13–16. 4.4. Two-dimensional viscous shock tube This test case is taken from [29]. A membrane, which separates two different states of the perfect gas, is initially located at the middle of a square tube with unit length. After the membrane broken, a shock wave, followed by a contact discontinuity, moves to the right. They interact with the horizontal wall and create a thin boundary layer. After the shock reflects back from the right wall, it interacts with the contact discontinuity and the boundary layer, producing complex flow structures. Several test cases with different initial condition are considered in the present paper to test the computational efficiency as well as the robustness of the proposed scheme. The non-dimensional initial conditions are shown in Table 3 where the cases A, B and C represent flows with increasingly strong shock waves. In the present paper, we choose Re = 200 and a 300  150 uniform grid for all test cases. The simulations are run to t = 1.0 with CFL = 0.3. For test case A, MDCD-HY(0), WENO-JS and WENO-SYMBO can give stable solutions and the numerical results depicted in Fig. 17 show similar resolution. For test case

4631

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635 1.004

exact WENO-JS WENO-SYMBO MDCD-HY(0)

1.003

1.002

p

1.001

1

0.999

0.998

0.3

0.35

0.4

0.45

x Fig. 16. A randomly chosen enlarge portion of Fig. 15.

Table 3 Physical parameters for the viscous shock tube problem. Case

qL

uL

vL

PL

qR

uR

vR

PR

A B C

120 240 480

0 0 0

0 0 0

qL/c qL/c qL/c

1.2 1.2 1.2

0 0 0

0 0 0

qR/c qR/c qR/c

B, the dissipation of WENO-SYMBO is too small and the computation breaks down. On the other hand, WENO-JS and MDCDHY(0.02) are capable of supplying sufficient numerical dissipations. The resolution of MDCD-HY(0.02) is higher than WENOJS in capturing the subtle flow structures as shown in Fig. 18. If the shock wave is made even stronger in terms of the initial conditions of case C, WENO-JS, WENO-SYMBO and MDCD-HY(0.02) become unstable while MDCD-HY(0.046) can still get stable numerical results because of its larger numerical dissipation. The corresponding numerical results are shown in Fig. 19. Therefore, the flexibility in adjusting the numerical dissipation makes MDCD-HY more robust. Considering computational efficiency, Table 4 clearly shows that MDCD-HY is the most efficient. Comparing with WENO-JS, MDCD-HY is more than 20% faster for case A and about 15% more efficient for case B.

4.5. Compressible wall turbulence Compressible turbulent channel flow between isothermal walls is chosen as a practical test case to further investigate the performance of the MDCD-HY scheme. In the present paper, we consider a Mach 1.5 supersonic flow [1]. Some basic parameters of the simulation can be found in Table 5. x, y and z represent streamwise, spanwise and wall normal directions, respectively. The Reynolds number Rem = qmUmd/lw is based on the bulk density, the bulk velocity, the channel half-width and viscosity at the isothermal wall; the Reynolds number Res = usd/m (where us is defined as us = (sw/qw)1/2 and sw is the wall shear stress ) is based on the friction velocity, the channel half-width, and the kinematic viscosity at the wall; the Mach number Mam = Um/aw is based on the bulk velocity and the speed of sound at the isothermal wall. Pr is the Prandtl number and c is the ratio of specific heat. Periodic boundary conditions are used in both streamwise direction and spanwise direction. As suggested by Coleman et al. [1], the flow is driven by a uniform body force rather than a pressure gradient to preserve streamwise homogeneity. The body force is chosen to vary in time so that the total mass flow rate remains constant. Although the flow is supersonic, no shock waves are found in the numerical solutions. For the flows without shock waves, Sandham et al. [30] found that if the spatial difference operators satisfied a summation-by-part condition, no numerical dissipation was needed. Based on this finding, they developed a stable scheme by an entropy-splitting approach. However, in our DNS using the proposed finite difference scheme, we find that MDCD-HY(0) is not able to supply enough numerical dissipation to stabilize the simulation. On the other hand, MDCD-HY(0.01) is stable and is thus implemented. We firstly apply MDCD-HY(0.01) on a 1603 grid. A non-uniform mesh with a cosine distribution is employed in the wall-normal direction. The resulting mesh sizes are Dx+ = 14.1, Dy+ = 7.0 and Dz+ = 0.04  4.5. The comparison of the computed statistics with the DNS data of Coleman et al. [1] is shown in Fig. 20. The agreements are satisfactory.

4632

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

0.4

0.3

0.3

y

y

0.4

0.2

0.2

0.1

0.1

0.6

0.8

1

0.6

0.8

x

1

x

0.4

y

0.3

0.2

0.1

0.6

0.8

1

x

Fig. 17. Density contours for case A at t = 1 computed by WENO-JS, WENO-SYMBO and MDCD-HY(0).

0.4

0.3

0.3

y

y

0.4

0.2

0.2

0.1

0.1

0.6

0.8

x

1

0.6

0.8

1

x

Fig. 18. Density contours for case B at t = 1 computed by WENO-JS and MDCD-HY(0.02).

Secondly, the same flow fields are computed by using MDCD-HY(0.01) and WENO-JS on a 963 grid to study the dispersion and dissipation of the numerical schemes in terms of the under-resolved simulations. The streamwise one-dimensional

4633

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

0.4

y

0.3

0.2

0.1

0.6

0.8

1

x Fig. 19. Density contours for case C at t = 1 computed MDCD-HY(0.046).

Table 4 Computational time in seconds. ‘‘’’ means that the scheme cannot get a converged result.

WENO-JS WENO-SYMBO MDCD-HY

Case A

Case B

Case C

1080.7 1134.9 861.8

1212.4  1052.5

  1157.6

Table 5 Parameters for compressible turbulent channel flow. Rem

Res

Mam

Pr

c

Lx

Ly

Lz

Dt

3000

220

1.5

0.72

1.4

4pd

2pd

2d

0:12m=u2s

1.2

2.5

urms, vrms, wrms

1 0.8

/um, Coleman /ρm, Coleman /Tw, Coleman /um,MDCD-HY(0.01) /ρm, MDCD-HY(0.01) /Tw, MDCD-HY(0.01)

0.6 0.4 0.2 0

urms, Coleman vrms, Coleman wrms, Coleman urms, MDCD-HY(0.01) vrms, MDCD-HY(0.01) wrms, MDCD-HY(0.01)

3

1.4

0.2

0.4

0.6

0.8

2

1.5

1

0.5

1

0

50

100

150

200

Fig. 20. The statistic quantities of DNS. (a) Mean streamwise velocity, mean density and mean temperature. (b) Root-mean-square velocity fluctuations normalized by friction velocity.

spectra at z+ = 10 are shown in Fig. 21. For the low wavenumber components of the spectra, both MDCD-HY(0.01) and WENO-JS agree with the resolved simulation. However, when k P 30, the results of WENO-JS start to deviate from the fine

4634

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

10

10

10

2

10

0

1

-1

10

10

-3

-5

E

E

10-2

MDCD-HY (0.01), 160 3 WENO-JS, 96 MDCD-HY(0.01), 963

3

10-7

20

40

60

10

-4

10

-6

10

-8

MDCD-HY (0.01), 160 3 WENO-JS, 96 3 MDCD-HY(0.01), 96

80 100

20

k

3

40

60

80 100120

k

10

0

10-2

-4

E

10

10

-6

10

-8

MDCD-HY (0.01), 160 WENO-JS, 963 3 MDCD-HY(0.01), 96

20

3

40

60

80 100120

k

Fig. 21. One-dimensional velocity energy spectra at z+ = 10.

grid results. For MDCD-HY(0.01), the deviation is not significant until k P 60. These results clearly show that MDCDHY(0.01) is less dispersive and achieves higher resolution. It is also noted the larger numerical dissipation of WENO-JS produces larger drops of the spectra at higher wavenumbers.

5. Conclusions In the present paper, a class of semi-discrete finite difference schemes with the MDCD properties has been designed. A remarkable feature of these schemes is the possibility to optimize the dissipation and dispersion properties independently. A sufficient condition for the finite difference schemes to have independent dispersion and dissipation is introduced and a 4th order MDCD scheme is constructed. In order to make the scheme capable of capturing shock waves, the MDCD strategy is then applied in the framework of WENO scheme to design the MDCD–WENO scheme. To eliminate unnecessary numerical dissipation in the smooth region and to improve the computational efficiency, a 4th order MDCD-HY scheme is proposed by blending the 4th order MDCD–WENO scheme with its linear counterpart. The spectral properties of the nonlinear hybrid scheme is studied numerically by computing the ADR using the approach developed by Pirozzoli. It is found that by choosing proper dispersion coefficients, the dispersion error of the hybrid scheme can be smaller than WENO-JS and WENO-SYMBO using the same stencils. At the same time, the dissipation of the hybrid scheme can be adjusted in a very large range. These properties make the MDCD-HY scheme very flexible, robust and less time-consuming. Several standard test cases have been implemented which show excellent resolution and robustness of the MDCD-HY scheme. For practical application, the MDCD-HY scheme has been applied to the DNS of compressible turbulent channel flow between isothermal walls. The results of the MDCD-HY scheme are in good agreement with those computed by the spectral method and are better than the results predicted by more dissipative WENO-JS scheme.

Z.-S. Sun et al. / Journal of Computational Physics 230 (2011) 4616–4635

4635

Acknowledgments This work was supported by Projects 10932005 and 50910222 of NSFC. References [1] G.N. Coleman, J. Kim, R.D. Moser, A numerical study of turbulent supersonic isothermal-wall channel flow, Journal of Fluid Mechanics 305 (1995) 159– 183. [2] P.G. Huang, G.N. Coleman, P. Bradshaw, Compressible turbulent channel flows: DNS results and modeling, Journal of Fluid Mechanics 305 (1995) 185– 218. [3] Y. Morinishi, S. Tamano, K. Nakabayashi, A DNS algorithm using B-spline collocation method for compressible turbulent channel flow, Computers and Fluids 32 (2003) 751–776. [4] L. Gamet, F. Ducros, F. Nicoud, T. Poinsot, Compact finite difference schemes on non-uniform meshes. Application to direct numerical simulations of compressible flows, International Journal for Numerical Methods in Fluids 29 (1999) 159–191. [5] Yan Jiang, J.M. Floryan, Finite-difference 4th-order compact scheme for the direct numerical simulation of instabilities of shear layers, International Journal for Numerical Methods in Fluids 48 (2005) 1259–1281. [6] A. Harten, B. Engquist, S. Osher, S. Chakravarthy, Uniformly high order essentially non-oscillatory schemes III, Journal of Computational Physics 71 (1987) 231–303. [7] G.S. Jiang, C.W. Shu, Efficient implementation of weighted ENO schemes, Journal of Computational Physics 126 (1996) 202–228. [8] M.P. Martín, E.M. Taylor, M. Wu, V.G. Weirs, A bandwidth-optimized WENO scheme for effective direct numerical simulation of compressible turbulence, Journal of Computational Physics 220 (2006) 270–289. [9] N.A. Adams, K. Shariff, A high-resolution hybrid compact-ENO scheme for shock/turbulence interaction problems, Journal of Computational Physics 127 (1996) 27–51. [10] S. Pirozzoli, Conservative hybrid compact-WENO schemes for shock–turbulence interaction, Journal of Computational Physics 178 (2002) 81–117. [11] Y-X. Ren, M. Liu, H. Zhang, A characteristic-wise compact WENO scheme for solving hyperbolic conservation laws, Journal of Computational Physics 192 (2003) 365–386. [12] Y.Q. Shen, G.W. Yang, Hybrid finite compact-WENO schemes for shock calculation, International Journal for Numerical Methods in Fluids 53 (2007) 531–560. [13] D. Kim, J.H. Kwon, A high-order accurate hybrid scheme using a central flux scheme and a WENO scheme for compressible flowfield analysis, Journal of Computational Physics 210 (2005) 554–583. [14] B. Costa, W.S. Don, Multi-domain hybrid spectral-WENO methods for hyperbolic conservation laws, Journal of Computational Physics 224 (2007) 970– 991. [15] C.K. Tam, J.C. Webb, Dispersion-relation-preserving finite difference schemes for computational acoustics, Journal of Computational Physics 107 (1993) 262–281. [16] D.P. Lockard, K.S. Brentner, H.L. Atkins, High-accuracy algorithms for computational aeroacoustic, AIAA Journal 33 (2) (1995) 46–251. [17] V.G. Weirs, G.V. Candler, Optimization of Weighted ENO Schemes for DNS of Compressible Turbulence, AIAA Paper 97, 1997, p. 1940. [18] Z.J. Wang, R.F. Chen, Optimized weighted essentially non-oscillatory schemes for linear waves with discontinuity, Journal of Computational Physics 174 (2001) 381–404. [19] D. Ponziani, S. Pirozzoli, F. Grasso, Development of optimized weighted-ENO schemes for multiscale compressible flows, International Journal for Numerical Methods in Fluids 42 (2003) 953–977. [20] R. Lechner, J. Sesterhenn, R. Friedrich, Turbulent supersonic channel flow, Journal of Turbulence 2 (2001) 1–25. [21] X. Cai, F. Ladeinde, Performance of WENO Scheme in Generalized Curvilinear Coordinate Systems, AIAA Paper 36, 2008. [22] S. Pirozzoli, On the spectral properties of shock-capturing schemes, Journal of Computational Physics 219 (2006) 489–497. [23] Y.Q. Shen, G.C. Zha, B.Y. Wang, Improvement of stability and accuracy for weighted essentially nonoscillatory scheme, AIAA Journal 47 (2) (2009) 331– 344. [24] S.K. Lele, Compact finite difference schemes with spectral-like resolution, Journal of Computational Physics 103 (1992) 16–42. [25] E.M. Taylor, M. Wu, M.P. Martín, Optimization of nonlinear error for weighted essentially non-oscillatory methods in direct numerical simulations of compressible turbulence, Journal of Computational Physics 223 (2007) 384–397. [26] Z.S. Sun, Y.X. Ren, The development of the characteristic-wise hybrid compact-WENO scheme for solving the Euler and Navier–Stokes equations, CFD Review 2010 (2010) 279–297. [27] C.W. Shu, Essentially Non-oscillatory and Weighted Essentially Nonoscillatory Schemes for Hyperbolic Conservation Laws, NASA/CR-97-206253, ICASE Report No. 97-65. [28] A. Jameson, E. Turkel, Implicit scheme and LU-decompositions, Mathematics of Computation 37 (1981) 385–397. [29] V. Daru, C. Tenaud, Evaluation of TVD high resolution schemes for unsteady viscous shocked flows, Computer & Fluids 30 (2000) 89–113. [30] N.D. Sandham, Q. Li, H.C. Yee, Entropy splitting for high-order numerical simulation of compressible turbulence, Journal of Computational Physics 178 (2002) 307–322.