On a well-balanced high-order finite volume scheme for the shallow - - PowerPoint PPT Presentation

on a well balanced high order finite volume scheme for
SMART_READER_LITE
LIVE PREVIEW

On a well-balanced high-order finite volume scheme for the shallow - - PowerPoint PPT Presentation

On a well-balanced high-order finite volume scheme for the shallow water equations with bottom topography and dry areas Jos M. Gallardo, Manuel J. Castro, Carlos Pars and Jos M. Gonzlez-Vida Department of Mathematical Analysis,


slide-1
SLIDE 1

On a well-balanced high-order finite volume scheme for the shallow water equations with bottom topography and dry areas

José M. Gallardo, Manuel J. Castro, Carlos Parés and José M. González-Vida∗

Department of Mathematical Analysis, University of Málaga, Spain

∗Department of Applied Mathematics, University of Málaga, Spain

Eleventh International Conference on Hyperbolic Problems, Lyon, 2006

– p.1/20

slide-2
SLIDE 2

Plan

Shallow water equations: nonconservative framework High-order Roe schemes based on reconstruction of states Treatment of wet/dry fronts: the MRoe scheme High-order extension: the HMRoe scheme Numerical results

– p.2/20

slide-3
SLIDE 3

Shallow water equations: nonconservative framework

Shallow water equations modelling the flow of a shallow layer of fluid through a straight channel with constant rectangular cross-section and bottom topography: 8 > > < > > : ∂h ∂t + ∂q ∂x = 0 ∂q ∂t + ∂ ∂x „q2 h + g 2h2 « = ghdH dx h(x, t): thickness of the fluid layer q(x, t): discharge H(x): depth function, measured from a fixed level of reference g: gravity u = q/h c = √gh

– p.3/20

slide-4
SLIDE 4

Shallow water equations: nonconservative framework

Balance law formulation: ∂U ∂t + ∂ ∂xF(U) = S(U)dH dx U = 2 4h q 3 5 , F(U) = 2 4 q q2 h + g 2h2 3 5 , S(U) = 2 4 0 gh 3 5 ∂H ∂t = 0 Nonconservative formulation: ∂W ∂t + A(W)∂W ∂x = 0 W = 2 6 6 4 h q H 3 7 7 5 , A(W) = 2 6 6 4 1 −u2 + c2 2u −c2 3 7 7 5 [Dal Maso, LeFloch, Murat, J. Math. Pures Appl., 95]

– p.4/20

slide-5
SLIDE 5

Generalized Roe schemes

Generalized Roe schemes for solving nonconservative hyperbolic systems [Parés, Castro, M2AN, 04]: W n+1

i

= W n

i − ∆t

