Full text

1. Introduction

The shallow water equations (SWEs) are widely used to describe the shallow water flows (such as river and coastal flows, lake flows, tides, and so on) under the influence of gravity as well as the bottom topography. The SWEs in one dimensional (1-D) space read as () ( , ),btx ∂∂+=−∂∂ U FU SU (0.1) with the conservative variables vector (, )h hu=U • , the physical flux vector 221() , 2hu hu gh= + FU • and the source term vector ( , ) (0, )xb ghb=SU • . Herein, (,)hxt states the height of the fluid (,)uxt represents the depth-averaged fluid velocity, stands for the bottom topography with 9.812g = as the gravitational constant. In particular, the system (1.1) maintains the still water steady state solutions 0, .u h b Constant= += (0.2) Representative researches of high-order schemes for SWEs (1.1) mainly include: kinetic scheme[1], gas-kinetic scheme[2], central-upwind scheme[3], weighted essentially non-oscillatory (WENO) schemes[4-13], Hermite WENO scheme[14], central schemes[15-18], Runge-Kutta discontinuous Galerkin (RKDG) methods [19-21], ADER (Arbitrary Derivatives in time and space) schemes[22, 23], spectral element method [24], Godunov-type method[25, 26], element-free Galerkin method [27], centralupwind scheme[28, 29], ADER discontinuous Galerkin (ADER-DG) method[30].

In addition, there may not be exact solutions for the nonlinear hyperbolic system of balance laws such as the system (1.1). Therefore, the weak solutions need to be defined in the sense of distributions. Unfortunately, such weak solutions might be non-unique. Due to the non- uniqueness of weak solutions of the system (1.1) , the concept of entropy as an additional admissible criterion is necessary.

Actually, the theoretical analysis to the system (1.1) is very difficult due to the high nonlinearity of the governing equations. Therefore, the numerical solving the system (1.1) by high-order schemes is an effective approach and has attracted extensive attention in the fields of computational hydrodynamics[31-33].

Definition 1. (Entropy function[34]) A strictly convex function ()η U is called an entropy function for the system (1.1), if there is associated entropy flux ()q U such that () (),q′′=U VFU• (0.3) where ()η′=VU• is called the entropy variable, and (,)qη is known as an entropy pair.

With respect to the given entropy pair (,)qη ,the both ends of (1.1) by V• , the smooth solutions of the system (1.1) Abstract: This article develops a high-order accurate, entropy-stable finite volume scheme for the shallow water equations over non-flat bottom topography. First, we construct a second -order accurate, well -balanced, semi-discrete entropy-conservative scheme, which satisfies the entropy identity for the given entropy pair and maintains the still -water steady states exactly. The key idea is to ensure that both the discretization of the flux gradient and the source term match each other. Second, affordable entropy -conservative fluxes for the second order entropy -conservative schemes are critical for the ultimate high -order scheme. A high -order, well -balanced, semi -discrete entropy conservative scheme is then achieved by using the second -order entropy -conservative schemes as a building block. Third, the high- order accurate, well-balanced, semi-discrete entropy-stable schemes are proposed by adding a suitable dissipation term to the existing entropy conservative scheme. This is done using a weighted essentially non -oscillatory reconstruction of the scaled entropy variables to suppress the numerical oscillations of the entropy -conservative scheme. Finally, the semi -discrete scheme is integrated in time using the Runge- Kutta method to achieve the final scheme. Extensive numerical results strongly indicate that the proposed scheme satisfies the disc rete entropy inequality, is well-balanced, maintains high-order accuracy for smooth solutions, and can capture small perturbations near the steady state.

satisfy the below entropy identity () () ( , ).q btx η∂∂+=−∂∂ UUV SU• (0.4) However, in the case of discontinuous solutions, the above identity (1.4) no longer holds. In fact, the above identity will become the below inequality () () ( , ),q btx η∂∂+ ≤−∂∂ UUV SU• (0.5) in the sense of distributions with respect to the discontinuous solutions.

Generally, both the entropy identity (1.4) and the entropy inequality (1.5) are called as the entropy conditions. In fact, the entropy condition plays an important role in screening physically relevant solutions from all possible weak solutions. In addition, the physically relevant solutions are also called entropy solutions. Theoretically, the entropy condition is important for a good fit to a hyperbolic equilibrium law system such as (1.1). In particular, if for a given entropy pair (,)qη ,a weak solution U of the system (1.1) satisfies the above entropy conditions , it is called entropy solution (or physics- related solution)[34].

Numerically, high-order schemes, which satisfy the discrete entropy inequality according to (1.5) for a given entropy pair can improve its own robustness. In recent years, entropy stable (ES) schemes have received extensive attention [33-37] due to its robustness. High- order ES schemes for SWEs mainly include: discontinuous Galerkin spectral element method [38], nodal discontinuous Galerkin method[39], discontinuous Galerkin (DG) methods[40, 41], finite difference schemes[42, 43].

