• Aucun résultat trouvé

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

N/A
N/A
Protected

Academic year: 2022

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

Copied!
29
0
0

Texte intégral

(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

(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

(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 0.1 0.20.3 0.4 0.50.6 0.70.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

0 0.2 0.4 0.6 0.8 1

10−10 10−5 100

x

ε

Whenεis small :M0= lim

ε0Mε asympt. model Difficulties :

Classical explicit schemes forMε : stable and consistent if the mesh resolves all the scales ofε ⇒huge cost

Schemes forM0with meshes independent ofε But : ➠M0not valid everywhere, needsε≪1

➠location of the interface, moving interface

(4)

Principle of AP schemes

A possible solution :AP schemes

Use the multi-scale modelMεwhere you want.

Discretize it with a scheme preserving the limitε→0

➠The mesh is independent ofε: Asymptotic stability.

➠You recover an approximate solution ofM0whenε→0 : Asymptotic consistency Asymptotically stable and consistent scheme

⇒Asymptotic preserving scheme (AP) ([S.Jin] kinetichydro) You can use the AP scheme only to reconnectMε andM0

00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000

11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111 11111111111111

00000000 00000000 00000000 0000 00000000 00000000 00000000 00000000 00000000 0000 00000000 00000000 00000000 00000000 0000 00000000 00000000 00000000 0000

11111111 11111111 11111111 1111 11111111 11111111 11111111 11111111 11111111 1111 11111111 11111111 11111111 11111111 1111 11111111 11111111 11111111 1111

00000000 00000000 00000000 0000 00000000 00000000 00000000 00000000 00000000 0000 00000000 00000000 00000000 00000000 0000 00000000 00000000 00000000 0000

11111111 11111111 11111111 1111 11111111 11111111 11111111 11111111 11111111 1111 11111111 11111111 11111111 11111111 1111 11111111 11111111 11111111 1111

ε=O(1) intermediate

zone ε≪1

Mε class. scheme

M0 class. scheme

Mε AP scheme

(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

(6)

The multi-scale model and its asymptotic limit

Isentropic Euler system in scaled variablesx ∈Ω⊂IRd,t0 (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 :

n=0, on∂Ω, and

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

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

(2)ε ⇒ ∇p(ρ) =0, ⇒ ρ(x,t) =ρ(t).

(1)ε ⇒ |Ω|ρ(t)+ρ(t) Z

∂Ω

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

(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

ρ0tu+ρ0∇·(u⊗u) +∇π1=0, (2)0

where

π1= lim

ε0

1 ε

p(ρ)−p0) .

Explicit eq. forπ1t(1)0−∇·(2)0 ⇒ −∆π102: (uu).

The pressure wave eq. fromMε :

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ε

(8)

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

Order1AP scheme in[Dimarco, Loubère, Vignal, SISC 2017]: Ifρnandunare known at timetn





ρn+1−ρn

t +∇·(ρu)n+1=0, (1) (AS)u)n+1−(ρu)n

∆t +∇·(ρuu)n+1

ε∇p(ρn+1) =0. (2) (AC)

∇·(2)inserted into(1):gives an uncoupled formulation ρn+1−ρn

∆t +∇·(ρu)n−∆t

ε ∆pn+1)−∆t2: (ρuu)n=0,

➠ Results uniformlyLstable if the space discretization is well chosen

➠ Framework of IMEX (IMplicit-EXplicit) schemes :

t ρ

ρu

| {z }

W

+∇· 0

ρu⊗u

| {z }

Fe(W)

+∇· ρu

p(ρ) ε Id

| {z }

Fi(W)

=0.

(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 0.01 0.02 0.03 0.04 0.05 0.06

0 1 2 3 4 5 6x 10−4

Time

Timesteps

AP scheme Class. scheme

0 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

ε=104, 300 cells Class: 4036 loops

CPU time 0.82 AP: 57 loops

CPU time 0.14

0 0.01 0.02 0.03 0.04 0.05 0.06

10−5 10−4 10−3

Time

Timesteps

AP scheme Class. scheme

0 0.2 0.4 0.6 0.8 1

0.9999 1 1

Density

AP scheme Class. scheme

x

(10)

AP but diffusive results,1-D test-case

ε=104 Underlying of the viscosity

0 0.01 0.02 0.03 0.04 0.05 0.06

10−6 10−5 10−4

Time

Timesteps

AP scheme Class. scheme

0 0.2 0.4 0.6 0.8 1

0.9999 1 1

Density

AP scheme Class. scheme

x

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

(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

(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 :Wnis known

Quadrature formula with intermediate values W(tn+1) =W(tn)−

Z tn+1 tn

∇·Fe(W(t))dt

| {z }

− Z tn+1

tn

∇·Fi(W(t))dt

| {z }

Wn+1=Wn −∆t

s

j=1

˜bj ∇·Fe(Wn,j) −∆t

s

j=1

bj ∇·Fi(Wn,j)

Quadratures exact on the constants :sj=1˜bj =∑sj=1bj=1

Intermediate valuestn,j=tn+cj∆t Wn,jW(tn) +

Z tn,j tn

tW(t)dt =Wn+ ∆t Z cj

0

tW(tn+s∆t)ds

(13)

Principle of IMEX schemes

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

k<j

˜

aj,k∇·Fe(Wn,k)−∆t

kj

aj,k∇·Fi(Wn,k),

Quadratures exact on the constants :

s k

=1

˜ aj,k = ˜cj,

s k

=1

aj,k =cj

Wn+1=Wn −∆t

s

j=1

˜bj ∇·Fe(Wn,j) −∆t

s

j=1

bj ∇·Fi(Wn,j) Butcher tableaux :

Expl. part Imp. part

0 0 0 ··· 0

c22,1 0 . . . 0

... ... . .. . .. ... cs ˜as,1 . . . ˜as,s1 0

˜b1 . . . ˜bs

c1 a1,1 0 ··· 0

c2 a2,1 a2,2 . . . 0

... ... . .. . .. ... cs as,1 . . . as,s1 as,s

b1 . . . bs

Conditions for 2nd order :

bjcj =

bj˜cj=

˜bjcj=

˜bj˜cj=1/2

(14)

AP Order 2 scheme for Euler

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

0 0 0 0

β β 0 0

1 β−1 2−β 0 β−1 2−β 0

0 0 0 0

β 0 β 0

1 0 1−β β 0 1−β β

β=112

Wn,1=Wn

Wn,2=W=Wn−∆tβ∇·Fe(Wn)−∆tβ∇·Fi(W),

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

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

0 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 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ε=104

Exact AP Order 1 AP Order 2

x

(15)

Better understand the oscillations

For a scalar hyperbolic eq.tw+∂xf(w) =0

Oscillations measured by the Total Variation and theLnorm TV(wn) =

j

|wjn+1wjn| kwnk= max|wjn|

TVD (Total Variation Diminishing) property andLstability TV(wn+1)≤TV(wn)

kwn+1k≤ kwnk ⇔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.

(16)

A limiting procedure

Another idea :use a limited scheme

Wn+1=θWn+1,O2+ (1−θ)Wn+1,O1, Wn+1,Oj =orderj AP approximation

θ∈[0,1]largest value such thatWn+1does not oscillate Toy scalar equationtw+√ci

ε∂xw+cexw=0

Order 1 AP scheme with upwind space discretizations (ce,ci >0) wjn+1,O1=wjn−√ci

ε(wjn+1,O1wjn+11,O1)−ce(wjnwjn1) Order 2 AP scheme ARS with the parameterβ=11/√

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

θ≤ β

1−β≃0.41 ⇒

TV(wn+1)≤TV(wn) kwn+1k≤ kwnk

(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 equationwn+1,HO MOOD AP scheme,CFLt≤∆x/ce

Compute the order 2 approximationwn+1,O2

Detect if the max. principle is satisfied :kwn+1,O2k≤ kwnk? If not, compute the limited AP approximationwn+1,lim

0 0.2 0.4 0.6 0.8 1

-1.5 -1 -0.5 0 0.5 1 1.5

wforε=102

Exact AP Order 1 AP Order 2 AP limited MOOD AP

x

0 0.2 0.4 0.6 0.8 1

-1.5 -1 -0.5 0 0.5 1 1.5

Exact AP Order 1 AP Order 2 AP limited MOOD AP

x

wforε=104

(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

(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 Lerror

ε=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

Lerror

ε=102

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 Lerror

ε=104

number of cells

(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 +∇·(ρuu)n+1

ε∇p(ρn+1) =0. (2) We apply the same convex combination procedure :

Wn+1,lim =θWn+1,O2+ (1−θ)Wn+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 !

(21)

Euler equations : MOOD procedure

The previous detector (Lcriterion on the solution) is irrelevant for the Euler equations, sinceρandudo not satisfy a maximum principle.

we needanother detection criterion

We pick theRiemann invariantsΦ± =u∓γ−21 s

1 ε

∂p(ρ)

∂ρ , since they satisfy an advection equation for smooth solutions.

On the Euler equationsWn+1,HO MOOD AP scheme,CFLt≤∆x/λ Compute the order 2 approximationWn+1,O2

Detect if both Riemann invariants break the maximum principle at the same time

If so, compute the limited AP approximationWn+1,lim

(22)

Euler equations : Numerical results

Riemann problem : left rarefaction wave, right shock ; top curves :ε=1 ; bottom curves :ε=104

0 0.2 0.4 0.6 0.8 1 1

1.2 1.4 1.6 1.8 2

Densityρ

0 0.2 0.4 0.6 0.8 1 1 1.2 1.4 1.6 1.8 Momentumq=ρu

0 0.2 0.4 0.6 0.8 1 1

1.00005 1.0001

exact solution first-order second-order MOOD-AP scheme 0 0.2 0.4 0.6 0.8 11

1.003 1.006 1.009

(23)

Euler equations : Numerical results

102 103

104 103 102 101

ε=1

103 108

107 106 105 104

ε=102

103 104

1010 109 108 107

ε=104 first-order

second-order limited AP MOOD AP

(24)

Euler equations : Numerical results

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

outwards velocity field (right).

1 0

1−1 0

1 1

1.5 2

1 1.2 1.4 1.6 1.8 2

10.5 0 0.5 1

1

0.5 0 0.5 1

0 0.1 0.2 0.3 0.4

(25)

Euler equations : Numerical results

1 0

1−1 0 1 1

1.5

reference solution

0.8 1 1.2 1.4 1.6

1 0

1−1 0 1 1

1.5

first-order scheme

1 0

1−1 0 1 1

1.5

second-order scheme

1 0

1−1 0 1 1

1.5

MOOD-AP scheme

(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

(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ε

0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000

1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111 1111111111111

000000 000000 000000 000 000000 000000 000000 000000 000000 000 000000 000000 000000 000000 000 000000 000000 000000

111111 111111 111111 111 111111 111111 111111 111111 111111 111 111111 111111 111111 111111 111 111111 111111 111111

000000 000000 000000 000 000000 000000 000000 000000 000000 000 000000 000000 000000 000000 000 000000 000000 000000

111111 111111 111111 111 111111 111111 111111 111111 111111 111 111111 111111 111111 111111 111 111111 111111 111111

ε=O(1) intermediate

zone ε1

Mε class. scheme

M0 class. scheme

Mε AP scheme

(28)

Thanks !

(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]

Références

Documents relatifs

We propose a family of simple second order accurate schemes for the nu- merical solution of Euler equation of gas dynamics that are (linearly) implicit in the acoustic

Unité de recherche INRIA Rennes : IRISA, Campus universitaire de Beaulieu - 35042 Rennes Cedex (France) Unité de recherche INRIA Rhône-Alpes : 655, avenue de l’Europe - 38330

Our aim is to develop higher order schemes in time: the first step is to consider Milstein scheme, which improves the strong convergence to the order 1. To do this, it is necessary to

This paper is concerned with the problem of simulation of (X t ) 0 ≤ t ≤ T , the solution of a sto- chastic differential equation constrained by some boundary conditions in a

In this section, we consider the two-scale framework and present how the derivative-free change of variables Φ e [n] θ of Section 2 can be used to construct arbitrary high

L'étude actuelle représente un premier rapport algérien qui met en corrélation le cancer du sein inflammatoire et le niveau d’expression du facteur de prolifération

We compare the SI two-speed scheme with the classical Rusanov scheme with 120 × 120 cells. 6) shows 2D plots of the norm of the velocity at final time T f = 1 as well as 1D cuts of

The key idea of our all speed scheme is the special semi-implicit time discretization, in which the low Mach number stiff term is divided into two parts, one be- ing treated