improving robustness in multigrid...

98
Improving Robustness in Multigrid Methods Scott MacLachlan [email protected] Department of Applied Mathematics, University of Colorado at Boulder Improving Robustness in Multigrid Methods – p.1/59

Upload: ngokien

Post on 09-May-2018

231 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Impr oving Robustnessin MultigridMethods

Scott MacLachlan

[email protected]

Department of Applied Mathematics, University of Colorado at Boulder

Improving Robustness in Multigrid Methods – p.1/59

Page 2: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Outline

Modern Scientific Computing

Multigrid Methods

Self-Correcting Multigrid Methods

Upscaling and Homogenization

Future Work

Improving Robustness in Multigrid Methods – p.2/59

Page 3: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Collaborator s

Steve McCormick

Tom Manteuffel

John Ruge

Marian Brezina

Rob Falgout

David Moulton

Improving Robustness in Multigrid Methods – p.3/59

Page 4: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Why Compute?

Interested in modeling physical processes

Diffusion (Heat, Energy, Chemical)Fluid FlowParticle TransportElastic Materials

Can describe these processes through differentialequations (both ODEs and PDEs)

Cannot write down closed form solutions

Need to find (approximate) solutions in other ways

Improving Robustness in Multigrid Methods – p.4/59

Page 5: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Why Compute?

Interested in modeling physical processesDiffusion (Heat, Energy, Chemical)Fluid FlowParticle TransportElastic Materials

Can describe these processes through differentialequations (both ODEs and PDEs)

Cannot write down closed form solutions

Need to find (approximate) solutions in other ways

Improving Robustness in Multigrid Methods – p.4/59

Page 6: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Why Compute?

Interested in modeling physical processesDiffusion (Heat, Energy, Chemical)Fluid FlowParticle TransportElastic Materials

Can describe these processes through differentialequations (both ODEs and PDEs)

Cannot write down closed form solutions

Need to find (approximate) solutions in other ways

Improving Robustness in Multigrid Methods – p.4/59

Page 7: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Why Compute?

Interested in modeling physical processesDiffusion (Heat, Energy, Chemical)Fluid FlowParticle TransportElastic Materials

Can describe these processes through differentialequations (both ODEs and PDEs)

Cannot write down closed form solutions

Need to find (approximate) solutions in other ways

Improving Robustness in Multigrid Methods – p.4/59

Page 8: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Scientific Computation

Interested in simulating complex physical systems withparameters, and hence solutions, which vary onmultiple scales

Accuracy constraints lead to discretizations with tens ofmillions, or even billions, of degrees of freedom (DOFs)

Need scalability, both algorithmic and parallel

Improving Robustness in Multigrid Methods – p.5/59

Page 9: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Properties of Discretizations

We consider (primarily) discretizations of the underlyingdifferential equations via finite elements or finitedifferences

The matrices from these discretizations tend to beSparse (number of nonzeros per row doesn’t changewith )Ill-conditionedSymmetric (if DE is)Positive-Definite (if DE is)

Improving Robustness in Multigrid Methods – p.6/59

Page 10: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Dir ect Methods

Interested in solving

Gauss Elimination involves factoring linear system intoan upper- and a lower-triangular part

Naive cost is

for a 3-dimensionalproblem

Utilizing bandedness of our discretization matrix canreduce cost to

Improving Robustness in Multigrid Methods – p.7/59

Page 11: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Stationary Iterative Methods

Stationary iterative methods choose approximations

and iterate using the error equation

If

, then

The Jacobi iteration chooses

to be the diagonal of

The Gauss-Seidel iteration chooses

to be the

lower-triangular part of

SOR chooses

to try and minimize

Improving Robustness in Multigrid Methods – p.8/59

Page 12: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Stationary Iterat ive Methods . . .

Jacobi and Gauss-Seidel converge to the level ofdiscretization error in

operations for the3-dimensional Poisson problem

SOR with an optimal parameter choice converges in operations

But, Jacobi and Gauss-Seidel resolve somecomponents much faster than others

In particular, for Poisson the geometrically smoothestcomponents of are the slowest to be resolved

For this reason, Jacobi and Gauss-Seidel are oftencalled smoothers - they smooth the error in theapproximation

Improving Robustness in Multigrid Methods – p.9/59

Page 13: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Stationary Iterat ive Methods . . .

Jacobi and Gauss-Seidel converge to the level ofdiscretization error in

operations for the3-dimensional Poisson problem

SOR with an optimal parameter choice converges in operations

But, Jacobi and Gauss-Seidel resolve somecomponents much faster than others

In particular, for Poisson the geometrically smoothestcomponents of are the slowest to be resolved

For this reason, Jacobi and Gauss-Seidel are oftencalled smoothers - they smooth the error in theapproximation

