University of Colorado

Slides:



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

1 Numerical Solvers for BVPs By Dong Xu State Key Lab of CAD&CG, ZJU.
CS 290H 7 November Introduction to multigrid methods
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.
Simulating Solid-Earth Processes Associated With Viscous and Viscoelastic Deformation Shijie Zhong Dept. of Physics University of Colorado Boulder, Colorado.
Rayan Alsemmeri Amseena Mansoor. LINEAR SYSTEMS Jacobi method is used to solve linear systems of the form Ax=b, where A is the square and invertible.
Image Reconstruction Group 6 Zoran Golic. Overview Problem Multigrid-Algorithm Results Aspects worth mentioning.
CS 584. Review n Systems of equations and finite element methods are related.
ECE669 L4: Parallel Applications February 10, 2004 ECE 669 Parallel Computer Architecture Lecture 4 Parallel Applications.
Influence of (pointwise) Gauss-Seidel relaxation on the error Poisson equation, uniform grid Error of initial guess Error after 5 relaxation Error after.
ECE602 BME I Partial Differential Equations in Biomedical Engineering (Cont’d)
Geometric (Classical) MultiGrid. Linear scalar elliptic PDE (Brandt ~1971)  1 dimension Poisson equation  Discretize the continuum x0x0 x1x1 x2x2 xixi.
NAE C_S2001 FINAL PROJECT PRESENTATION LASIC ISMAR 04/12/01 INSTRUCTOR: PROF. GUTIERREZ.
Thomas algorithm to solve tridiagonal matrices
Monica Garika Chandana Guduru. METHODS TO SOLVE LINEAR SYSTEMS Direct methods Gaussian elimination method LU method for factorization Simplex method of.
Partial differential equations Function depends on two or more independent variables This is a very simple one - there are many more complicated ones.
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.
Numerical Methods Due to the increasing complexities encountered in the development of modern technology, analytical solutions usually are not available.
ITERATIVE TECHNIQUES FOR SOLVING NON-LINEAR SYSTEMS (AND LINEAR SYSTEMS)
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.
Systems of Linear Equations Iterative Methods
Introduction to Scientific Computing II From Gaussian Elimination to Multigrid – A Recapitulation Dr. Miriam Mehl.
A conservative FE-discretisation of the Navier-Stokes equation JASS 2005, St. Petersburg Thomas Satzger.
Lecture 2. How to model: Numerical methods Outline Brief overview and comparison of methods FEM LAPEX FEM SLIM3D Petrophysical modeling Supplementary:
Elliptic PDEs and the Finite Difference Method
Multigrid Computation for Variational Image Segmentation Problems: Multigrid approach  Rosa Maria Spitaleri Istituto per le Applicazioni del Calcolo-CNR.
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
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
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
Island Recharge Problem
Elliptic PDEs and Solvers
Partial Derivatives Example: Find If solution: Partial Derivatives Example: Find If solution: gradient grad(u) = gradient.
1/30/ Elliptic Partial Differential Equations – Lieberman Method – Part 1 of 2 Elliptic Partial Differential.
9 Nov B - Introduction to Scientific Computing1 Sparse Systems and Iterative Methods Paul Heckbert Computer Science Department Carnegie Mellon.
Marching Solver for Poisson Equation 大氣四 簡睦樺. Outline A brief review for Poisson equation and marching method Parallel algorithm and consideration for.
Multigrid Methods The Implementation Wei E Universität München. Ferien Akademie 19 th Sep
Linear Systems Numerical Methods. 2 Jacobi Iterative Method Choose an initial guess (i.e. all zeros) and Iterate until the equality is satisfied. No guarantee.
Brain (Tech) NCRR Overview Magnetic Leadfields and Superquadric Glyphs.
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.
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.
Relaxation Methods in the Solution of Partial Differential Equations
EEE 431 Computational Methods in Electrodynamics
Xing Cai University of Oslo
Scientific Computing Lab
MultiGrid.
Introduction to Partial Differential Equations
A Parallel Hierarchical Solver for the Poisson Equation
Objective Numerical methods.
Scientific Computing Lab
Numerics for PDE using EXCEL
Convergence in Numerical Science
One dimensional Poisson equation
Partial Differential Equations
PARTIAL DIFFERENTIAL EQUATIONS
Introduction to Scientific Computing II
Comparison of CFEM and DG methods
University of Virginia
Stopping Criteria Is the residual check appropriate as the stopping condition? It is known that relative corrections of field variables and design variables.
Programming assignment #1 Solving an elliptic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac
Presentation transcript:

University of Colorado Multigrid Methods Shijie Zhong Dept. of Physics University of Colorado Boulder, Colorado Workshop for Advancing Numerical Modeling of Mantle Convection and Lithospheric Dynamics July 2008, UC-Davis

Numerical modeling Kd=F A scientific problem  Partial differential equations within a domain  Discretize PDE using FE, FD, FV, … on a certain grid  a matrix equation: Kd=F f=ma

A toy problem: 1-D heat conduction 0 1 x

Discretize with FE x=0 x=1 e

e 1

Kd=F

Iterative Solvers Kd=F A matrix equation: Iterative solvers: memory usage ~ N (# of unknowns in d), # of flops ~ N (e.g., for multigrid solver), suitable for parallel computing.

Jacobi and Gauss-Seidel methods Matrix Equation: Rewrite matrix K: Jacobi method: Start with a guessed solution d(0), then update d iteratively to get d(1), … until residual e=||Kd(n)-F|| is less than some tolerance. Gauss-Seidel method:

Jacobi method

Gauss-Seidel Method

The idea behind multigrid Gauss-Seidel

A road map

A road map continued but reversed

Different cycles W-cycle V-cycle n n-1 1

THE method for elliptic equations (i.e., “diffusion” like problems)

Execution Time vs Grid Size N for Multi-grid Solvers in Citcom t ~ N-1 FMG: Zhong et al. 2000 MG: Moresi and Solomatov, 1995