The key objective of this article is to present high -order ES finite volume schemes for 1-D and two-dimensional (2-D) SWEs over non-flat bottom topography. By means of a suitable discretization to the non -flat bottom topography. First, a two-point entropy-conservative (EC) flux, together with a suitable discretization for the non-flat bottom topography, leads to a semi -discrete, second -order accurate, well -balanced (W -B) EC scheme that satisfies the entropy identity. Then, a high-order (W-B) EC scheme is achieved based on the two -point EC scheme. However, the EC schemes may produce numerical oscillations around discontinuities. To overcome this shortcoming, some suitable dissipation terms are constructed in view of the scaled entropy variables by the WENO reconstruction and are then added to the EC fluxes.

Subsequently, a high-order (W-B) ES scheme is developed, which satisfies the semi -discrete entropy inequality. The ES scheme is integrated with a high-order Runge-Kutta method for the temporal discretization. This article is organized as follows: In Section 2, we present well- balanced EC finite difference scheme for the one dimensional SWEs and we extend the proposed scheme to two-dimensional system. In Section 3, we implement extensive numerical examples to demonstrate the performance of the resulting scheme. Finally, some conclusions are drawn.

2. Well-balanced EC finite difference scheme

2.1. Construction of 1-D EC scheme

For convenience, the original system (1.1) can be rewritten as follows () ,b tx x ∂∂ ∂+=−∂∂ ∂ U FU G (0.6) with (0, )gh=G • . Herein, we take the total energy as the mathematical entropy function[34, 42] 221() ( ) ,2 hu gh ghbηη= = ++U for the 1-D SWEs (2.1). The entropy variable is given by 21() ( ) ,2 .gh b u uη ′= = +− VU • • Accordingly, in view of the consistent condition (1.3), the entropy flux is defined as 321() .2q q hu gh u ghub== ++U In addition, we also define the entropy potential ψ as 21() () .2q gh uψ = −=V FU U•

2.1.1. The EC scheme

Firstly, we divide the spatial domain [,]ab by a uniform mesh with 11 ,i ii I xx −+ =  , for 1, 2 ,iN= L as cells together

with the spatial step size bax N −∆= . We firstly focus on constructing the EC scheme with the numerical flux 1 2i+ F% . We assume that at a certain time t , the solution realized in terms of its cell average 1 (,) , i i I x t dxx= ∆ ∫UU is available. Herein, we take 1 ( ,) ( ,). i i ii I xtdx xtx= =∆ ∫UU U Actually, we take the center point value of (,)xtU as the cell average.

The semi-discrete finite volume scheme for (2.1) enjoys the below form , 1 i iii d dt x +− =− −+∆  U FF S%% (0.7) with 1 2i+ F% being the numerical flux to approximate the physical flux ()FU at 1 2i x + . Moreover, we approximate the source term by

11 1 1 22 2 2 [[ ]] [[ ]] 11: {{ }} {{ }} .22 ii i ii i i bb xx +− +− + − =+=− −∆∆SS S G G (0.8) This is equivalent to using the trapezoidal formula to approximate the source term. Here, we take 11 1{{ }} ( )2 iii a aa++ = + and 11 [[ ]] iii a aa++ = − .

In particular, the scheme (2.2) is known as the EC if the solution of (2.2) satisfies the following semi-discrete entropy identity 1( ) 0,i ii d qqdt xη +− + −=∆  U %% (0.9) for some numerical entropy flux 1 2i q + % consistent with the given entropy flux q . Then, numerical flux 1 2i+ F% is called the EC flux correspondingly. In fact, the scheme (2.4) represents the discrete state according to the equality (1.4).

The following lemma introduces a sufficient condition for a given semi-discrete scheme (2.2) to be EC, along with the discretization of the source term. Lemma 1. The semi-discrete scheme (2.2) is EC and second-order accurate, provided that a consistent two-point numerical flux 11 : (, )iii ++ =F FU U% used in (2.2) satisfies [[ ]] [[ ]] {{ }}{{ }}[[ ]],gh u bψ= +VF%• (0.10) where 1 1{{ }} ( )2 iia aa+= + , 1[[ ]] iiaaa+= − , respectively. The numerical entropy flux 1 2i q + % in (2.4) enjoys the below form 1 11 1 1 1 1 2 22 2 2 2 2 1{{ }} {{ }} {{ }} [[ ]] [[ ]] . 4 i ii i i i i q gh u bψ + ++ + + + + = −−VF%% • (0.11) Proof 1. Left-multiplying both ends of (2.2) by iV• gives 11 1 1 1 1i i-22 2 2 2 2 11 1{{ }} [[ ]] {{ }} [[ ]] .22 i ii iii ii d F F gu h b gu h bdt x η + ++ −− =− −+ +∆  V %%• Items on the right hand side can be further rearranged as follows