Improving Robustness in Multigrid Methods – p.9/59

Page 14: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Krylo v Methods

Krylov methods find the optimal approximation to thesolution in a given subspace

Iteratively increase the size of the subspace to improveaccuracy

For Poisson, the Conjugate Gradient algorithmconverges in

operations (without any parameterchoice)

Improving Robustness in Multigrid Methods – p.10/59

Page 15: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Scalability

Because the problems we look to solve are so large,even the cost of

is too much

If

, then

An algorithm is said to be scalable (or fast) if it requiresonly

or

!#" $

operations

We must have scalable algorithms in order to solveproblems of interest at resolutions of interest

Improving Robustness in Multigrid Methods – p.11/59

Page 16: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Scalability

Because the problems we look to solve are so large,even the cost of

is too much

If

, then

An algorithm is said to be scalable (or fast) if it requiresonly

or

!#" $

operations

We must have scalable algorithms in order to solveproblems of interest at resolutions of interest

Improving Robustness in Multigrid Methods – p.11/59

Page 17: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Multigrid Basics

Need a solver whose performance doesn’t significantlydegrade as our problem size increases

Multigrid methods obtain optimal efficiency throughcomplementarity

Use a smoothing process (such as Gauss-Seidel) toeliminate oscillatory errors

Use coarse grid correction to eliminate smooth errors

Obtain optimal efficiency through recursion

Improving Robustness in Multigrid Methods – p.12/59

Page 18: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Multigrid Basics

Need a solver whose performance doesn’t significantlydegrade as our problem size increases

Multigrid methods obtain optimal efficiency throughcomplementarity

Use a smoothing process (such as Gauss-Seidel) toeliminate oscillatory errors

Use coarse grid correction to eliminate smooth errors

Obtain optimal efficiency through recursion

Improving Robustness in Multigrid Methods – p.12/59

Page 19: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Multigrid Basics

Need a solver whose performance doesn’t significantlydegrade as our problem size increases

Multigrid methods obtain optimal efficiency throughcomplementarity

Use a smoothing process (such as Gauss-Seidel) toeliminate oscillatory errors

Use coarse grid correction to eliminate smooth errors

Obtain optimal efficiency through recursion

Improving Robustness in Multigrid Methods – p.12/59

Page 20: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Multigrid Basics

Need a solver whose performance doesn’t significantlydegrade as our problem size increases

Multigrid methods obtain optimal efficiency throughcomplementarity

Use a smoothing process (such as Gauss-Seidel) toeliminate oscillatory errors

Use coarse grid correction to eliminate smooth errors

Obtain optimal efficiency through recursion

Improving Robustness in Multigrid Methods – p.12/59

Page 21: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Multigrid Basics

Need a solver whose performance doesn’t significantlydegrade as our problem size increases

Multigrid methods obtain optimal efficiency throughcomplementarity

Use a smoothing process (such as Gauss-Seidel) toeliminate oscillatory errors

Use coarse grid correction to eliminate smooth errors

Obtain optimal efficiency through recursion

Improving Robustness in Multigrid Methods – p.12/59

Page 22: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

CoarseGrid Corr ection

Smoothers, such as Jacobi or Gauss-Seidel, quicklyreduce oscillatory error and leave smooth error

Smooth error can be represented with fewer degrees offreedom

Problems with fewer degrees of freedom can be solvedwith less effort

Error which is smooth over many degrees of freedomappears oscillatory when represented on fewer DOFs

Improving Robustness in Multigrid Methods – p.13/59

Page 23: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

The V-Cycle

Relax

Solve

Restrict

Relax

Restrict

Relax

Interpolate

Relax

Relax

Interpolate

Relax

Improving Robustness in Multigrid Methods – p.14/59

Page 24: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Inter grid Transfer Operators

Multigrid V-Cycle requires transfers of residuals andcorrections from one grid to the next

Accomplished through Interpolation (Prolongation) andRestriction operators (matrices!)

Often pick a form of interpolation ( ) and takerestriction (theoretical benefits)

Many choices for interpolationPiecewise constantLinear, bilinear, trilinear. . .Operator Induced

Improving Robustness in Multigrid Methods – p.15/59

Page 25: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Inter grid Transfer Operators

Multigrid V-Cycle requires transfers of residuals andcorrections from one grid to the next

Accomplished through Interpolation (Prolongation) andRestriction operators (matrices!)

Often pick a form of interpolation ( ) and takerestriction (theoretical benefits)

Many choices for interpolationPiecewise constantLinear, bilinear, trilinear. . .Operator Induced

Improving Robustness in Multigrid Methods – p.15/59

Page 26: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Inter grid Transfer Operators

