Introduction to Scientific Computing II

Slides:



Advertisements
Similar presentations
CSE Seminar Benefits of Hierarchy and Adaptivity Preliminary Discussion Dr. Michael Bader / Dr. Miriam Mehl Institut für Informatik Scientific Computing.
Advertisements

School of something FACULTY OF OTHER School of Computing An Adaptive Numerical Method for Multi- Scale Problems Arising in Phase-field Modelling Peter.
Mutigrid Methods for Solving Differential Equations Ferien Akademie 05 – Veselin Dikov.
CSE 245: Computer Aided Circuit Simulation and Verification Matrix Computations: Iterative Methods (II) Chung-Kuan Cheng.
systems of linear equations
Improvement of a multigrid solver for 3D EM diffusion Research proposal final thesis Applied Mathematics, specialism CSE (Computational Science and Engineering)
1 Iterative Solvers for Linear Systems of Equations Presented by: Kaveh Rahnema Supervisor: Dr. Stefan Zimmer
1 Numerical Solvers for BVPs By Dong Xu State Key Lab of CAD&CG, ZJU.
03/23/07CS267 Lecture 201 CS 267: Multigrid on Structured Grids Kathy Yelick
SOLVING THE DISCRETE POISSON EQUATION USING MULTIGRID ROY SROR ELIRAN COHEN.
CSCI-455/552 Introduction to High Performance Computing Lecture 26.
MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA
Geometric (Classical) MultiGrid. Hierarchy of graphs Apply grids in all scales: 2x2, 4x4, …, n 1/2 xn 1/2 Coarsening Interpolate and relax Solve the large.
Image Reconstruction Group 6 Zoran Golic. Overview Problem Multigrid-Algorithm Results Aspects worth mentioning.
Ma221 - Multigrid DemmelFall 2004 Ma 221 – Fall 2004 Multigrid Overview James Demmel
Algebraic MultiGrid. Algebraic MultiGrid – AMG (Brandt 1982)  General structure  Choose a subset of variables: the C-points such that every variable.
Influence of (pointwise) Gauss-Seidel relaxation on the error Poisson equation, uniform grid Error of initial guess Error after 5 relaxation Error after.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 20 Solution of Linear System of Equations - Iterative Methods.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 19 Solution of Linear System of Equations - Iterative Methods.
Geometric (Classical) MultiGrid. Linear scalar elliptic PDE (Brandt ~1971)  1 dimension Poisson equation  Discretize the continuum x0x0 x1x1 x2x2 xixi.
Picture Reconstruction / Multigrid Group 8 Stefan Spielvogel Alexander Piazza Alexander Kosukhin.
CS267 L25 Solving PDEs II.1 Demmel Sp 1999 CS 267 Applications of Parallel Computers Lecture 25: Solving Linear Systems arising from PDEs - II James Demmel.
Multiscale Methods of Data Assimilation Achi Brandt The Weizmann Institute of Science UCLA INRODUCTION EXAMPLE FOR INVERSE PROBLEMS.
Exercise where Discretize the problem as usual on square grid of points (including boundaries). Define g and f such that the solution to the differential.
1 Numerical Integration of Partial Differential Equations (PDEs)
Multigrid for Nonlinear Problems Ferien-Akademie 2005, Sarntal, Christoph Scheit FAS, Newton-MG, Multilevel Nonlinear Method.
Improving Coarsening and Interpolation for Algebraic Multigrid Jeff Butler Hans De Sterck Department of Applied Mathematics (In Collaboration with Ulrike.
Hans De Sterck Department of Applied Mathematics University of Colorado at Boulder Ulrike Meier Yang Center for Applied Scientific Computing Lawrence Livermore.
Introduction to Scientific Computing II From Gaussian Elimination to Multigrid – A Recapitulation Dr. Miriam Mehl.
1 Computational Methods II (Elliptic) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau.
Multigrid Computation for Variational Image Segmentation Problems: Multigrid approach  Rosa Maria Spitaleri Istituto per le Applicazioni del Calcolo-CNR.
Introduction to Scientific Computing II Overview Michael Bader.
Introduction to Scientific Computing II Multigrid Dr. Miriam Mehl Institut für Informatik Scientific Computing In Computer Science.
Introduction to Scientific Computing II Multigrid Dr. Miriam Mehl.
Lecture 21 MA471 Fall 03. Recall Jacobi Smoothing We recall that the relaxed Jacobi scheme: Smooths out the highest frequency modes fastest.
Introduction to Scientific Computing II
MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA
Scientific Computing Lab Outlook / State of Research Dr. Miriam Mehl Institut für Informatik Scientific Computing in Computer Science.
Optimizing 3D Multigrid to Be Comparable to the FFT Michael Maire and Kaushik Datta Note: Several diagrams were taken from Kathy Yelick’s CS267 lectures.
Xing Cai University of Oslo
بسم الله الرحمن الرحيم.
Scientific Computing Lab
MultiGrid.
Iterative Methods Good for sparse matrices Jacobi Iteration
Partial Differential Equations and Iterative Solvers
Introduction to Multigrid Method
Pressure Poisson Equation
Innovative Multigrid Methods
Scientific Computing Lab
Introduction to Scientific Computing II
Matrix Methods Summary
Stencil Quiz questions
CS 252 Project Presentation
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Stencil Quiz questions
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Stencil Pattern ITCS 4/5145 Parallel computing, UNC-Charlotte, B. Wilkinson Oct 14, 2014 slides6b.ppt 1.
Stencil Pattern ITCS 4/5145 Parallel computing, UNC-Charlotte, B. Wilkinson StencilPattern.ppt Oct 14,
ITERATIVE METHODS Prepared by, Dr. L. Benedict Michael Raj
Presentation transcript:

Introduction to Scientific Computing II Multigrid Miriam Mehl, Michael Bader

Multigrid – Algorithm iterate (GS) on the fine grid restrict residual to the coarse grid solve coarse grid equation for the error interpolate error to the fine grid correct fine grid solution

Multigrid – Things to Choose smoother relation step sizes coarse – fine grid transfer operators restriction interpolation processing order of grid levels

Multigrid – Convergence two grid analysis h-independent convergence for ‚good‘ components

Two Grid – Multigrid Example: 2D Poisson 5-point-stencil h two-grid analysis V-cycle 1/32 0.042 1/64 0.044 1/128 1/256 0.043 1/512 1/1024 1/2048

Multigrid – Some Rules smoother optimal smoothing not(!) optimal convergence small number of smoothing iterations!

Multigrid – Some Rules grid coarsening standard: doubling of h exceptions: anisotropic operators adaptively refined grids unstructured grids/general SLEs

Multigrid – Some Rules restriction/interpolation order of restriction + order of interpolation > order of discretisation

Multigrid – Some Rules V-cycle faster W-cycle more robust

Multigrid – Parallelisation parallel smoothing parallel restriction and interpolation parallel stopping criteria

Multigrid – Parallel Smoothing Gauss Seidel  Jacobi-like operation!!! processor 1 processor 2

Multigrid – Parallel Smoothing Gauss Seidel processor 1 processor 2

Multigrid – Parallel Smoothing Gauss Seidel processor 1 processor 2

Multigrid – Parallel Smoothing Gauss Seidel  Jacobi-like operation!!! processor 1 processor 2

Multigrid – Parallel Smoothing Gauss Seidel  different result than sequential GS!!! processor 1 processor 2

Multigrid – Parallel Smoothing Alternatives: Red-Black Gauss-Seidel processor 1 processor 2

Multigrid – Parallel Smoothing Alternatives: Red-Black Gauss-Seidel processor 1 processor 2

Multigrid – Parallel Smoothing Alternatives: Red-Black Gauss-Seidel processor 1 processor 2

Multigrid – Parallel Smoothing Alternatives: Red-Black Gauss-Seidel processor 1 processor 2

Multigrid – Parallel Smoothing Alternatives: Red-Black Gauss-Seidel processor 1 processor 2

Multigrid – Parallel Smoothing Alternatives: Red-Black Gauss-Seidel

Multigrid – Parallel Smoothing Alternatives: damped Jacobi processor 1 processor 2

Multigrid – Parallel Smoothing Alternatives: damped Jacobi processor 1 processor 2

Multigrid – Parallel Smoothing Alternatives: damped Jacobi processor 1 processor 2

Multigrid – Parallel Smoothing red-black GS: robust and fast smoothing further reading: Irad Yavneh, Multigrid smoothing factors for red-black Gauss-Seidel relaxation applied to a class of elliptic operators, SIAM Journal on Numerical Analysis, 32 (4), 1995 Jun Zhang, Acceleration of five-point red-black Gauss-Seidel in multigrid for Poisson equation, Applied Mathematics and Computation, 80(1), 1996 damped Jacobi: good smoothing

Ferienakademie, Sarntal, Sep 23 – Oct 5, 2012 Universität Erlangen-Nürnberg Technische Universität München Universität Stuttgart Ferienakademie, Sarntal, Sep 23 – Oct 5, 2012 Course 4: Scales and Scalability as Challenges for CSE (Bader, Schweitzer, Wellein) Deadline: Yesterday