Introduction to Scientific Computing II

Slides:



Advertisements
Similar presentations
Mutigrid Methods for Solving Differential Equations Ferien Akademie 05 – Veselin Dikov.
Advertisements

CSE 245: Computer Aided Circuit Simulation and Verification Matrix Computations: Iterative Methods (II) Chung-Kuan Cheng.
Computational Methods II (Elliptic)
CSCI-455/552 Introduction to High Performance Computing Lecture 25.
Scientific Computing Lab Results Worksheet 3 Dr. Miriam Mehl Institut für Informatik Scientific Computing in Computer Science.
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.
CS 290H 7 November Introduction to multigrid methods
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.
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.
Algebraic MultiGrid. Algebraic MultiGrid – AMG (Brandt 1982)  General structure  Choose a subset of variables: the C-points such that every variable.
Geometric MultiGrid Mehod
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.
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.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW II.
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.
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.
Solving Systems of Equations: The Elimination Method Solving Systems of Equations: The Elimination Method Solving Systems of Equations: The Elimination.
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.
High Performance Computing 1 Multigrid Some material from lectures of J. Demmel, UC Berkeley Dept of CS.
Lecture 21 MA471 Fall 03. Recall Jacobi Smoothing We recall that the relaxed Jacobi scheme: Smooths out the highest frequency modes fastest.
MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA
The Application of the Multigrid Method in a Nonhydrostatic Atmospheric Model Shu-hua Chen MMM/NCAR.
University of Colorado
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.
Scientific Computing Lab
Solving Systems of Linear Equations: Iterative Methods
بسم الله الرحمن الرحيم.
Scientific Computing Lab
MultiGrid.
Iterative Methods Good for sparse matrices Jacobi Iteration
Introduction to Multigrid Method
Introduction to Scientific Computing II
Pressure Poisson Equation
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
Numerical Analysis Lecture13.
Problems with Gauss-Seidel
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
University of Virginia
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,
Presentation transcript:

Introduction to Scientific Computing II From Relaxation to Multigrid Dr. Miriam Mehl

Relaxation Methods problem: order an amount of peas on a straight line (corresponds to solving uxx=0)

Relaxation Methods – Gauss-Seidel sequentially place peas on the line between two neighbours we get a smooth curve instead of a straight line global error is locally (almost) invisible

Relaxation Methods – Jacobi place peas on the line between two neighbours in parallel we get a high plus a low frequency oscillation these fequencies are locally (almost) invisible

Relaxation Methods – Properties convergence depends on method frequency of the error stepsize h

Jacobi – Details fast for middle frequencies slow for high and low frequencies

Gauss-Seidel – Details fast for high frequencies slow for low frequencies

Multigrid – Principle fine grid eliminate high frequencies coarse grids eliminate low frequencies(!) equation for the error(!) error smooth => representable

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 Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Presmoothing Gauss Seidel

Multigrid Methods – Residual Almost zero  neglected in following slides

Multigrid Methods – Restriction

Multigrid Methods – Coarse Grid

Multigrid Methods – Coarse Grid

Multigrid Methods – Coarse Grid

Multigrid Methods – Coarse Grid

Multigrid Methods – Coarse Grid

Multigrid Methods – Coarse Grid

Multigrid Methods – Coarse Grid

Multigrid Methods – Coarse Grid

Multigrid Methods – Coarse Grid

Multigrid Methods – Coarsest Grid

Multigrid Methods – Coarsest Grid

Multigrid Methods – Coarse Grid

Multigrid Methods – Coarse Grid

Multigrid Methods – Postsmoothing

Multigrid Methods – Postsmoothing

Multigrid Methods – Postsmoothing

Multigrid Methods – Postsmoothing

Multigrid Methods – Postsmoothing

Multigrid Methods

Multigrid remember: Gauss Seidel error before smoothing after 10 iterations

Multigrid fine grid reduce high frequencies error before smoothing after smoothing

Multigrid switch to coarse grid restrict residual residual before restriction after restriction

Multigrid solve coarse grid equation recursive call of multigrid coarse grid solution

Multigrid solve coarse grid equation recursive call of multigrid coarse grid solution fine grid error

Multigrid switch to fine grid interpolate coarse grid solution interpolated coarse grid solution fine grid error

Multigrid switch to fine grid apply coarse grid correction fine grid error before correction after correction

Multigrid fine grid eliminate new high frequencies fine grid error before smoothing after smoothing

Multigrid comparison Gauss-Seidel – multigrid error after 10 Gauss-Seidel iterations after 1 multigrid iteration

Multigrid – Cycles V-cycle: one recursive call W-cycle: two recursive calls F-cycle: V-cycle on each level