MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA www.wisdom.weizmann.ac.il/~achi.

Slides:



Advertisements
Similar presentations
School of something FACULTY OF OTHER School of Computing An Adaptive Numerical Method for Multi- Scale Problems Arising in Phase-field Modelling Peter.
Advertisements

Mutigrid Methods for Solving Differential Equations Ferien Akademie 05 – Veselin Dikov.
CISC 489/689 Spring 2009 University of Delaware
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
15 Nov B - Introduction to Scientific Computing1 Multigrid Methods and Applications Paul Heckbert Computer Science Department Carnegie Mellon.
SOLVING THE DISCRETE POISSON EQUATION USING MULTIGRID ROY SROR ELIRAN COHEN.
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.
Graph problems Partition: min cut Clustering bioinformatics Image segmentation VLSI placement Routing Linear arrangement: bandwidth, cutwidth Graph drawing.
Algebraic MultiGrid. Algebraic MultiGrid – AMG (Brandt 1982)  General structure  Choose a subset of variables: the C-points such that every variable.
MA5233: Computational Mathematics
Fast, Multiscale Image Segmentation: From Pixels to Semantics Ronen Basri The Weizmann Institute of Science Joint work with Achi Brandt, Meirav Galun,
Recent progress in optical flow
Influence of (pointwise) Gauss-Seidel relaxation on the error Poisson equation, uniform grid Error of initial guess Error after 5 relaxation Error after.
Network and Grid Computing –Modeling, Algorithms, and Software Mo Mu Joint work with Xiao Hong Zhu, Falcon Siu.
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.
MULTISCALE COMPUTATION: From Fast Solvers To Systematic Upscaling A. Brandt The Weizmann Institute of Science UCLA
MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA
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.
Numerical methods for PDEs PDEs are mathematical models for –Physical Phenomena Heat transfer Wave motion.
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.
© Fluent Inc. 9/5/2015L1 Fluids Review TRN Solution Methods.
Multigrid for Nonlinear Problems Ferien-Akademie 2005, Sarntal, Christoph Scheit FAS, Newton-MG, Multilevel Nonlinear Method.
Particle Transport Methods in Parallel Environments
RFP Workshop Oct 2008 – J Scheffel 1 A generalized weighted residual method for RFP plasma simulation Jan Scheffel Fusion Plasma Physics Alfvén Laboratory,
MA5251: Spectral Methods & Applications
Introduction to Scientific Computing II From Gaussian Elimination to Multigrid – A Recapitulation Dr. Miriam Mehl.
Elliptic PDEs and the Finite Difference Method
Solving an elliptic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
MULTISCALE COMPUTATION: From Fast Solvers To Systematic Upscaling A. Brandt The Weizmann Institute of Science UCLA
Multigrid Computation for Variational Image Segmentation Problems: Multigrid approach  Rosa Maria Spitaleri Istituto per le Applicazioni del Calcolo-CNR.
Quality of model and Error Analysis in Variational Data Assimilation François-Xavier LE DIMET Victor SHUTYAEV Université Joseph Fourier+INRIA Projet IDOPT,
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
AMS 691 Special Topics in Applied Mathematics Lecture 8
Discretization for PDEs Chunfang Chen,Danny Thorne Adam Zornes, Deng Li CS 521 Feb., 9,2006.
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.
Differential Equations Linear Equations with Variable Coefficients.
Scientific Computing Lab Outlook / State of Research Dr. Miriam Mehl Institut für Informatik Scientific Computing in Computer Science.
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
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.
Xing Cai University of Oslo
MultiGrid.
© Fluent Inc. 1/10/2018L1 Fluids Review TRN Solution Methods.
Convergence in Computational Science
Introduction to Multigrid Method
Introduction to Scientific Computing II
Solving Linear Systems Algebraically
Objective Numerical methods Finite volume.
Stencil Quiz questions
Stencil Quiz questions
CS6068 Applications: Numerical Methods
Introduction to Scientific Computing II
What are Multiscale Methods?
Presentation transcript:

MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA

given Poisson equation: Approximating Poisson equation: given

u given on the boundary h e.g., u = function of u's and f approximating Poisson eq. Point-by-point RELAXATION Solution algorithm:

Solving PDE : Influence of pointwise relaxation on the error Error of initial guess Error after 5 relaxation sweeps Error after 10 relaxations Error after 15 relaxations Fast error smoothing slow solution

Relaxation of linear systems Ax=bAx=b Approximation, error Residual equation: Relaxation sweep: Eigenvectors: Fast convergence of high modes

When relaxation slows down: the error is a sum of low eigen-vectors ELLIPTIC PDE'S (e.g., Poisson equation) the error is smooth The error can be approximated on a coarser grid

LU=F h 2h 4h L h U h =F h L 2h U 2h =F 2h L 4h U 4h =F 4h

TWO GRID CYCLE Approximate solution: Fine grid equation: 2. Coarse grid equation: h old h new uu h2 v ~~~  Residual equation: Smooth error: 1. Relaxation residual: h2 v ~ Approximate solution: 3. Coarse grid correction: 4. Relaxation by recursion MULTI-GRID CYCLE

interpolation (order l+p) to a new grid interpolation (order m) of corrections relaxation sweeps algebraic error < truncation error residual transfer enough sweeps or direct solver * Full MultiGrid (FMG) algorithm... * h0h0 h 0 /2 h 0 /4 2h h ***  multigrid cycle V

Multigrid solvers Cost: operations per unknown Linear scalar elliptic equation (~1971)

Multigrid solvers Cost: operations per unknown Linear scalar elliptic equation (~1971)* Nonlinear Grid adaptation General boundaries, BCs* Discontinuous coefficients Disordered: coefficients, grid (FE) AMG Several coupled PDEs* (1980) Non-elliptic: high-Reynolds flow Highly indefinite: waves Many eigenfunctions (N) Near zero modes Gauge topology: Dirac eq. Inverse problems Optimal design Integral equations Full matrix Statistical mechanics Massive parallel processing *Rigorous quantitative analysis (1986) FAS (1975) Within one solver (1977,1982)

Scale-born obstacles: Many variables Interacting with each other O(n 2 ) Slow Monte Carlo / Small time steps / … 1. Localness of processing 2. Attraction basins Removed by multiscale algorithms Multiple solutions Slowness Slowly converging iterations / n gridpoints / particles / pixels / … Inverse problems / Optimization Statistical sampling Many eigenfunctions

Elementary particles Physics standard model Computational bottlenecks: Chemistry, materials science Vision: recognition (Turbulent) flows Partial differential equations Seismology Tomography (medical imaging) Graphs: data mining,… VLSI design Schrödinger equation Molecular dynamics forces

Multigrid solvers Cost: operations per unknown Linear scalar elliptic equation (~1971)* Nonlinear Grid adaptation General boundaries, BCs* Discontinuous coefficients Disordered: coefficients, grid (FE) AMG Several coupled PDEs* (1980) Non-elliptic: high-Reynolds flow Highly indefinite: waves Many eigenfunctions (N) Near zero modes Gauge topology: Dirac eq. Inverse problems Optimal design Integral equations Statistical mechanics Massive parallel processing *Rigorous quantitative analysis (1986) FAS (1975) Within one solver (1977,1982)

interpolation (order l+p) to a new grid interpolation (order m) of corrections relaxation sweeps algebraic error < truncation error residual transfer enough sweeps or direct solver * *** Full MultiGrid (FMG) algorithm... * h0h0 h 0 /2 h 0 /4 2h h

Two Grid Cycle for solving Approximate solution: Error: Residual equation: 1. Fine grid relaxation Goto 1 2. Coarse grid eq. 3. h old h new uu h2 v ~~~  Full Approximatioin Scheme (FAS): defect correction

LU = F h 2h 4h L h U h = F h L 4h U 4h = F 4h Fine-to-coarse defect correction L 2h U 2h = F 2h Correction Truncation error estimator interpolation of changes

Coarse-Grid Aliasing