• Nie Znaleziono Wyników

High-resolution combined compact schemes for hyperbolic conservation laws

N/A
N/A
Protected

Academic year: 2021

Share "High-resolution combined compact schemes for hyperbolic conservation laws"

Copied!
11
0
0

Pełen tekst

(1)

HIGH-RESOLUTION COMBINED COMPACT SCHEMES FOR

HYPERBOLIC CONSERVATION LAWS

Katsuya Ishii*, Kazuya Matsuoka, Kyota Hattori and Shintaro Yamamoto

*Nagoya University,

ITCF, Furo-cho, Chikusa-ku, Nagoya 464-8601, Japan e-mail: ishii@itc.nagoya-u.ac.jp

Key words: Hyperbolic Conservation Laws, Combined Compact Difference Scheme, Hybrid Scheme, Weighted Compact Nonlinear Scheme

Abstract. We develop the conservative upwind combined compact difference scheme. Using this scheme we propose a conservative hybrid combined compact-WENO scheme to obtain the high accurate solution of hyperbolic conservation laws. The conservative upwind combined compact difference scheme is coupled on to a WENO scheme in the hybrid scheme. This hybrid scheme is applied to solve the Euler equations in one and two dimensions. Numerical results show that the proposed scheme has high resolution properties. We also discuss a nonlinear scheme with the combined compact difference for hyperbolic conservation laws.

1 INTRODUCTION

In simulations of turbulence and aero-acoustics, a high-resolution scheme is required to compute the various scales of the flows accurately. Lele3 proposed the Compact Difference (CD) scheme, which yields high resolution and is able to capture weak waves such as turbulent and/or acoustic fluctuations. Chu&Fan5 and Nihei&Ishii6 were proposed the Combined Compact Difference (CCD) Scheme. CCD schemes use higher derivatives at 3-point stencil and have higher resolution than CD schemes with the same accuracy. However, if the CD scheme and/or the CCD scheme are applied to problems that contain discontinuities, non-physical oscillations (Gibbs phenomena) appear in the numerical solution.

If flow fields involve shock waves, a shock-capturing scheme should be used to resolve the discontinuities without oscillation. Liu et al.4 proposed Weighted Essentially Non-Oscillatory (WENO) scheme, and it demonstrates very promising shock-capturing capabilities. However, the resolution of the WENO scheme is lower than the CD and CCD scheme, and it can lead to a significant damping of weak waves.

Pirozzoli1 combined the advantages of both the CD scheme and the WENO scheme, and proposed a conservative hybrid compact-WENO (HCD) scheme to compute shock-turbulence interaction problems efficiently. The algorithm is based on the CD scheme of the conservation form to compute the smooth part of the flow field, which is coupled with the WENO scheme to capture the discontinuity.

(2)

schemes.

In this paper, we propose a conservative hybrid combined compact-WENO (HCCD) scheme to obtain high resolution for the solution of hyperbolic conservation laws. First, we develop the combined compact difference of the conservation form. HCCD improves the accuracy and resolution of the HCD. HCCD is applied the Euler equations in one and two dimensions in order to examine the performance of HCCD. In addition, in chapter 4, we modify a Weighted Compact Nonlinear Scheme (WCNS) of Deng&Zhang2 and propose a Weighted Combined Compact Nonlinear Scheme (WCCNS) in the finite-volume representation. A new scheme is applied the two dimensional Euler equations in order to denote the extensibility of the combined compact difference.

2 NUMERICAL FORMULATION

2.1 A conservative Combined Compact Difference scheme Consider the scalar hyperbolic conservation low given by

