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

Slides:



Advertisements
Similar presentations
Finite Difference Discretization of Hyperbolic Equations: Linear Problems Lectures 8, 9 and 10.
Advertisements

School of something FACULTY OF OTHER School of Computing An Adaptive Numerical Method for Multi- Scale Problems Arising in Phase-field Modelling Peter.
CSE 245: Computer Aided Circuit Simulation and Verification Matrix Computations: Iterative Methods (II) Chung-Kuan Cheng.
Computational Methods II (Elliptic)
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
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.
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.
Algebraic MultiGrid. Algebraic MultiGrid – AMG (Brandt 1982)  General structure  Choose a subset of variables: the C-points such that every variable.
12/21/2001Numerical methods in continuum mechanics1 Continuum Mechanics On the scale of the object to be studied the density and other fluid properties.
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.
Easy Optimization Problems, Relaxation, Local Processing for a single variable.
Picture Reconstruction / Multigrid Group 8 Stefan Spielvogel Alexander Piazza Alexander Kosukhin.
Multiscale Methods of Data Assimilation Achi Brandt The Weizmann Institute of Science UCLA INRODUCTION EXAMPLE FOR INVERSE PROBLEMS.
MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA
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.
1 Numerical Integration of Partial Differential Equations (PDEs)
Multigrid for Nonlinear Problems Ferien-Akademie 2005, Sarntal, Christoph Scheit FAS, Newton-MG, Multilevel Nonlinear Method.
1 Computational Methods II (Elliptic) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau.
Administrivia: May 20, 2013 Course project progress reports due Wednesday. Reading in Multigrid Tutorial: Chapters 3-4: Multigrid cycles and implementation.
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.
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
1 Solving the algebraic equations A x = B =. 2 Direct solution x = A -1 B = = Applicable only to small problems For the vertical in the spectral technique.
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.
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.
بسم الله الرحمن الرحيم.
Solving Linear Systems Ax=b
MultiGrid.
© Fluent Inc. 1/10/2018L1 Fluids Review TRN Solution Methods.
Iterative Methods Good for sparse matrices Jacobi Iteration
Convergence in Computational Science
CSE 245: Computer Aided Circuit Simulation and Verification
A Multigrid Tutorial part two
Partial Differential Equations and Iterative Solvers
Introduction to Multigrid Method
Introduction to Scientific Computing II
3D Image Segmentation and Multigrid Method
Stencil Quiz questions
CS 252 Project Presentation
Introduction to Scientific Computing II
Stencil Quiz questions
Numerical Analysis Lecture13.
Problems with Gauss-Seidel
Solving Equations 3x+7 –7 13 –7 =.
Introduction to Scientific Computing II
Numerical Methods on Partial Differential Equation
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,
Home assignment #3 (1) (Total 3 problems) Due: 12 November 2018
Presentation transcript:

Mutigrid Methods for Solving Differential Equations Ferien Akademie 05 – Veselin Dikov

Multigrid Methods Ferien Akademie 05 Veselin Dikov Agenda Model problem Relaxation. Smoothing property Elements of Multigrid Multigrid schemes

Multigrid Methods Model Problem Ferien Akademie 05 Veselin Dikov Discretization in n points, step h = 1/n 1D boundary problem of steady state temperature a long a uniform rod

Multigrid Methods Model Problem Ferien Akademie 05 Veselin Dikov Stencil notation Av = f, where and A is Symmetric positive definite

Multigrid Methods Ferien Akademie 05 Veselin Dikov Agenda Model problem Relaxation. Smoothing property Elements of Multigrid Multigrid schemes

Multigrid Methods Iterative Methods Ferien Akademie 05 Veselin Dikov Jacobi and Gauss-Seidel methods Iterative vs Direct methods Smoothing property More about iterative methods

Multigrid Methods Smoothing Property Ferien Akademie 05 Veselin Dikov Error along the domain After 35 sweeps with weighted Jacobi Error was smoothed

Multigrid Methods Smoothing Property Ferien Akademie 05 Veselin Dikov Smoothing property explained in four steps 1.Fourier modes k – wave number

Multigrid Methods Smoothing Property Ferien Akademie 05 Veselin Dikov Smoothing property explained in four steps 1.Fourier modes k = 1k = 2 k = 7 k = 12

