Asymptotically accurate high-order space and time schemes for the - - PowerPoint PPT Presentation

asymptotically accurate high order space and time schemes
SMART_READER_LITE
LIVE PREVIEW

Asymptotically accurate high-order space and time schemes for the - - PowerPoint PPT Presentation

Asymptotically accurate high-order space and time schemes for the Euler system in the low Mach regime Victor Michel-Dansac SHARK-FV, 15-19 May 2017 Giacomo Dimarco, Univ. of Ferrara, Italy Raphal Loubre, Univ. of Bordeaux, CNRS, France


slide-1
SLIDE 1

Asymptotically accurate high-order space and time schemes for the Euler system in the low Mach regime

Victor Michel-Dansac SHARK-FV, 15-19 May 2017 Giacomo Dimarco, Univ. of Ferrara, Italy Raphaël Loubère, Univ. of Bordeaux, CNRS, France Marie-Hélène Vignal, Univ. of Toulouse, France Funding : ANR MOONRISE

slide-2
SLIDE 2

Outline

1

General context : multi-scale models and principle of AP schemes

2

An order 1 AP scheme for the Euler system in the low Mach limit

3

High order schemes in time

4

High order schemes in time and space

5

Works in progress en perspectives

slide-3
SLIDE 3

General context

Multiscale model : Mε depends on a parameter ε In the (space-time) domain ε can be small compared to the reference scale be of same order as the reference scale take intermediate values

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.5 1.6 1.7 1.8 1.9 2 2.1 2.2 2.3 2.4 electron density (log scale) : t=0.1 −9 −8 −7 −6 −5 −4 −3 −2 −1

0.2 0.4 0.6 0.8 1 10

−10

10

−5

10

x

ε When ε is small : M0 = lim

ε→0Mε asympt. model

Difficulties : Classical explicit schemes for Mε : stable and consistent if the mesh resolves all the scales of ε ⇒ huge cost Schemes for M0 with meshes independent of ε But : ➠ M0 not valid everywhere, needs ε ≪ 1 ➠ location of the interface, moving interface

slide-4
SLIDE 4

Principle of AP schemes

A possible solution : AP schemes Use the multi-scale model Mε where you want. Discretize it with a scheme preserving the limit ε → 0 ➠ The mesh is independent of ε : Asymptotic stability. ➠ You recover an approximate solution of M0 when ε → 0 : Asymptotic consistency Asymptotically stable and consistent scheme

⇒ Asymptotic preserving scheme (AP)

([S.Jin] kinetic → hydro)

You can use the AP scheme only to reconnect Mε and M0

  • ε = O(1)

intermediate zone

ε ≪ 1

  • class. scheme

M0

  • class. scheme

Mε AP scheme

slide-5
SLIDE 5

Outline

1

General context : multi-scale models and principle of AP schemes

2

An order 1 AP scheme for the Euler system in the low Mach limit

3

High order schemes in time

4

High order schemes in time and space

5

Works in progress en perspectives

slide-6
SLIDE 6

The multi-scale model and its asymptotic limit

➠ Isentropic Euler system in scaled variables x ∈ Ω ⊂ IRd, t ≥ 0

(Mε) ∂tρ+∇·(ρu) = 0, (1)ε ∂t(ρu)+∇·(ρu ⊗ u)+ 1 ε ∇p(ρ) = 0, (2)ε

Parameter : ε = M2 = m|u|2/(γp(ρ)/ρ), M =Mach number Boundary and initial conditions : u·n = 0, on ∂Ω, and

ρ(x,0) = ρ0 +ε˜ ρ0(x),

u(x,0) = u0(x)+ε˜ u0(x), with ∇· u0 = 0. The formal low Mach number limit ε → 0

(2)ε ⇒ ∇p(ρ) = 0, ⇒ ρ(x,t) = ρ(t). (1)ε ⇒ |Ω|ρ′(t)+ρ(t)

  • ∂Ω

u·n = 0, ⇒ ρ(t) = ρ(0) = ρ0, ⇒ ∇·u = 0

slide-7
SLIDE 7

The multi-scale model and its asymptotic limit

The asymptotic model : Rigorous limit [Klainerman, Majda, 81]

(M0)      ρ = cste = ρ0, ρ0∇· u = 0, (1)0 ρ0 ∂tu +ρ0∇·(u ⊗ u)+∇π1 = 0, (2)0

where

π1 = lim

ε→0

1

ε

  • p(ρ)− p(ρ0)
  • .

Explicit eq. for π1 ∂t(1)0 −∇·(2)0 ⇒ −∆π1 = ρ0 ∇2:(u ⊗ u). The pressure wave eq. from Mε :

∂t(1)ε −∇·(2)ε ⇒ ∂ttρ− 1 ε ∆p(ρ) = ∇2 : (ρu ⊗ u) (3)ε

