• Aucun résultat trouvé

Raffinement local espace-temps et algorithmes de Schwarz (optimizés)

N/A
N/A
Protected

Academic year: 2022

Partager "Raffinement local espace-temps et algorithmes de Schwarz (optimizés)"

Copied!
84
0
0

Texte intégral

(1)

Raffinement local espace-temps et algorithmes de Schwarz (optimiz´es)

Laurence HALPERN

LAGA - Universit´e Paris 13

CANUM. Juin 2006

(2)

R´esum´e

1 Motivations

2 L’´equation des ondes 1-D

Probl`eme de transmission et algorithme de Schwarz Le probl`eme coupl´e : stabilit´e

L’algorithme discret : volumes finis Performances num´eriques

3 L’´equation d’advection-diffusion L’algorithme de Schwarz

La m´ethode de Galerkin discontinu Performances num´eriques

4 Conclusion et perspectives

(3)

Raffinement de maillage

H2 Bubble – Shock Interaction

5

4 3

4

1 2

ƒUniform supersonic flow

ƒEuler N2-O2 non-reactive

ƒCoarse mesh

ƒNon-interacting acoustic waves

ƒEuler N2-O2 non-reactive

ƒCoarse mesh

2

ƒShock- bubble interaction

ƒNavier-Stokes multi- species reactive

ƒFine mesh

3 ƒInteracting acoustic waves

ƒEuler N2-O2 reactive

ƒFine mesh

4 ƒVortex and flame front

ƒNavier-Stokes multi- species reactive

ƒVery fine mesh

Application en combustion

(4)

Raffinement de maillage

Application au couplage oc´ean-atmosph`ere

(5)

Raffinement de maillage

Application en g´eophysique

(6)

Raffinement de maillage

x 295 m

595 m

350 m z

200 m 695 m

Dogger Clay Marl

Limestone

0 25 000 m

repository

Application au stockage souterrain des d´echets

(7)

Les probl`emes

1

Raffinement en espace : m´ethodes mixtes, mortar, Galerkin discontinu..

2

Raffinement en temps ?

(8)

Les probl`emes

1

Raffinement en espace : m´ethodes mixtes, mortar, Galerkin discontinu..

2

Raffinement en temps ?

Raffinement/jonction

U1 (j,n) U2 (j,n)

x t

(9)

Les solutions

Interpolation

!"#$%&'()*+,-./0123

4444444444444444444444

5555555555555555555555

6666666666666666666666

777777777777777777777777777777888888888888888888888888888888 999999999999999999999999999999:::::::::::::::::::::::::::::: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

1 2 3 4

−2

−4

−6

U1 (j,n) U2 (j,n)

2∆t2∆x 2n

n

2n+ 1

∆t

∆x

x t

U

2

(0, 2n) = U

1

(0, n), U

2

(0, 2n + 1) = 1

2 (U

1

(0, n) + U

1

(0, n + 1))

(10)

Les solutions

Interpolation

==> ??@ AB

CD EF GH IJ

KL

MNOPQRSTUVWXYZ[\]^_`ab

cccccccccccccccccccccc

dddddddddddddddddddddd

eeeeeeeeeeeeeeeeeeeeee

ffffffffffffffffffffffffffffffgggggggggggggggggggggggggggggg hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiiiiiiiiiiiiiiiiiiiiiiiiiiiii jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

1 2 3 4

−2

−4

−6

U1 (j,n) U2 (j,n)

2∆t2∆x 2n

n

2n+ 1

∆t

∆x

x t

U

2

(0, 2n) = U

1

(0, n), U

2

(0, 2n + 1) = 1

2 (U

1

(0, n) + U

1

(0, n + 1)) Avantages : Simple, explicite

Inconv´enients : non toujours stable, peu flexible, pr´ecision ?

(11)

Les solutions

Autre approche : d´ecomposition de domaines

♣ Approche continue.

♣ Puis discr´etisations ind´ependantes.

(12)

Les solutions

Autre approche : d´ecomposition de domaines

♣ Approche continue.

♣ Puis discr´etisations ind´ependantes.

Avantages : simple, stable, flexible, pr´ecise.

inconv´enients : a priori : pas explicite.

(13)

Les solutions

Programme

Ecrire un probl`eme coupl´e

Discr´etiser dans chaque sous-domaine

Projeter une grille sur une autre

(14)

R´esum´e

1 Motivations

2 L’´equation des ondes 1-D

Probl`eme de transmission et algorithme de Schwarz Le probl`eme coupl´e : stabilit´e

L’algorithme discret : volumes finis Performances num´eriques

3 L’´equation d’advection-diffusion L’algorithme de Schwarz

La m´ethode de Galerkin discontinu Performances num´eriques

4 Conclusion et perspectives

(15)

R´esum´e

1 Motivations

2 L’´equation des ondes 1-D

Probl`eme de transmission et algorithme de Schwarz Le probl`eme coupl´e : stabilit´e

L’algorithme discret : volumes finis Performances num´eriques

3 L’´equation d’advection-diffusion L’algorithme de Schwarz

La m´ethode de Galerkin discontinu Performances num´eriques

4 Conclusion et perspectives

(16)

Les probl`emes

