Introduction to Scientific Computing II Multigrid

Similar documents
Scientific Computing II

6. Multigrid & Krylov Methods. June 1, 2010

Kasetsart University Workshop. Multigrid methods: An introduction

HW4, Math 228A. Multigrid Solver. Fall 2010

Iterative Methods and Multigrid

1. Fast Iterative Solvers of SLE

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Computational Linear Algebra

Multigrid Methods and their application in CFD

Elliptic Problems / Multigrid. PHY 604: Computational Methods for Physics and Astrophysics II

Solving PDEs with Multigrid Methods p.1

Numerical Programming I (for CSE)

3D Space Charge Routines: The Software Package MOEVE and FFT Compared

Chapter 5. Methods for Solving Elliptic Equations

EFFICIENT MULTIGRID BASED SOLVERS FOR ISOGEOMETRIC ANALYSIS

6. Iterative Methods for Linear Systems. The stepwise approach to the solution...

Introduction to Multigrid Method

Computational Linear Algebra

INTRODUCTION TO MULTIGRID METHODS

Computational Astrophysics 1 Particle Mesh methods

Partial Differential Equations

Geometric Multigrid Methods

Algebraic Multigrid Preconditioners for Computing Stationary Distributions of Markov Processes

Aspects of Multigrid

New Multigrid Solver Advances in TOPS

Stabilization and Acceleration of Algebraic Multigrid Method

MULTIGRID METHODS FOR NONLINEAR PROBLEMS: AN OVERVIEW

Bootstrap AMG. Kailai Xu. July 12, Stanford University

MULTI-LEVEL TECHNIQUES FOR THE SOLUTION OF THE KINETIC EQUATIONS IN CONDENSING FLOWS SIMON GLAZENBORG

Iterative Methods and Multigrid

Algebraic Multigrid as Solvers and as Preconditioner

arxiv: v1 [math.na] 11 Jul 2011

Multigrid finite element methods on semi-structured triangular grids

Robust solution of Poisson-like problems with aggregation-based AMG

Research Article Evaluation of the Capability of the Multigrid Method in Speeding Up the Convergence of Iterative Methods

Simulating Solid Tumor Growth using Multigrid Algorithms

Geometric Multigrid Methods for the Helmholtz equations

Scientific Computing: An Introductory Survey

Goal-oriented error control of the iterative solution of finite element equations

Multigrid Solution of the Debye-Hückel Equation

MA3232 Numerical Analysis Week 9. James Cooley (1926-)

University of Illinois at Urbana-Champaign. Multigrid (MG) methods are used to approximate solutions to elliptic partial differential

The Conjugate Gradient Method

Simulating Solid Tumor Growth Using Multigrid Algorithms

Fast Space Charge Calculations with a Multigrid Poisson Solver & Applications

ITERATIVE METHODS FOR NONLINEAR ELLIPTIC EQUATIONS

Multigrid solvers for equations arising in implicit MHD simulations

FRIEDRICH-ALEXANDER-UNIVERSITÄT ERLANGEN-NÜRNBERG. Lehrstuhl für Informatik 10 (Systemsimulation)

Von Neumann Analysis of Jacobi and Gauss-Seidel Iterations

Multigrid Method for 2D Helmholtz Equation using Higher Order Finite Difference Scheme Accelerated by Krylov Subspace

SyDe312 (Winter 2005) Unit 1 - Solutions (continued)

Notes for CS542G (Iterative Solvers for Linear Systems)

Adaptive algebraic multigrid methods in lattice computations

Today s class. Linear Algebraic Equations LU Decomposition. Numerical Methods, Fall 2011 Lecture 8. Prof. Jinbo Bi CSE, UConn

JACOBI S ITERATION METHOD

Chapter 7 Iterative Techniques in Matrix Algebra

Goal-oriented error control of the iterative solution of finite element equations

Multigrid Method ZHONG-CI SHI. Institute of Computational Mathematics Chinese Academy of Sciences, Beijing, China. Joint work: Xuejun Xu

