An efficient splitting technique for two-layer shallow-water model - - PowerPoint PPT Presentation

an efficient splitting technique for two layer shallow
SMART_READER_LITE
LIVE PREVIEW

An efficient splitting technique for two-layer shallow-water model - - PowerPoint PPT Presentation

I NTRODUCTION O NE - LAYER SYSTEM T WO - LAYER SPLITTING SYSTEM P ROPERTIES S ECOND - ORDER SCHEME N UMERICAL RESULTS An efficient splitting technique for two-layer shallow-water model Christophe Berthon 1 , Franoise Foucher 1 and Tomas Morales


slide-1
SLIDE 1

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

An efficient splitting technique for two-layer shallow-water model

Christophe Berthon1, Françoise Foucher1 and Tomas Morales2

1-Laboratoire de mathématiques Jean Leray, CNRS and Université de Nantes, France 2-Dpto. de Matemáticas, Universidad de Córdoba, Spain

HYP 2012 – Padova

slide-2
SLIDE 2

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Outline

  • 1. Introduction
  • 2. One-layer system
  • 3. Two-layer splitting system
  • 4. Properties
  • 5. Second-order scheme
  • 6. Numerical results
slide-3
SLIDE 3

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Two superposed layers on a non flat bottom

h x z(x): topography h2(t,x)+z(x): interface h1(t,x)+h2(t,x)+z(x): surface h1(t,x) u2(t,x) u1(t,x) h2(t,x) ρ2 > ρ1 ρ1 > 0 r = ρ1 / ρ2

slide-4
SLIDE 4

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Equations

We consider the following system of equations modelling the flow of two shallow water layers :

           ∂th1 +∂x(h1u1) = 0 ∂t(h1u1)+∂x(h1u2

1 + g 2h2 1) = −gh1∂x(h2 + z)

∂th2 +∂x(h2u2) = 0 ∂t(h2u2)+∂x(h2u2

2 + g 2h2 2) = −gh2∂x(r h1 + z)

This problem has been already adressed, we can cite C. Parés, M. Castro, J. Macías, F. Bouchut, T. Morales, T. Chacón, E. Fernández, J. García, E. Audusse, J. Sainte-Marie, . . .

slide-5
SLIDE 5

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Motivations

We are looking for a scheme which is expected to :

  • preserve h1 ≥ 0, h2 ≥ 0,
  • preserve the steady states at rest (well-balancing property) :

    

u1 = u2 = 0 h1 + h2 + z = cst r h1 + h2 + z = cst

  • be in agreement with real results especially if r approaches 1.

Idea : apply what we did for the one-layer problem :

  • C. Berthon, F. Foucher, Efficient well-balanced hydrostatic upwind schemes

for shallow-water equations, JCP, 2012.

slide-6
SLIDE 6

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

One-layer system

  • ∂th +∂x(hu) = 0

∂t(hu)+∂x(hu2 + g

2h2) = −hg∂xz

We see that the steady states at rest are given by :

  • u = 0

h + z = cst In order to derive a well-balanced scheme, the idea is to introduce the free surface : H = h + z Then, using the associated fraction of water X = h

H and writing :

h2 = h(H − z) = hH − hz = XH2 − hz,

slide-7
SLIDE 7

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

New one-layer system

we transform for weak solutions the initial system into :

  • ∂th +∂x(XHu) = 0

∂t(hu)+∂x

  • X(Hu2 + g

2H2)− g 2hz

  • = −gh∂xz

which can be written :

∂tw +∂x (Xf(W)) = S(H,h)

where

          

w =

  • h

hu

  • and W =
  • H

Hu

  • are state vectors, h ≥ 0, H > 0,

f(W) =

  • Hu

Hu2 + g

2H2

  • and S(H,h) =
  • g

2∂x (h(H − h))− gh∂x(H − h)

slide-8
SLIDE 8

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

New two-layer system

We introduce :

  • H1 = h1 + h2 + z and X1 = h1

H1