L’´equation

L u := 1 c 2

2 u

∂t 2 − ∂ 2 u

∂x 2 = f

(17)

Les probl`emes

Raffinement

IIIIII I I I I I I I I I I I I I

PSfrag replacements

t

1

2

∆x

1

∆x

2

c ∆t

∆x . γ ⇒ ∆t 2

∆t 1 ≈ ∆x 2

∆x 1

(18)

Les probl`emes

Raffinement

IIIIII I I I I I I I I I I I I I

PSfrag replacements

t

1

2

∆x

1

∆x

2

c ∆t

∆x . γ ⇒ ∆t 2

∆t 1 ≈ ∆x 2

∆x 1

Discontinuit´es

<<<

t

I I I I I I I I I I I I I I I

PSfrag replacements

1

2

∆t

1

∆t

2

c

1

c

2

c ∆t

∆x . γ ⇒ ∆t 2

∆t 1 ≈ c 1

c 2

(19)

Le probl`eme de transmission

ai ai+1

x Ωi

t

(20)

Le probl`eme de transmission

ai ai+1

x Ωi

t

d´efinition

L (u i ) = 0 x ∈ Ω i , t ∈ (0, T )

B i (u i ) = B i (u i−1 ) x = a i , t ∈ (0, T )

B + i (u i ) = B + i (u i+1 ) x = a i+1 , t ∈ (0, T ),

(21)

Le probl`eme de transmission

ai ai+1

x Ωi

t

d´efinition de l’algorithme de Schwarz

L (u k i ) = 0 x ∈ Ω i , t ∈ (0, T )

B i (u k i ) = B i (u k i−1 −1 ) x = a i , t ∈ (0, T )

B i + (u k i ) = B + i (u i+1 k−1 ) x = a i+1 , t ∈ (0, T ).

(22)

L’algorithme de Schwarz

Choix optimal

B i := ∂ x − 1

c ∂ t , B + i := ∂ x + 1

c ∂ t

L (u k i ) = f x ∈ Ω i , t ∈ (0, T )

B (u k i ) = B (u k i−1 −1 ) x = a i , t ∈ (0, T )

B + (u k i ) = B + (u i+1 k−1 ) x = a i+1 , t ∈ (0, T ).

(23)

L’algorithme de Schwarz

Choix optimal

B i := ∂ x − 1

c ∂ t , B + i := ∂ x + 1 c ∂ t L (u k i ) = f x ∈ Ω i , t ∈ (0, T ) B (u k i ) = B (u k i−1 −1 ) x = a i , t ∈ (0, T ) B + (u k i ) = B + (u i+1 k−1 ) x = a i+1 , t ∈ (0, T ).

convergence

Convergence en 2 it´erations pour T < T 0 = min

1<i<I | a i+1 − a i | /c

Fenˆetres en temps de taille T 0

(24)

Estimations d’´energie, stabilit´e

premi`ere estimation

E

Ωi

(u

i

)(t) + c 4

Z

t

0

[(B

+

u

i

(a

i

, s))

2

+ (B

u

i

(a

i+1

, s))

2

] ds

= c

4 Z

t

0

[(B

u

i

(a

i

, s))

2

+ (B

+

u

i

(a

i+1

, s))

2

] ds + E

Ωi

(u

i

)(0).

(25)

Estimations d’´energie, stabilit´e

premi`ere estimation

E

Ωi

(u

i

)(t) + c 4

Z

t

0

[(B

+

u

i

(a

i

, s))

2

+ (B

u

i

(a

i+1

, s))

2

] ds

= c

4 Z

t

0

[(B

u

i

(a

i

, s))

2

+ (B

+

u

i

(a

i+1

, s))

2

] ds + E

Ωi

(u

i

)(0).

Conditions de transmission :

B

u

i

(a

i

, ·) = B

u

i−1

(a

i

, ·), B

+

u

i

(a

i+1

, ·) = B

+

u

i+1

(a

i+1

, ·)

(26)

Estimations d’´energie, stabilit´e

premi`ere estimation

E

Ωi

(u

i

)(t) + c 4

Z

t

0

[(B

+

u

i

(a

i

, s))

2

+ (B

u

i

(a

i+1

, s))

2

] ds

= c

4 Z

t

0

[(B

u

i

(a

i

, s))

2

+ (B

+

u

i

(a

i+1

, s))

2

] ds + E

Ωi

(u

i

)(0).

Conditions de transmission :

B

u

i

(a

i

, ·) = B

u

i−1

(a

i

, ·), B

+

u

i

(a

i+1

, ·) = B

+

u

i+1

(a

i+1

, ·)

substitution et sommation

E

Ωi

(u

i

)(t) + c 4

Z

t

0

[(B

+

u

i

(a

i

,s))

2

+ (B

u

i

(a

i+1

, s))

2

] ds

= c

4 Z

t

0

[(B

u

i−1

(a

i

,s))

2

+ (B

+

u

i+1

(a

i+1

,s))

2

] ds + E

Ωi

(u

i

)(0).