11 1 1 1 1 22 2 2 2 2 1 11 1 11 2 22 2 22 1 1 11 2 2 22 11{{ }} [[ ]] {{ }} [[ ]]22 11{{ }} [[ ]] { { }} [[ ]]22 11{{ }} [[ ]] {{ }} [[ ]]22 1 {{ }}2 ii iii i i i i i ii i ii i i ii i gu h b gu h b gu u h b gu +− + + − − + ++ − −− + + ++ − −+ +   =−+     +  − + − VF F V VF V VF   • 晻 1 1 11 2 2 22 11 11 1 1 1 1 22 22 2 2 2 2 11 11 1 1 1 22 22 2 2 2 1 [[ ]] {{ }} [[ ]]2 1 11{{ }} [[ ]] { { }} [[ ]] {{ }} [[ ]]2 22 1 11{{ }} [[ ]] {{ }} [[ ]] {{ }} [2 22 i ii ii ii i i i i ii ii i i i u hb gu u h b gu u h − −− ++ ++ + + + + −− −− − − − + −+− −++−  = V F VF V F VF   晻 晻 11 1 1 11 1 1 11 22 2 2 22 2 2 22 11 1 1 1 1 1 22 2 2 2 2 2 [ ]] 11 1 1{{ }} [[ ]] {{ }} {{ }} [[ ]] {{ }} [[ ]] {{ }} [[ ]]22 2 2 11 1 1{{ }} [[ ]] {{ }} {{ }} [[ ]] {{ }} [[ ]]22 2 2 i ii i i ii i i ii ii i i i i i i b gh u b g u u h b gh u b g u u ψ ψ − ++ + + ++ + + ++ −− − − − − − − −− − −− + = + −+ VF VF   • • 1 11 2 22 11 1 1 1 1 22 2 2 2 2 11 1 1 1 1 22 2 2 2 2 11 1 1 1 22 2 2 2 {{ }} [[ ]] 11{{ }} [[ ]] {{ }} [[ ]] [[ ]]24 11{{ }} [[ ]] {{ }} [[ ]] [[ ]]24 1{{ }} {{ }} {{ }} [[ ]] [[ ]]4 ii ii i i i i ii i i i i ii i i i hb gh u b gh u b gh u b ψ ψ ψ −− ++ + + + + −− − − − − ++ + + +   −− −+ = − = −− VF VF VF    • • • 11 1 1 1 1 22 2 2 2 2 1{{ }} {{ }} {{ }} [[ ]] [[ ]]4 , i ii i i i i ii gh u b qq ψ + −− − − − − +−   − −− = − VF  •

where 11 1{{ }} [[ ]]2 i ii aa a ++ = − and 11 22 1{{ }} [[ ]]2 i ii aa a −− = + have been used in the first equality; the condition (2.5) has been used in the second equality. Therefore, the scheme (2.2) is EC with the below form as (2.4) together with the numerical flux ( )11 1 , iiii +++ =F F UU%% .

In addition, the discretization of the source term is also second-order accurate due to the usage of the second-order central difference. Moreover, the results in [45] illustrate that the discretization of the flux gradient is also second -order accurate.

Consequently, the scheme (2.2) along with ( )11 1 , iiii +++ =F F UU%% is second-order accurate. Next, we present an EC flux satisfying the condition (2.5). Lemma 2. For the one-dimensional SWEs (1.1), the following numerical flux {{ }}{{ }} , {{ }}{{ }} {{ }})2 hu ghu h  =+ F% (0.12) is an EC flux and is consistent with the physical flux ()FU in (1.1).

Proof 2. Herein, the key lies in that we apply the following identity [[ab]] ={{a}}[[b]] + [[a]]{{b}}, and rewrite the below jumps in their equivalent forms ( ) [[ ]] [[ ]] [[ ]] {{ }}[[ ]],[[ ]] , 1[[ ]] {{ }}{{ }}[[ ]] {{ }}[[ ]].2 gh gb u u u gh u h gh uψ = +− = + V ••

Subsequently, we substitute the above expressions into (2.5) and get