∆x ` A+

i−1/2(W n i − W n i−1) + A− i+1/2(W n i+1 − W n i )

´ Ai+1/2: Roe linearization [Toumi, J. Comput. Phys., 92] Well-balancing: – general stationary solutions are approximated with order two; – water at rest solutions are exactly computed.

– p.5/20

slide-6
SLIDE 6

High-order generalized Roe schemes

  • High-order Roe schemes: [Castro, Gallardo, Parés, Math. Comp., 06].
  • The generalization is based on reconstruction of the states W:

i+1 i+1/2 i+1/2

W

i+1/2

p

(x) i+1/2

p

(x) i+1/2

W x x x

i − − + +

  • The scheme is well-balanced, at least with the same order of the

reconstruction operator.

– p.6/20

slide-7
SLIDE 7

High-order generalized Roe schemes

Semi-discrete scheme: W ′

i(t) = − 1

∆x „ A+

i−1/2(W + i−1/2(t) − W − i−1/2(t))

+ A−

i+1/2(W + i+1/2(t) − W − i+1/2(t))

+ Z xi

xi−1/2

A(pt,+

i−1/2(x)) d

dxpt,+

i−1/2(x) dx

+ Z xi+1/2

xi

A(pt,−

i+1/2(x)) d

dxpt,−

i+1/2(x) dx

« Ai+1/2: Roe matrix associated to W −

i+1/2(t) and W + i+1/2(t)

pt,±

i+1/2(x): reconstructing functions at time t

Time discretization: Runge-Kutta TVD scheme Very good results when applied to the shallow water equations in the wet bed case, with fifth-order WENO reconstructions and third-order RK TVD.

– p.7/20

slide-8
SLIDE 8

Treatment of wet/dry fronts: the MRoe scheme

MRoe scheme: modification of the Roe scheme that allows a treatment of wet/dry situations [Castro, González-Vida, Parés, M3AS, 06]. Remarks:

  • It is based on the resolution, at each intercell where a wet/dry transition has

been detected, of an appropriate nonlinear Riemann problem.

  • In most cases, the nonlinear Riemann problems can be easily solved.
  • The nature of the nonlinear Riemann problems depends on the kind of wet/dry

situation found. The numerical fluxes are modified accordingly. The MRoe scheme is well-balanced and preserves the positivity of the height h.

– p.8/20

slide-9
SLIDE 9

Treatment of wet/dry fronts: the MRoe scheme

A case example: HL > HR and the step acts as an obstacle for the fluid

HR HL HL − hL uL ≤ 0 Bottom Bottom Fluid reference level HR HL HL − hL uL > 0 Bottom Bottom Fluid reference level

Partial Riemann problem: 8 > > > < > > > : ∂U ∂t + ∂ ∂xF(U) = 0

for x < 0, t > 0

U(x, 0) = WL

if x < 0

U(x, 0) ∈ VR

if x > 0

WL = [hL, qL]T , VR = {[h, 0]T : h ≥ 0}

– p.9/20

slide-10
SLIDE 10

High-order extension: the HMRoe scheme HMRoe scheme: high-order Roe scheme + MRoe scheme

Remarks:

  • The numerical fluxes must be modified accordingly to the kind of wet/dry

transition found.

  • The variables to be reconstructed are: the height h, the speed u and the

elevation η = h − H; the reconstructed bottom is then defined as H = h − η and the discharge as q = hu. The reason of this choice is twofold: to maintain the well-balancing property and, at the same time, to avoid cancellation problems when the speed of the fluid u is computed.

  • An adequate reconstruction operator must be chosen: polynomial

reconstructions introduce spurious oscillations that may lead to negative values

  • f the height h.

– p.10/20

slide-11
SLIDE 11

High-order extension: the HMRoe scheme

Hyperbolic reconstructions [Marquina, SIAM J. Sci. Comput., 94] have been chosen for several reasons:

  • Monotonicity: it avoids the appearance of negative values of the height h.
  • Third-order of accuracy on the whole cell: the scheme results to be third-order

accurate on smooth wet regions and well-balanced with the same order.

  • Compactness of the stencil: robustness of the method, easier analysis of

wet/dry situations and lower computational cost.

  • Hiperbolas have lower total variation than parabolas, thus reducing oscillating

behaviour near shocks.

– p.11/20

slide-12
SLIDE 12

Numerical experiment: steady flow over a bump

Depth function: H(x) = 2 − 0.2 exp(−0.16(x − 10)2), x ∈ [0, 20]. Initial conditions: q(x, 0) = 0, h(x, 0) = 0.13 + H(x). Boundary conditions: h = 0.33 downstream; q = 0.18 upstream. Data: CFL=0.9; ∆x = 0.1; T = 200. Solution (surface elevation):

2 4 6 8 10 12 14 16 18 20 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 HMRoe exact bottom – p.12/20

slide-13
SLIDE 13

Numerical experiment: small perturbation of steady state water

Depth function: H(x) = 8 < : −0.25(cos(10π(x − 0.5)) + 1)

if 1.4 ≤ x ≤ 1.6,

  • therwise.

Initial data: small perturbation of height ε = 10−3 of the stationary solution. Data: CFL=0.9; ∆x = 0.01; T = 0.2.

0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 0.9999 1 1.0001 1.0002 1.0003 1.0004 1.0005 1.0006 HMRoe exact

Surface elevation

0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 −1.5 −1 −0.5 0.5 1 1.5 2 x 10

−3

HMRoe exact

Discharge

– p.13/20

slide-14
SLIDE 14

Numerical experiment: dambreak over a plane

Depth function: H(x) = 1 − x tan(α), x ∈ [−15, 15]. Initial conditions: q(x, 0) = 0, h(x, 0) = 8 < : H(x)

if x < 0,

  • therwise.

Boundary condition: q = 0 at x = −15. Data: CFL=0.9; ∆x = 0.05; T = 2; εh = 10−6. We consider three different cases:

  • α = 0: flat bottom.
  • α = π/60: ascending bottom.
  • α = −π/60: descending bottom.

– p.14/20

slide-15
SLIDE 15

Numerical experiment: dambreak over a plane (α = 0 α = 0 α = 0)

−15 −10 −5 5 10 15 0.2 0.4 0.6 0.8 1 free surface bottom

Initial condition

−15 −10 −5 5 10 15 0.2 0.4 0.6 0.8 1 HMRoe MRoe bottom

Solution at t = 2

0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 2 4 6 8 10 12 14 HMRoe MRoe exact

Wet/dry front position

0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 1 2 3 4 5 6 7 HMRoe MRoe exact

Wet/dry front velocity

– p.15/20

slide-16
SLIDE 16

Numerical experiment: dambreak over a plane (α = π/60 α = π/60 α = π/60)

−15 −10 −5 5 10 15 −0.8 −0.6 −0.4 −0.2 0.2 0.4 0.6 0.8 1 free surface bottom

Initial condition

−15 −10 −5 5 10 15 −0.8 −0.6 −0.4 −0.2 0.2 0.4 0.6 0.8 1 HMRoe MRoe bottom

Solution at t = 2

0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 2 4 6 8 10 12 HMRoe MRoe exact

Wet/dry front position

0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 1 2 3 4 5 6 7 HMRoe MRoe exact

Wet/dry front velocity

– p.16/20

slide-17
SLIDE 17

Numerical experiment: dambreak over a plane (α = −π/60 α = −π/60 α = −π/60)

−15 −10 −5 5 10 15 −0.8 −0.6 −0.4 −0.2 0.2 0.4 0.6 0.8 1 free surface bottom

Initial condition

−15 −10 −5 5 10 15 −0.8 −0.6 −0.4 −0.2 0.2 0.4 0.6 0.8 1 HMRoe MRoe bottom

Solution at t = 2

0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 2 4 6 8 10 12 14 HMRoe MRoe exact

Wet/dry front position

0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 1 2 3 4 5 6 7 8 HMRoe MRoe exact

Wet/dry front velocity

– p.17/20

slide-18
SLIDE 18

Numerical experiment: dry bed generation on a flat bottom

Initial conditions: h(x, 0) = 0, q(x, 0) = 8 < : −0.3

if x ≥ 0,

0.3

  • therwise.

Data: CFL=0.8; ∆x = 0.05; T = 1; εh = 10−6.

1 2 3 4 5 6 7 8 9 10 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 HMRoe exact bottom

Free surface elevation

1 2 3 4 5 6 7 8 9 10 −0.3 −0.2 −0.1 0.1 0.2 0.3 HMRoe exact

Discharge

– p.18/20

slide-19
SLIDE 19

Numerical experiment: dry bed generation on a non-flat bottom

Depth function: H(x) = 8 < : 13

if 25/3 < x < 12.5,

14

  • therwise.

Initial conditions: h(x, 0) = 10, q(x, 0) = 8 < : −350

if x < 50/3,

350

  • therwise.

Data: CFL=0.9; ∆x = 0.05; T = 1; εh = 10−6.

5 10 15 20 25 5 10 15 t=0 t=0.05 t=0.25 t=0.45 t=0.65 bottom

Free surface elevation

5 10 15 20 25 −500 −400 −300 −200 −100 100 200 300 400 t=0 t=0.05 t=0.25 t=0.45 t=0.65

Discharge

– p.19/20

slide-20
SLIDE 20

Numerical experiment: drain on a non-flat bottom

Depth function: H(x) = 8 < : 0.05(x − 10)2

if 8 ≤ x ≤ 12,

0.2

  • therwise.

Initial conditions: h(x, 0) = 0.3 + H(x), q(x, 0) = 0. Boundary conditions: mirror state (left) and outlet (right). Data: CFL=0.4; 300 nodes; T = 1000; εh = 10−6.

5 10 15 20 25 0.1 0.2 0.3 0.4 0.5 t=0 t=10 t=20 t=100 t=1000 bottom

Free surface elevation

5 10 15 20 25 0.05 0.1 0.15 0.2 0.25 0.3 t=0 t=10 t=20 t=100 t=1000

Discharge

– p.20/20