(27)

Estimations d’´energie, stabilit´e

substitution et sommation

X

i

E

Ωi

(u

i

)(t) + c 4

Z

t

0

[(B

+

u

i

(a

i

,s))

2

+ (B

u

i

(a

i+1

, s))

2

] ds

= c

4 Z

t

0

[(B

u

i−1

(a

i

,s))

2

+ (B

+

u

i+1

(a

i+1

,s))

2

] ds + E

Ωi

(u

i

)(0).

(28)

Estimations d’´energie, stabilit´e

convergence de l’algorithme de Schwarz

X

k

X

i

E

Ωi

(u

ik

)(t) + c 4

Z

t

0

[(B

+

u

ki

(a

i

,s))

2

+ (B

u

ki

(a

i+1

,s))

2

] ds

= c

4 Z

t

0

[(B

u

k−1i−1

(a

i

,s))

2

+ (B

+

u

k−1i+1

(a

i+1

,s))

2

] ds

(29)

Stabilit´e sur l’interface

B u i (a i , · ) = B u i−1 (a i , · ) + g i

B + u i (a i+1 , · ) = B + u i+1 (a i+1 , · ) + g i +

(30)

Stabilit´e sur l’interface

B u i (a i , · ) = B u i−1 (a i , · ) + g i B + u i (a i+1 , · ) = B + u i+1 (a i+1 , · ) + g i +

E

Ωi

(u

i

)(t) + c 4

Z

t

0

[(B

+

u

i

(a

i

, s))

2

+ (B

u

i

(a

i+1

, s))

2

] ds

= c

4 Z

t

0

[(B

u

i

(a

i

, s))

2

+ (B

+

u

i

(a

i+1

, s))

2

] ds + E

Ωi

(u

i

)(0).

(31)

Stabilit´e sur l’interface

B u i (a i , · ) = B u i−1 (a i , · ) + g i B + u i (a i+1 , · ) = B + u i+1 (a i+1 , · ) + g i +

E

Ωi

(u

i

)(t) + c 4

Z

t

0

[(B

+

u

i

(a

i

, s))

2

+ (B

u

i

(a

i+1

, s))

2

] ds

= c

4 Z

t

0

[(B

u

i

(a

i

, s))

2

+ (B

+

u

i

(a

i+1

, s))

2

] ds + E

Ωi

(u

i

)(0).

QUE FAIRE ? Ecrire des conditions de transmission homog`enes.

(32)

Un rel`evement r´etrograde

g−

i

w−

i−1 g+

i−1 w+

i

ai ai+1

ai−1

t

(33)

Un rel`evement r´etrograde

g−

i

w−

i−1 g+

i−1 w+

i

ai ai+1

ai−1

t

Propri´et´es

B

w

i−1

(a

i

, · ) = g

i

, B

+

w

i+

(a

i

, · ) = g

i+−1

B

+

w

i1

(a

i

, · ) = 0, B

w

i+

(a

i

, · ) = 0, E

i−1

(w

i−1

)(t) ≤ c

4 k g

i

k

2L2(0,T)

, E

i

(w

i+

)(t) ≤ c

4 k g

i+−1

k

2L2(0,T)

(34)

Un rel`evement r´etrograde

g−

i

w−

i−1 g+

i−1 w+

i

ai ai+1

ai−1

t

R´e´ecriture des conditions de transmission

B

i

u

i

(a

i

, ·) = B

i

(u

i−1

+ w

i1

) (a

i

, ·) in (0, T ),

B

+i

u

i

(a

i+1

, · ) = B

+i

(u

i+1

+ w

i+1+

) (a

i+1

, · ) in (0, T ).

(35)

Un rel`evement r´etrograde, suite

w+ i−1

T

ai

ai−1 ai+1

g+ i−1

g−

i

w−

i−1 w−

i g− g+ i+1

i−1 w+

i

B

(u

i

) (a

i

, · ) = B

(u

i−1

+ w

i1

) (a

i

, · )

(36)

Un rel`evement r´etrograde, suite

w+ i−1

T

ai

ai−1 ai+1

g+ i−1

g−

i

w−

i−1 w−

i g− g+ i+1

i−1 w+

i

B

(u

i

+w

i

) (a

i

, · ) = B

(u

i−1

+ w

i1

) (a

i

, · )

(37)

Un rel`evement r´etrograde, suite

w+ i−1

T

ai

ai−1 ai+1

g+ i−1

g−

i

w−

i−1 w−

i g− g+ i+1

i−1 w+

i

B

(u

i

+w

i

+w

i+

) (a

i

, · ) = B

(u

i−1

+ w

i1

+w

i+1

) (a

i

, · )

(38)

Stabilit´e, fin

collecte X

i

E

i

(u i + w i + + w i )(t ) ≤ X

i

E

i

(u i + w i + + w i )(0)

X

i

E

i

(u i )(t) ≤ α [ k ∂ x p k 2 L

2

(Ω) + k q k 2 L

2

(Ω) + X

±

X I i=1

k g i ± k 2 L

2

(0,T) ].

(39)

Discr´etisation

lmln op qr stumuv wx

yz

{|

}m}~ m

€m€

m

‚m‚

ƒ„ …† ‡ˆ ‰Š

‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹m‹ŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒmŒ

0 0

i−1i Ji

Ji+1+ 1 Ωi+1+ 1

Ji−1+ 1 0

Facile `a mettre en oeuvre avec des conditions aux limites,