H2 = r h1 + h2 + z and X2 = h2

H2

and state vectors : wj =

  • hj

hjuj

  • and Wj =
  • Hj

Hjuj

  • , hj ≥ 0, Hj > 0, j = 1,2

In order to transform the two-layers system, we write that

  • h2

1 = X1H1(H1 − h2 − z)

h2

2 = X2H2(H2 − r h1 − z)

slide-9
SLIDE 9

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Two-layer splitting system

Then we derive the new system :

           ∂th1 +∂x(X1H1u1) = 0 ∂t(h1u1)+∂x

  • X1(H1u2

1 + g 2H2 1)− g 2h1(h2 + z)

  • = −gh1∂x(h2 + z)

∂th2 +∂x(X2H2u2) = 0 ∂t(h2u2)+∂x

  • X2(H2u2

2 + g 2H2 2)− g 2h2(r h1 + z)

  • = −gh2∂x(r h1 + z)

Finally using that h2 + z = H1 − h1 and r h1 + z = H2 − h2 we turn the system into two similar systems with source terms

∂twj +∂x(Xjf(Wj)) = S(Hj,hj), j = 1,2

slide-10
SLIDE 10

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Discretization of f(W)

  • Uniform mesh in space ∆x = xi+ 1

2 − xi− 1 2

  • Time step ∆t = tn+1 − tn
  • Values in the cell [xi− 1

2 ,xi+ 1 2 ] at time tn :

hn

i , un i , Hn i , X n i , wn i , W n i , zi

  • f∆x(W n

i ,W n i+1) =

  • f h

∆x(W n

i ,W n i+1)

f hu

∆x(W n

i ,W n i+1)

  • computed by a numerical

scheme (HLLC, VFRoe, relaxation, ...) well-known for the homogeneous system ∂tw +∂xf(w) = 0 : wn+1

i

= wn

i − ∆t

∆x

  • f∆x(wn

i ,wn i+1)− f∆x(wn i−1,wn i )

slide-11
SLIDE 11

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Discretization of S(H,h)

  • We introduce upwind values on interfaces xi+ 1

2 :

Hi+ 1

2 , Xi+ 1 2 =

  • Hn

i , X n i si f h(W n i ,W n i+1) > 0

Hn

i+1, X n i+1 else

  • W n

i

W n

i+1

xi− 1

2

xi+ 1

2

f h

∆x(W n

i ,W n i+1)

Xi+ 1

2

Hi+ 1

2

  • Then we define values hi+ 1

2 by :

hi+ 1

2 = Hi+ 1 2 Xi+ 1 2

slide-12
SLIDE 12

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

One-layer scheme

  • We write the approximation :

g 2∂xh(H − h)− gh∂x(H − h)

≃ g

2

  • hi+ 1

2 (Hi+ 1 2 − hi+ 1 2 )− hi− 1 2 (Hi− 1 2 − hi− 1 2 )

  • − g

2(hi+ 1

2 + hi− 1 2 )

  • (Hi+ 1

2 − hi+ 1 2 )−(Hi− 1 2 − hi− 1 2 )

  • = g

2(hi+ 1

2 Hi− 1 2 − hi− 1 2 Hi+ 1 2 )

= g

2Hi+ 1

2 Hi− 1 2 (Xi+ 1 2 − Xi− 1 2 )

  • We deduce the one-layer scheme :

wn+1

i

= wn

i − ∆t

∆x (Xi+ 1

2 f∆x(W n

i ,W n i+1)− Xi− 1

2 f∆x(W n

i−1,W n i ))

+ g

2

∆t ∆x

  • Hi− 1

2 Hi+ 1 2 (Xi+ 1 2 − Xi− 1 2 )

slide-13
SLIDE 13

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Two-layers scheme

We recall the splitting two-layers system :

∂twj +∂x(Xjf(Wj)) = S(Hj,hj), j = 1,2

Now, we derive the following scheme to approximate this system, writing the previous one-layer scheme for each layer : wn+1

