1 Numerical Solvers for BVPs By Dong Xu State Key Lab of CAD&CG, ZJU.

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.
CSE 245: Computer Aided Circuit Simulation and Verification
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
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.
An Efficient Multigrid Solver for (Evolving) Poisson Systems on Meshes Misha Kazhdan Johns Hopkins University.
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.
Solving Linear Systems (Numerical Recipes, Chap 2)
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.
Multidimensional scaling
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.
CS267 Poisson 2.1 Demmel Fall 2002 CS 267 Applications of Parallel Computers Solving Linear Systems arising from PDEs - II James Demmel
Geometric (Classical) MultiGrid. Linear scalar elliptic PDE (Brandt ~1971)  1 dimension Poisson equation  Discretize the continuum x0x0 x1x1 x2x2 xixi.
Multiscale Methods of Data Assimilation Achi Brandt The Weizmann Institute of Science UCLA INRODUCTION EXAMPLE FOR INVERSE PROBLEMS.
Monica Garika Chandana Guduru. METHODS TO SOLVE LINEAR SYSTEMS Direct methods Gaussian elimination method LU method for factorization Simplex method of.
Module on Computational Astrophysics Jim Stone Department of Astrophysical Sciences 125 Peyton Hall : ph :
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)
A Multigrid Solver for Boundary Value Problems Using Programmable Graphics Hardware Nolan Goodnight Cliff Woolley Gregory Lewin David Luebke Greg Humphreys.
A Multigrid Solver for Boundary Value Problems Using Programmable Graphics Hardware Nolan Goodnight Cliff Woolley Gregory Lewin David Luebke Greg Humphreys.
Systems of Linear Equations Iterative Methods
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.
Malena Español, Tufts University Misha Kilmer, Tufts University
Introduction to Scientific Computing II From Gaussian Elimination to Multigrid – A Recapitulation Dr. Miriam Mehl.
Administrivia: May 20, 2013 Course project progress reports due Wednesday. Reading in Multigrid Tutorial: Chapters 3-4: Multigrid cycles and implementation.
CSE 245: Computer Aided Circuit Simulation and Verification Matrix Computations: Iterative Methods I Chung-Kuan Cheng.
Multigrid Computation for Variational Image Segmentation Problems: Multigrid approach  Rosa Maria Spitaleri Istituto per le Applicazioni del Calcolo-CNR.
Parallel Solution of the Poisson Problem Using MPI
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.
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.
Introduction to Scientific Computing II
Discretization for PDEs Chunfang Chen,Danny Thorne Adam Zornes, Deng Li CS 521 Feb., 9,2006.
MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA
9 Nov B - Introduction to Scientific Computing1 Sparse Systems and Iterative Methods Paul Heckbert Computer Science Department Carnegie Mellon.
Multigrid Methods The Implementation Wei E Universität München. Ferien Akademie 19 th Sep
The Application of the Multigrid Method in a Nonhydrostatic Atmospheric Model Shu-hua Chen MMM/NCAR.
Programming assignment # 3 Numerical Methods for PDEs Spring 2007 Jim E. Jones.
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.
High Performance Computing Seminar II Parallel mesh partitioning with ParMETIS Parallel iterative solvers with Hypre M.Sc. Caroline Mendonça Costa.
Xing Cai University of Oslo
MultiGrid.
A Parallel Hierarchical Solver for the Poisson Equation
CSE 245: Computer Aided Circuit Simulation and Verification
Introduction to Multigrid Method
Introduction to Scientific Computing II
Matrix Methods Summary
3D Image Segmentation and Multigrid Method
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Numerical Analysis Lecture13.
Numerical Linear Algebra
Introduction to Scientific Computing II
University of Virginia
Ph.D. Thesis Numerical Solution of PDEs and Their Object-oriented Parallel Implementations Xing Cai October 26, 1998.
Presentation transcript:

1 Numerical Solvers for BVPs By Dong Xu State Key Lab of CAD&CG, ZJU

2 Overview  Introduction  Numerical Solvers –Relaxation Method –Conjugate Gradient –Multigrid Method  Conclusions

3 Introduction  What is Boundary Value Problems?  Typical BVPs

4 Discretization  Regular Grid  Irregular Grid

5 Linear System (Matrix)

6 Relaxation Methods 0<w<2

7 Conjugate Gradient  Steepest Descent Method –Search in the direction of the gradient of given point (local approximation). –The local gradient doesn’t point to the elliptic center.  Conjugate Gradient Method –Search in the direction pointing to the elliptic center. –Iterate at most n steps. (n – the order of the matrix) –Only need Ap & A T p (matrix multiplies vector), especially efficient for sparse matrix. –Preconditioning

8 Multigrid Methods  Multigrid Methods – NOT a single algorithm, BUT a general framework.  Solve elliptic PDEs (BVPs) discretized on N grid points in O(n) operations.  Multigrid means using fine-to-coarse hierarchy to speed up the convergence of a traditional relaxation method.  Another approach is discretizing the same underlying PDE in multiple resolution. (FMG method)

9 Equations  Equation  Discretization  Correction  Residual/Defect  Linear relation between correction and residual  Only knows residual how to get correction? –Approximation –Jacobi iteration: diagonal part –Gauss-Seidel iteration: lower triangle  Get new approximation

10 A New Way  “Coarsify” rather than “Simplify”  Take H = 2h  New residual equation Approximation  Restriction operator  Prolongation operator  Get new approximation

11 Coarse-grid Correction Scheme  Compute the defect on the fine grid.  Restrict the defect.  Solve exactly on the coarse grid for the correction.  Interpolate the correction to the fine grid.  Compute the next approximation.

12 Two-Grid Iteration  Pre-smoothing: Compute by applying steps of a relaxation method to.  Coarse-grid correction: As above, using to give.  Post-smoothing: Compute by applying steps of the relaxation method to. Key Insight: Relaxation methods are good smoothing operators. (High freq. attenuates faster than low freq.)

13 Operators  Smoothing Operator S –Gauss-Seidel, NOT SOR.  Restriction Operator R  Prolongation Operator P Straight injection, half weighting, full weighting. Bilinear interpolation Relationship

14 Multi-Grid  Cycle – One iteration of a multigrid method, from finest grid to coarser grids and back to finest grid again. , the number of two-grid iterations at each intermediate stage (resolution/level).  V-cycle –  W-cycle – (named by shape)

15 Multigrid Demo

16 Full Grid Algorithm  First approximation –Arbitrary, on the finest grid. (Simple Multigrid, u h = 0) –Interpolating from a coarse-grid solution.  Nested Iteration –Get coarse-grid solution from even coarser grids. –At the coarsest grid, start with the exact solution.  Need f at all levels, while simple multigrid only needs f at the finest level.  Produce solutions at all level, while simple multigrid at the finest level.

17 Full Grid Demo

18 Conclusions  One Grid  Two Grid  Multi-Grid  Full Grid

19 Reference  Numerical Recipe in C

20 Thank you