{{h}} {{u} { } {{u}}[ ({ [u]] ) + [[ ]] [[ ]] { }}[[ ]] [[ ] { ] 1{{ }}{{ }}[[ }} ]] {{ }} ] {h}} {{u } {{u} [[u [[ ]] {{ }}{{ }}[[ ]]2 1( [[ ]] [[ ]] {{ }}[[ ] ) {{ }}{{ }} [[ } ] ]] {{ } {{ }} 2 ] gh gb u u u gh u h gh u gh u b ghgb uu hu u hu g + − ⋅+ ⋅ = ++ − = + − ⋅ +⋅ + FF%% 2{ }} .h 

Then, by comparing the coefficients of the same jump, we get 2 22 ( [[ ]] [[ ]] {{ }}[[ ]]) ( [[ ]] [[ ]] {{ }}[[ ]]) {{ }}{{ }}, 1 [[ ]] [[ ]] {{ }}{{ }} {{ }} ,2 gh gb u u gh gb u u h u u u h u gh +− ⋅= +− ⋅ ⋅= ⋅ + F F % % and then obtain 1 2 221{{ }}{{ }} and {{ }}{{ }} {{ }}.2hu hu gh= = +FF%% Therefore, we achieve the numerical flux in (2.7).

Remark 1. In addition, it is also easy to verify that the EC flux (2.7) is consistent with the physical flux ()FU . Actually, letting (,,)(,,)(,,)LLL RRRh u b h u b hub= = in (2.7) leads to 22 21 1 and . 2hu hu gh= = +FF%% Remark 2. The numerical entropy flux 1i 2 q + % in (2.4) is consistent with the entropy flux ()q U because the EC flux F% in (2.7) is consistent with the physical flux ()FU .

2.1.2. Analysis of the well-balanced property

Here, we briefly summarize the well-balanced property of the current scheme and draw the following lemma. Lemma 3. The current scheme (2.2) with the EC flux (2.7) is well-balanced, in the sense that it preserves the still water steady state (1.2). In other words, for the given initial data 0,iu ≡ ,iih b Constant i+≡ ∀, the solutions of (2.2) satisfy 0 and ( ) 0.ii ddh hudt dt≡≡ Proof 3. Firstly, under the hypotheses that 0,i iiu h b Constant≡ +≡ , we can find that 1 0=F% from (2.7) and verify that 0i d hdt ≡ from (2.2).

Secondly, we get 11 1 1 22 2 2 1 1 11 11 2 2 22 22 11 1 [[ ]] [[ ]] 11 1( ) {{ }} {{ }}22 11 1 1{{ }} {{ }} {{ }} [[ ]] {{ }} [[ ]]22 2 2 11{{ }} [[ ]] {{ }}22 [] [ ii i ii i i i i ii ii ii i bb d hu g h ghdt x x x g h h hb hbx g hh hx +− +− + − + − ++ −− ++ − =− −− −∆ ∆∆ =− −+ +∆  =− +∆ FF%% 1 11 11 22 22 22 11[[ ]] {{ }} [[ ]] {{ }} [[ ]]22 {{ }} [[ ]] {{ }} [[ ]] 0,2 ] [] i ii ii iiii h hb hb g h hb h hbx − ++ −− ++−− ++ =− ++ + ≡∆

where the equality 22 1 1 11 11 2 2 22 22 111 1{{ }} {{ }} {{ }} [[ ]] {{ }} [[ ]]222 2i i ii ii h h hh hh + − ++ −− −= + has been used in the second equality. The last equation is due to the fact that [[ ]] 0hb+ ≡since ,iih b Constant i+≡ ∀. Thus, the scheme is well-balanced as claimed correspondingly.

2.1.3. Th ES scheme

It is well known that for the hyperbolic conservation laws or hyperbolic balance laws, the entropy identity is only available for the smooth solutions. In other words, the entropy is not conserved due to the presence of discontinuities such as shock waves. More importantly, the EC scheme may produce unphysical oscillations near discontinuities. These phenomena motivate us to develop the ES scheme that satisfies the discrete entropy inequality for the given entropy pair.

Especially, the ES scheme can help us to suppress the numerical oscillations produced by the EC scheme in the vicinity of

the strong discontinuities. Following the idea from [44], the main measure adopted here is to add a dissipation term to the EC flux 1 2i+ F% and then obtain the ES flux with the below form 11 11 22 22 1ˆ [[ ]] , 2ii ii++ ++ = −F F DV% (0.13) which satisfies ( )ˆ[[ ]] [[ ]] [[ ]] [[ ]]{{ }} 0,g hbu hu bψ−− − ≤VF• (0.14) where D is a positive semidefinite matrix.

Herein, we adopt || ,= ΛDR R• (0.15) where R denotes the matrix of right eigenvectors of the Jacobian matrix ∂ ∂ F U , an d 12| | diag | |,| |, ,| |()mλλ λΛ= L with 12 mλλ λ<<<L as the eigenvalues of ∂ ∂ F U .Combining the above numerical flux ˆF in (2.8) and the discretization of the source terms in (2.3), leads to the eventual scheme µ µ( ) 11 22 1 .iii i d dt x +−=− −+∆U FF S (0.16) The following theorem shows that the high -order accurate scheme (2.11) satisfies the discrete entropy inequality and is ES accordingly.

Lemma 4. The high- order accurate scheme (2.11) is ES, namely, its solutions satisfy the following discrete entropy inequality 1 ˆ ˆ( ) 0,i ii d qqdt xη +− + −≤∆  U where the numerical entropy flux is given by 1 1 11 1i2 2 22 2 1ˆ {{ } } [[ ]] .2i ii i qq + + ++ + = − V DV% • Proof. Left multiplying (2.11) by iV• and using (2.6), leads to 11 1 1 1 1i i-22 2 2 2 2 11i i-22 1 11 1 2 22 2 1 11 1 2 22 2 11( ) [[ ]] [[ ]]2 11{ { }} [[ ]] [[ ]]22 1{{ }} [[ ]] [[ ]]2 [ ] [ i iiii ii i ii i i ii i d qqdt x x qqx x x η + ++ −− + + ++ + − −− −   =− −+ −  ∆∆   =−−∆  +−∆  −+  =−∆ U VD V VD V V V DV V V DV %% 晻 晻 晻 1 11 1i 2 22 2 11 1 11 1 22 2 22 2 1 {{ }} [[ ]]2 1 [[ ]] [[ ]] [[ ]] [[ ]]4 ii i ii i ii i q x + ++ + ++ + −− − −  −+∆  V DV VDV VDV % • 晻 (0.17) 1 1 11 1 11 1 2 2 22 2 22 2 11ˆ ˆ: [[ ]] [[ ]] [ ]] [[ ]] ,4i i ii i ii i qqxx+ − ++ + −− −   =− −− +  ∆∆   VDV VDV晻 where 11 1{{ }} [[ ]]2 i ii++ = −VV V晻? and 11 22 1{{ }} [[ ]]2 i ii−− = +VV V晻? have been used in the second equality. The positive definiteness of the matrix in (2.12) leads to the following inequality 11 1 22 2 [[ ]] [[ ]] 0, ii i±± ± ≥VDV• so that the last term at the right-hand side of the above identity (2.12) is not positive and then

1 ˆ ˆ( ) 0.i ii d qqdt xη +− + −≤∆  U Therefore, the scheme (2.11) is ES.

2.1.4. The temporal discretization

On the premise of getting ES fluxes as well as discretizations to the source term, the semi-discrete scheme (2.11) can be written out as the following ordinary differential equations (ODE) ( ) µ µ( ) 11 22 1:.iiii i d dt x +−= =− −+∆U U FF SF (0.18) For the temporal discretization to the above ODE (2.13), we apply the third-order Runge-Kutta approach[45], namely

( ) ( )( ) ( )( ) (1) (2) (1 ) (1) 1 ( 2) (2) , 31 ,44 12 .33 nn n nn t t t + = +∆ = + +∆ = + +∆ UU U U UU U U UU U F F F (0.19)

2.1.5. Summary of the proposed scheme

The specific steps of the proposed scheme (2.11) for one-dimensional system (1.1) can be summarized as follows: 1)Initially, we obtain cell averages { } 1 N i i= U . 2)Construct the high-order EC flux as in (2.7). 3)Construct the high-order ES flux (2.8) by adding the dissipation term to the original EC flux (2.7). 4)Discretize the source term via the formula (2.3). 5)Obtain the semi-discrete scheme (2.13). 6)Update to the next time level using the Runge-Kutta approach (2.14). 7)Repeat the steps 2)--6).