j,i

= wn

j,i − ∆t

∆x (Xj,i+ 1

2 f∆x(W n

j,i,W n j,i+1)− Xj,i− 1

2 f∆x(W n

j,i−1,W n j,i))

+ g

2

∆t ∆x

  • Hj,i− 1

2 Hj,i+ 1 2 (Xj,i+ 1 2 − Xj,i− 1 2 )

slide-14
SLIDE 14

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

The scheme is well-balanced

Let’s suppose un

j,i = 0, Hn j,i = Hj, where Hj constant, j = 1,2.

slide-15
SLIDE 15

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

The scheme is well-balanced

Let’s suppose un

j,i = 0, Hn j,i = Hj, where Hj constant, j = 1,2.

  • Since f∆x is consistent, we’ve got f∆x(w,w) = f(w), so that

f∆x(W n

j,i,W n j,i+1) =

  • g

2H2 j

slide-16
SLIDE 16

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

The scheme is well-balanced

Let’s suppose un

j,i = 0, Hn j,i = Hj, where Hj constant, j = 1,2.

  • Since f∆x is consistent, we’ve got f∆x(w,w) = f(w), so that

f∆x(W n

j,i,W n j,i+1) =

  • g

2H2 j

  • Putting it in the scheme, we get : (i) hn+1

j,i

= hn

j,i and

(ii) (hu)n+1

j,i

= (hu)n

j,i − ∆t

∆x (Xj,i+ 1

2 − Xj,i− 1 2 )g

2H2

j

+ g

2

∆t ∆x Hj,i− 1

2 Hj,i+ 1 2 (Xj,i+ 1 2 − Xj,i− 1 2 )

slide-17
SLIDE 17

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

The scheme is well-balanced

Let’s suppose un

j,i = 0, Hn j,i = Hj, where Hj constant, j = 1,2.

  • Since f∆x is consistent, we’ve got f∆x(w,w) = f(w), so that

f∆x(W n

j,i,W n j,i+1) =

  • g

2H2 j

  • Putting it in the scheme, we get : (i) hn+1

j,i

= hn

j,i and

(ii) (hu)n+1

j,i

= (hu)n

j,i − ∆t

∆x (Xj,i+ 1

2 − Xj,i− 1 2 )g

2H2

j

+ g

2

∆t ∆x Hj,i− 1

2 Hj,i+ 1 2 (Xj,i+ 1 2 − Xj,i− 1 2 )

  • Then from (i), we deduce :
  • Hn+1

1,i

= hn+1

1,i

+ hn+1

2,i

+ zi = hn

1,i + hn 2,i + zi = Hn 1,i= H1

Hn+1

2,i

= r hn+1

1,i

+ hn+1

2,i

+ zi = r hn

1,i + hn 2,i + zi = Hn 2,i= H2

.

slide-18
SLIDE 18

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

The scheme is well-balanced

Let’s suppose un

j,i = 0, Hn j,i = Hj, where Hj constant, j = 1,2.

  • Since f∆x is consistent, we’ve got f∆x(w,w) = f(w), so that

f∆x(W n

j,i,W n j,i+1) =

  • g

2H2 j

  • Putting it in the scheme, we get : (i) hn+1

j,i

= hn

j,i and

(ii) (hu)n+1

j,i

= (hu)n

j,i − ∆t

∆x (Xj,i+ 1

2 − Xj,i− 1 2 )g

2H2

j

+ g

2

∆t ∆x Hj,i− 1

2 Hj,i+ 1 2 (Xj,i+ 1 2 − Xj,i− 1 2 )

  • Then from (i), we deduce :
  • Hn+1

1,i

= hn+1

1,i

+ hn+1

2,i

+ zi = hn

1,i + hn 2,i + zi = Hn 1,i= H1

Hn+1

2,i

= r hn+1

1,i

+ hn+1

2,i

+ zi = r hn

1,i + hn 2,i + zi = Hn 2,i= H2

.

  • This implies Hj,i− 1