(40)

Discr´etisation

mŽ  ‘’ “”•m•– —˜

™š

›œ

mž ŸmŸ

 m 

¡m¡

¢m¢

£¤ ¥¦ §¨ ©ª

«m«m«m«m«m«m«m«m«m«m«m«m«m«m«m«m«m«m«m«m«m«m«m«m«m«m«m«¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬m¬

0 0

i−1i Ji

Ji+1+ 1 Ωi+1+ 1

Ji−1+ 1 0

Facile `a mettre en oeuvre avec des conditions aux limites,

sch´ema stable,

(41)

Discr´etisation

­m­® ¯° ±² ³´µmµ¶ ·¸

¹º

»¼

½m½¾ ¿m¿

ÀmÀ ÁmÁ

ÂmÂ

ÃÄ ÅÆ ÇÈ ÉÊ

ËmËmËmËmËmËmËmËmËmËmËmËmËmËmËmËmËmËmËmËmËmËmËmËmËmËmËmËÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌmÌ

0 0

i−1i Ji

Ji+1+ 1 Ωi+1+ 1

Ji−1+ 1 0

Facile `a mettre en oeuvre avec des conditions aux limites, sch´ema stable,

la pr´ecision globale est conserv´ee.

(42)

Discr´etisation

ÍmÍÎ ÏÐ ÑÒ ÓÔÕmÕÖ ×Ø

ÙÚ

ÛÜ

ÝmÝÞ ßmß

àmà ámá

âmâ

ãä åæ çè éê

ëmëmëmëmëmëmëmëmëmëmëmëmëmëmëmëmëmëmëmëmëmëmëmëmëmëmëmëìmìmìmìmìmìmìmìmìmìmìmìmìmìmìmìmìmìmìmìmìmìmìmìmìmìmì

0 0

i−1i Ji

Ji+1+ 1 Ωi+1+ 1

Ji−1+ 1 0

Facile `a mettre en oeuvre avec des conditions aux limites, sch´ema stable,

la pr´ecision globale est conserv´ee.

volumes finis “vertex centered”

(43)

Le probl`eme discret

1

c2

D

t+

D

t

− D

x+

D

x

U

i

(j, n) = 0 1 ≤ j ≤ J

i

, 1 ≤ n ≤ N

i

, B

i

U

i

(0, · ) = P

i−1,i

B e

i

U

i−1

(J

i−1

+ 1, · )

B

i+

U

i

(J

i

+ 1, · ) = P

i+1,i

B e

i+

U

i+1

(0, · )

(44)

Le probl`eme discret

1

c2

D

t+

D

t

− D

x+

D

x

U

i

(j, n) = 0 1 ≤ j ≤ J

i

, 1 ≤ n ≤ N

i

, B

i

U

i

(0, · ) = P

i−1,i

B e

i

U

i−1

(J

i−1

+ 1, · )

B

i+

U

i

(J

i

+ 1, · ) = P

i+1,i

B e

i+

U

i+1

(0, · )

B

i+

U

i

= “

∆x

i

2c2

D

t+

D

t

+ D

x

+

1c

D

0t

U

i

en (J

i

+ 1,n), B e

i+

U

i+1

= “

∆x2ci+12

D

t+

D

t

+ D

x+

+

c1

D

t0

U

i+1

en (0, n)

(45)

Le probl`eme discret

1

c2

D

t+

D

t

− D

x+

D

x

U

i

(j, n) = 0 1 ≤ j ≤ J

i

, 1 ≤ n ≤ N

i

, B

i

U

i

(0, · ) = P

i−1,i

B e

i

U

i−1

(J

i−1

+ 1, · )

B

i+

U

i

(J

i

+ 1, · ) = P

i+1,i

B e

i+

U

i+1

(0, · )

B

i+

U

i

= “

∆x

i

2c2

D

t+

D

t

+ D

x

+

1c

D

0t

U

i

en (J

i

+ 1,n), B e

i+

U

i+1

= “

∆x2ci+12

D

t+

D

t

+ D

x+

+

c1

D

t0

U

i+1

en (0, n)

P i,j Projection L 2 de V i sur V j ,

V i fonctions affines par morceaux sur la grille de pas ∆t i .

(46)

estimation d’´energie discr`ete

E(U

i

)(n) − E(U

i

)(n − 1) + c∆t

i

2 [( B e

i−1+

U

i

(0, n))

2

+ ( B e

i+1

U

i

(J + 1, n))

2

]

= c∆t

i

2 [(B

i

U

i

(0,n))

2

+ (B

i+

U

i

(J + 1, n))

2

]

(47)

estimation d’´energie discr`ete

E(U

i

)(n) − E(U

i

)(n − 1) + c∆t

i

