22
AJ80 Strong Stability Preserving Time Discretizations Sigal Gottlieb University of Massachusetts Dartmouth Center for Scientific Computing and Visualization Research November 20, 2014 November 20, 2014 1 / 22

Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

AJ80

Strong Stability Preserving Time Discretizations

Sigal GottliebUniversity of Massachusetts Dartmouth

Center for Scientific Computing and Visualization Research

November 20, 2014

November 20, 2014 1 / 22

Page 2: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

AJ80 – Happy Birthday

Happy Birthday Antony!

Collaborators: David Seal (MSU) and Zachary Grant (UMassD)Thanks to the AFOSR for funding this work

November 20, 2014 2 / 22

Page 3: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Motivation

Consider the hyperbolic partial differential equation

Ut + f (U)x = 0.

Method of lines approach: we semi-discretize the problem in space, toobtain some ODE of the form

ut = F (u)

and we evolve this ODE in time using standard methods such asRunge–Kutta or multi-step methods.

• If the solution is discontinuous, then linear L2 stability analysis isnot sufficient for convergence. In that case, we try to build spatialdiscretizations which satisfy some nonlinear stability properties.

• Sometimes we want our scheme to satisfy non-L2 properties:positivity, maximum-principle preserving, total variationdiminishing, or some non-oscillatory property.

November 20, 2014 3 / 22

Page 4: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Motivation

Such methods include

• TVD or TVB limiters

• Positivity or maximum principle preserving

• ENO or WENO schemes

These nonlinearly stable spatial discretizations are designed to satisfya specific property when coupled with forward Euler, under sometime-step restriction.

November 20, 2014 4 / 22

Page 5: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Motivation

Consider ODE system (typically from PDE)

ut = F (u),

where spatial discretization F (u) is carefully chosen1 so that thesolution from the forward Euler method

un+1 = un + ∆tF (un),

satisfies the monotonicity requirement

||un+1|| ≤ ||un||,

in some norm, semi-norm or convex functional || · ||, for a suitablyrestricted timestep

∆t ≤ ∆tFE.

1e.g. TVD, TVB, ENO, WENONovember 20, 2014 5 / 22

Page 6: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Motivation

• We spend a lot of effort to design spatial discretizations whichsatisfy certain nonlinear, non-inner product stability properties2

when coupled with forward Euler.

• But then we want the properties to carry over when the spatialdiscretization is coupled with higher order time-stepping methods(for both accuracy and linear stability reasons)

2such as TVD or TVB limiters, positivity or maximum-principle preserving limiters ormethods, or ENO or WENO schemes

November 20, 2014 6 / 22

Page 7: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

The Main Idea

The trick is to decompose a higher order method into convexcombinations of forward Euler so that if the spatial discretizationF (u) satisfies the strong stability property

||un + ∆tF (un)|| ≤ ||un|| for ∆t ≤ ∆tFE

then the Runge–Kutta or multistep method will preserve thisproperty, so that

||un+1|| ≤ ||un|| for ∆t ≤ C∆tFE.

Decoupling the analysis

C is a property only of the time-integrator.∆tFE is a property of the spatial discretization.

November 20, 2014 7 / 22

Page 8: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

The Main Idea

SSP methods give you a guarantee of provable nonlinear stability

• in arbitrary convex functionals,

• for arbitrary starting values

• for arbitrary nonlinear, non autonomous equations

provided only that forward Euler strong stability is satisfied.

This condition is clearly sufficient. It turns out it is also necessary.

Bounds and Barriers

This is a very strong property, so it should not be surprising that it isassociated with time-step bounds and order barriers.

November 20, 2014 8 / 22

Page 9: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

SSP Bounds and Barriers

• Explicit SSP Runge–Kutta methods have order p ≤ 4 andCeff ≤ 1.

• Explicit SSP multi-step methods do not have an order barrier,but they have the same bound Ceff = 1.

• Any explicit general linear method have Ceff ≤ 1.

• Explicit multi-step multi-stage methods have p > 4 with betterCeff.

• All implicit SSP Runge–Kutta methods ever found have Ceff ≤ 2.

• Implicit SSP Runge–Kutta methods have order p ≤ 6.

• Implicit SSP multi-step methods do not have an order barrier,but we can prove Ceff ≤ 2.

• Implicit SSP multi-step multi-stage methods also have Ceff ≤ 2.

• We conjecture that Ceff ≤ 2 for any general linear method.

November 20, 2014 9 / 22

Page 10: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Multi-derivative methods

If we want to consider multistage multi derivative methods, we need anew condition that includes the derivative.Once again, the conservation law

Ut + f (U)x = 0

is semi-discretizedut = F (u)

and we assume that F satisfies the forward Euler condition:

‖Un + ∆tF (Un)‖ ≤ ‖Un‖ for ∆t ≤ ∆tFE (1)

and the second derivative condition:

‖Un + ∆t2F (Un)‖ ≤ ‖Un‖ for ∆t ≤ K∆tFE . (2)

November 20, 2014 10 / 22

Page 11: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Formulating an optimization problem for multi-derivativemethods

Given conditions (1) and (4) we can show that if the MDMS methodis written in the form

y = un + ∆tAF (y) + ∆t2AF (y) (3)

we can add the terms rAy and r Ay to both sides to obtain:

(I + rA + r A

)y = un + rA

(y +

∆t

rF (y)

)+ r A

(y +

∆t2

rF (y)

)y = Run + P

(y +

∆t

rF (y)

)+ Q

(y +

∆t2

rF (y)

)where

R =(I + rA + r A

)−1