Multigrid Methods Smoothing Property Ferien Akademie 05 Veselin Dikov Smoothing property explained in four steps 1.Fourier modes smooth modes - oscillatory modes -

Multigrid Methods Smoothing Property Ferien Akademie 05 Veselin Dikov Smoothing property explained in four steps 1.Fourier modes f = 0, σ = 0 Au = 0 2.Modified model problem exact solution: u = 0 error: e = u – v = -v we can trace the error!

Multigrid Methods Smoothing Property Ferien Akademie 05 Veselin Dikov Smoothing property explained in four steps 1.Fourier modes 2.Modified model problem wJacobi step 3.Weighted Jacobi relaxation error

Multigrid Methods Smoothing Property Ferien Akademie 05 Veselin Dikov Smoothing property explained in four steps 1.Fourier modes 2.Modified model problem we relax with wJacobi with ω = 2/3 on initial guesses respectively: 3.Weighted Jacobi relaxation 4.Three experiments # iterations

Multigrid Methods Smoothing Property Ferien Akademie 05 Veselin Dikov Smoothing property explained in four steps 1.Fourier modes 2.Modified model problem repeat the experiment with: ω = 2/3 and initial guess 3.Weighted Jacobi relaxation 4.Three experiments # iterations

Multigrid Methods Smoothing Property Ferien Akademie 05 Veselin Dikov Smoothing property explained in four steps 1.Fourier modes 2.Modified model problem 3.Weighted Jacobi relaxation 4.Three experiments Explanation R ω has the same eigenvectors as A and they are the same as the wave vectors Recall that for the error e (m) = R m e (0) Eigenvalues of R ω ?

Multigrid Methods Smoothing Property Ferien Akademie 05 Veselin Dikov Smoothing property explained in four steps 1.Fourier modes 2.Modified model problem 3.Weighted Jacobi relaxation 4.Three experiments Explanation wavenumber k Eigenvalue

Multigrid Methods Smoothing Property Ferien Akademie 05 Veselin Dikov Smoothing property explained in four steps 1.Fourier modes 2.Modified model problem 3.Weighted Jacobi relaxation 4.Three experiments Explanation Smoothing property Fast damping of oscillatory error modes Common for all iterative methods How to overcome the bad performance effect over smooth error modes?

Multigrid Methods Ferien Akademie 05 Veselin Dikov Agenda Model problem Relaxation. Smoothing property Elements of Multigrid Multigrid schemes

Multigrid Methods Elements of Multigrid Ferien Akademie 05 Veselin Dikov Element I: A smooth wave looks more oscillatory on a coarser grid Aliasing: k looks like (n-k)

Multigrid Methods Elements of Multigrid Ferien Akademie 05 Veselin Dikov Element II: Nested Iterations coarsest grid finest grid Relax transfer the coarse grid result to the finer grid for the initial guess Problems?

Multigrid Methods Elements of Multigrid Ferien Akademie 05 Veselin Dikov Element III: Correction scheme Residual equation: Ae = r The scheme: » Relax on Au = f on to obtain an approximation. » Compute. » Relax on Ae = r on to obtain an approximation to the error,. » Correct the approximation.

Multigrid Methods Elements of Multigrid Ferien Akademie 05 Veselin Dikov Element IV: Interpolation and restriction Interpolation : Restriction : Variational property: Injection: Full weighting:

Multigrid Methods Ferien Akademie 05 Veselin Dikov Agenda Model problem Relaxation. Smoothing property Elements of Multigrid Multigrid schemes

Multigrid Methods Two-Grid Ferien Akademie 05 Veselin Dikov Two-Grid = Corr.Scheme+Interpolation+Restriction » Relax times on on with initial guess » Compute and restrict. » Solve on. » Interpolate and correct. » Relax times on on with initial guess

Multigrid Methods Two-Grid -> V-Cycle Ferien Akademie 05 Veselin Dikov V-Cycle = Recursive Two-Grid Scheme Two-Grid Scheme V-CycleW-Cycle

Multigrid Methods Full Multigrid(FMG) Ferien Akademie 05 Veselin Dikov FMG = V-Cycle + nested iterations FMG

Multigrid Methods Costs Ferien Akademie 05 Veselin Dikov V-Cycle costs Computational cost Storage FMG computational costs Speedup because working on smaller domains