AMG for a Peta-scale Navier Stokes Code

Multigrid absolute value preconditioning

arxiv: v1 [math.na] 7 Jan 2019

Solving Linear Systems

Efficient smoothers for all-at-once multigrid methods for Poisson and Stokes control problems

Robust and Adaptive Multigrid Methods: comparing structured and algebraic approaches

The Fundamentals and Advantages of Multi-grid Techniques

7 Mathematical Methods 7.6 Insulation (10 units)

FRIEDRICH-ALEXANDER-UNIVERSITÄT ERLANGEN-NÜRNBERG. Lehrstuhl für Informatik 10 (Systemsimulation)

Multilevel Preconditioning of Graph-Laplacians: Polynomial Approximation of the Pivot Blocks Inverses

Math 1080: Numerical Linear Algebra Chapter 4, Iterative Methods

Numerical Analysis: Solutions of System of. Linear Equation. Natasha S. Sharma, PhD

Aggregation-based algebraic multigrid

A MULTIGRID ALGORITHM FOR. Richard E. Ewing and Jian Shen. Institute for Scientic Computation. Texas A&M University. College Station, Texas SUMMARY

Introduction. Math 1080: Numerical Linear Algebra Chapter 4, Iterative Methods. Example: First Order Richardson. Strategy

Iterative Methods. Splitting Methods

Computers and Mathematics with Applications

Adaptive Multigrid for QCD. Lattice University of Regensburg

Constrained Minimization and Multigrid

UNIVERSITY OF MARYLAND A MULTIGRID METHOD ENHANCED BY KRYLOV SUBSPACE ITERATION FOR DISCRETE HELMHOLTZ EQUATIONS CS-TR #4029 / UMIACS TR #99-36

Some definitions. Math 1080: Numerical Linear Algebra Chapter 5, Solving Ax = b by Optimization. A-inner product. Important facts

Background. Background. C. T. Kelley NC State University tim C. T. Kelley Background NCSU, Spring / 58

Gauss-Seidel method. Dr. Motilal Panigrahi. Dr. Motilal Panigrahi, Nirma University

On nonlinear adaptivity with heterogeneity

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method

Key words. preconditioned conjugate gradient method, saddle point problems, optimal control of PDEs, control and state constraints, multigrid method

Preface to the Second Edition. Preface to the First Edition

Comparison of V-cycle Multigrid Method for Cell-centered Finite Difference on Triangular Meshes

An efficient multigrid solver based on aggregation

Notes on Multigrid Methods

ADAPTIVE ALGEBRAIC MULTIGRID

A greedy strategy for coarse-grid selection

Lecture 17: Iterative Methods and Sparse Linear Algebra

Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners

Aggregation Algorithms for K-cycle Aggregation Multigrid for Markov Chains

Partial differential equations

Multigrid Acceleration of the Horn-Schunck Algorithm for the Optical Flow Problem

Motivation: Sparse matrices and numerical PDE's

9. Iterative Methods for Large Linear Systems

Solving Linear Systems

Iterative Methods for Ax=b

A decade of fast and robust Helmholtz solvers

Transcription:

Introduction to Scientific Computing II Multigrid Miriam Mehl Slide 5: Relaxation Methods Properties convergence depends on method clear, see exercises and 3), frequency of the error remember eigenvectors of the Jacobi iteration stepsize h q m,l = sinmπhi) sinlπhj)) i,j=,...,n. that s what we want to change to achieve an optimal method with cost Onumber of unknowns). Local Fourier Analysis for Jacobi and Gauss-Seidel D Poisson, zero right-hand side, 3-point stencil):