2 [( B e

i−1+

U

i

(0, n))

2

+ ( B e

i+1

U

i

(J + 1, n))

2

]

= c∆t

i

2 [(B

i

U

i

(0,n))

2

+ (B

i+

U

i

(J + 1, n))

2

]

B

i

U

i

(0, · ) = P

i−1,i

B e

i

U

i−1

(J

i−1

+ 1, · )

B

i+

U

i

(J

i

+ 1, · ) = P

i+1,i

B e

i+

U

i+1

(0, · )

(48)

estimation d’´energie discr`ete

E(U

i

)(n) − E(U

i

)(n − 1) + c∆t

i

2 [( B e

i−1+

U

i

(0, n))

2

+ ( B e

i+1

U

i

(J + 1, n))

2

]

= c∆t

i

2 [(B

i

U

i

(0,n))

2

+ (B

i+

U

i

(J + 1, n))

2

]

B

i

U

i

(0, · ) = P

i−1,i

B e

i

U

i−1

(J

i−1

+ 1, · )

B

i+

U

i

(J

i

+ 1, · ) = P

i+1,i

B e

i+

U

i+1

(0, · )

E(U

i

)(n) − E(U

i

)(n − 1) + c∆t

i

2 [(e B

i−1+

U

i

(0, n))

2

+ (e B

i+1

U

i

(J + 1, n))

2

]

≤ c∆t

i−1

2 ( B e

i

U

i−1

(J

i−1

+ 1, ·))

2

+ c∆t

i+1

2 ( B e

i+

U

i+1

(0, ·))

2

(49)

Cons´equences

Existence et unicit´e, stabilit´e/conditions initiales et second membre.

(50)

Cons´equences

Existence et unicit´e, stabilit´e/conditions initiales et second membre.

convergence du Schwarz Waveform relaxation algorithm discret.

Schwarz Waveform relaxation algorithm discret

1

c2

D

t+

D

t

− D

x+

D

x

U

ik

(j , n) = 0 1 ≤ j ≤ J

i

, 1 ≤ n ≤ N

i

, B

i

U

ik

(0, · ) = P

i−1,i

B e

i

U

ik11

(J

i−1

+ 1, · )

B

i+

U

ik

(J

i

+ 1, · ) = P

i+1,i

B e

i+

U

i+1k1

(0, · )

(51)

Stabilit´e du probl`eme coupl´e

B

i

U

i

(0, ·) = P

i−1,i

e B

i

U

i−1

(J

i−1

+ 1, ·) + G

i

B

i+

U

i

(J

i

+ 1, ·) = P

i+1,i

B e

i+

U

i+1

(0, ·) + G

i+

(52)

Stabilit´e du probl`eme coupl´e

B

i

U

i

(0, ·) = P

i−1,i

e B

i

U

i−1

(J

i−1

+ 1, ·) + G

i

B

i+

U

i

(J

i

+ 1, ·) = P

i+1,i

B e

i+

U

i+1

(0, ·) + G

i+

E(U

i

)(n) − E(U

i

)(n − 1) + c∆t

i

2 [( B e

i−1+

U

i

(0, n))

2

+ ( B e

i+1

U

i

(J + 1, n))

2

]

= c∆t

i

2 [(B

i

U

i

(0,n))

2

+ (B

i+

U

i

(J + 1, n))

2

]

(53)

Stabilit´e du probl`eme coupl´e

B

i

U

i

(0, ·) = P

i−1,i

e B

i

U

i−1

(J

i−1

+ 1, ·) + G

i

B

i+

U

i

(J

i

+ 1, ·) = P

i+1,i

B e

i+

U

i+1

(0, ·) + G

i+

E(U

i

)(n) − E(U

i

)(n − 1) + c∆t

i

2 [( B e

i−1+

U

i

(0, n))

2

+ ( B e

i+1

U

i

(J + 1, n))

2

]

= c∆t

i

2 [(B

i

U

i

(0,n))

2

+ (B

i+

U

i

(J + 1, n))

2

]

QUE FAIRE ? Ecrire des conditions de transmission homog`enes.

(54)

rel`evement r´etrograde discret

Th´eor`eme

Hyp : γ i < 1 et T < inf i γ i (a i+1 − a i ).

B

i

W

i+

(0, ·) − P

i,i−1

e B

i

W

i−1

(J

i−1

+ 1, ·) − G

i

= R

i,i−1

, B

i−1+

W

i−1

(J

i−1

+ 1, ·) − P

i−1,i

B e

i−1+

W

i+

(0, ·) − G

i−1+

= R

i−1,i

R i,i−1 ∈ orthogonal de Im P i,i−1 dans V i ,

R i−1,i ∈ orthogonal de Im P i−1,i dans V i−1 .

(55)

Pr´ecision du sch´ema

Th´eor`eme

Hyp : γ i < 1 et 2T < inf i γ c

i

(a i+1 − a i )

Alors le sch´ema est stable, globalement d’ordre 2 en temps et en espace.

(56)

La projection

ta tb