2 = Hj,i+ 1 2 = Hj so that (ii) leads to

(hu)n+1

j,i

= (hu)n

j,i.

slide-19
SLIDE 19

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

The scheme is well-balanced

Let’s suppose un

j,i = 0, Hn j,i = Hj, where Hj constant, j = 1,2.

  • Since f∆x is consistent, we’ve got f∆x(w,w) = f(w), so that

f∆x(W n

j,i,W n j,i+1) =

  • g

2H2 j

  • Putting it in the scheme, we get : (i) hn+1

j,i

= hn

j,i and

(ii) (hu)n+1

j,i

= (hu)n

j,i − ∆t

∆x (Xj,i+ 1

2 − Xj,i− 1 2 )g

2H2

j

+ g

2

∆t ∆x Hj,i− 1

2 Hj,i+ 1 2 (Xj,i+ 1 2 − Xj,i− 1 2 )

  • Then from (i), we deduce :
  • Hn+1

1,i

= hn+1

1,i

+ hn+1

2,i

+ zi = hn

1,i + hn 2,i + zi = Hn 1,i= H1

Hn+1

2,i

= r hn+1

1,i

+ hn+1

2,i

+ zi = r hn

1,i + hn 2,i + zi = Hn 2,i= H2

.

  • This implies Hj,i− 1

2 = Hj,i+ 1 2 = Hj so that (ii) leads to

(hu)n+1

j,i

= (hu)n

j,i.

  • Finally un+1

j,i

=

(hu)n+1

j,i

hn+1

j,i

=

(hu)n

j,i

hn

j,i

= un

j,i= 0

slide-20
SLIDE 20

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

The scheme preserves h1 and h2 non negative ?

We use for each layer exactly the same proof as for one layer. Let’s look to the first equation of the scheme : hn+1

j,i

= hn

j,i − ∆t

∆x (Xj,i+ 1

2 f h

∆x(W n

j,i,W n j,i+1)− Xj,i− 1

2 f h

∆x(W n

j,i−1,W n j,i))

slide-21
SLIDE 21

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

The scheme preserves h1 and h2 non negative ?

We use for each layer exactly the same proof as for one layer. Let’s look to the first equation of the scheme : hn+1

j,i

= hn

j,i − ∆t

∆x (Xj,i+ 1

2 f h

∆x(W n

j,i,W n j,i+1)− Xj,i− 1

2 f h

∆x(W n

j,i−1,W n j,i))

Reminding the definition of Xj,i+ 1

2 , we write :

Xj,i+ 1

2 f h

∆x(W n

j,i,W n j,i+1) =1

2(X n

j,i + X n j,i+1)f h

∆x(W n

j,i,W n j,i+1)

− 1

2(X n

j,i+1 − X n j,i)|f h

∆x(W n

j,i,W n j,i+1)|

slide-22
SLIDE 22

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

The scheme preserves h1 and h2 non negative ?

We use for each layer exactly the same proof as for one layer. Let’s look to the first equation of the scheme : hn+1

j,i

= hn

j,i − ∆t

∆x (Xj,i+ 1

2 f h

∆x(W n

j,i,W n j,i+1)− Xj,i− 1

2 f h

∆x(W n

j,i−1,W n j,i))

Reminding the definition of Xj,i+ 1

2 , we write :

Xj,i+ 1

2 f h

∆x(W n

j,i,W n j,i+1) =1

2(X n

j,i + X n j,i+1)f h

∆x(W n

j,i,W n j,i+1)

− 1

2(X n

j,i+1 − X n j,i)|f h

∆x(W n

j,i,W n j,i+1)|

We obtain hn+1

j,i

= αj,iX n

j,i−1 +(˜

Hn+1

j,i

−αj,i −βj,i)X n

j,i +βj,iX n j,i+1 with :

     αj,i = 1

2

∆t ∆x

  • f h

∆x(W n

j,i−1,W n j,i)+|f h

∆x(W n

j,i−1,W n j,i)|

  • ≥ 0