2.2. Extension to two-dimensional system

In this section, we extend the one-dimensional ES scheme (2.11) to the following two-dimensional SWEs 12() () ,bb tx y xy ∂∂ ∂ ∂ ∂+ + =−−∂∂ ∂ ∂∂ U FU GU SS (1.1) together with h hu hv  = U , 221() 2 hu hu gh huv   = +  FU , () hv huv hv gh   =  + G U ,

( ,) b gh  = SU , 2 ( ,) 0 ,b gh  = SU where v denotes the velocity in the y- direction. In particular, the two -dimensional system (3.1) maintains the below still water steady state solutions 0, .u v h b Constant== += (1.2) Herein, we mainly handle a rectangle spatial domain [,][, ]ab cdΩ= × and restrict our attention to a uniform cartesian mesh 11 1 1 22 2 2 , , , for 1, 2, , , 1, 2, ,xyii j j x x y y i Nj N −+ − +   ×==      LL for with uniform spatial step sizes x∆ and y∆ . In analogy to the one -dimensional case, we take the following entropy function 2221(,) ( ) ,2b hu hv gh ghbη = ++ +U along with the following entropy variables

2211( ) ( ) ,, .22gh b u v uvη ′= = +− − VU • • Correspondingly, the entropy fluxes in the x − and y −directions are defined by

32 2 32 2 11() ( ),22 11() ( ).22 x y q hu gh u ghub hu v q hv gh v ghvb hv u = +++ = +++ U U (1.3) The semi-discrete finite volume scheme for (2.1) has the below form , 11 11i , i- , i,j+ i,j-22 22 11 , ij ijj d F F GGdt x y+   =− −− −+  ∆∆   US%%%% (1.4) with iS being the approximation to the source term, in which

11,,1122 11,,22 11,,2222 11,,22 [[ ]] [[ ]] 11{{ }} {{ }}22 [[ ]] [[ ]] 11{{ }} {{ }}22 i ii ij ij ij ij ij ij ij ij bb xx bb yy +− +− +− +− +− = + =−−∆∆ =− −∆∆ SS S SS SS, (1.5) where 11 1{{ }} ( )2 iii a aa++ = + and 11 2 [[ ]] iii a aa++ = − . In addition, 1i,2 j+ F% is the numerical flux to approximate the physical flux ()FU at 1 . i x +

Similar to one-dimensional cases, the second-order EC fluxes in the x − and y −directions are given by {{ }}{{ }} ( ) {{ }}{{ }} {{ }} ,2 {{ }}{{ }}{{ }} hu ghu h huv   = = +  F FU%% {{ }}{{ }} ( ) {{ }}{{ }}{{ }} . {{ }}{{ }} {{ }}2 hv hvu ghv h   = =  + G GU%% Then adding a suitable dissipation term to the above EC fluxes produces ES fluxes as follows