From a numerical point of view Explicit treatment of (3)ε ⇒ conditional stability ∆t ≤ √ε∆x Implicit treatment of (3)ε ⇒ uniform stability with respect to ε

slide-8
SLIDE 8

An order 1 AP scheme in the low Mach numb. limit

Order 1 AP scheme in [Dimarco, Loubère, Vignal, SISC 2017] : If ρn and un are known at time tn

       ρn+1 −ρn ∆t +∇·(ρu)n+1 = 0, (1)

(AS)

(ρu)n+1 −(ρu)n ∆t +∇·(ρu ⊗ u)n + 1 ε ∇p(ρn+1) = 0. (2)

(AC)

∇·(2) inserted into (1) : gives an uncoupled formulation ρn+1 −ρn ∆t +∇·(ρu)n − ∆t ε ∆p(ρn+1)−∆t ∇2 : (ρu ⊗ u)n = 0,

➠ Results uniformly L∞ stable if the space discretization is well chosen ➠ Framework of IMEX (IMplicit-EXplicit) schemes :

∂t

  • ρ

ρu

  • W

+∇·

  • ρu ⊗ u
  • Fe(W)

+∇· ρu

p(ρ)

ε Id

  • Fi(W)

= 0.

slide-9
SLIDE 9

AP but diffusive results,1-D test-case

ε = 0.99, 300 cells

Class : 273 loops CPU time 0.07 AP : 510 loops CPU time 1.46

0.01 0.02 0.03 0.04 0.05 0.06 1 2 3 4 5 6 x 10

−4

Time Time steps AP scheme

  • Class. scheme

0.2 0.4 0.6 0.8 1 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8

Density AP scheme

  • Class. scheme

x

ε = 10−4, 300 cells

Class : 4036 loops CPU time 0.82 AP : 57 loops CPU time 0.14

0.01 0.02 0.03 0.04 0.05 0.06 10

−5

10

−4

10

−3

Time Time steps AP scheme

  • Class. scheme

0.2 0.4 0.6 0.8 1 0.9999 1 1

Density AP scheme

  • Class. scheme

x

slide-10
SLIDE 10

AP but diffusive results,1-D test-case

ε = 10−4

Underlying of the viscosity

0.01 0.02 0.03 0.04 0.05 0.06 10

−6

10

−5

10

−4

Time Time steps AP scheme

  • Class. scheme

0.2 0.4 0.6 0.8 1 0.9999 1 1

Density AP scheme

  • Class. scheme

x

It is necessary to use high order schemes But they must respect the AP properties

slide-11
SLIDE 11

Outline

1

General context : multi-scale models and principle of AP schemes

2

An order 1 AP scheme for the Euler system in the low Mach limit

3

High order schemes in time

4

High order schemes in time and space

5

Works in progress en perspectives

slide-12
SLIDE 12

Principle of IMEX schemes

Biblio for stiff source terms or ode pb. : Asher, Boscarino, Cafflish,

Dimarco, Filbet, Gottlieb, Le Floch, Pareschi, Russo, Ruuth, Shu, Spiteri, Tadmor...

IMEX division : ∂tW +∇· Fe(W)+∇· Fi(W) = 0. General principle : Step n : W n is known Quadrature formula with intermediate values W(tn+1) = W(tn)− tn+1

tn

∇· Fe(W(t))dt

tn+1

tn

∇· Fi(W(t))dt

  • W n+1 = W n

−∆t

s

j=1

˜

bj ∇· Fe(W n,j) −∆t

s

j=1

bj ∇· Fi(W n,j)

Quadratures exact on the constants : ∑s

j=1 ˜

bj = ∑s

j=1 bj = 1

Intermediate values tn,j = tn + cj ∆t W n,j ≈ W(tn)+ tn,j

tn

∂tW(t) dt = W n +∆t

cj

0 ∂tW(tn + s∆t)ds

slide-13
SLIDE 13

Principle of IMEX schemes

Quadrature formula for intermediate values : i = 1,··· ,s W n,j = W n −∆t ∑

k<j

˜

aj,k ∇· Fe(W n,k)−∆t ∑

k≥j

aj,k ∇· Fi(W n,k),

Quadratures exact on the constants :

s

k=1

˜

aj,k = ˜ cj,

s

k=1

aj,k = cj

W n+1 = W n

−∆t

s

j=1

˜

bj ∇· Fe(W n,j) −∆t

s

j=1

bj ∇· Fi(W n,j) Butcher tableaux :

  • Expl. part
  • Imp. part

···

c2

˜

a2,1

...

. . . . . . ... ... . . . cs

˜

as,1

... ˜

as,s−1

˜

b1

... ... ˜

bs c1 a1,1

···

c2 a2,1 a2,2

...

. . . . . . ... ... . . . cs as,1

