Docsity

Linear Multistep Methods for Stiff Systems | MATH 542, Study notes of Mathematics

Toggle sidebar
bg1
Linear Multistep Methods & Stiffness
LMMs & Stiffness, ctd.
Initial Value Problems (pass #1) — Wrap-up
Numerical Solutions to Differential Equations
Lecture Notes #12 Linear Multistep Methods for Stiff Systems
Peter Blomgren,
Department of Mathematics and Statistics
Dynamical Systems Group
Computational Sciences Research Center
San Diego State University
San Diego, CA 92182-7720
http://terminus.sdsu.edu/
Spring 2009
Peter Blomgren, h[email protected]iLinear Multistep Methods for Stiff Systems — (1/26)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a

Partial preview of the text

Download Linear Multistep Methods for Stiff Systems | MATH 542 and more Study notes Mathematics in PDF only on Docsity!

Linear Multistep Methods & Stiffness Initial Value Problems (pass #1) — Wrap-upLMMs & Stiffness, ctd.

Numerical Solutions to Differential Equations

Lecture Notes #12 Linear Multistep Methods for Stiff Systems

Peter Blomgren, 〈[email protected]〉 Department of Mathematics and Statistics Dynamical Systems Group Computational Sciences Research Center San Diego State University San Diego, CA 92182- http://terminus.sdsu.edu/

Spring 2009

Linear Multistep Methods & Stiffness Initial Value Problems (pass #1) — Wrap-upLMMs & Stiffness, ctd.

Outline

(^1) Linear Multistep Methods & Stiffness Limited Stability Regions The 2nd Dahlquist Barrier Trapezoidal Rule, with Enhancements

(^2) LMMs & Stiffness, ctd. Widlund’s LMM Limitation BDF Methods

(^3) Initial Value Problems (pass #1) — Wrap-up Checking the Road Map Quick Summary and Recap Key Building Block: The Newton Solver

Linear Multistep Methods & Stiffness Initial Value Problems (pass #1) — Wrap-up^ LMMs & Stiffness, ctd.

Limited Stability Regions The 2nd Dahlquist BarrierTrapezoidal Rule, with Enhancements

Linear Multistep Methods and Stiffness...

Linear Multistep Methods tend to have small regions of absolute stability and are therefore not particularly well suited for stiff problems. The notable exception are the Backward Differentiation Formula (BDF) methods.

0

0

k=1 k= k=3 k= k=5 k=

BDF Methods Stability Regions

Linear Multistep Methods & Stiffness Initial Value Problems (pass #1) — Wrap-up^ LMMs & Stiffness, ctd.

Limited Stability Regions The 2nd Dahlquist Barrier Trapezoidal Rule, with Enhancements

The Second Dahlquist Barrier

Dahlquist (1963) quantified how difficult it is for Linear Multistep Methods to achieve A-stability:

Theorem (The Second Dahlquist Barrier) (^1) An explicit linear multistep method cannot be A-stable. (^2) The order of an A-stable linear multistep method cannot exceed 2. (^3) The second-order A-stable linear multistep method with smallest error constant is the Trapezoidal Rule.

Linear Multistep Methods & Stiffness Initial Value Problems (pass #1) — Wrap-up^ LMMs & Stiffness, ctd.

Limited Stability Regions The 2nd Dahlquist Barrier Trapezoidal Rule, with Enhancements

Smoothing for the Trapezoidal Rule I/II

The oscillations for the fast transients can be alleviated in two ways — (^1) by taking a smaller step initially (adaptive scheme), or (^2) by smoothing the solution.

The smoothing idea was introduced by Lindberg (1971) — We replace yn by

̂ yn = yn− 1 + 2yn + yn+ 4 and then propagate the solution. This weighted average smooths out the oscillations.

Linear Multistep Methods & Stiffness Initial Value Problems (pass #1) — Wrap-up^ LMMs & Stiffness, ctd.

Limited Stability Regions The 2nd Dahlquist Barrier Trapezoidal Rule, with Enhancements

Smoothing for the Trapezoidal Rule II/II

The smoothing procedure is active for the first couple of steps, while the fast transients are still alive, and/or introduced automatically whenever the solution exhibits lack of smoothness. Of course, the smoothing affects the local truncation error; the complete analysis is in Lindberg’s paper:

Reference B. Lindberg, On Smoothing and Extrapolation for the Trapezoidal Rule, BIT, 11 , pp. 29–52, 1971.

BIT is a suitable permutation of the letters T, I, and B from Nordisk Tidskrift for Informations Behandling. (Obviously!)

Linear Multistep Methods & Stiffness Initial Value Problems (pass #1) — Wrap-up^ LMMs & Stiffness, ctd.^ Widlund’s LMM Limitation^ BDF Methods

Another Theorem for Linear Multistep Methods II/II

If we relax the “for all” requirement in (3)...

... then we can find k-step methods of order k > 4 that are A(α)- stable for some value of α — most notably the BDF methods for k = 4, 5 , 6.

Recall that the BDF methods are zero-stable for k ≤ 6.

Linear Multistep Methods & Stiffness Initial Value Problems (pass #1) — Wrap-up^ LMMs & Stiffness, ctd.^ Widlund’s LMM Limitation^ BDF Methods

BDF methods — The Choice for Stiff Problems

Recall: The stability polynomial for a linear multistep method is

π(r , ̂h) = ρ(r ) − ̂hσ(r )

For a stiff system |̂h| is very large, hence the stability properties would be dominated by σ(r ). For stability, we want the roots of σ(r ) to be inside the unit circle. The safest place would be the center of the unit circle! — With σ(r ) = r k^ we achieve just that. σ(r ) = r k^ & implicit method & maximal order ⇒ BDF-methods!!!

Linear Multistep Methods & Stiffness Initial Value Problems (pass #1) — Wrap-up^ LMMs & Stiffness, ctd.^ Widlund’s LMM Limitation^ BDF Methods

Building an Efficient Algorithm for Stiff Problems II/III

Newton iteration — advantage, convergence Newton iteration converges quadratically (doubling the number of accurate digits in each iteration), whereas fixed point iteration converges linearly. Newton iteration — disadvantage, starting point Unlike the fixed point iteration, the Newton iteration does not converge for arbitrary starting values — a good starting value is required.

Warning An explicit predictor is likely not to give a good enough starting value.

Linear Multistep Methods & Stiffness Initial Value Problems (pass #1) — Wrap-up^ LMMs & Stiffness, ctd.^ Widlund’s LMM Limitation^ BDF Methods

Building an Efficient Algorithm for Stiff Problems III/III

  1. We replace the Adams-Bashforth Predictor — P — by an extrapolation of previously computed y -values. For a k-step k-order method, the extrapolation must be based on the previous (k + 1) points {yn+k− 1 , yn+k− 2 ,... , yn− 1 }:

y (^) n[0]+k =

∑^ k

i=

∇i^ yn+k− 1

This interpolant-predictor has an error constant C (^) k∗+1 = 1, hence the Milne’s estimate for the principal part of the local truncation error is still available:

LTE ∼ Ck+ 1 − Ck+

[

yn+k − y (^) n[0]+k

]

Linear Multistep Methods & Stiffness Initial Value Problems (pass #1) — Wrap-upLMMs & Stiffness, ctd.

Checking the Road Map Quick Summary and RecapKey Building Block: The Newton Solver

Checking the Road Map...

Besides covering the Newton solver, which we need both for the BDF-based solver, and for the Implicit Runge-Kutta methods, we have covered the solution of the Initial Value Problem for ODEs in quite a bit of detail.

Before reviewing Newton’s Method, lets summarize what we have found so far...

Linear Multistep Methods & Stiffness Initial Value Problems (pass #1) — Wrap-upLMMs & Stiffness, ctd.

Checking the Road Map Quick Summary and Recap Key Building Block: The Newton Solver

Summary: Numerical Solution to the Initial Value Problem I/III

The Initial Value Problem

y ′(t) = f (t, y (t)), y (t 0 ) = y 0

Taylor Series Methods Best used when the Taylor expansion of f (t, y (t)) is available and cheap/easy to compute. Stiffness: Small stability region. Step-size h very restrictive.

Linear Multistep Methods & Stiffness Initial Value Problems (pass #1) — Wrap-upLMMs & Stiffness, ctd.

Checking the Road Map Quick Summary and Recap Key Building Block: The Newton Solver

Summary: Numerical Solution to the IVP III/III

Linear Multistep Methods Explicit LMMs only require one new function evaluation per step, making then very competitive (fast and cheap). Used in the predictor-corrector context P(EC)μ, only (1+μ) evaluations per step are required. The main drawback is that LMMs are not self-starting, so we need an RK- or Taylor-series method (possibly with Richardson Extrapolation) to generate enough accurate starting information. Stiffness: If/when we can live with an A(α)-stable method, im- plementing efficient LMM-based stiff solvers is quite straight for- ward (at least up to order 6...)

Linear Multistep Methods & Stiffness Initial Value Problems (pass #1) — Wrap-upLMMs & Stiffness, ctd.

Checking the Road Map Quick Summary and Recap Key Building Block: The Newton Solver

The Final(?) Piece: the Newton Solver

In both implicit RK-methods and the BDF-based LMM methods for stiff problems we run into the problem of solving a non-linear equation F (˜yn+1,... ) = G (˜yn+1,... ) we can always rewrite this problem as

f (˜yn+1) = F (˜yn+1,... ) − G (˜yn+1,... ) = 0

which means we are trying to solve

f (˜yn+1) = 0

If our problem is scalar (one-dimensional), then ˜yn+1 = yn+1 is a scalar, and we can use Newton’s method as described in Math 541.