Title: Mutigrid Methods for Solving Differential Equations
1Mutigrid Methods for Solving Differential
Equations
- Ferien Akademie 05 Veselin Dikov
2Multigrid Methods
- Agenda
- Model problem
- Relaxation. Smoothing property
- Elements of Multigrid
- Multigrid schemes
Ferien Akademie 05 Veselin Dikov
3Multigrid Methods Model Problem
- 1D boundary problem of steady state temperature
a long a uniform rod
- Discretization in n points, step h 1/n
Ferien Akademie 05 Veselin Dikov
4Multigrid Methods Model
Problem
and
- A is Symmetric positive definite
Ferien Akademie 05 Veselin Dikov
5Multigrid Methods
- Agenda
- Model problem
- Relaxation. Smoothing property
- Elements of Multigrid
- Multigrid schemes
Ferien Akademie 05 Veselin Dikov
6Multigrid Methods Iterative
Methods
- Iterative vs Direct methods
More about iterative methods
- Jacobi and Gauss-Seidel methods
Ferien Akademie 05 Veselin Dikov
7Multigrid Methods Smoothing Property
After 35 sweeps with weighted Jacobi
Error was smoothed
Ferien Akademie 05 Veselin Dikov
8Multigrid Methods Smoothing Property
- Smoothing property explained in four steps
Ferien Akademie 05 Veselin Dikov
9Multigrid Methods Smoothing Property
- Smoothing property explained in four steps
k 1
k 2
k 12
k 7
Ferien Akademie 05 Veselin Dikov
10Multigrid Methods Smoothing Property
- Smoothing property explained in four steps
Ferien Akademie 05 Veselin Dikov
11Multigrid Methods Smoothing Property
- Smoothing property explained in four steps
- error e u v -v
- we can trace the error!
Ferien Akademie 05 Veselin Dikov
12Multigrid Methods Smoothing Property
- Smoothing property explained in four steps
- Weighted Jacobi relaxation
Ferien Akademie 05 Veselin Dikov
13Multigrid Methods Smoothing Property
- Smoothing property explained in four steps
- Weighted Jacobi relaxation
- we relax with wJacobi with ? 2/3 on initial
guesses respectively
iterations
Ferien Akademie 05 Veselin Dikov
14Multigrid Methods Smoothing Property
- Smoothing property explained in four steps
- Weighted Jacobi relaxation
- repeat the experiment with
- ? 2/3 and initial guess
iterations
Ferien Akademie 05 Veselin Dikov
15Multigrid Methods Smoothing
Property
- Smoothing property explained in four steps
- Weighted Jacobi relaxation
- R? has the same eigenvectors as A and they are
the same as the wave vectors
- Recall that for the error e(m) Rme(0)
Ferien Akademie 05 Veselin Dikov
16Multigrid Methods Smoothing
Property
- Smoothing property explained in four steps
- Weighted Jacobi relaxation
Eigenvalue
wavenumber k
Ferien Akademie 05 Veselin Dikov
17Multigrid Methods Smoothing
Property
- Smoothing property explained in four steps
- Weighted Jacobi relaxation
- Fast damping of oscillatory error modes
- Common for all iterative methods
- How to overcome the bad performance effect over
smooth error modes?
Ferien Akademie 05 Veselin Dikov
18Multigrid Methods
- Agenda
- Model problem
- Relaxation. Smoothing property
- Elements of Multigrid
- Multigrid schemes
Ferien Akademie 05 Veselin Dikov
19Multigrid Methods Elements of Multigrid
- Element I A smooth wave looks more oscillatory
on a coarser grid
- Aliasing k looks like (n-k)
Ferien Akademie 05 Veselin Dikov
20Multigrid Methods Elements of Multigrid
- Element II Nested Iterations
Ferien Akademie 05 Veselin Dikov
21Multigrid Methods Elements of Multigrid
- Element III Correction scheme
- Relax on Au f on to obtain an
approximation . - Compute .
- Relax on Ae r on to obtain an
approximation to the error, . - Correct the approximation .
Ferien Akademie 05 Veselin Dikov
22Multigrid Methods Elements of Multigrid
- Element IV Interpolation and restriction
Injection
Full weighting
Ferien Akademie 05 Veselin Dikov
23Multigrid Methods
- Agenda
- Model problem
- Relaxation. Smoothing property
- Elements of Multigrid
- Multigrid schemes
Ferien Akademie 05 Veselin Dikov
24Multigrid Methods Two-Grid
- Two-Grid Corr.SchemeInterpolationRestriction
- Relax times on on
with initial guess - Compute and restrict
. - Solve on .
- Interpolate and correct
. - Relax times on on
with initial guess
Ferien Akademie 05 Veselin Dikov
25Multigrid Methods Two-Grid -gt V-Cycle
- V-Cycle Recursive Two-Grid Scheme
V-Cycle
W-Cycle
Ferien Akademie 05 Veselin Dikov
26Multigrid Methods Full Multigrid(FMG)
- FMG V-Cycle nested iterations
FMG
Ferien Akademie 05 Veselin Dikov
27Multigrid Methods Costs
Storage
Computational cost
- Speedup because working on smaller domains
Ferien Akademie 05 Veselin Dikov