βj,i = 1

2

∆t ∆x

  • −f h

∆x(W n

j,i,W n j,i+1)+|f h

∆x(W n

j,i,W n j,i+1)|

  • ≥ 0

˜

Hn+1

j,i

= Hn

j,i − ∆t

∆x

  • f h

∆x(W n

j,i,W n j,i+1)− f h

∆x(W n

j,i−1,W n j,i)

slide-23
SLIDE 23

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

The scheme preserves h1 and h2 non negative

Let’s suppose hn

j,i ≥ 0, j = 1,2.

slide-24
SLIDE 24

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

The scheme preserves h1 and h2 non negative

Let’s suppose hn

j,i ≥ 0, j = 1,2.

  • Assume that the numerical flux we use satisfies :

hn

i > 0 ⇒ hn i − ∆t

∆x

  • f h

∆x(wn

i ,wn i+1)− f h

∆x(wn

i−1,wn i )

  • > 0

Then : hn

j,i ≥ 0 ⇒ Hn j,i > 0 ⇒ ˜

Hn+1

j,i

> 0.

slide-25
SLIDE 25

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

The scheme preserves h1 and h2 non negative

Let’s suppose hn

j,i ≥ 0, j = 1,2.

  • Assume that the numerical flux we use satisfies :

hn

i > 0 ⇒ hn i − ∆t

∆x

  • f h

∆x(wn

i ,wn i+1)− f h

∆x(wn

i−1,wn i )

  • > 0

Then : hn

j,i ≥ 0 ⇒ Hn j,i > 0 ⇒ ˜

Hn+1

j,i

> 0.

  • The sign of γj,i = ˜

Hn+1

j,i

−αj,i −βj,i depends on the sign of

f h

∆x(W n

j,i−1,W n j,i) and f h

∆x(W n

j,i,W n j,i+1). We find γj,i > 0 in all

cases, under the additional CFL like condition :

∆t ∆x

  • max(0,f h

∆x(W n

j,i,W n j,i+1))− min(0,f h

∆x(W n

j,i−1,W n j,i))

  • ≤ Hn

j,i

slide-26
SLIDE 26

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

The scheme preserves h1 and h2 non negative

Let’s suppose hn

j,i ≥ 0, j = 1,2.

  • Assume that the numerical flux we use satisfies :

hn

i > 0 ⇒ hn i − ∆t

∆x

  • f h

∆x(wn

i ,wn i+1)− f h

∆x(wn

i−1,wn i )

  • > 0

Then : hn

j,i ≥ 0 ⇒ Hn j,i > 0 ⇒ ˜

Hn+1

j,i

> 0.

  • The sign of γj,i = ˜

Hn+1

j,i

−αj,i −βj,i depends on the sign of

f h

∆x(W n

j,i−1,W n j,i) and f h

∆x(W n

j,i,W n j,i+1). We find γj,i > 0 in all

cases, under the additional CFL like condition :

∆t ∆x

  • max(0,f h

∆x(W n

j,i,W n j,i+1))− min(0,f h

∆x(W n

j,i−1,W n j,i))

  • ≤ Hn

j,i

  • Finally, the quotient

hn+1

j,i

˜

Hn+1

j,i

is a convex combination of X n

j,i−1, X n j,i

and X n

j,i+1 which are in [0,1] by definition.

  • We deduce 0 ≤ hn+1

j,i

≤ ˜

Hn+1

j,i

.

slide-27
SLIDE 27

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Second-order MUSCL extension

  • We reconstruct new values on the two sub-cells
  • [xi− 1

2 ,xi] (values with exposant -)

[xi,xi+ 1

2 ] (values with exposant +)

:

hn,±

j,i

= hn

j,i ±(∆h)j,i ≥ 0, (hu)n,± j,i

= (hu)n

j,i ±(∆hu)j,i,

Hn,±

j,i

= Hn

j,i ±(∆H)j,i > 0,

X n,±

j,i

=