µ µ 1, 1 112 , ,,2 22 1, 1 112 , ,,2 22 1 [[ ]] ,2 1 [[ ]] .2 x ij ij ij ij y ij ij ij ij + + ++ + + ++ = − = − F F DV G G DV % % (1.6) Here, xD and yD are obtained as for the one-dimensional case from (2.10) in the x − and y −directions, respectively.

In addition, with respect to the source terms, we firstly approximate the derivatives in the source terms as follows 22 2 11 ,,,22 22 2 11 ,,,22 1 ( ), 1 ( ), | | pth pth p ijij ij pth pth p ijij ij bbb xxx bbb yyy +− +− ∂− = +∆∆∂ ∂− = +∆∆∂ %% %% O O along with

1 r, ,, 102 1 ,,, 102 ( ), ( ). pp pth p r i j i s rjij rs pp pth p r ij s ij s rij rs b bb b bb α α − +−+ = = − +−+ = = = + = + ∑∑ ∑∑ % %

Then, we approximate the source terms in the below forms

1 22 , 11,,22 2 22 , 11,,22 , . | | ij pth pth ij ij ij ij pth pth ij ij ij b xx b yy +− +− ∂− ≈− −∂∆ ∂− ≈− −∂∆ SS bb SS bb %% %% (1.7) In the end, we obtain the semi-discrete ES finite difference scheme for (3.1) with the following form

µ µ µ µ 11 1 1,, , ,22 2 2 22 22 11 11,, ,,22 22 , kth kth kth kth ij i j i j ij ij ij ijpth pth pt h pth i j i j ij ij d dt x y bb bbxy +− + − +− +−   =− −− −  ∆∆     − −− −  ∆∆   U FF GG SS%% %% (1.8) in combination with the ES fluxes µ 1,2 kth ij+ F and µ 1, 2 kth ij+ G from (3.4) as well as the discretizations to the source terms in (3.7).

Moreover, the temporal discretization of (3.8) is also using the Runge-Kutta approach (2.14).

3. Numerical results

This section conducts extensive examples to validate performance of the current scheme. In all calculations, we apply the fifth-order WENO reconstruction (i.e., 5k = ), this means we adopt 3p = in (3.8). So, we obtain the ES fluxes with fifth-order accuracy. In addition, we approximate the source terms with sixth-order accuracy. In a word, we get a semidiscrete scheme with fifth-order accuracy for the spatial discretizations. In addition, to ensure the numerical stability, we take the Courant-Friedrichs-Levy (CFL) number as 0.6.

3.1. Example 1: One-dimensional system

We firstly deal with numerical examples for the one-dimensional system.

3.1.1. Example 1-1: Well-balanced property test

Firstly, we apply an example[11] together with the below initial conditions 0m/s and 10m, [0,10]mu h b x= + = ∈ to numerically testify the well-balanced property. Especially, we consider two distinct water bottoms: the first one is smooth 22( ) 5exp ( 5) m,5bx x= −− and the second one is discontinuous 4m if 4 8m,() 0m otherwise. xbx ≤≤= 

Precision 1 errorL 2 errorL errorL∞ h hu h hu h hu Single 4.0531E-07 4.0165E-07 4.3962E-07 2.3217E-07 4.7683E-07 2.7716E-07 Double 4.8849E-16 1.3298E-13 6.5869E-16 5.3470E-14 8.8817E-16 6.6045E-14 Quadruple 4.2370E-34 1.0239E-31 5.7132E-34 4.0230E-32 7.7037E-34 3.3275E-32 Table 1. Numerical errors of the example in section 3.1.1 over a smooth bottom.

Precision 1 errorL 2 errorL errorL∞ h hu h hu h hu Single 3.4371E-07 3.4257E-07 2.2935E-07 4.2622E-07 5.8125E-07 5.4372E-07 Double 4.2995E-15 6.0128E-16 5.6934E-15 1.3445E-15 3.8262E-15 3.0064E-15 Quadruple 3.9762E-32 2.4991E-32 2.0991E-32 4.9261E-32 4.9383E-32 5.9357E-33 Table 2. Numerical errors of the example in section 3.1.1 over a discontinuous bottom.

Table 1 and 2 present the numerical errors of the solutions between at 0st = and 0.5st = , respectively. It is clear that

all errors are in the same magnitude of the machine accuracy, so the expected well-balanced property is realized accordingly.

3.1.2. Example 1-2: Accuracy test

Next, we employ the example[11] together with the following bottom topography as well as the below initial data ( )( ) ( ) sin ( )m, ( ,0) 5 exp cos(2 ) m, [0,1]m ( )( ,0) sin(cos(2 ))m /s, bx x hx x x hu x x π π π = =+∈ =

to test the orders of accuracy. Because the analytic solutions are unattainable, we firstly need to calculate this example until 0.1st = on a refined mesh with 12,800 cells and then take the obtained numerical solutions as the reference ones. Subsequently, we calculate the 1L errors at 0.1st = and get the accuracy orders based on the reference solutions, then present them in Table 3. Table 3 illustrates that the expected fifth-order accuracy is clearly achieved.

