Puneet Varma (Editor)

Multigrid method

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Multigrid method wwwmgnetorgmgnettutorialsxwbmg12122tex2ht

Iterative solvers multigrid method part 1


Multigrid (MG) methods in numerical analysis are algorithms for solving differential equations using a hierarchy of discretizations. They are an example of a class of techniques called multiresolution methods, very useful in problems exhibiting multiple scales of behavior. For example, many basic relaxation methods exhibit different rates of convergence for short- and long-wavelength components, suggesting these different scales be treated differently, as in a Fourier analysis approach to multigrid. MG methods can be used as solvers as well as preconditioners.

Contents

The main idea of multigrid is to accelerate the convergence of a basic iterative method (known as relaxation, which generally reduces short-wavelength error) by a global correction of the fine grid solution approximation from time to time, accomplished by solving a coarse problem. The coarse problem, while cheaper to solve, is similar to the fine grid problem in that it also has short- and long-wavelength errors. It can also be solved by a combination of relaxation and appeal to still coarser grids. This recursive process is repeated until a grid is reached where the cost of direct solution there is negligible compared to the cost of one relaxation sweep on the fine grid. This multigrid cycle typically reduces all error components by a fixed amount bounded well below one, independent of the fine grid mesh size. The typical application for multigrid is in the numerical solution of elliptic partial differential equations in two or more dimensions.

Multigrid methods can be applied in combination with any of the common discretization techniques. For example, the finite element method may be recast as a multigrid method. In these cases, multigrid methods are among the fastest solution techniques known today. In contrast to other methods, multigrid methods are general in that they can treat arbitrary regions and boundary conditions. They do not depend on the separability of the equations or other special properties of the equation. They have also been widely used for more-complicated non-symmetric and nonlinear systems of equations, like the Lamé equations of elasticity or the Navier-Stokes equations.

Algorithm

There are many variations of multigrid algorithms, but the common features are that a hierarchy of discretizations (grids) is considered. The important steps are:

  • Smoothing – reducing high frequency errors, for example using a few iterations of the Gauss–Seidel method.
  • Restriction – downsampling the residual error to a coarser grid.
  • Interpolation or prolongation – interpolating a correction computed on a coarser grid into a finer grid.
  • Computational cost

    This approach has the advantage over other methods that it often scales linearly with the number of discrete nodes used. In other words, it can solve these problems to a given accuracy in a number of operations that is proportional to the number of unknowns.

    Assume that one has a differential equation which can be solved approximately (with a given accuracy) on a grid i with a given grid point density N i . Assume furthermore that a solution on any grid N i may be obtained with a given effort W i = ρ K N i from a solution on a coarser grid i + 1 . Here, ρ = N i + 1 / N i < 1 is the ratio of grid points on "neighboring" grids and is assumed to be constant throughout the grid hierarchy, and K is some constant modeling the effort of computing the result for one grid point.

    The following recurrence relation is then obtained for the effort of obtaining the solution on grid k :

    W k = W k + 1 + ρ K N k

    And in particular, we find for the finest grid N 1 that

    W 1 = W 2 + ρ K N 1

    Combining these two expressions (and using N k = ρ k 1 N 1 ) gives

    W 1 = K N 1 p = 0 n ρ p

    Using the geometric series, we then find (for finite n )

    W 1 < K N 1 1 1 ρ

    that is, a solution may be obtained in O ( N ) time.

    Multigrid preconditioning

    A multigrid method with an intentionally reduced tolerance can be used as an efficient preconditioner for an external iterative solver. The solution may still be obtained in O ( N ) time as well as in the case where the multigrid method is used as a solver. Multigrid preconditioning is used in practice even for linear systems, typically with one cycle per iteration. Its main advantage versus a purely multigrid solver is particularly clear for nonlinear problems, e.g., eigenvalue problems.

    Generalized multigrid methods

    Multigrid methods can be generalized in many different ways. They can be applied naturally in a time-stepping solution of parabolic partial differential equations, or they can be applied directly to time-dependent partial differential equations. Research on multilevel techniques for hyperbolic partial differential equations is underway. Multigrid methods can also be applied to integral equations, or for problems in statistical physics.

    Other extensions of multigrid methods include techniques where no partial differential equation nor geometrical problem background is used to construct the multilevel hierarchy. Such algebraic multigrid methods (AMG) construct their hierarchy of operators directly from the system matrix. In classical AMG, the levels of the hierarchy are simply subsets of unknowns without any geometric interpretation. (More generally, coarse grid unknowns can be particular linear combinations of fine grid unknowns.) Thus, AMG methods become black-box solvers for certain classes of sparse matrices. AMG is regarded as advantageous mainly where geometric multigrid is too difficult to apply, but is often used simply because it avoids the coding necessary for a true multigrid implementation. While classical AMG was developed first, a related algebraic method is known as smoothed aggregation (SA).

    Another set of multiresolution methods is based upon wavelets. These wavelet methods can be combined with multigrid methods. For example, one use of wavelets is to reformulate the finite element approach in terms of a multilevel method.

    Adaptive multigrid exhibits adaptive mesh refinement, that is, it adjusts the grid as the computation proceeds, in a manner dependent upon the computation itself. The idea is to increase resolution of the grid only in regions of the solution where it is needed.

    Multigrid in time methods

    Multigrid methods have also been adopted for the solution of initial value problems. Of particular interest here are parallel-in-time multigrid methods: in contrast to classical Runge-Kutta or linear multistep methods, they can offer concurrency in temporal direction. The well known Parareal parallel-in-time integration method can also be reformulated as a two-level multigrid in time.

    References

    Multigrid method Wikipedia