Multigrid V-Cycle requires transfers of residuals andcorrections from one grid to the next

Accomplished through Interpolation (Prolongation) andRestriction operators (matrices!)

Often pick a form of interpolation (%

) and takerestriction

& % '

(theoretical benefits)

Many choices for interpolationPiecewise constantLinear, bilinear, trilinear. . .Operator Induced

Improving Robustness in Multigrid Methods – p.15/59

Page 27: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Inter grid Transfer Operators

Multigrid V-Cycle requires transfers of residuals andcorrections from one grid to the next

Accomplished through Interpolation (Prolongation) andRestriction operators (matrices!)

Often pick a form of interpolation (%

) and takerestriction

& % '

(theoretical benefits)

Many choices for interpolationPiecewise constantLinear, bilinear, trilinear. . .Operator Induced

Improving Robustness in Multigrid Methods – p.15/59

Page 28: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

CoarseGrid Operators

Smoothing on coarse grids requires operators on thosegrids

These operators must well-approximate the fine gridoperator

Many ways to create coarse grid operators (CGOs)RediscretizationAveragingGalerkin coarsening

Improving Robustness in Multigrid Methods – p.16/59

Page 29: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

CoarseGrid Operators

Smoothing on coarse grids requires operators on thosegrids

These operators must well-approximate the fine gridoperator

Many ways to create coarse grid operators (CGOs)RediscretizationAveragingGalerkin coarsening

Improving Robustness in Multigrid Methods – p.16/59

Page 30: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

CoarseGrid Operators

Smoothing on coarse grids requires operators on thosegrids

These operators must well-approximate the fine gridoperator

Many ways to create coarse grid operators (CGOs)RediscretizationAveragingGalerkin coarsening

Improving Robustness in Multigrid Methods – p.16/59

Page 31: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Variational Multigrid

Multigrid with

& % '