Jacobi: e it+ k = e it k+ + e it ) k Gauss-Seidel: e it+ k = e it k+ + e it+ k ) assume e it = e imkπh) k=,...,n and e it+ = λ m e it e it+ = e imπh + e imπh) e it = e imπh + λ m e imπh) e it cosmπh)e it m for m =, λ m 0 for m N, for m = N slow convergence of high and low frequencies fast convergence of middle frequencies λ m = eimπh e imπh 5 4 cosmπh) λ = for m = 3 for m = N slow convergence of low fequencies fast convergence of high frequencies overall convergence faster on coarser grids Slide 6: Jacobi Details Graphical analysis: low bad middle frequencies = good high bad hπ hπ π h π π

3 Slide 7: Gauss-Seidel Details Slide 8: Multigrid Principle idea: use different grid levels for different error frequencies as components of an error consisting of all kins of frequencies / linear combination) fine grid = grid we use to achieve our required accuracy Which frequencies have to be eliminated on the fine grid? The frequencies that cannot be represented on the coarse grid In general: We can represent all frequencies m with m < H on the coarse grid. With N = h, we get H = h = N+. Thus, we can represent all frequencies with m < N +. eliminate high frequencies = iterate until high frequencies have almost) disappeared, fast since reduction factor coarse grids = auxiliary grids used to eliminate smooth error parts eliminate low frequencies faster as bigger h and, thus, better convergence rate.) solve equation for the error since only the error not the solution u itself) is smooth and can be represented on the coarse grid without loosing accuracy error smooth representable Establish an equation for the error e = u u h : Ae = Au u h ) = b Au h. What equation would you solve on the coarse grid? Operator A analogue to the fine grid operator, initial guess for e: zero, res as the right hand side: to be restricted from the fine grid to the coarse grid. Why recursive algorithm? To solve the coarse grid equation for the error, apply the same method, that is use the next coarser grid to compute the smooth part of the error of this equation and so on recursion in the grid level refinement depth). What do you do with the solution of the coarse grid equation?

4 interpolate to the fine grid e f = Ie c. add to the fine grid solution: u new h = u h + e f u h + u u h = u. Slide 9: Multigrid Algorithm Pseudo Code: smoothn,u); res = compute_resn,u); res_c = restrictn,res); e_c = solven,res_c); e = interpolaten,e_c); u = u+e; smoothn,u); Slide 0-30: Multigrid Presmoothing Slide 3: Multigrid Residual res = Au, res := h res = u i+ + u i ) u i. In our example, the residual is almost zero and will be neglected. Slide 3: Multigrid Restriction pick out coarse grid points Slide 33-4: Multigrid Coarse Grid u H i = u H i+ + u H ) i Rres h. We execute Gauss Seidel iterations neglecting the very small) right hand side.

5 3 Slide 4-43: Multigrid Coarsest Grid Gauss Seidel on the coarstest grid, again with neglectable right hand side. 4 Slide 44-45: Multigrid Coarse Grid Gauss Seidel Coarse Grid. Stop after one iteration as almost converged. 5 Slide 46-50: Multigrid Postsmoothing Only one GS iteration as already converged. Slide 5: Multigrid example: two-dimensional Poisson equation u = 0 with homegoneous Dirichlet boundary conditions and initial guess u = exept from the boundaries, where it is zero. discretisation: 5-point-stencil V-cycle smoother: Gauss-Seidel 3 pre- and postsmoothing iterations each) relation fine h coarse H: : restriction: full weighting: 4 interpolation: bilinear See main.m and multigrid.m at the lectures webpage. Show the effects of the steps of the multigrid algorithm

6 Slide 53: Gauss-Seidel Multigrid Compare the error reduction by Gauss-Seidel two iterations) and the multigrid V-cycle nothing said about the dependence of the convergence speed on h! Slide 54: Multigrid Cycles V-cycle W-cycle Algorithms: V-cyle v_cycle...) { if not yet coarsest grid compute_residual...); restrict_residual...); v_cycle...); interpolate_error...); correct_solution...); else solve...);

7 } W-cycle w_cycle...) { if not yet coarsest grid compute_residual...); restrict_residual...); w_cycle...); w_cycle...); interpolate_error...); correct_solution...); else solve...); }