Ωk Ω`

function b=transfer(a,ta,tb) ; j=1 ;

for i=1 :n-1 b(i)=0 ; m=ta(j+1)-tb(i) ; while ta(j+1)<tb(i+1) ; b(i)=b(i)+m*a(j) ; j=j+1 ;

m=ta(j+1)-ta(j) ; end ;

m=m-(ta(j+1)-tb(i+1)) ; b(i)=b(i)+m*a(j) ; end ;

Soit un vecteur ta = [0, t a (1), . . . , T ] arbitraire et a un vecteur

repr´esentant une fonction constante par morceaux sur ta, transfer

calcule les int´egrales de a sur les intervalles donn´es par la grille en temps

d´efinie par le vecteur tb = [0, t b (1), . . . , T ].

(57)

Cas simples

0 20 40 60 80 100 120

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

DONNEE INITIALE

PSfrag replacements Ω 12

Donn´ees

c = 1; T = 200.

∆t 1 = 1; ∆x 1 = 1, ∆t 2 = 0.5, ∆x 2 = 0.5.

(58)

Comparaison avec d’autres m´ethodes

γ = 1

erreur max ` a gauche erreur max ` a droite erreur du sch´ema 1.6098e-15 1.4988e-15

D.D. 1.8319e-15 0.0089

Interpol. 1.9429e-15 0.0046

Energie 1.9971e-04 0.4949

(59)

Comparaison avec d’autres m´ethodes

γ = 1

erreur max ` a gauche erreur max ` a droite erreur du sch´ema 1.6098e-15 1.4988e-15

D.D. 1.8319e-15 0.0089

Interpol. 1.9429e-15 0.0046

Energie 1.9971e-04 0.4949

γ = 0.9

erreur max ` a gauche erreur max ` a droite

sch´ema fin 0.0022 0.0006

sch´ema grossier 0.009 0.003

D.D. 0.0068 0.0064

Interpol. 0.0068 0.0027

Energie 0.0068 0.0437

(60)

Ordre de la m´ethode

100 10−3

10−2 10−1 100

error max in the rough grid

dtl

error

dt2 D.D.energy interpolation

10−0.8 10−0.6 10−0.4 10−0.2 100 10−3

10−2 10−1 100

error max in the fine grid

dtr

error

dt2 D.D.energy interpolation

(61)

Extension `a des vitesses diff´erentes

Donn´ees

[0 2] divis´e en 2 parties ´egales, T=1 ;c=1 `a gauche, c=1.7 `a droite.On choisit γ = 1 partout, 11 points en espace dans chaque domaine, 11 points en temps `a gauche et 18 `a droite. Puis on divise le pas par 2.

10−3 10−2 10−1

10−4 10−3 10−2 10−1 100

dt

error after 2 iterations with projections

left discretisation error, Linf: dxl=1/(10*2i), dtl=1/(10*2i), dxr=1/(10*2i), dtr=1/(17*2i) error O(dt2)

10−3 10−2 10−1

10−4 10−3 10−2 10−1 100

dt

error after 2 iterations with projections

right discretisation error, Linf: dxl=1/(10*2i), dtl=1/(10*2i), dxr=1/(10*2i), dtr=1/(17*2i) error O(dt2)

(62)

Un plus grand contraste de vitesses

Exemple

c 1 = 1 c 2 = 10; ∆x 1 = ∆x 2 = 0, 02; ∆t 1 = 0, 02 ∆t 2 = 0, 002

(63)

R´esum´e

1 Motivations

2 L’´equation des ondes 1-D

Probl`eme de transmission et algorithme de Schwarz Le probl`eme coupl´e : stabilit´e

L’algorithme discret : volumes finis Performances num´eriques

3 L’´equation d’advection-diffusion L’algorithme de Schwarz

La m´ethode de Galerkin discontinu Performances num´eriques

4 Conclusion et perspectives

(64)

Le probl`eme

L u = ∂u

∂t + ∂

∂x (a(x)u) − ∂

∂x (ν(x ) ∂u

∂x ) = f dans ]a, b[ × ]0, T [ C.L. u(a, ·) = u(b, ·) = 0 , C.I. u(· , 0) = u

0

Deux domaines, a(x) = a i , ν (x) = ν i dans Ω i , a i ≥ 0, ν i > 0, i = 1, 2.

(65)

Le principe

Algorithme

L u

ik

= f dans Ω

i

× ]0,T [ (ν

1

∂x − a

1

+ Λ

1

)u

k1

(0, · ) = (ν

2

∂x − a

2

+ Λ

1

)u

k21

(0, · ) (ν

2

∂x − a

2

+ Λ

2

)u

k2

(0, · ) = (ν

1

∂x − a

1

+ Λ

2

)u

k−12

(0, · ) Λ

1

(u) = a

2

+ p

2

2 + q

2

2

∂t , Λ

2

(u) = a

1

− p

1

2 − q

1

2

∂t

taux de convergence

δ

j

(ω) = q

a

2j

+ 4ν

j

iω, j = 1, 2.

ρ(ω) =

„ δ

1

(ω) − p

1

− q

1

iω δ

1

(ω) + a

2

− a

1

+ p

2

+ q

2

« „ δ

2

(ω) − p

2

− q

2

iω δ

2

(ω) + a

2

− a

1

+ p

1

+ q

1

«

min ( max |ρ(ω)|)

(66)

Formulation faible (Johnson,Eriksson, Thomee 1985)

Le probl`eme aux limites