and

)( & %

is called avariational formulation

Terminology comes from minimization form of :

Given an approximation to the solution on the finelevel, it can be shown that the optimal coarse gridcorrection solves

Improving Robustness in Multigrid Methods – p.17/59

Page 32: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Variational Multigrid

Multigrid with

& % '

and

)( & %

is called avariational formulation

Terminology comes from minimization form of

:

* ,+ - . +0/ + 1 . / + 1

23 $4 57689 : * ,+

Given an approximation to the solution on the finelevel, it can be shown that the optimal coarse gridcorrection solves

Improving Robustness in Multigrid Methods – p.17/59

Page 33: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Variational Multigrid

Multigrid with

& % '

and

)( & %

is called avariational formulation

Terminology comes from minimization form of

:

* ,+ - . +0/ + 1 . / + 1

23 $4 57689 : * ,+

Given an approximation + to the solution on the finelevel, it can be shown that the optimal coarse gridcorrection

%<; solves

% ' % ; % ' +

Improving Robustness in Multigrid Methods – p.17/59

Page 34: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

GeometricMultigrid

When the original problem

comes from ageometrically regular discretization of a DE, we can usegeometric information in the coarse-grid problems

Coarse grids can be created by removing points fromthe fine-grid in a geometrically regular fashion

Coarse grid operators can be determined by simplerediscretization on the reduced space

Interpolation operators can be determined by geometriclocations

Improving Robustness in Multigrid Methods – p.18/59

Page 35: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Algebraic Multigrid

In the absence of geometric information, choices mustbe made based on algebraic information

Interpolation and coarse grids must be chosen basedon the ability to interpolate a suitable correction

Coarse grid operators must be chosen based on thefine-grid operator - Galerkin coarsening may be themost natural choice

Improving Robustness in Multigrid Methods – p.19/59

Page 36: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Self-Correcting AMG

Interested in applying algebraic multigrid methods to“more difficult” problems, such as systems (e.g.elasticity)

Develop an algebraic multigrid solver with increasedrobustness properties while not sacrificing optimality

Develop a solver which defaults to simplicity if given asimple problem

Improving Robustness in Multigrid Methods – p.20/59

Page 37: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Self-Correcting AMG

Interested in applying algebraic multigrid methods to“more difficult” problems, such as systems (e.g.elasticity)

Develop an algebraic multigrid solver with increasedrobustness properties while not sacrificing optimality

Develop a solver which defaults to simplicity if given asimple problem

Improving Robustness in Multigrid Methods – p.20/59

Page 38: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Self-Correcting AMG

Interested in applying algebraic multigrid methods to“more difficult” problems, such as systems (e.g.elasticity)

Develop an algebraic multigrid solver with increasedrobustness properties while not sacrificing optimality

Develop a solver which defaults to simplicity if given asimple problem

Improving Robustness in Multigrid Methods – p.20/59

Page 39: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

BasicMultigrid Properties

Simple (Gauss-Seidel) Relaxation is inefficient for

on error components that give relatively smallresiduals:

is “small” relative to ( is said to bealgebraically smooth)

Example: For s.p.d. matrices, Richardson iterationstalls iff the error satisfies

For efficient multigrid performance, relaxation andcoarse grid correction must be complementary

Aim: construct coarsening to quickly eliminatealgebraically smooth components

Improving Robustness in Multigrid Methods – p.21/59

Page 40: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

BasicMultigrid Properties

Simple (Gauss-Seidel) Relaxation is inefficient for

on error components that give relatively smallresiduals:

is “small” relative to ( is said to bealgebraically smooth)

Example: For s.p.d. matrices, Richardson iterationstalls iff the error satisfies

. / 1 = = . / 1

For efficient multigrid performance, relaxation andcoarse grid correction must be complementary

Aim: construct coarsening to quickly eliminatealgebraically smooth components

Improving Robustness in Multigrid Methods – p.21/59

Page 41: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

BasicMultigrid Properties

Simple (Gauss-Seidel) Relaxation is inefficient for

on error components that give relatively smallresiduals:

is “small” relative to ( is said to bealgebraically smooth)

Example: For s.p.d. matrices, Richardson iterationstalls iff the error satisfies

. / 1 = = . / 1

For efficient multigrid performance, relaxation andcoarse grid correction must be complementary

Aim: construct coarsening to quickly eliminatealgebraically smooth components

Improving Robustness in Multigrid Methods – p.21/59

Page 42: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Main Ideas

Build a multigrid hierarchy based on an approximationof the components that relaxation is slow to resolve

Complementarity of relaxation and coarse gridcorrection means that if relaxation is inefficient on acomponent then that component must be treated bycoarse grid correction

Components that are slow to converge for willalso be slow for

Improving Robustness in Multigrid Methods – p.22/59

Page 43: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Main Ideas

Build a multigrid hierarchy based on an approximationof the components that relaxation is slow to resolve

Complementarity of relaxation and coarse gridcorrection means that if relaxation is inefficient on acomponent then that component must be treated bycoarse grid correction

Components that are slow to converge for willalso be slow for

Improving Robustness in Multigrid Methods – p.22/59

Page 44: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Main Ideas

Build a multigrid hierarchy based on an approximationof the components that relaxation is slow to resolve

Complementarity of relaxation and coarse gridcorrection means that if relaxation is inefficient on acomponent then that component must be treated bycoarse grid correction

Components that are slow to converge for

willalso be slow for

Improving Robustness in Multigrid Methods – p.22/59

Page 45: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Detailsof the Method

“Relax” on

with a random initial guess to quicklyresolve a representative of the slow-to-convergecomponents

or show that relaxation is sufficient for theproblem

Define a 2-grid method by choosing a coarse grid andinterpolation so that this component is in the range ofinterpolation (and using variational properties)

Go to a multigrid method by recursion

Improving Robustness in Multigrid Methods – p.23/59

Page 46: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Detailsof the Method

“Relax” on

with a random initial guess to quicklyresolve a representative of the slow-to-convergecomponents or show that relaxation is sufficient for theproblem

Define a 2-grid method by choosing a coarse grid andinterpolation so that this component is in the range ofinterpolation (and using variational properties)

Go to a multigrid method by recursion

Improving Robustness in Multigrid Methods – p.23/59

Page 47: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Detailsof the Method

“Relax” on

with a random initial guess to quicklyresolve a representative of the slow-to-convergecomponents or show that relaxation is sufficient for theproblem

Define a 2-grid method by choosing a coarse grid andinterpolation so that this component is in the range ofinterpolation (and using variational properties)

Go to a multigrid method by recursion

Improving Robustness in Multigrid Methods – p.23/59

Page 48: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Detailsof the Method

“Relax” on

with a random initial guess to quicklyresolve a representative of the slow-to-convergecomponents or show that relaxation is sufficient for theproblem

Define a 2-grid method by choosing a coarse grid andinterpolation so that this component is in the range ofinterpolation (and using variational properties)

Go to a multigrid method by recursion

Improving Robustness in Multigrid Methods – p.23/59

Page 49: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Details . . .

x := rnd(1)1

P1

X = x (1)

(1)1 1

P2

x(1)1

P1

x(1)3

=

x(1)2

A2

x(1)2

x(1)3

A3

x(1)2

P2

x(1)3

(1)x3

x(1)1,

, ,

,

,

Improving Robustness in Multigrid Methods – p.24/59

Page 50: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Choosing Inter polation

Seek to define interpolation to fit an algebraicallysmooth vector

Algebraic smoothness means

?> @

Improving Robustness in Multigrid Methods – p.25/59

Page 51: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

A, the neighborhood of

BCoarse Grid Points

Fine Grid Points

Improving Robustness in Multigrid Methods – p.26/59

Page 52: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Choosing Inter polation

Seek to define interpolation to fit an algebraicallysmooth vector

Algebraic smoothness means

?> @

or C> > > @ D 9 EGFC> D D

D 9 H FC> D D 9 IFC>

To define interpolation, need to collapse connectionsfrom

*> to

J>Improving Robustness in Multigrid Methods – p.27/59

Page 53: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Choosing Inter polation . . .

Seek to define interpolation to fit an algebraicallysmooth vector

If is connected to a set of , we want to write

Have a vector, , such that and so

Eliminate extra terms by replacing matrix entry witharbitrary

Improving Robustness in Multigrid Methods – p.28/59

Page 54: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Choosing Inter polation . . .

Seek to define interpolation to fit an algebraicallysmooth vector

If

KML *> is connected to a set of

N L J> , we want to write

D 9 H F; D D

Have a vector, , such that and so

Eliminate extra terms by replacing matrix entry witharbitrary

Improving Robustness in Multigrid Methods – p.28/59

Page 55: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Choosing Inter polation . . .

Seek to define interpolation to fit an algebraicallysmooth vector

If

KML *> is connected to a set of

N L J> , we want to write

D 9 H F; D D

Have a vector, O P

, such that O P @ and so

C O P D 9 H FC D O PD D Q 9 H FC D O PD

Eliminate extra terms by replacing matrix entry witharbitrary

Improving Robustness in Multigrid Methods – p.28/59

Page 56: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Choosing Inter polation . . .

Seek to define interpolation to fit an algebraicallysmooth vector

If

KML *> is connected to a set of

N L J> , we want to write

D 9 H F; D D

Have a vector, O P

, such that O P @ and so

C O P D 9 H FC D O PD D Q 9 H FC D O PD

Eliminate extra terms by replacing matrix entry C witharbitrary

R Improving Robustness in Multigrid Methods – p.28/59

Page 57: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Choosing Inter polation . . .

Eliminate extra terms by replacing matrix entry C witharbitrary

R R O P D 9 H FC D O PD

Taking the value of given here, we can write

Use this formula to collapse all algebraically smootherror

Improving Robustness in Multigrid Methods – p.29/59

Page 58: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Choosing Inter polation . . .

Eliminate extra terms by replacing matrix entry C witharbitrary

R R O P D 9 H FC D O PD

Taking the value of

R given here, we can write

O P D 9 H FC DR O PD D 9 H FC D O P

DS 9 H FC DS O PDS

O PD

Use this formula to collapse all algebraically smootherror

Improving Robustness in Multigrid Methods – p.29/59

Page 59: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Choosing Inter polation . . .

Eliminate extra terms by replacing matrix entry C witharbitrary

R R O P D 9 H FC D O PD

Taking the value of

R given here, we can write

O P D 9 H FC DR O PD D 9 H FC D O P

DS 9 H FC DS O PDS

O PD

Use this formula to collapse all algebraically smootherror

Improving Robustness in Multigrid Methods – p.29/59

Page 60: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Choosing Inter polation . . .

D 9 H FTUTUT C D O P

DS 9 H FC DS O PDS

VUVUV D D 9 H F; D D

Then, using the definition of algebraic smoothness, wehave

C> > > @ D 9 H FC> D D 9 IFC>

C> > > @ D 9 H FC> D D 9 IF D 9 H FC> ; D D

Improving Robustness in Multigrid Methods – p.30/59

Page 61: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Choosing Inter polation . . .

So, we define interpolation to a fine grid point

Was

> D 9 H FC> D

9 IFC> ; D

C> > D

D 9 H FC> D

9 IFC> TUTUT C D O P

DS 9 H FC DS O PDS

VUVUV

C> > D

Improving Robustness in Multigrid Methods – p.31/59

Page 62: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Scaling Property

If we scale

as

X X

for some diagonal matrixX

,scAMG performance need not suffer

If

O P , then

X X X O P Replacing O P

with

X O P

, can show that coarse gridmatrices for

X X

are simply diagonally-rescaledversions of the coarse grid matrices for

Pointwise relaxation is also invariant to diagonal scaling

If we can generate

X O Pas easily as we get O P

,overall performance won’t degrade

Improving Robustness in Multigrid Methods – p.32/59

Page 63: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Curr ent Assumptions

Coarse grids are predetermined and sufficient for fullmultigrid efficiency

Currently choosing coarse grids based on geometriccriteria, could also use Ruge-Stueben algebraiccoarseningEventually hope to determine coarse gridsadaptively as well (Compatible Relaxation)

Improving Robustness in Multigrid Methods – p.33/59

Page 64: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Numerical Results

Y[Z X / \ Y<] / \ on

^_/ `

Geometric choice of coarse grids

Interpolation chosen as above given the vector O P

given by two cycles of a multilevel relaxation procedure

Improving Robustness in Multigrid Methods – p.34/59

Page 65: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

a b c

(Laplace)

size Dirichlet BCs Neumann BCsd -fe d -

0.058 0.064g he g h

0.065 0.067 -i e -i

0.068 0.070-j ge -j g

0.070 0.070j -fe j -

0.070 0.070 - he - h

0.070 0.070

Improving Robustness in Multigrid Methods – p.35/59

Page 66: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

PiecewiseConstant aDirichlet BCs on left and right, Neumann BCs on topand bottom

X / \ / \ L ^ / `

otherwise

X / \ \ k otherwise

size

X / \ X / \

d - e d -

0.078 0.060

g he g h

0.094 0.067

-i e -i

0.081 0.069

-j ge -j g

0.106 0.070

j - e j -

0.169 0.070

- he - h

0.384 0.070

Improving Robustness in Multigrid Methods – p.36/59

Page 67: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

PiecewiseConstant aDirichlet BCs on left and right, Neumann BCs on topand bottom

X / \ / \ L ^ / `

otherwise

X / \ \ k otherwise

size

X / \ X / \

d - e d -

0.078

0.060g he g h

0.094

0.067 -i e -i

0.081

0.069-j ge -j g

0.106

0.070j - e j -

0.169

0.070 - he - h

0.384

0.070

Improving Robustness in Multigrid Methods – p.36/59

Page 68: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

PiecewiseConstant aDirichlet BCs on left and right, Neumann BCs on topand bottom

X / \ / \ L ^ / `

otherwise

X / \ \ k otherwise

size

X / \ X / \

d - e d -

0.078 0.060g he g h0.094 0.067 -i e -i0.081 0.069-j ge -j g0.106 0.070j - e j -0.169 0.070 - he - h

0.384 0.070

Improving Robustness in Multigrid Methods – p.36/59

Page 69: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

ScaledLaplace

Scaling is done based on

/ \ -coordinates of eachnode, l 56 j h m#n l 56 ho g n \

size Dirichlet BCs Neumann BCsd -fe d -

0.058 0.064g he g h

0.066 0.067 -i e -i

0.068 0.070-j ge -j g

0.070 0.070j -fe j -

0.070 0.070 - he - h0.070 0.070

Improving Robustness in Multigrid Methods – p.37/59

Page 70: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

ScaledPW Constant asize

X / \ X / \

d - e d -

0.078 0.060g he g h

0.091 0.067 -i e -i

0.087 0.069-j ge -j g

0.348 0.070j - e j -

0.190 0.070 - he - h

0.918 0.070

Improving Robustness in Multigrid Methods – p.38/59

Page 71: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

PorousMedia Flow

Interested in simulating, for example, flow in a reservoir

Model saturated flow via Darcy’s Law:

] / \ X / \ Y<p / \