0 ) ( = ∂ ∂ + ∂ ∂ x u f t u . (1)

When we use the grid system of N grid points with uniform spacing h, u ,j fi and f ′ denote j the values of the functions u,f(u)and its 1st derivative f ′(u) at j -th grid point x . j

Eq.(1) is spatially discretized in conservation form

) , , 2 , 1 ( ~ ~ 2 1 2 1 N j h f f t uj j j L = − − = ∂ ∂ + (2)

where ~fj+12 is the value of the numerical flux function at the intermediate nodexj+12. If

(

~ ~

)

( ), 1 2 1 2 1 k j j j f f O h f h + − − = ′+ (3)

this scheme is k-th order accuracy in space.

Pirozzoli1 proposed a conservative compact scheme whereby the reconstructions of ~fj+12. We propose a conservative combined compact scheme based on CCD by the reconstructions of ~fj+12.

For k=7 in Eq.(3), the numerical flux function in Eq.(2) can be computed by using the 7th-order conservative upwind combined compact scheme

(3)

, 1 0 0 1 , 8 1 8 9 24 72 23 , 8 1 8 9 8 8 5 ⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ = ⎟⎟ ⎟ ⎟ ⎠ ⎞ ⎜⎜ ⎜ ⎜ ⎝ ⎛ − − = ⎟⎟ ⎟ ⎟ ⎠ ⎞ ⎜⎜ ⎜ ⎜ ⎝ ⎛ − − = B E A h h h h

(

3 3

)

. 1 108 79 108 133 54 1 1 1 1 2 1 ⎟⎟ ⎟ ⎟ ⎠ ⎞ ⎜⎜ ⎜ ⎜ ⎝ ⎛ + − + + − = + + − + j j j j j j f f h f f f R

When ∂fx>0, the evaluation of the numerical flux at the left boundary at intermediate x 12

requires the knowledge of the solution in an additional ghost node x . Given by the function 0 value f at the ghost node 0 x , at the left boundary we have 0

2 1 2 3 2 3 1 2 1 2 1 ~ ~ ~ ~ R C E ⎟= ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ′ + ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ′ f f f f (5) where , 48 5 48 107 48 199 48 23 1 48 1 48 23 48 139 16 1 , 4 11 2 5 4 3 2 3 3 2 1 0 3 2 1 0 2 1 1 ⎟ ⎟ ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎜ ⎜ ⎝ ⎛ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ + − + = ⎟⎟ ⎟ ⎟ ⎠ ⎞ ⎜⎜ ⎜ ⎜ ⎝ ⎛ − − = f f f f h f f f f h h R C

and at the right boundary

,. ~ ~ ~ ~ 2 1 2 1 2 1 2 1 2 1 1 + + + − − = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ′ + ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ′ N N N N N f f f f R E D (6) where . 4 53 108 2075 108 247 108 23 1 12 49 36 97 36 11 36 1 , 3 37 9 35 2 3 2 1 2 3 1 2 3 2 1 1 ⎟ ⎟ ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎜ ⎜ ⎝ ⎛ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ + + + − + − = ⎟⎟ ⎟ ⎟ ⎠ ⎞ ⎜⎜ ⎜ ⎜ ⎝ ⎛ − = − − − − − − + N N N N N N N N N f f f f h f f f f h h R D

This scheme becomes 6th-order accuracy at the boundaries. When ∂fx<0, the boundary closure is the symmetrical form to the above boundary closures.

2.2 Stability analysis

(4)

au f x f t u = = ∂ ∂ + ∂ ∂ , 0 , (7)

Using a compact matrix notation, the proposed CCD with the boundary closures is represented by q Qf F P = + where

(

f12,f32, ,fN 12

)

T,f

(

f1, f2, , fN

)

T,q

(

q1,q2,0, ,0

)

T, F= L + = L = L

(

)

,0 , 54 1 , 48 23 , 16 1 , ~ , ~ 0 2 0 0 1 2 1 2 1 2 1 T T T j j j f f h f f f ⎟ ⎠ ⎞ ⎜ ⎝ ⎛− = ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = ′ = + + + q q f , , 1 1 1 ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎝ ⎛ = ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎝ ⎛ = N N N N b c d a c b a c b a c b d c b Q E D B E A B E A B E A C E P O O O O O O , 3 , 108 79 , 3 , 108 133 , 0 , 54 1 T T T h h ⎟⎠ ⎞ ⎜ ⎝ ⎛ = ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = ⎟ ⎠ ⎞ ⎜ ⎝ ⎛− = b c a , 48 5 , 48 1 , 48 107 , 48 23 , 48 199 , 48 139 1 1 1 T T T h h h ⎟⎠ ⎞ ⎜ ⎝ ⎛ = ⎟ ⎠ ⎞ ⎜ ⎝ ⎛− = ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = c d b 4 53 , 12 49 , 108 2075 , 36 97 , 108 247 , 36 11 , 108 23 , 36 1 T N T N T N T N h h h h ⎟⎠ ⎞ ⎜ ⎝ ⎛ = ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = b c d a

The flux function is given by

(5)

⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎝ ⎛ = 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 O O O R .

The conservative approximation for the first derivative is written as

f C f 1 ~ h = ′ (9) where ⎟ ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎜ ⎝ ⎛ − − = 1 1 1 1 O O C .

Substituting Eq.(8) and (9) to Eq.(7), the following semidiscrete approximation therefore holds

(

Qu q

)

CRP u + − = ∂ ∂ 1 −1 h a t .

The stability characteristics of the semidiscrete approximation depend upon the matrix

Q CRP

S=− −1 . In particular, a necessary condition for stability is that all eigenvalues of S

(6)

Fig.1 Eigenvalues of S

2.3 Coupling the CCD scheme with the WENO scheme

In order to couple CCD with WENO, we adopt the same coupling procedure as in [1], which is based on the evaluation of the absolute value of the difference of the computed solution in the two adjacent nodes, i.e.,

.

1 j

j j v v r = +

When the difference rj is larger than a threshold value β , the flux function at the intermediate node j+12 and the two neighboring ones

(

j−12, j+3 2

)

are computed by WENO. As β decreases, the effect of WENO on hybrid scheme becomes more dominant. It is noted that when CCD is used, at least two consecutive nodes must be computed by CCD because the CCD algorithm can’t be applied to only one single node. For example, if the nodes at j−1 2 and j+3 2 are computed by WENO, j+12 must be also computed by WENO.

The special treatment of CCD is needed at the interface with WENO for smooth coupling. The following scheme is used at the interface:

at the left interface

(7)

⎟ ⎟ ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎜ ⎜ ⎝ ⎛ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ + + − + + = ⎟⎟ ⎟ ⎟ ⎠ ⎞ ⎜⎜ ⎜ ⎜ ⎝ ⎛ − − = − + − − + − + WENO j j j j WENO j j j j j f f f f h f f f f h h 2 1 1 1 2 1 1 1 2 1 2 4 3 216 559 216 521 27 1 1 4 1 216 247 216 139 54 1 , 12 1 9 8 12 9 5 S C ,

at the right interface

2 1 2 1 2 1 2 1 2 1 2 ~ ~ ~ ~ + + + − − = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ′ + ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ′ j j j j j f f f f S E D , where ⎟ ⎟ ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎜ ⎜ ⎝ ⎛ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ + − + + − = ⎟⎟ ⎟ ⎟ ⎠ ⎞ ⎜⎜ ⎜ ⎜ ⎝ ⎛ = + + − + + − + WENO j j j j WENO j j j j j f f f f h f f f f h 2 3 1 1 2 3 1 1 2 1 2 12 5 72 127 72 89 9 1 1 12 1 72 23 72 131 18 1 , 4 1 0 4 1 S D ,

This CCD closure uses the interface fluxes that are pre-determined by WENO.

3 NUMERICAL TEST

3.1 Shock-entropy wave interaction in 1D

This test case is proposed by Shu&Osher7 and has been studies to evaluate performance of schemes widely. The governing equations are the one-dimensional Euler equations. And the initial conditions are

(

)

(

)

⎩ ⎨ ⎧ < ≤ − + < ≤ = 60 1 1 , 0 ), 5 5 sin( 2 . 0 1 1 0 333333 . 10 , 629369 . 2 , 57143 . 8 . 3 ) 0 , ( x if x x if x U .

(8)

Fig.2 Shock-entropy wave interactions: distribution of density.

HCD HCCD

Fig.3 The enlarge portion of Fig.2 in the range 34.2≤ x≤37.2. 3.2 Shock-vortex interaction in 2D

(9)

⎩ ⎨ ⎧ ≤ ≤ + − < = 1 5 . 0 ), 1 ( 3 2 5 . 0 , ) ( x r r U r U r U c c θ

where Uθ is tangential velocity, Ucis velocity behind the shock and r is distance from the vortex center.

The flow variables behind the shock are determined according to the Rankine-Hugoniot relation. The characteristic boundary conditions based on the Riemann invariants are used at left and right boundaries and the periodic conditions are prescribed at the top and bottom boundaries. The computational domain is [−2,2]×[−3,3], which is discretized into 200×300

uniform grids. For the purpose of comparing with an “exact” solution, we also compute the same test case with 7th-order WENO scheme on a much finer grid, consisting of 600×900

nodes. These simulations are performed by HCCD and HCD. The hybrid switch parameter is set to β =0.4. The density contours at t=1.538are shown in Fig 4, and the enlarged portions of Fig.4 near the vortex center are shown inFig.5. In these figures, HCCD resolve the density variation at x=0.4 better than HCD.

“exact” HCD HCCD

(10)

“exact” HCD HCCD

Fig.5 The enlarged portions of Fig.4 near the vortex with 60 equally spaced contour levels.

4 ANOTHER MODIFIED COMPLESSIVE SCHEME OF CCD

Deng&Zhang2 proposed the Weighted Compact Nonlinear Scheme (WCNS) which does not need the switching and can resolve the discontinuity without oscillatory. However, WCNS does not have as high resolution as CD schemes.

We rearrange the WCNS to the finite-volume representation and introduce CCD instead of CD in WCNS, such that a new Weighted Combined Compact Nonlinear Scheme (WCCNS) is obtained. The result of the numerical test shows that WCCNS has better performance than WCNS. The results of the problem in section3.2 are shown in Fig.6. The computational domain is [−2,2]×[−2,2], which is discretized into 500×500 uniform grid. An “exact” solution is computed with 7th-order WENO scheme on a much finer grid, consisting of

1000

1000× nodes. Other computational conditions are equal to ones in section3.2.

The density contours at t=2.1 are showed in Fig.6. The difference between “exact” and WCCNS is smaller than the difference between “exact” and WCNS. The figure shows that in the case of WCNS, numerically oscillations appear near the top and bottom boundary, but in the case of WCCNS we can not get that oscillation.

“exact” WCNS WCCNS

(11)

5 CONCLUSION

We proposed a conservative hybrid combined compact-WENO scheme with high resolution to obtain the solution of hyperbolic conservation laws. The proposed scheme has better resolution properties than the hybrid compact-WENO scheme. In addition, we show the Weighted Combined Compact Nonlinear Scheme has higher resolution than the Weighted Compact Nonlinear Scheme.These examples show that the use of the conservation form and the combined compact difference schemes is important in the numerical scheme of hyperbolic conservation laws.

REFERENCES

[1] Sergio Pirozzoli, Conservative Hybrid Compact-WENO Schemes for Shock-Turbulence Interaction, J. Comput. Phys. 178, 81-117 (2002).

[2] Xiaogang Deng and Hanxin Zhang, Developing High-Order Weighted Compact Nonlinear Schemes, J. Comput. Phys. 165, 22-44 (2000).

[3] Sanjiva K, Lele: Compact Finite Difference Schemes with Spectral-like Resolution, J. Comput. Phys. 103, 16-42 (1992)

[4] X-D. Liu, S. Osher, T. Chan, Weighted Essentialy Non-oscillatory Schemes, J. Comput. Phys. 115, 200-212 (1994)

[5] Peter C. Chu and Chenwu Fan: A Three-Point Combined Compact Difference Scheme, J. Comput. Phys. 140, 370-399 (1998)

[6] Tomonori Nihei, Katsuya Ishii: A fast solver of the shallow water equations on a sphere using a combined compact difference scheme, J. Comput. Phys. 187, 639-659 (2003) [7] C.-W. Shu and S, Osher, Efficient implementation of essentially non-oscillatory

shock-capturing schemes ⅡJ. Comput. Phys. 83, 32 (1989)

Cytaty

Powiązane dokumenty

The leading term of the expansion is computed as the Godunov state of the conventional nonlinear Riemann problem, whereas the evaluation of higher-order terms involves the solution

Results obtained with the CICSAM and the HRIC schemes in two advection test cases show that both formulations are first order accurate and that their shape preserving or

A decrease in stray inductance can also be realised by placing switching branches in parallel (e.g. two main stack branches in parallel results in half the stray inductance and

In §2, we provide a brief description of the semi- discrete central-upwind schemes for hyperbolic systems of conservation and balance laws and review an operator splitting

Pytania te można postawić sobie również w przypadku filmu Xawerego Żuław- skiego Wojna polsko-ruska powstałego na podstawie prozy Doroty Masłowskiej.. Badaczka

Na rynku wydawniczym pojawiło się wiele nowych podręczni- ków, spełniających — w wypadku romantyzmu, Młodej Polski i literatury dwudziestowiecznej — postulat

Zaproszenie mnie do wzięcia udziału w ankiecie „Ja i Mickiewicz&#34; jest dla mnie nieco kłopotliwe, bowiem Mickiewicz nie należy do bliskich mi poetów.. Powiedzenie

The velocity vectors are depicted in Figure 6.17 (see p. Only slight differences are observed between the different flow treatments. The nominal mercury flow rate, as provided by