...

as,s−1 as,s b1

... ...

bs

Conditions for 2nd order : ∑bj cj = ∑bj ˜ cj = ∑˜ bj cj =∑˜ bj ˜ cj = 1/2

slide-14
SLIDE 14

AP Order 2 scheme for Euler

ARS scheme (Asher, Ruuth, Spiteri, 97) : “only 1” intermediate step

β β

1

β− 1

2−β

β− 1

2−β

β β

1 1−β

β

1−β

β β = 1−

1

2

W n,1 = W n W n,2 = W ⋆ = W n −∆t β∇· Fe(W n)−∆t β∇· Fi(W ⋆), W n,3 = W n+1 = W n −∆t(β− 1)∇· Fe(W n)−∆t(2−β)∇· Fe(W ⋆)

−∆t(1−β)∇· Fi(W ⋆)−∆tβ∇· Fi(W n+1).

0.2 0.4 0.6 0.8 1 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2

Density ε = 1 Exact AP Order 1 AP Order 2 x

0.2 0.4 0.6 0.8 1 1 1.00001 1.00002 1.00003 1.00004 1.00005 1.00006 1.00007 1.00008 1.00009 1.0001

Density ε = 10−4 Exact AP Order 1 AP Order 2 x

slide-15
SLIDE 15

Better understand the oscillations

For a scalar hyperbolic eq. ∂tw +∂xf(w) = 0 Oscillations measured by the Total Variation and the L∞ norm TV(wn) = ∑

j

|wn

j+1 − wn j |

wn∞ = max|wn

j |

TVD (Total Variation Diminishing) property and L∞ stability

  • TV(wn+1) ≤ TV(wn)

wn+1∞ ≤ wn∞ ⇔ no oscillations

First idea : Find an AP order 2 scheme which satisfies these properties Impossible Theorem (Gottlieb,Shu,Tadmor, 01)There are no implicit Runge-Kutta schemes of order higher than one which preserves the TVD property.

slide-16
SLIDE 16

A limiting procedure

Another idea : use a limited scheme W n+1 = θW n+1,O2 +(1−θ)W n+1,O1, W n+1,Oj = order j AP approximation

θ ∈ [0,1] largest value such that W n+1 does not oscillate

Toy scalar equation

∂tw + ci √ε ∂xw + ce ∂xw = 0

Order 1 AP scheme with upwind space discretizations (ce,ci > 0) wn+1,O1

j

= wn

j − ci

√ε (wn+1,O1

j

− wn+1,O1

j−1

)− ce (wn

j − wn j−1)

Order 2 AP scheme ARS with the parameter β = 1− 1/

2 Lemma (VMD,Loubère,Vignal) Under the CFL condition ∆t ≤ ∆x/ce

θ ≤ β

1−β ≃ 0.41

  • TV(wn+1) ≤ TV(wn)

wn+1∞ ≤ wn∞

slide-17
SLIDE 17

A MOOD procedure

Limited AP scheme : wn+1,lim = θwn+1,O2 +(1−θ)wn+1,O1 with

θ =

β

1−β

Problem : More accurate than order 1 but not order 2 Solution : MOOD procedure (Clain, Diot, Loubère, 11) On the toy equation wn+1,HO MOOD AP scheme, CFL ∆t ≤ ∆x/ce Compute the order 2 approximation wn+1,O2 Detect if the max. principle is satisfied : wn+1,O2∞ ≤ wn∞ ? If not, compute the limited AP approximation wn+1,lim

0.2 0.4 0.6 0.8 1

  • 1.5
  • 1
  • 0.5

0.5 1 1.5

w for

ε = 10−2

Exact AP Order 1 AP Order 2 AP limited MOOD AP x

0.2 0.4 0.6 0.8 1

  • 1.5
  • 1
  • 0.5

0.5 1 1.5

Exact AP Order 1 AP Order 2 AP limited MOOD AP x w for

ε = 10−4

slide-18
SLIDE 18

Outline

1

General context : multi-scale models and principle of AP schemes

2

An order 1 AP scheme for the Euler system in the low Mach limit

3

High order schemes in time

4

High order schemes in time and space

5

Works in progress en perspectives

slide-19
SLIDE 19

Error curves for the model problem

Order 2 in space with MUSCL but explicit slopes for implicit fluxes Error curves on a smooth solution for the toy model

100 200 400 800 1600 10-5 10-4 10-3 10-2 10-1 100

AP Order 1 AP Order 2 AP limited MOOD AP L∞ error

ε = 1

number of cells

400 800 1600 3200 6400 10-3 10-2 10-1 100

AP Order 1 AP Order 2 AP limited MOOD AP L∞ error

ε = 10−2

number of cells

400 800 1600 3200 6400 10-5 10-4 10-3 10-2 10-1