Cells h hu 1 errorL Order 1 errorL Order 10 1.0857E-01 6.0932E-01 20 2.1038E-02 2.37 1.3431E-01 2.18 40 3.2465E-03 2.70 3.2804E-02 2.03 80 5.6119E-04 2.53 4.5159E-03 2.86 160 3.5251E-05 3.99 2.9981E-04 3.91 320 1.4480E-06 4.61 1.2316E-05 4.61 640 4.5688E-08 4.99 3.8618E-07 5.00 1280 1.5081E-09 4.92 1.2748E-08 4.92 Table 3: 1L errors and orders of accuracy for the example in section 3.1.2.

3.1.3. Example 1-3: Perturbations of a steady state water flow

Herein, this example is used to numerically test the ability of the current scheme to capture small perturbations according to a given steady state[46] over a bump shape bottom topography ( )0.25 cos(10 ( 1.5)) 1 m if 1.4 1.6m,( ) [0, 2]m. 0m otherwise, xxbx xπ − + ≤≤= ∈  The initial data are regarded as a small perturbation to the still water steady state, namely (1 ( ) )m if 1.1 1.2m,( ,0) and ( ,0) 0m/s,(1 ( ))m otherwise, bx xhx uxbx − + ≤≤= = − ò with 0>ò . Herein, we consider two different situations: 0.2m=ò for a big pulse; 0.001m=ò for a small pulse, separately.

With time evolution, the initial perturbation breaks up into two pulses which move in different directions. Figure 1 presents the numerical solutions of the two cases at 0.2st = on a mesh with 200cells. Both pulses are all well resolved and are in good agreement with those in the literature[11, 46, 47], even though on a relatively coarse mesh.

Figure 1. Surface level hb+ (left) and water discharge hu (right) of the examples in section 3.1.3 at 0.2st = .

Figure 2. Free surface level hb+ of the example in section 3.1.4 at 15st = (left) and 60st = (right).

3.1.4. Example 1-4: The dam break problem over a rectangular bump

Then, we numerically simulate a dam break problem from[6, 11, 13, 47], along with the initial data (20 ( ))m if 750m,( ,0) [0,1500]m,(15 ( ))m otherwise, ( , 0) 0m/s bx xhx xbx ux −≤= ∈ − = over a rectangular shape bottom topography 8m if 750 1500/8m,() 0m otherwise. ||xbx  −≤= 

Figure 2 presents the numerical solutions at 15st = and at 60st = , respectively. Clearly, the current scheme produces well resolved numerical solutions, which are in good agreement with the reference ones and are comparable with the

results have been obtained[6, 11, 13, 47].

3.1.5. Example 1-5: Steady flow over a hump

Furthermore, we validate the proposed scheme by means of a widely-used example[48]. Actually, this example models transcritical and subcritical flows based on the initial data given by ( ,0) 0.33m and ( ,0) 0m/s, [0, 25]mhx ux x= = ∈ , over a hump shape bottom topography ( ) 20.2 0.05( 10) m if 8 12m,() 0m otherwise. xxbx  − − ≤≤=  Subsequently, we implement this example on a mesh with200cells up to 200st = and exert different boundary conditions. Additionally, we also illustrate the exact solutions[49] to have a better comparison.

 Case A: the transcritical flow without a shock A discharge 21.53m /shu = and a water depth 0.66mh = are impo sed at the upstream boundary and on the downstream one, respectively. Figure 3 indicates that the numerical results are in good agreement with the exact ones.  Case B: the transcritical flow with a shock A water discharge 20.18m /shu = and a water depth 0.33mh = are imposed on the upstream boundary and on the downstream one, respectively. Figure 3 suggests that the numerical solutions are in good agreement with the exact ones and are free of spurious oscillations.  Case C: the subcritical flow Herein, we exert a water discharge 24.42m /shu = and a water depth 2mh = on the upstream boundary and on the downstream one, respectively. Figure 3 implies that the numerical solutions fit very well with the exact ones.

Figure 3. Surface level h+b in section 3.1.5 at t=200 .

3.1.6. Example 1-6: The dam break problem over a step bump

 Case A Further, we implement an example from[50] along with the below initial data (4, 0) if 0,( , )( ,0) [ 10,10]m(1, 0) otherwis , e xhu x x≤= ∈−  and over a step shape bottom 0m if 0m,() 1m otherwise. xbx ≤=  Over time, this example produces a rarefaction moving to the left and a shock moving to the right.  Case B The initial data are as follows (4,5)m if 0m,( , )( ,0) [ 10,10]m(1, 0.9)m otherwise, xhu x x≤= ∈− − over the above same bottom. With time going on, this example develops two shocks moving in different directions.  Case C The initial data are given by (0.75, 9.49365) if 0,( , )( ,0) [ 15,5](1.10594, 4.94074) otherwise, xhu x x−≤= ∈− − and over a step shape bottom 0m if 0m,() 0.2m otherwise. xbx ≤=  (2.1)  Case D The initial data are as follows (0.75, 1.35 624) if 0,( , )( ,0) [ 10, 4](1.10594, 4.94074) otherwise , xhu x x−≤= ∈− − over the bottom (4.1).