u t + au x − νu xx = f (x, t) dans ]a, b[ × [0, T ],

− ν u x + au + α 0 u + β 0 u t = g 0 (t ), en x = a, ν u x − au + α 1 u + β 1 u t = g 1 (t ), en x = b.

Formulation faible

((u t , v)) + ˜ a(u, v ) = `(v ), ∀ v ∈ V = H 1 (]0, 1[) ((u, v)) := (u, v) + β

1

u(1, t)v (1, t) + β

0

u(0, t)v (0, t)

˜

a(u, v ) := b(u, v) + ν(u

x

, v

x

) − a(u, v

x

) + α

1

u(1, t)v (1, t) + α

0

u(0, t)v (0, t)

`(v ) := (f , v ) + g

1

(t)v (1, t) + g

0

(t)v (0, t)

(67)

Discr´etisation par Galerkin discontinu

espaces d’´el´ements finis [0, T ] = Q K

k =1 I k , I k = [t k −1 , t k ].

v + k = lim s→0

+

v (t k + s), v k = lim s→0

v (t k + s), V h s.e.v. de dimension finie de V ,

P q (I k ) = { v : I k −→ V h : v(t) = X q

i=0

v i t i , v i ∈ V h }

formulation U

0

= u

0

Pour k = 1, · · · , K, ´etant donn´e U

k1

, trouver U ≡ U

|Ik

∈ P

q

(I

k

) tel que R

Ik

[(( ˙ U, v )) + ˜ a(U, v )]dt + ((U

+k1

, v

+k1

)) = R

Ik

`(v )dt + ((U

k1

, v

+k1

)), ∀ v ∈ P

q

(I

k

)

Couplage avec SWR

(68)

Erreur L 2 versus le pas de temps. Cas homog`ene

Donn´ees physiques

Solution exacte u(x, t ) = cos(x)cos(t) sur [0, 2π] × [0, 2π]. ¯ Ω 1 = [0, 2]

et ¯ Ω 2 = [2, 2π]. a 1 = a 2 = 1, ν 1 = ν 2 = 1

les grilles PSfrag replacements

x x x

x

t t t t

0 0

0

maillage 1 0 maillage 2 maillage 3 maillage 4

T T T T

Maillages en temps conformes (maillage 1 et maillage 4) et non conformes (maillage 2 et maillage 3).

Stopping Criterion : the jumps of interface conditions must be smaller than

10

6

(69)

Solution au temps T

It´eration 1

0 1 2 3 4 5 6 7

−1.5

−1

−0.5 0 0.5 1 1.5

x

u(x,T)

At time t=T=6.2832, at Schwarz iteration1, with method=ABC1 Converged SWR solution um at SWR iteration 1 up at SWR iteration 1

(70)

Solution au temps T

It´eration 2

0 1 2 3 4 5 6 7

−1

−0.5 0 0.5 1 1.5

x

u(x,T)

At time t=T=6.2832, at Schwarz iteration2, with method=ABC1 Converged SWR solution um at SWR iteration 2 up at SWR iteration 2

(71)

Solution au temps T

It´eration 3

0 1 2 3 4 5 6 7

−1.5

−1

−0.5 0 0.5 1

x

u(x,T)

At time t=T=6.2832, at Schwarz iteration3, with method=ABC1 Converged SWR solution um at SWR iteration 3 up at SWR iteration 3

(72)

Courbes erreur

0 0.5 1 1.5 2 2.5 3 3.5 4

−4.5

−4

−3.5

−3

−2.5

−2

−1.5

−1

−0.5 0

number of refinements log10(L2 Error)

mesh 1 mesh 2 mesh 3 mesh 4 slope 2

erreur L 2 (Ω × (0, T ))

(73)

Un cas non homog`ene

donn´ees physiques

(a, b) = (0, 6), coup´e par le milieu. T = 2. u0 = exp( − 3 ∗ (2.5 − x ). 2 ).

A gauche a 1 = 1, ν 1 = 0.05. A droite a 2 = 0.3, ν 2 = 1.

Courbe erreur

0 0.5 1 1.5 2 2.5 3 3.5 4

−4

−3.5

−3

−2.5

−2

−1.5

−1

−0.5

log10(L2 Error)

mesh 1 mesh 2 mesh 3 mesh 4 slope 2

(74)

Solution au temps T

It´eration 1

0 1 2 3 4 5 6

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

x

u(x,T)

At time t=T=2, at Schwarz iteration1, with method=ABC1 Converged SWR solution um at SWR iteration 1 up at SWR iteration 1

(75)

Solution au temps T

It´eration 2

0 1 2 3 4 5 6

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4

x

u(x,T)

At time t=T=2, at Schwarz iteration2, with method=ABC1 Converged SWR solution um at SWR iteration 2 up at SWR iteration 2

(76)

Solution au temps T

It´eration 3

0 1 2 3 4 5 6

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4

x

u(x,T)

At time t=T=2, at Schwarz iteration3, with method=ABC1 Converged SWR solution um at SWR iteration 3 up at SWR iteration 3

(77)

R´esum´e

1 Motivations

2 L’´equation des ondes 1-D

Probl`eme de transmission et algorithme de Schwarz Le probl`eme coupl´e : stabilit´e

L’algorithme discret : volumes finis Performances num´eriques

3 L’´equation d’advection-diffusion L’algorithme de Schwarz

La m´ethode de Galerkin discontinu Performances num´eriques

4 Conclusion et perspectives

(78)

Conclusion

Cadre de travail

Programme global avec applications en oc´eanographie, combustion (ONERA), environnement (GDR Momas). Travaux d´eja r´ealis´es sur l’´equation des ondes 1D et 2D (avec recouvrement), sur l’´equation d’advection diffusion 1 et 2D, et sur le syst`eme de Saint-Venant (th`ese de V´eronique Martin)

SWR et raffinement

SWR : Cadre efficace pour le raffinement en temps,

(79)

Conclusion

Cadre de travail

Programme global avec applications en oc´eanographie, combustion (ONERA), environnement (GDR Momas). Travaux d´eja r´ealis´es sur l’´equation des ondes 1D et 2D (avec recouvrement), sur l’´equation d’advection diffusion 1 et 2D, et sur le syst`eme de Saint-Venant (th`ese de V´eronique Martin)

SWR et raffinement

SWR : Cadre efficace pour le raffinement en temps,

Etude d’erreur pour l’´equation des ondes discr`ete en dimension 1,

(80)

Conclusion

Cadre de travail

Programme global avec applications en oc´eanographie, combustion (ONERA), environnement (GDR Momas). Travaux d´eja r´ealis´es sur l’´equation des ondes 1D et 2D (avec recouvrement), sur l’´equation d’advection diffusion 1 et 2D, et sur le syst`eme de Saint-Venant (th`ese de V´eronique Martin)

SWR et raffinement

SWR : Cadre efficace pour le raffinement en temps,

Etude d’erreur pour l’´equation des ondes discr`ete en dimension 1,

Premiers r´esultats encourageants pour Galerkin discontinu en temps

pour advection diffusion non homog`ene en dimension 1.

(81)

Perspectives

Raffinement

Etude d’erreur pour l’´equation des ondes en dimension 2 :´etendre le

lemme de rel`evement discret.

(82)

Perspectives

Raffinement

Etude d’erreur pour l’´equation des ondes en dimension 2 :´etendre le lemme de rel`evement discret.

Extension `a Schr¨odinger et au non lin´eaire.

(83)

Perspectives

Raffinement

Etude d’erreur pour l’´equation des ondes en dimension 2 :´etendre le lemme de rel`evement discret.

Extension `a Schr¨odinger et au non lin´eaire.

Mise en place compl`ete de la d´ecomposition coupl´ee `a Galerkin

discontinu pour advection-diffusion en dimension 1, et 2.

(84)

Co-auteurs sur les m´ethodes de Schwarz-relaxation d’ondes

En g´en´eral : M. Gander (Universit´e Gen`eve).

Pour l’´equation des ondes 1D : F. Nataf (CNRS P6).

Sur l’´equation d’advection diffusion homog`ene : P. D’Anfray et J.

Ryan (ONERA). V. Martin (Amiens).

Sur les probl`emes h´et´erog`enes (application au stockage des d´echets et au couplage oc´ean-atmosph`ere) : C. Japhet (P13), M. Kern (INRIA), E. Blayo (Grenoble).

