Parareal algorithm for two phase flows simulation
Katia Ait-Ameur
Yvon Maday (Sorbonne Université - UPMC) - Marc Tajchman (CEA)
May 3, 2018
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 1 / 23
Parareal algorithm for two phase flows simulation Katia Ait-Ameur - - PowerPoint PPT Presentation
Parareal algorithm for two phase flows simulation Katia Ait-Ameur Yvon Maday (Sorbonne Universit - UPMC) - Marc Tajchman (CEA) May 3, 2018 Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 1 / 23 Outline 1 Context and model
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 1 / 23
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 2 / 23
Context and model
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 3 / 23
Context and model
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 4 / 23
Context and model
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 5 / 23
Context and model
k) + αk∂xp = αkρkg + Fint k
k
k
k
k : mass and energy transfers between phases
k
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 6 / 23
Context and model
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 7 / 23
Cathare numerical scheme
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 8 / 23
Cathare numerical scheme
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 9 / 23
Cathare numerical scheme
k)n+1 + αn+1 k
k
k
k
k
k
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 10 / 23
Cathare numerical scheme
k )i+1/2 =
k )i+1/2 =
k )i+1/2(uk)i+1/2 > 0
k )i+1/2(uk)i+1/2 < 0
7th PinT Workshop May 3, 2018 11 / 23
Cathare numerical scheme
V
l
v
l
v
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 12 / 23
Cathare numerical scheme
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 13 / 23
Numerical results
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 14 / 23
Numerical results
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 15 / 23
Numerical results
ref||L2
ref||L2
v, hn v, hn l , un v, un l
7th PinT Workshop May 3, 2018 16 / 23
Numerical results
0.1 0.2 0.3 0.4 0.0002 0.0004 0.0006 0.0008 Relative error : L2 in space, L∞ in time Time step Error on 110 cells Error on 220 cells C √ ∆T
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 17 / 23
Numerical results
n+1 = G(Tn, Tn+1, U0 n) sequential
n )N n=0 known.
n )
n
n+1 = G(Tn, Tn+1, Uk+1 n
n ) − G(Tn, Tn+1, Uk n )
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 18 / 23
Numerical results
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 19 / 23
Numerical results
0.00010 0.00100 0.01000 5 10 15 20 0 5 10 15 20 Relative error : L2 in space, L∞ in time Time (s)
110 cells
Parareal iteration 0 Parareal iteration 1 Threshold of convergence Time (s)
220 cells Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 20 / 23
Numerical results
0.00010 0.00100 0.01000 0.10000 1.00000 5 10 15 20 0 5 10 15 20 Relative error : L2 in space, L∞ in time Time (s)
8 processes (stable)
Parareal iteration 0 Parareal iteration 1 Threshold of convergence Time (s)
16 processes (unstable)
0.00010 0.00100 0.01000 0.10000 1.00000 5 10 15 20 0 5 10 15 20 Relative error : L2 in space, L∞ in time Time (s)
8 processes (stable)
Parareal iteration 0 Parareal iteration 1 Threshold of convergence Time (s)
16 processes (unstable)
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 21 / 23
Numerical results
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 22 / 23
Numerical results
Katia Ait-Ameur (CEA - UPMC) 7th PinT Workshop May 3, 2018 23 / 23