Figure 4 presents the numerical solutions of the above cases on the same mesh with400cells against with the exact ones and a good agreement is achieved clearly.

Figure 4. Surface level hb+ at 1t = .

3.2. Example 2: Two-dimensional system

In the following, we deal with the two-dimensional numerical examples.

3.2.1. Example 2-1: Well-balanced property test

We first implement the example[11] with the following initial data (, ,0) (1 (, ))m, ( , , 0) 0 m/s, ( , ) [0,1]m [0,1]m ( , , 0) 0m/s, hxy bxy uxy xy vxy = − = ∈× =

over the below bottom topography ( ) 22( , ) 0.8exp 50 ( 0.5) ( 0.5) m.()bxy x y= − − +−

Precision 1 errorL 2 errorL h hu hv h hu hv Single 3.7391E-08 5.1956E-07 2.1383E-07 2.1247E-07 3.2353E-07 4.3472E-07 Double 2.0625E-16 2.1522E-15 2.1934E-15 2.0492E-16 2.3743E-15 2.3601E-15 Quadruple 2.7627E-34 2.0026E-33 3.9435E-34 2.3235E-34 2.2557E-33 3.6366E-33 Table 4. 1L and 2L errors with different precisions for the still water steady state solutions in section 3.2.1

Table 4 presents the 1L and 2L errors between the initial solutions at 0st = and the numerical ones at 0.1st = on a mesh with100 100× cells. Clearly, all the numerical errors are at the same level of the machine accuracy even though for different precisions; this observation strongly implies that the current scheme preserves the prospective well-balanced property even for the two-dimensional system.

3.2.2. Example 2-2: A small perturbation of a two-dimensional steady state water flow

This final example has been originally proposed by LeVeque[46] and has been widely used to validate well-balanced

schemes especially near the vicinity of a steady state[6, 7, 11, 14, 47]. Actually, the initial data can be taken as a small perturbation of a steady state, namely ( ) ( ) 1 ( , ) 0.01 m if 0.05 0.15m,( , ,0) 1 ( , ) m otherwise, ( , ,0) ( , ,0) 0m/s, bxy xhxy bxy uxy vxy − + ≤≤= − = =

over an elliptical shape bottom topography ( ) 22( , ) 0.8exp 5( 0.9) 50( 0.5) m,bxy x y= −− − −

on the rectangle spatial domain [0,2]m [0,1]m× . We carry out this example on two different meshes for the sake of contrast, and illustrate the contours of free surface level hb+ in Figure 5. Figure 5 indicates that the proposed scheme obviously resolves complex features of the flow even on relatively coarse meshes. In particular, the numerical solutions here can be compared with the solutions[6, 7, 11, 14, 47].

t 0.12=

t 0.24=

0.36t =

0.36t =

0.60t = Figure 5. Thirty contours of surface level on different meshes with 600 300× (left) cells and 1000 500× (right).

3.2.3. Example 2-3: Circular dam break problem over a flat bottom

This example simulates the circular dam break problem with flat bottom[51], which is used to examine the ability of our schemes to maintain cylindrical symmetry. The initial water depth and velocities are as follows 2210, if ( 25) ( 25) 11, 1, otherwise. 0. xyh uv  − +− ≤=  = = The computational domain is[0,50] [0,50]× with the outflow boundary conditions.

Figure 6 present the results 0, 0.2, 0.4, 0.6, 0.8, 1.0t = obtained on a mesh with200 200× cells, which clearly show that our W-B ES scheme can well capture the wave structures.

0t = 0.2t =

0.4t = 0.6t =

0.8t = 1t = Figure 6. The contours of surface level on a mesh with 200 200× cells

Conclusions

This article proposes a high -order accurate entropy -stable (ES) finite difference scheme for the one - and twodimensional shallow water equations over non -flat bottom topography. First, we construct a second- order accurate, wellbalanced, semi -discrete entropy -conservative (EC) finite difference scheme, which satisfies the semi -discrete entropy identity for the given entropy pair and accurately maintains the still water steady state. The key idea is to match the discretizations for both the physical flux and the source term related to the non- flat bottom topography. Finding suitable EC fluxes for the second- order EC scheme is also crucial. Next, a high -order accurate, well -balanced EC scheme is achieved by using the second -order EC scheme as a building block. However, the EC scheme may produce spurious oscillations near discontinuities, so we add appropriate dissipation terms to the EC fluxes and develop a high -order, semidiscrete, well -balanced ES scheme that satisfies the semi -discrete entropy inequality. To construct the high -order dissipation terms, we employ a weighted essentially non- oscillatory (WENO) reconstruction based on the scaled entropy variables. Additionally, the high- order explicit Runge -Kutta method is applied for temporal discretization. Finally, extensive numerical examples indicate that the proposed scheme preserves high -order accuracy, is well -balanced, and effectively captures small perturbations to the steady state.

Acknowledgements

The author Shouguo Qian is supported by the Natural Science Foun0dation of Shandong Province (Grant No. ZR2021MA072). The author Gang Li is supported the National Natural Science Foundation of China (Grant No. 11771228).

Figures

Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure
Article figure