Y Z ] / \ q / \

Simulation domain is on the order of meters inlength in each dimension

Fine scale changes in material properties on the orderof meters

Range of scales is on the order of

Improving Robustness in Multigrid Methods – p.39/59

Page 72: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

PorousMedia Flow

Interested in simulating, for example, flow in a reservoir

Model saturated flow via Darcy’s Law:

] / \ X / \ Y<p / \

Y Z ] / \ q / \Simulation domain is on the order of

meters inlength in each dimension

Fine scale changes in material properties on the orderof

meters

Range of scales is on the order of

r

Improving Robustness in Multigrid Methods – p.39/59

Page 73: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

The Curseof Dimensionality

As we consider 2- and 3-dimensional simulations, costof resolution increases exponentially

For 1-D porous media flow, need s rDOFs

For 2-D porous media flow, need DOFs

For 3-D porous media flow, need DOFs

Fully resolved 3-D simulation is still beyond thecapability of modern supercomputers (the fastest ofwhich performs floating point operations persecond)

Improving Robustness in Multigrid Methods – p.40/59

Page 74: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

The Curseof Dimensionality

As we consider 2- and 3-dimensional simulations, costof resolution increases exponentially

For 1-D porous media flow, need s rDOFs

For 2-D porous media flow, need s DOFs