Sur Galerkin discontinu : C. Japhet.

Sur le couplage de mod`eles : V. Martin et C. Japhet, J. Ryan.

Sur l’´equation de Schr¨odinger et les probl`emes non lin´eaires : J.

Szeftel.

Sur les ´equations du micromagn´etisme : S. Labb´e (P11) et K.

Santugini(Gen`eve)

http ://www.math.univ-paris13.fr/ halpern

Références

Documents relatifs

Le p` ere doit afficher “ je suis le p` ere ”, fils1 doit afficher “ je suis fils1 ” suivi de son pid, et idem pour fils2.. Exerice n

On the contrary, the null and approximate controllability of the heat equation are essentially well understood subjects both for linear equations and for semilinear ones, both

Notons qu’` a ce jour, on ne connaˆıt pas de nombres de Fermat premiers en dehors des

Dans cette section, nous appliquons les corollaires 3.9 et 3.10 pour ´ etablir des estimations effectives et non triviales du plus petit commun multiple des termes cons´ ecutifs

Par exemple, on suppose que les proies ne se reproduisent que dans un intervalle I ⊂

[r]

Le discriminant de l’´ equation, si on comprend 45 et 322 en syst` eme d´ ecimal, est 737, non carr´ e, ce qui n’est pas compatible avec des racines enti` eres. On peut imaginer que

Or deux espaces vectoriels de mˆ eme dimension finie sont isomorphes, et R est un espace vectoriel de dimension 1... R´ eciproquement, tout hyperplan de R n est le noyau d’une