P = rRA Q = rRA

November 20, 2014 11 / 22

Page 12: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Formulating an optimization problem for multi-derivativemethods

y = Run + P

(y +

∆t

rF (y)

)+ Q

(y +

∆t2

rF (y)

)Now, we can clearly see that if r =

√rK then this method preserves

the strong stability condition ‖un+1‖ ≤ ‖un‖ under the time-steprestriction ∆t ≤ r∆tFE as long as

1 R + P + Q = I (which is satisfied because

R + rRA + rRA = (I + rA + r A)R = I )

2 Re ≥ 0, component wise, where e is a vector of ones.

3 P ≥ 0 component wise

4 Q ≥ 0 component wise

November 20, 2014 12 / 22

Page 13: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Optimal third order MSMD methods

Many two-stage two-derivative third order methods exist.

For each K the optimal methoddepends on resulting optimal Cdepends on the value of K . Wefound optimal methods for therange 0.1 ≤ K ≤ 5. Theinteresting thing is that theseoptimal methods all have aTaylor series method as thefirst stage, with ∆t replaced bya∆t, where

a =1

r

(K√K 2 + 2− K 2

).

0 1 2 3 4 50

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

K

SS

P C

oe

ffic

ien

t

November 20, 2014 13 / 22

Page 14: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Optimal fourth order MSMD methods

The two-stage two-derivative fourth order method is unique:

U∗ = Un +∆t

2F (Un) +

∆t2

8F (Un)

Un+1 = Un + ∆tF (Un) +∆t2

6(F (Un) + 2F (U∗)).

The first stage of the method is aTaylor series method with ∆t

2,

while the second stage can bewritten as a linear combination ofa forward Euler and a vanishingenergy term (but not a Taylorseries term). The SSP coefficientof this method is larger as Kincreases. 0 1 2 3 4 5

0

0.2

0.4

0.6

0.8

1

1.2

K

SS

P C

oe

ffic

ien

t

November 20, 2014 14 / 22

Page 15: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Comparison of optimal SSP two stage two derivativemethods

For 2-stage, 2-derivativemethods, the SSPcoefficients of the third andfourth order methods havesimilar looking curves, butthe SSP coefficient of thethird order methods (blue)is much larger than that ofthe fourth order method(red).

0 1 2 3 4 50

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

K

SS

P C

oe

ffic

ien

t

November 20, 2014 15 / 22

Page 16: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Optimal fourth order MSMD methods

If we increase the numberof stages to three, we canconstruct whole families ofmethods that obtainfourth-order accuracy, andare SSP with a largerallowable time step.

0 0.5 1 1.5 2 2.50

0.5

1

1.5

2

K

SS

P C

oe

ffic

ien

t

November 20, 2014 16 / 22

Page 17: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Optimal fifth order MSMD methods

Three stage fifth ordermethods can be found, withSSP coefficients that growwith K .These methods break theexplicit SSP Runge–Kuttaorder barrier.

0 0.5 1 1.5 2 2.50

0.2

0.4

0.6

0.8

1

K

SS

P C

oe

ffic

ien

t

November 20, 2014 17 / 22

Page 18: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Comparison of optimal SSP three stage two derivativemethods

For 3-stage, 2-derivativemethods, the SSPcoefficients of the fourthand fifth order methodshave similar looking curves,but the SSP coefficient ofthe fourth order methods(blue) is much larger thanthat of the fifth ordermethod (red).

0 0.5 1 1.5 2 2.50

0.5

1

1.5

2

K

SS

P C

oe

ffic

ien

t

November 20, 2014 18 / 22

Page 19: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

How SSP MSMD methods perform in practice

We look at a linear advection equation ut = ux with a weightedessentially non oscillatory (WENO) method in space and thetime-stepping method

y ∗ = yn +2

3∆tW

(F n +

1

3∆tF n

)un+1 = un + ∆tW

(5

8F n +

3

8F ∗ +

1

8∆t(F n + F ∗)

)which can also be written as:

y ∗ = yn +2

3∆tW

(F n +

1

3∆tF n

)un+1 =

7

16un +

9

16y ∗ + ∆tW

(1

4F n +

3

8F ∗ +

1

8∆tF ∗

)These recent results due to David Seal.

November 20, 2014 19 / 22

Page 20: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

How SSP MSMD methods perform in practice

0.2 0.4 0.6 0.8 1.0 1.2CFL number

10-1410-1310-12

10-1110-1010-910-8

10-710-6

10-510-410-310-2

10-1100

Incr

ease

in T

otal

Var

iatio

n

Square wave advection

No Shu-OsherShu-Osher

November 20, 2014 20 / 22

Page 21: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Conclusions

SSP Runge–Kutta methods give you a guarantee of provablenonlinear stability in arbitrary convex functionals, for arbitrary startingvalues for arbitrary nonlinear, non autonomous equations providedonly that forward Euler strong stability is satisfied.SSP multistage multi derivative methods give you this sameguarantee, provided that the second derivative condition:

‖Un + ∆t2F (Un)‖ ≤ ‖Un‖ for ∆t ≤ K∆tFE .

is satisfied as well.Future work:

• Methods with a forward Euler and Taylor series condition(already in progress).

• Sixth order methods.

• More testing in practice.

November 20, 2014 21 / 22

Page 22: Strong Stability Preserving Time Discretizationsaero-comlab.stanford.edu › jameson › aj80th › GottliebSSP2014.pdf · F(u) satis es the strong stability property jjun + tF(un)jj

Conclusions

Thank You!

November 20, 2014 22 / 22