For 3-D porous media flow, need DOFs

Fully resolved 3-D simulation is still beyond thecapability of modern supercomputers (the fastest ofwhich performs floating point operations persecond)

Improving Robustness in Multigrid Methods – p.40/59

Page 75: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

The Curseof Dimensionality

As we consider 2- and 3-dimensional simulations, costof resolution increases exponentially

For 1-D porous media flow, need s rDOFs

For 2-D porous media flow, need s DOFs

For 3-D porous media flow, need s tDOFs

Fully resolved 3-D simulation is still beyond thecapability of modern supercomputers (the fastest ofwhich performs

d_u j e floating point operations per

second)

Improving Robustness in Multigrid Methods – p.40/59

Page 76: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

The Needfor Upscaling

Naive discretizations require too many DOFs to becomputationally feasible

We must accurately account for the influence offine-scale variation in the material properties if we hopeto obtain physically meaningful solutions

In general, we cannot directly account for the influenceof fine-scale variation in material properties in acoarse-scale discretization

The goal of upscaling and homogenization techniquesis to derive effective, coarse-scale material properties touse in coarse-scale models and discretizations

Improving Robustness in Multigrid Methods – p.41/59

Page 77: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

The Needfor Upscaling

Naive discretizations require too many DOFs to becomputationally feasible

