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.

Slides:



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

Computational Methods II (Elliptic)
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
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.
Chapter 3 Steady-State Conduction Multiple Dimensions
Algebraic MultiGrid. Algebraic MultiGrid – AMG (Brandt 1982)  General structure  Choose a subset of variables: the C-points such that every variable.
Developments on Shape Optimization at CIMNE October Advanced modelling techniques for aerospace SMEs.
CS 584. Review n Systems of equations and finite element methods are related.
12/21/2001Numerical methods in continuum mechanics1 Continuum Mechanics On the scale of the object to be studied the density and other fluid properties.
Curve Fitting and Interpolation: Lecture (IV)
Influence of (pointwise) Gauss-Seidel relaxation on the error Poisson equation, uniform grid Error of initial guess Error after 5 relaxation Error after.
1 Systems of Linear Equations Iterative Methods. 2 B. Iterative Methods 1.Jacobi method and Gauss Seidel 2.Relaxation method for iterative methods.
Linear Regression  Using a linear function to interpolate the training set  The most popular criterion: Least squares approach  Given the training set:
1 Systems of Linear Equations Iterative Methods. 2 B. Direct Methods 1.Jacobi method and Gauss Seidel 2.Relaxation method for iterative methods.
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.
MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA
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.
A Multigrid Solver for Boundary Value Problems Using Programmable Graphics Hardware Nolan Goodnight Cliff Woolley Gregory Lewin David Luebke Greg Humphreys.
Solving Scalar Linear Systems Iterative approach Lecture 15 MA/CS 471 Fall 2003.
Multigrid for Nonlinear Problems Ferien-Akademie 2005, Sarntal, Christoph Scheit FAS, Newton-MG, Multilevel Nonlinear Method.
Hans De Sterck Department of Applied Mathematics University of Colorado at Boulder Ulrike Meier Yang Center for Applied Scientific Computing Lawrence Livermore.
Introduction to Scientific Computing II From Gaussian Elimination to Multigrid – A Recapitulation Dr. Miriam Mehl.
Loop Application: Numerical Methods, Part 1 The power of Matlab Mathematics + Coding.
Linear Systems Iterative Solutions CSE 541 Roger Crawfis.
Curve-Fitting Regression
1 Computational Methods II (Elliptic) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau.
Regression Regression relationship = trend + scatter
1 Computational Methods II (Elliptic) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau.
Using square roots to solve quadratic equations. 2x² = 8 22 x² = 4 The opposite of squaring a number is taking its square root √ 4= ± 2.
Lecture 7 - Systems of Equations CVEN 302 June 17, 2002.
Lixia Liu, Zhiyuan Li Purdue University, USA PPOPP 2010, January 2009.
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
CS 484. Iterative Methods n Gaussian elimination is considered to be a direct method to solve a system. n An indirect method produces a sequence of values.
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
MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA
1/30/ Elliptic Partial Differential Equations – Lieberman Method – Part 1 of 2 Elliptic Partial Differential.
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
9 Nov B - Introduction to Scientific Computing1 Sparse Systems and Iterative Methods Paul Heckbert Computer Science Department Carnegie Mellon.
Towards Future Navier-Stokes Schemes Uniform Accuracy, O(h) Time Step, Accurate Viscous/Heat Fluxes Hiroaki Nishikawa National Institute of Aerospace.
The Application of the Multigrid Method in a Nonhydrostatic Atmospheric Model Shu-hua Chen MMM/NCAR.
University of Colorado
1 Gauss-Seidel Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis Applied Numerical Method for Engineers Chapter 11.
Scientific Computing Lab
MultiGrid.
Iterative Methods Good for sparse matrices Jacobi Iteration
Introduction to Multigrid Method
Introduction to Scientific Computing II
Scientific Computing Lab
CS 252 Project Presentation
Introduction to Scientific Computing II
Numerical Analysis Lecture13.
CALCULATING EQUATION OF LEAST SQUARES REGRESSION LINE
Shared memory programming
Numerical Computation and Optimization
Programming assignment #1 Solving an elliptic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
Presentation transcript:

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 equation is Implement V(2,1) cycles using n levels, with a random initial guess. Use full-weighted restriction, bi-linear interpolation, and the following relaxation methods: 1.Damped Jacobi, 2.Gauss-Seidel in natural order; 3.Gauss-Seidel in Red-Black order.

Perform many V-cycles (until convergence slows down and stops due to round-off errors). Compute the L 2 norm (root-mean-square) of the residual after each cycle. Plot the residual reduction rate per cycle: where is the iteration number. (Each V-cycle is one iteration). Use your code to answer the following questions. Explain all the results. Use at least n = 5 (but use at least n = 6 for Question 3).

1. For which is the best relaxation method? Which is the worst? What is the optimal for Jacobi relaxation found in practice? How do the results of damped Jacobi and Gauss-Seidel in natural order compare with the predictions of smoothing analysis? 2. For, what is the influence of (only positive). Compare 3. For compare between the convergence behavior of the residual norm and that of the “differential error”, how are these behaviors influenced by the resolution? Give quantitative answers and explain if they match our expectations.

4. For what is the influence of (positive, negative, big, small). Starting with, reduce gradually until the two-grid convergence deteriorates. Use the IR/ICG two-grid analysis to determine the cause of the problem. Explain. 5. For discretize the problem using the skew Laplacian: Test the residual convergence. Use the IR/ICG two-grid analysis to determine the cause of the problem. Explain.