AP Order 1 AP Order 2 AP limited MOOD AP L∞ error

ε = 10−4

number of cells

slide-20
SLIDE 20

Second-order scheme for the Euler equations

Recall the first-order IMEX scheme for the Euler system :

       ρn+1 −ρn ∆t +∇·(ρu)n+1 = 0, (1) (ρu)n+1 −(ρu)n ∆t +∇·(ρu ⊗ u)n + 1 ε ∇p(ρn+1) = 0. (2)

We apply the same convex combination procedure : W n+1,lim = θW n+1,O2 +(1−θ)W n+1,O1, with θ = β/(1−β).

we use the value of θ given by the study of the model problem But we need we need a criterion to detect oscillations in the MOOD

procedure!

slide-21
SLIDE 21

Euler equations : MOOD procedure

The previous detector (L∞ criterion on the solution) is irrelevant for the Euler equations, since ρ and u do not satisfy a maximum principle.

we need another detection criterion

We pick the Riemann invariants Φ± = u ∓ 2

γ− 1

  • 1

ε ∂p(ρ) ∂ρ

, since they satisfy an advection equation for smooth solutions. On the Euler equations W n+1,HO MOOD AP scheme, CFL ∆t ≤ ∆x/λ Compute the order 2 approximation W n+1,O2 Detect if both Riemann invariants break the maximum principle at the same time If so, compute the limited AP approximation W n+1,lim

slide-22
SLIDE 22

Euler equations : Numerical results

Riemann problem : left rarefaction wave, right shock; top curves : ε = 1; bottom curves : ε = 10−4 0.2 0.4 0.6 0.8 1 1 1.2 1.4 1.6 1.8 2 Density ρ 0.2 0.4 0.6 0.8 1 1 1.2 1.4 1.6 1.8 Momentum q = ρu 0.2 0.4 0.6 0.8 1 1 1.00005 1.0001

exact solution first-order second-order MOOD-AP scheme

0.2 0.4 0.6 0.8 11 1.003 1.006 1.009

slide-23
SLIDE 23

Euler equations : Numerical results

102 103 10−4 10−3 10−2 10−1

ε = 1

103 10−8 10−7 10−6 10−5 10−4

ε = 10−2

103 104 10−10 10−9 10−8 10−7

ε = 10−4

first-order second-order limited AP MOOD AP

slide-24
SLIDE 24

Euler equations : Numerical results

Initial data for the explosion : density cylinder (left);

  • utwards velocity field (right).

−1

1−1 1 1 1.5 2 1 1.2 1.4 1.6 1.8 2

−1 −0.5

0.5 1

−1 −0.5

0.5 1 0.1 0.2 0.3 0.4

slide-25
SLIDE 25

Euler equations : Numerical results

−1

1−1 1 1 1.5 reference solution 0.8 1 1.2 1.4 1.6

−1

1−1 1 1 1.5 first-order scheme

−1

1−1 1 1 1.5 second-order scheme

−1

1−1 1 1 1.5 MOOD-AP scheme

slide-26
SLIDE 26

Outline

1

General context : multi-scale models and principle of AP schemes

2

An order 1 AP scheme for the Euler system in the low Mach limit

3

High order schemes in time

4

High order schemes in time and space

5

Works in progress en perspectives

slide-27
SLIDE 27

Works in progress and perspectives

Choose the order 2 time discretization to get a θ as close as possible to 1 for the stability Study a local value of θ, depending on the presence of oscillations in a given cell Extension to full Euler (order 1 scheme exists but we have trouble decomposing between an explicit and an implicit flux) Simulations of physically relevant phenomena Domain decomposition with respect to ε

  • ε = O(1)

intermediate zone

ε ≪ 1

  • class. scheme

M0

  • class. scheme

Mε AP scheme

slide-28
SLIDE 28

Thanks!

slide-29
SLIDE 29

Bibliography

All speed schemes Preconditioning methods : [Chorin 65], [Choi, Merkle 85], [Turkel, 87], [Van Leer, Lee, Roe, 91], [Li,Gu 08,10], ··· Splitting and pressure correction : [Harlow, Amsden, 68,71], [Karki, Patankar, 89], [Bijl, Wesseling, 98], [Sewall, Tafti, 08], [Klein, Botta, Schneider, Munz, Roller 08], [Guillard, Murrone, Viozat 99, 04, 06] [Herbin, Kheriji, Latché 12,13], ··· ➠ Asymptotic preserving schemes [Degond, Deluzet, Sangam, Vignal, 09], [Degond, Tang 11], [Cordier, Degond, Kumbaro 12], [Grenier, Vila, Villedieu 13] [Dellacherie, Omnes, Raviart,13], [Noelle, Bispen, Arun, Lukacova, Munz,14], [Chalons, Girardin, Kokh,15] [Dimarco, Loubère, Vignal, 17]