hn,±

j,i

Hn,±

j,i

, (Hu)n,±

j,i

=

Hn,±

j,i (hu)n,± j,i

hn,±

j,i

W n,+

j,i−1

W n,−

j,i

W n,+

j,i

W n,−

j,i+1

xi− 1

2

xi xi+ 1

2

slide-28
SLIDE 28

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

  • We define upwind values on the interfaces xi and xi+ 1

2 :

˜

Hj,i, ˜ Xj,i =

  • Hn,−

j,i , X n,− j,i

if f h

∆x(W n,−

j,i ,W n,+ j,i

) > 0

Hn,+

j,i , X n,+ j,i

else and

˜

Hj,i+ 1

2 , ˜

Xj,i+ 1

2 =

  • Hn,+

j,i , X n,+ j,i

if f h

∆x(W n,+

j,i

,W n,−

j,i+1) > 0

Hn,−

j,i+1, X n,− j,i+1 else

W n,+

j,i−1

W n,−

j,i

W n,+

j,i

W n,−

j,i+1

xi− 1

2

˜

Xj,i− 1

2

˜

Hj,i− 1

2

xi

˜

Xj,i

˜

Hj,i xj,i+ 1

2

˜

Xj,i+ 1

2

˜

Hj,i+ 1

2

slide-29
SLIDE 29

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Second-order scheme

We deduce a conservative reconstruction of wn+1

i

  • n the initial cell

[xi− 1

2 ,xi+ 1 2 ] with values wn+1,±

i

calculated with the first-order scheme

  • n each sub-cell :

wn+1

j,i

=

wn+1,−

j,i

+ wn+1,+

j,i

2 We obtain the new scheme : wn+1

j,i

= wn

j,i − ∆t

∆x

  • ˜

Xj,i+ 1

2 f∆x(W n,+

j,i

,W n,−

j,i+1)− ˜

Xj,i− 1

2 f∆x(W n,+

j,i−1,W n,− j,i )

  • + g

2

∆t ∆x

  • ˜

Hj,i ˜ Hj,i+ 1

2 (˜

Xj,i+ 1

2 − ˜

Xj,i)+ ˜ Hj,i ˜ Hj,i− 1

2 (˜

Xj,i − ˜ Xj,i− 1

2 )

slide-30
SLIDE 30

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Test 1 on flat bottom with r = 0.7

FIGURE: left : first-order, ns = 500, CFL = 0.5 ; right : second-order, ns = 500, CFL = 0.1 We put boundary conditions to simulate infinite reservoirs at both ends :

  • Neumann conditions for h1 and h2,
  • h1u1 = −h2u2

We let fluids evolve until a stationary state is reached.

0.5 1 1.5 2 2 4 6 8 10 Test 1, r = 0.7, CFL = 0.5, ns = 500, t = 0 "surface_init" "interface_init" "topography" 0.5 1 1.5 2 2 4 6 8 10 Test 1, r = 0.7, CFL = 0.1, ns = 500, t = 0, MUSCL "surface_init" "interface_init" "topography"

slide-31
SLIDE 31

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Test 1 on flat bottom with r = 0.7

Let us stop earlier to better compare the two schemes : FIGURE: left : first-order, ns = 500, CFL = 0.5 ; right : second-order, ns = 500, CFL = 0.1

0.5 1 1.5 2 2 4 6 8 10 Test 1, r = 0.7, CFL = 0.5, ns = 500, t = 0 "surface_init" "interface_init" "topography" 0.5 1 1.5 2 2 4 6 8 10 Test 1, r = 0.7, CFL = 0.1, ns = 500, t = 0, MUSCL "surface_init" "interface_init" "topography"

slide-32
SLIDE 32

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Test 1 on flat bottom with r = 0.98

FIGURE: left : first-order, ns = 500 ; right : first order, ns = 5000 ; lower : second-order, ns = 500