We must accurately account for the influence offine-scale variation in the material properties if we hopeto obtain physically meaningful solutions

In general, we cannot directly account for the influenceof fine-scale variation in material properties in acoarse-scale discretization

The goal of upscaling and homogenization techniquesis to derive effective, coarse-scale material properties touse in coarse-scale models and discretizations

Improving Robustness in Multigrid Methods – p.41/59

Page 78: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Durlofsky’sApproach

Based on a two-scale asymptotic analysis, and thusstrictly valid only for two-scale periodic media

Consider pressure which is locally of the form

p pv wZ v /then the average flow through a local cell can be shownto be . ] 1 x X Z wu

So, the local effective permeability can be recovered bychoosing boundary conditions to induce particular

w

and then calculating the average flow for that

w

Overall upscaling technique requires solution of 2fine-scale problems over each macro-element (in 2D)

Improving Robustness in Multigrid Methods – p.42/59

Page 79: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Inter pretation of Multigrid CGOs

Consider a fine-scale discretization via finite elements

> D 'D > y . X / \ Y z> / Y zD 1 R

Use of Galerkin coarsening means that the coarse gridoperator is equivalent to a finite element discretizationon that grid

( |> D % ' %> D % x D ' % x >

p D ' p >

~p D p > '

Improving Robustness in Multigrid Methods – p.43/59

Page 80: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Inter pretation . . .

So,

( |> D ~p D p > y . X / \ Y z / Y z 1 R

y X / \ Y p > z / Y p D z R

y . X / \ Y xz> / Y xzD 1 R

Basis functions on coarse grids come from summingthe fine grid basis functions (weighted by theinterpolation/restriction operators)

Improving Robustness in Multigrid Methods – p.44/59

Page 81: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

BoxMG

The Black Box Multigrid Algorithm (BoxMG) wasdeveloped by Dendy for diffusion problems withdiscontinuous coefficients

Coarsening is done in a geometrically regular fashion

BoxMG chooses interpolation in a manner whichpreserves the continuity of normal flux

BoxMG uses a variational formulation, and is thus quiterobust

In 2-D, if initial operator is 5-point or 9-point, then allcoarse grid operators are 9-point operators

Improving Robustness in Multigrid Methods – p.45/59

Page 82: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Reinterpretation of Multigrid CGOs

Consider a bilinear discretization in 2-D

Using a full-coarsening multigrid algorithm (such asBoxMG) results in 9-point operators on all coarse grids

Any 9-point operator can be written as a linearcombination of the bilinear FE operators for/ )/ )/ / / , ) / / ) If we start with a symmetric, zero row-sum operator,BoxMG coarsening guarantees that the coarse gridoperator will also have these properties

This forces the coarse grid operator to be a linearcombination of

/ / / )

Improving Robustness in Multigrid Methods – p.46/59

Page 83: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Reinterpretation . . .

The coarse grid operator can thus be interpreted as thecoarse grid discretization of

Y Z x X Y<] ) x / \ ) ] x

It is possible to recover piecewise constantapproximations of the effective

x Xand

x based on the

stencil entries

That is, we can recover the homogenized permeabilitytensor directly from the coarse grid operator

Improving Robustness in Multigrid Methods – p.47/59

Page 84: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Numerical Homogenization

Moulton et al and Knapek examine similar results forperiodic BCs

We have derived the needed relations to determine theeffective material properties given a coarse-grid stencilin the case of Neumann BCs

