L08 - Multi-Grid Methods
L08 - Multi-Grid Methods
Lecture 9:
Multi-grid Methods
Instructor: Samah Alghoul
Outlines: Multi-grid Methods
➢MG Scheduling
› If the total number of fine-grid and coarse-grid nodes in the i (or j) direction are
denoted by NF (or MF) and NC (or MC), respectively,
› It follows that the grid spacings for the coarse and fine grids are given by
› The corresponding nodal equations on the coarse and fine grids are written as
› Generally, iterations are continued until the R2F decreases by a factor of about
two.
› Often, calculation and monitoring of the scaled residual, as would be required
if the residual were to be decreased by a factor two, is completely bypassed,
and one or two sweeps of Gauss–Seidel is executed instead.
› This makes the implementation even easier.
› At this point in the algorithm, the solution on the fine grid, φi,jF contains errors
due to partial convergence.
› This error (equal to the difference between the exact numerical solution and the
solution at the current iteration) has several different wavelength components.
› The components that have large wavelengths are the most difficult to damp out
(or have their amplitudes reduced).
› Therefore, instead of continuing with regular smoothing (Gauss–Seidel
iterations on the fine grid, for example), which would not specifically target the
large wavelength components, we transfer this error to a coarse grid and then
smooth it on the coarse grid so that they are reduced rapidly.
› In preparation for these actions, the following step is executed next.
› The residual transferred from the fine to the coarse grid will be denoted by
[R]C←F.
› For a more complex grid structure, the coarse- and fine-grid nodes may not
always overlap, therefore, interpolation will be necessary to execute the
transfer process.
ME 626 ADVANCED NUMERICAL METHODS 7/26/2019 16
Geometric Multigrid (GMG) Method
[A]C[φ′]C = [R]C←F
– where [A]C is the coefficient matrix computed on the coarse mesh
– [φ′]C is the predicted correction on the coarse mesh.
› As in Step 3, a solver with a low computational workload and one that is easy
to implement must be used.
› Generally, tighter tolerance or more sweeps (typically two or three, as opposed
to one) is needed in this step than in Step 3 to obtain an accurate enough
prediction of the correction.
› The Gauss–Seidel method is also a commonly used method for this step.
› Let us consider the following set of algebraic equations arising out of finite
difference discretization of a 2D PDE on a structured mesh:
F = finest grid
› In the case of Poisson equation on a uniform mesh, since all four link
coefficients have the same value, all four nodes (E, W, N, and S) are equally
good candidates for agglomeration with O.
› Let us assume that we agglomerate O with E.
› Further, if we assume that none of the other fine-grid nodal equations are
combined, the fine-grid index, k, can be replaced by the coarse-grid index, j,
resulting in
› Quantity within brackets premultiplying φCj is the new diagonal of the “coarse
node” that was formed by agglomerating the governing nodal equations for k
and k+ 1.
› Then, general relations for the agglomeration process:
› First equation states the diagonal element of the new “coarse” level equation is
the sum of the diagonal elements of the old “fine” level equations and the sum
of the link coefficients that connected the two agglomerated equations or nodes
› Second equation states that the right-hand side of the new “coarse” equation is
the sum of the right-hand sides of the two agglomerated fine equations.
› The preceding two rules, are universal no matter how many equations (nodes)
are agglomerated. All of the other link coefficients remain unchanged in this
case because no other equations were agglomerated.
› It should be emphasized that the two equations were derived without resorting
to any geometric information. Only the link coefficients were made use of.
› If other equations are now agglomerated in addition, the same procedure and
rules, must be followed.
› This makes the process of agglomeration inherently sequential, and the
computational algorithm must obey this protocol.
› This represents the coarse-grid correction equation that would have to be solved (using
Gauss–Seidel) right after the restriction step to obtain the coarse grid correction.
› It is worth noting that the right-hand side of this equation contains the residuals of two
fine-grid nodes.
› In essence, rather than compute the residuals on the fine mesh and then transfer it
explicitly to the coarse mesh via geometric interpolation, in this case, the coarse-grid
correction equations have been derived directly since geometric interpolation can no
longer be employed.
› Once the coarse-grid correction, φ′Cj has been computed, it has to be passed
back to the fine grid (prolongation) so that the fine-grid solution can be
updated.
› Since the assumption was made in the first place
to derive the coarse-grid equation from the fine-grid equations, the
prolongation step essentially involves transferring the same correction to both
(or more) the agglomerated nodes (or equations).
› The preceding discussion provides a high-level outline of the main steps in the
AMG method.
› There are many variations of the method – each differing in the way the coarse-
grid correction equations are constructed, as well as the way the coarse grid
correction is transferred back to the fine grid. For a more comprehensive
discussion of the AMG method, the reader is referred to journal articles and
advanced texts [5–7] on this subject.