Applications of The Parareal Algorithm
Applications of The Parareal Algorithm
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 1 / 21
Outline
1 Overview
History
The Algorithm
Some Remarks
Convergence Results
Stability Results
Simple Implementation
Complexity
2 Applications
Published Works on Parareal
Current Work
Parareal with GPUs
Parareal on Reactive Flows
Parareal Applied to the KdVB equation
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 2 / 21
History
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 3 / 21
The Algorithm
The Problem
Find u such that
(
∂t u + A (t, u) = 0, t > t0
(1)
u = u0 , t = t0
Remarks :
If solution to (1) exists : Solution can be written as
u(t + τ ) = E(t + τ, t, v), where v = u(t) and τ > 0, with
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 4 / 21
The Algorithm
Notations :
Fine solver F (t2 , t1 , u1 ) - approximation of the solution u(t2 ) to
problem (1) with initial condition u(t1 ) = u1
Coarse solver G(t2 , t1 , u1 ) - another approximation to u(t2 ), less
accurate than F (t2 , t1 , u1 ) but cheaper to solve
Parareal Algorithm
U00 = u0 (the initial condition in problem (1))
U0n+1 = G(tn+1 , tn , U0n ) (the coarse solver)
For k = 1, 2, · · · , Uk0 = u0 and
k+1
(2) Un+1 = G(tn+1 , tn , Uk+1 k k
n ) + F (tn+1 , tn , Un ) − G(tn+1 , tn , Un )
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 5 / 21
Some Remarks
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 6 / 21
Convergence Results
Maday, Rønquist and Staff, 2006 [6] :
Let δF = E − F and δG = E − G. If ∀τ > 0,
and in addition, if ∀τ ,
and
|δG(t + τ, t, x) − δG(t + τ, t, y)| ≤ Cτ |x − y|.
Then the error between the exact solution and the parareal solution satisfies
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 7 / 21
Stability Results
Staff and Rønquist, 2005 [10] :
Assume that we want to solve the autonomous differential equation
using the parareal algorithm. Assume also that the system is stiff, meaning
that z = µ∆T << −1, and that the fine propagator is close to exact.
Then the stability function can be written as
k n−1
H(n, k, R) = (−1) Rn ,
k
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 8 / 21
Simple Implementation
T
Sample Problem : Find u = u1 u2 so that
∂u = Au, t ∈ (0, 100]
∂t h iT
u = u0 = 1 0 , t=0
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 9 / 21
Simple Implementation
t0 = 0 and T = 100
N = 100 and ∆Tn = ∆T = 1
Coarse scheme : Implicit Euler with δT = ∆T = 1
Fine scheme : Implicit Euler with δt = 0.1
Horizontal axis is u1 and the vertical axis is u2
fine scheme : 0.62 s
parareal scheme : 0.29496 s
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 10 / 21
Simple Implementation
Iteration 0
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 11 / 21
Simple Implementation
Iteration 1
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 12 / 21
Simple Implementation
Iteration 2
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 13 / 21
Simple Implementation
Iteration 3
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 14 / 21
Simple Implementation
Iteration 4
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 15 / 21
Complexity
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 16 / 21
Published Works on Parareal
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 17 / 21
Parareal with GPUs
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 18 / 21
Parareal on Reactive Flows
uses the idea in Baffico et al [1] of using the simpler version of the
original model
adaptive chemistry approach by Schwer, Lu and Green (2003) [9] -
“active species” vary with spatial location
Idea :
I Use the adaptive chemistry for the coarse scheme
I Use the full chemistry for the fine scheme
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 19 / 21
Parareal Applied to the KdVB equation
KdVB Equation
1
(5) ut +uux = uxx +uxxx , ux (−∞) = 0, u(−∞) = 1, u(∞) = 0
R
Idea :
uses the idea in Baffico et al [1]
uses the idea in Fischer et al [4] - solve the problem in a coarse spatial
mesh for the coarse scheme, and use a finer mesh in space for the fine
scheme
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 20 / 21
Coarse Scheme : Average Equation
Based on the work by Chorin [3] :
1 x+`
Z
Let u(x, t) = u(y, t)dy (local average of the solution u in (5))
2` x−`
Effective Equation
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 21 / 21
L. Baffico, S. Bernard, Y. Maday, G. Turinici, and G. Zérah.
Parallel-in-time molecular-dynamics simulations.
Phys. Rev. E, 66(5) :057701, Nov 2002.
Guillaume Bal and Yvon Maday.
A “parareal” time discretization for nonlinear PDE’s with application to
the pricing of an american put.
In L.F. Pavarino and A. Toselli, editors, Recent Developments in
Domain Decomposition Methods, volume 23 of Lecture Notes in
Computational Science and Engineering, pages 189–202.
Springer-Verlag, Berlin, 2002.
Alexandre J. Chorin.
Averaging and renormalization for the Korteveg-deVries-Burgers
equation.
Proc. Natl. Acad. Sci. USA, 100(17) :9674–9679, 2003.
Paul F. Fischer, Frédéric Hecht, and Yvon Maday.
A parareal in time semi-implicit approximation of the Navier-Stokes
equations.
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 21 / 21
In Domain Decomposition Methods in Science and Engineering,
volume 40 of Lecture Notes in Computational Science and Engineering,
pages 433–440. Springer, Berlin, 2005.
Jacques-Louis Lions, Yvon Maday, and Gabriel Turinici.
Résolution d’EDP par un schéma en temps “pararéel”.
C. R. Acad. Sci. Paris Sér. I Math., 332(7) :661–668, 2001.
Y. Maday, E.M. Rø nquist, and G.A. Staff.
The parareal-in-time algorithm : basics, stability and more.
2006.
Yvon Maday and Gabriel Turinici.
A parareal in time procedure for the control of partial differential
equations.
C. R. Math. Acad. Sci. Paris, 335(4) :387–392, 2002.
Yvon Maday and Gabriel Turinici.
The parareal in time iterative solver : a further direction to parallel
implementation.
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 21 / 21
In Domain decomposition methods in science and engineering,
volume 40 of Lecture Notes in Computational Science and Engineering,
pages 441–448. Springer, Berlin, 2005.
Douglas A Schwer, Pisi Lu, and William Jr. H. Green.
An adaptive chemistry approach to modeling complex kinetics in
reacting flows.
Combustion and Flame, 133(4) :451–465, 2003.
Gunnar Andreas Staff and Einar M. Rønquist.
Stability of the parareal algorithm.
In Domain Decomposition Methods in Science and Engineering,
volume 40 of Lecture Notes in Computational Science and Engineering,
pages 449–456. Springer, Berlin, 2005.
MC Bargo (UPMC + UPD) Applications of the Parareal Algorithm GTT June 2, 2009 21 / 21