Consider Darcy Flow problem on^_/ `

with fullNeumann BCs

Improving Robustness in Multigrid Methods – p.48/59

Page 85: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Numerical Homogenization . . .

Consider the domain

Ω2

Ω1

1

1

1/6 1/2 5/6

1/6

1/2

5/6

0

With

X / \ / \ L otherwise

Improving Robustness in Multigrid Methods – p.49/59

Page 86: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Numerical Homogenization . . .

The asymptotic computation of Bourgat gives

u o j u

u u o j q - u g

u i h q '/

where

q

is the orthonormal matrix

-

On a grid of

m gi e m gigridpoints, we can recover

x X u o d d o u j d -

u j d - u o d d o q - u i m

u mi m q '

Improving Robustness in Multigrid Methods – p.50/59

Page 87: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Insight into Multigrid

Accounting for the regularization term also explains theperformance of multigrid on certain problems

Consider, for example, the region

^_/ ` , with

X / \

if \ u if \

Can show that the homogenized permeability isanisotropic

x X u j j

u o i

Improving Robustness in Multigrid Methods – p.51/59

Page 88: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Insight . . .

If we directly discretize the homogenized problem anduse pointwise relaxation (such as Gauss-Seidel), weexpect an inefficient algorithm

Pointwise relaxation is inherently inefficient inanisotropic problems

But . . . we get good results!

The regularization term makes the coarse scaleproblem effectively isotropic, while maintaining thecoarse-scale effective permeability

Improving Robustness in Multigrid Methods – p.52/59

Page 89: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Insight . . .

If we directly discretize the homogenized problem anduse pointwise relaxation (such as Gauss-Seidel), weexpect an inefficient algorithm

Pointwise relaxation is inherently inefficient inanisotropic problems

But . . . we get good results!

The regularization term makes the coarse scaleproblem effectively isotropic, while maintaining thecoarse-scale effective permeability

Improving Robustness in Multigrid Methods – p.52/59

Page 90: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Insight . . .

If we directly discretize the homogenized problem anduse pointwise relaxation (such as Gauss-Seidel), weexpect an inefficient algorithm

Pointwise relaxation is inherently inefficient inanisotropic problems

But . . . we get good results!

The regularization term makes the coarse scaleproblem effectively isotropic, while maintaining thecoarse-scale effective permeability

Improving Robustness in Multigrid Methods – p.52/59

Page 91: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Summary - scAMG

Relax on

to find a representative vector of thosethat are slow to converge

Determine multigrid interpolation operator based onmatrix entries and this vector

Multigrid algorithm obtained is invariant to diagonalscaling of

Improving Robustness in Multigrid Methods – p.53/59

Page 92: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Summary - Homogenization

Can recover effective material properties from multigridcoarse-grid operators

Actual coarsening introduces a regularization term intothe CGO

Understanding of regularization term provides insightinto multigrid performance

Improving Robustness in Multigrid Methods – p.54/59

Page 93: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Futur eWork - scAMG

Want a more efficient scheme to determine a suitablerepresentative vector

Choose a better starting guess than a random vectorand use current procedureIterate on the eigenproblem to find low eigenmodesof

Consider iterating on problem

to develop solver,instead of working on

Improving Robustness in Multigrid Methods – p.55/59

Page 94: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Futur eWork - scAMG

Want to extend class of problems for which algorithmperforms well - particularly to include systems of PDEs

May need to allow for more than one vector to beconsidered in interpolation

If we know the problem is a system, we can extendthe definition of interpolation to include more vectorsand retain its propertiesMay also look at updating interpolation to fit newvectors as they are determined

Improving Robustness in Multigrid Methods – p.56/59

Page 95: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Futur eWork - scAMG

Remove need for geometric coarsening in algorithmChoose coarse grid based on algebraic criteriaFor example, Compatible Relaxation which uses theefficiency of relaxation on the resulting fine-grid tochoose the coarse-grid

Improving Robustness in Multigrid Methods – p.57/59

Page 96: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Futur eWork - Homogenization

Complete analysis of regularization term

Complete MGH library

Investigate use of homogenized permeabilities in FiniteVolume discretizations and multigrid

Investigate effect of regularization term in othermultilevel solvers (AMG, scAMG)

Improving Robustness in Multigrid Methods – p.58/59

Page 97: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Conclusions

Have framework for self correcting multigrid solvers

Self correcting ideas increase range of applicability ofexisting multigrid methods

Multigrid coarse grid operators can be used to solvehomogenization problem

Homogenization can also provide significant insight intomultigrid behavior

Much work still to be done

Improving Robustness in Multigrid Methods – p.59/59

Page 98: Improving Robustness in Multigrid Methodsta.twi.tudelft.nl/.../maclachl/research/SMcomp-slides.pdfImproving Robustness in Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department

Conclusions

Have framework for self correcting multigrid solvers

Self correcting ideas increase range of applicability ofexisting multigrid methods

Multigrid coarse grid operators can be used to solvehomogenization problem

Homogenization can also provide significant insight intomultigrid behavior

Much work still to be done

Improving Robustness in Multigrid Methods – p.59/59