0.5 1 1.5 2 2 4 6 8 10 Test 1, r = 0.98, CFL = 0.5, ns = 500, t = 0 "surface_init" "interface_init" "topography" 0.5 1 1.5 2 2 4 6 8 10 Test 1, r = 0.98, CFL = 0.5, ns = 5000, t = 0 "surface_init" "interface_init" "topography" 0.5 1 1.5 2 2 4 6 8 10 Test 1, r = 0.98, CFL = 0.1, ns = 500, t = 0, MUSCL "surface_init" "interface_init" "topography"

slide-33
SLIDE 33

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Test 1 on flat bottom with r = 0.98

FIGURE: left : first-order, ns = 500 ; right : first order ns = 5000 ; lower : second-order, ns = 500

  • first-order with 5000 cells ≃ second-order with 500 cells,
  • improvement when comparing with result obtained by Bouchut

and Morales.

0.5 1 1.5 2 2 4 6 8 10 Test 1, r = 0.98, CFL = 0.5, ns = 500, t = 0 "surface_init" "interface_init" "topography" 0.5 1 1.5 2 2 4 6 8 10 Test 1, r = 0.98, CFL = 0.5, ns = 5000, t = 0 "surface_init" "interface_init" "topography" 0.5 1 1.5 2 2 4 6 8 10 Test 1, r = 0.98, CFL = 0.1, ns = 500, t = 0, MUSCL "surface_init" "interface_init" "topography"

slide-34
SLIDE 34

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Test 2 : lock-exchanged on flat bottom with r = 0.85

FIGURE: left : first-order, ns = 100, CFL = 0.5 ; right : second-order, ns = 100, CFL = 0.05

0.2 0.4 0.6 0.8 1 0.2 0.4 0.6 0.8 1 Test 2, r = 0.85, CFL = 0.5, ns = 100, t = 0 "surface_init" "interface_init" "topography" 0.2 0.4 0.6 0.8 1 0.2 0.4 0.6 0.8 1 Test 2, r = 0.85, CFL = 0.05, ns = 100, t = 0, MUSCL "surface_init" "interface_init" "topography"

slide-35
SLIDE 35

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Test 2 : lock-exchanged on flat bottom with r = 0.95

FIGURE: left : first-order, ns = 100, CFL = 0.5, right : second-order, ns = 100, CFL = 0.05

0.2 0.4 0.6 0.8 1 0.2 0.4 0.6 0.8 1 Test 2, r = 0.95, CFL = 0.5, ns = 100, t = 0 "surface_init" "interface_init" "topography" 0.2 0.4 0.6 0.8 1 0.2 0.4 0.6 0.8 1 Test 2, r = 0.95, CFL = 0.05, ns = 100, t = 0, MUSCL "surface_init" "interface_init" "topography"

slide-36
SLIDE 36

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Lock-exchanged over a bump with r = 0.98

FIGURE: left : first-order, ns = 500, CFL = 0.5 ; right : second-order, ns = 150, CFL = 0.05

  • we compute the approximate solution until a steady state is

reached,

  • we get values q1 = −q2, h1(x = −3), h2(x = −3),
  • we calculate the corresponding (h1(x),h2(x)) by solving steady

state equations,

  • we obtain good agreement between approximation and reference

solutions.

0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2

  • 3
  • 2
  • 1

1 2 3 Test 3, r = 0.98, CFL = 0.5, ns = 500, t = 0 "surface_init" "interface_init" "topography" 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2

  • 3
  • 2
  • 1

1 2 3 Test 3, r = 0.98, CFL = 0.05, ns = 150, t = 0, MUSCL "surface_init" "interface_init" "topography"

slide-37
SLIDE 37

INTRODUCTION ONE-LAYER SYSTEM TWO-LAYER SPLITTING SYSTEM PROPERTIES SECOND-ORDER SCHEME NUMERICAL RESULTS

Conclusion

  • We have find a way to split the two-layer system into two
  • ne-layer systems.
  • The first numerical results are satisfying. We will next look for

further results.

  • It seems that improvement can be obtained for the CFL value.