3D Space Charge Routines: The Software Package MOEVE and FFT Compared

Size: px
Start display at page:

Download "3D Space Charge Routines: The Software Package MOEVE and FFT Compared"

Transcription

1 3D Space Charge Routines: The Software Package MOEVE and FFT Compared Gisela Pöplau DESY, Hamburg, December 4, 2007

2 Overview Algorithms for 3D space charge calculations Properties of FFT and iterative Poisson solvers Optimal iterative Poisson solver: multigrid technique Numerical investigations: Multigrid performance ASTRA: Tracking example with FFT and multigrid Numerical studies of cylindrical shaped bunches 2 Gisela Pöplau

3 The 3D Space Charge Model Bunch in laboratory frame Bunch in rest frame Mesh-based electrostatic solver in rest-frame Bunch is tracked in laboratory frame Bunch in rest-frame is expanded by γ Meshlines meshline positions follow beam density Charge density Poisson equation Interpolation Lorentz transformation to laboratory frame Trilinear interpolation to obtain charge density Solve Poisson s equation 2 nd order interpolation for the electrostatic field E Transform E to E and B in laboratory frame 3 Gisela Pöplau

4 Computation of Space-Charge Fields Due to Hockney, Eastwood Particle-Mesh Method Particle-Particle Method Solve Poisson s equation Good accuracy for smooth particle distributions No mesh required Straightforward summation O(Mp2) Fast with best solver - O(M): multigrid methods Particle-Particle Particle-Mesh Method 4 Gisela Pöplau

5 Particle-Mesh Method FFT Poisson solvers Iterative Poisson solvers Finite difference discretization Direct solution Boundary conditions Boundary conditions Free space boundary Free space boundary Periodic boundary Perfect conducting rectangular box Perfect conducting rectangular box (with Fast Sine Transformation) Perfect conducting pipe with elliptical cross section G: Green s function 5 Gisela Pöplau

6 Solvers & Properties FFT Poisson solvers FFT FFT based algorithms (FST) Step size: equidistant Numerical effort: O(M logn) Number of grid points (one coordinate): N+1=2 t +1 Iterative Poisson solvers Multigrid (MG) Multigrid Preconditioned Conjugate Gradients (MG-CG) Jacobi Preconditioned CG Successive overrelaxation (SOR) BiCG, BiCGSTAB Step size: non-equidistant Numerical effort: O(M) (per iteration step) Convergence: MG: O(1) CG,SOR: O(N 2 ) with h=1/n Total number of unknowns 6 Gisela Pöplau

7 Overview Algorithms for 3D space charge calculations Properties of FFT and iterative Poisson solvers Optimal iterative Poisson solver: multigrid technique Numerical investigations: Multigrid performance Numerical studies of cylindrical shaped bunches ASTRA: Tracking example with FFT and multigrid 7 Gisela Pöplau

8 Multigrid Technique relaxation on A h u h =f h restriction of r h =f h -A h v h relaxation on A H e H =r H restriction relaxation restriction V-Cycle fine grid solution coarsest grid relaxation interp.: e interp.: e H ->e H ->e h cgc: v new h cgc: v h new =v h =v h +e h +e h h relaxation interpolation + coarse grid correction relaxation interpolation + coarse grid correction Fine grid Coarse grid 8 Gisela Pöplau

9 Gauss-Seidel Relaxtion Gauss-Seidel relaxation is part of multigrid Initial error (100%) Simple implementation Convergence acceptable for low number of mesh lines Convergence: Gauss-Seidel: O(h 2 ) after 10 Gauss-Seidel steps (60%) 9 Gisela Pöplau

10 Multigrid & MG-PCG Initial error (100%) Convergence O(1) on non-equidistant grids Convergence O(1) on grids with high aspect ratios Implementation is more complicated after 3 MG steps (0.06%) Implementation has always to be adapted to the problem 10 Gisela Pöplau

11 Overview Algorithms for 3D space charge calculations Properties of FFT and iterative Poisson solvers Optimal iterative Poisson solver: multigrid technique Numerical investigations: Multigrid performance Numerical studies of cylindrical shaped bunches ASTRA: Tracking example with FFT and multigrid 11 Gisela Pöplau

12 Multigrid Performance (I) iterations until rel. residual<10-9 equidist. mesh 8-9 iterations Dirichlet bound. 12 Gisela Pöplau

13 Multigrid Performance (II) iterations until rel. residual<10-9 equidist. mesh open boundaries 13 Gisela Pöplau

14 Overview Algorithms for 3D space charge calculations Properties of FFT and iterative Poisson solvers Optimal iterative Poisson solver: multigrid technique Numerical investigations: Multigrid performance ASTRA: Tracking example with FFT and multigrid Numerical studies of cylindrical shaped bunches 14 Gisela Pöplau

15 Simulations with ASTRA EPAC 2006 Gaussian particle distribution: σ x =σ y =0.75 mm, σ z =1.0 mm FFT 10,000 macro particles charge: -1 nc energy: 2 MeV MG tracking distance: 3 m quadrupol at z=1.2 m number of mesh points: 32,768 (Poisson solver): N z =32 15 Gisela Pöplau

16 Particle Distribution at z=1.47 m Output of Astra routine: postpro 16 Gisela Pöplau

17 Drift with Quadrupole after 1.47 m FFT Multigrid 17 Gisela Pöplau

18 Particle Distribution at z=2.00 m Output of Astra routine: postpro 18 Gisela Pöplau

19 Drift with Quadrupole after 2.0 m FFT Multigrid FFT with integrated Green s function (Qiang et al, 2006) 19 Gisela Pöplau

20 Integrated Green s Function Qiang et al, 2006 Green s function Integrated Green s function 20 Gisela Pöplau

21 Performance time Poisson solver N=28 N=32 FFT s FFT, integrated Green s function s MG, equi. (initial guess = 0) 247 s 259 s MG, equi. (initial guess 0) 237 s 240 s MG, non-equi. (initial guess = 0) 254 s 261 s MG, non-equi. (initial guess 0) 243 s 241 s PCG, equi. (initial guess = 0) 261 s 280 s PCG, equi. (initial guess 0) 246 s 235 s PCG, non-equi. (initial guess = 0) 266 s 296 s PCG, non-equi. (initial guess 0) 235 s 235 s 21 Gisela Pöplau

22 Overview Algorithms for 3D space charge calculations Properties of FFT and iterative Poisson solvers Optimal iterative Poisson solver: multigrid technique Numerical investigations: Multigrid performance ASTRA: Tracking example with FFT and multigrid Numerical studies of cylindrical shaped bunches 22 Gisela Pöplau

23 Numerical Investigations Parameters for simulations Cylindrical bunches Uniform partical distribution 20,000 macro particles Charge -1 nc partly, ICAP 2006 Aspect ratio of the bunch σ x /σ z FFT MG 23 Gisela Pöplau

24 Bunch with Aspect Ratio 1 FFT Multigrid Bunch size # of grid points: 32x32x32 Field at the edges of the bunch is not approximated correctly # of grid points: 28x28x28 24 Gisela Pöplau

25 Bunch with Aspect Ratio 1 FFT Multigrid # of grid points: 64x64x64 Field at the edges of the bunch is better approximated # of grid points: 60x60x60 Resolution too high: more particles required for smoother fields 25 Gisela Pöplau

26 Bunch with Aspect Ratio 1 FFT with integrated Green s function transversal longitudinal # of grid points: 32x32x32 Field at the edges of the bunch is approximated correctly 26 Gisela Pöplau

27 Short Bunch with Aspect Ratio 10 FFT Multigrid # of grid points: 32x32x32 Field at the edges of the bunch is not approximated correctly # of grid points: 32x32x32 27 Gisela Pöplau

28 Short Bunch with Aspect Ratio 10 FFT with integrated Green s function Multigrid # of grid points: 32x32x32 Field of the bunch is not approximated correctly # of grid points: 32x32x32 28 Gisela Pöplau

29 Short Bunch with Aspect Ratio 10 Multigrid, open boundaries small computational domain Multigrid, Dirichlet boundaries large computational domain # of grid points: 33x33x33 Field of the bunch around the center is not approximated correctly # of grid points: 51x51x51 29 Gisela Pöplau

30 Long Bunch with Aspect Ratio 0.01 FFT Multigrid FFT with integrated Green s function # of grid points: 32x32x32 Transverse field at the edges of the bunch is not approximated correctly # of grid points: 32x32x32 30 Gisela Pöplau

31 Summary and Projects MG Poisson solvers are much more flexible than FFT Poisson solvers (boundary, discretization) MG Poisson solvers enable a better approximation Software package MOEVE 2.0 (2.1) Part of the tracking codes ASTRA and GPT 2.7 Projects in Rostock: Simulation of e-clouds (Aleksandar) Adaptive multigrid discretizations for charged particle bunches (DFG-Project, Christian Bahls) 31 Gisela Pöplau

Fast Space Charge Calculations with a Multigrid Poisson Solver & Applications

Fast Space Charge Calculations with a Multigrid Poisson Solver & Applications Fast Space Charge Calculations with a Multigrid Poisson Solver & Applications Gisela Pöplau Ursula van Rienen Rostock University DESY, Hamburg, April 26, 2005 Bas van der Geer Marieke de Loos Pulsar Physics

More information

Accelerator Theory and Simulation at Rostock University

Accelerator Theory and Simulation at Rostock University Accelerator Theory and Simulation at Rostock University Hans-Walter Glock, Thomas Flisgen Gisela Pöplau Linear Collider Forum, 1st Meeting, June 14-15, 2010 DESY, Hamburg 15.06.2010 2010 UNIVERSITÄT ROSTOCK

More information

Laboratory Report Rostock University

Laboratory Report Rostock University Laboratory Report Rostock University TESLA Collaboration Meeting DESY, September 15-17, 2003 Karsten Rothemund, Jelena Maksimovic, Viktor Maksimovic, Gisela Pöplau, Dirk Hecht, Ulla van Rienen Partly supported

More information

1. Fast Iterative Solvers of SLE

1. Fast Iterative Solvers of SLE 1. Fast Iterative Solvers of crucial drawback of solvers discussed so far: they become slower if we discretize more accurate! now: look for possible remedies relaxation: explicit application of the multigrid

More information

AMS526: Numerical Analysis I (Numerical Linear Algebra)

AMS526: Numerical Analysis I (Numerical Linear Algebra) AMS526: Numerical Analysis I (Numerical Linear Algebra) Lecture 24: Preconditioning and Multigrid Solver Xiangmin Jiao SUNY Stony Brook Xiangmin Jiao Numerical Analysis I 1 / 5 Preconditioning Motivation:

More information

Fast Poisson solvers on nonequispaced grids: Multigrid and Fourier Methods compared

Fast Poisson solvers on nonequispaced grids: Multigrid and Fourier Methods compared Fast Poisson solvers on nonequispaced grids: Multigrid and Fourier Methods compared Gisela Pöplau a and Daniel Potts b a Institute of General Electrical Engineering, Rostock University, D 805 Rostock,

More information

Preface to the Second Edition. Preface to the First Edition

Preface to the Second Edition. Preface to the First Edition n page v Preface to the Second Edition Preface to the First Edition xiii xvii 1 Background in Linear Algebra 1 1.1 Matrices................................. 1 1.2 Square Matrices and Eigenvalues....................

More information

Computational Astrophysics 1 Particle Mesh methods

Computational Astrophysics 1 Particle Mesh methods Computational Astrophysics 1 Particle Mesh methods Oscar Agertz Outline - The Vlassov-Poisson equation - The Particle-Mesh method in a nut shell - Symplectic Integrators - Mass assignment and force interpolation

More information

Elliptic Problems / Multigrid. PHY 604: Computational Methods for Physics and Astrophysics II

Elliptic Problems / Multigrid. PHY 604: Computational Methods for Physics and Astrophysics II Elliptic Problems / Multigrid Summary of Hyperbolic PDEs We looked at a simple linear and a nonlinear scalar hyperbolic PDE There is a speed associated with the change of the solution Explicit methods

More information

Introduction to Scientific Computing II Multigrid

Introduction to Scientific Computing II Multigrid Introduction to Scientific Computing II Multigrid Miriam Mehl Slide 5: Relaxation Methods Properties convergence depends on method clear, see exercises and 3), frequency of the error remember eigenvectors

More information

Chapter 5. Methods for Solving Elliptic Equations

Chapter 5. Methods for Solving Elliptic Equations Chapter 5. Methods for Solving Elliptic Equations References: Tannehill et al Section 4.3. Fulton et al (1986 MWR). Recommended reading: Chapter 7, Numerical Methods for Engineering Application. J. H.

More information

Application of Wavelets to N body Particle In Cell Simulations

Application of Wavelets to N body Particle In Cell Simulations Application of Wavelets to N body Particle In Cell Simulations Balša Terzić (NIU) Northern Illinois University, Department of Physics April 7, 2006 Motivation Gaining insight into the dynamics of multi

More information

Solving PDEs with Multigrid Methods p.1

Solving PDEs with Multigrid Methods p.1 Solving PDEs with Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department of Applied Mathematics, University of Colorado at Boulder Solving PDEs with Multigrid Methods p.1 Support and Collaboration

More information

Multigrid absolute value preconditioning

Multigrid absolute value preconditioning Multigrid absolute value preconditioning Eugene Vecharynski 1 Andrew Knyazev 2 (speaker) 1 Department of Computer Science and Engineering University of Minnesota 2 Department of Mathematical and Statistical

More information

Algebraic Multigrid as Solvers and as Preconditioner

Algebraic Multigrid as Solvers and as Preconditioner Ò Algebraic Multigrid as Solvers and as Preconditioner Domenico Lahaye domenico.lahaye@cs.kuleuven.ac.be http://www.cs.kuleuven.ac.be/ domenico/ Department of Computer Science Katholieke Universiteit Leuven

More information

Conjugate Gradients: Idea

Conjugate Gradients: Idea Overview Steepest Descent often takes steps in the same direction as earlier steps Wouldn t it be better every time we take a step to get it exactly right the first time? Again, in general we choose a

More information

Particle In Cell Beam Dynamics Simulations With a Wavelet based Poisson Solver

Particle In Cell Beam Dynamics Simulations With a Wavelet based Poisson Solver Particle In Cell Beam Dynamics Simulations With a Wavelet based Poisson Solver Balša Terzić Beam Physics and Astrophysics Group, Department of Physics Northern Illinois University in collaboration with

More information

Lecture 18 Classical Iterative Methods

Lecture 18 Classical Iterative Methods Lecture 18 Classical Iterative Methods MIT 18.335J / 6.337J Introduction to Numerical Methods Per-Olof Persson November 14, 2006 1 Iterative Methods for Linear Systems Direct methods for solving Ax = b,

More information

Kasetsart University Workshop. Multigrid methods: An introduction

Kasetsart University Workshop. Multigrid methods: An introduction Kasetsart University Workshop Multigrid methods: An introduction Dr. Anand Pardhanani Mathematics Department Earlham College Richmond, Indiana USA pardhan@earlham.edu A copy of these slides is available

More information

Multigrid Methods and their application in CFD

Multigrid Methods and their application in CFD Multigrid Methods and their application in CFD Michael Wurst TU München 16.06.2009 1 Multigrid Methods Definition Multigrid (MG) methods in numerical analysis are a group of algorithms for solving differential

More information

Iterative Methods and Multigrid

Iterative Methods and Multigrid Iterative Methods and Multigrid Part 1: Introduction to Multigrid 2000 Eric de Sturler 1 12/02/09 MG01.prz Basic Iterative Methods (1) Nonlinear equation: f(x) = 0 Rewrite as x = F(x), and iterate x i+1

More information

Iterative Methods and Multigrid

Iterative Methods and Multigrid Iterative Methods and Multigrid Part 1: Introduction to Multigrid 1 12/02/09 MG02.prz Error Smoothing 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 Initial Solution=-Error 0 10 20 30 40 50 60 70 80 90 100 DCT:

More information

Iterative Methods and Multigrid

Iterative Methods and Multigrid Iterative Methods and Multigrid Part 3: Preconditioning 2 Eric de Sturler Preconditioning The general idea behind preconditioning is that convergence of some method for the linear system Ax = b can be

More information

Modeling of Space Charge Effects and Coherent Synchrotron Radiation in Bunch Compression Systems. Martin Dohlus DESY, Hamburg

Modeling of Space Charge Effects and Coherent Synchrotron Radiation in Bunch Compression Systems. Martin Dohlus DESY, Hamburg Modeling of Space Charge Effects and Coherent Synchrotron Radiation in Bunch Compression Systems Martin Dohlus DESY, Hamburg SC and CSR effects are crucial for design & simulation of BC systems CSR and

More information

Scientific Computing: An Introductory Survey

Scientific Computing: An Introductory Survey Scientific Computing: An Introductory Survey Chapter 11 Partial Differential Equations Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign Copyright c 2002.

More information

Partial Differential Equations

Partial Differential Equations Partial Differential Equations Introduction Deng Li Discretization Methods Chunfang Chen, Danny Thorne, Adam Zornes CS521 Feb.,7, 2006 What do You Stand For? A PDE is a Partial Differential Equation This

More information

A MULTIGRID ALGORITHM FOR. Richard E. Ewing and Jian Shen. Institute for Scientic Computation. Texas A&M University. College Station, Texas SUMMARY

A MULTIGRID ALGORITHM FOR. Richard E. Ewing and Jian Shen. Institute for Scientic Computation. Texas A&M University. College Station, Texas SUMMARY A MULTIGRID ALGORITHM FOR THE CELL-CENTERED FINITE DIFFERENCE SCHEME Richard E. Ewing and Jian Shen Institute for Scientic Computation Texas A&M University College Station, Texas SUMMARY In this article,

More information

Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners

Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners Eugene Vecharynski 1 Andrew Knyazev 2 1 Department of Computer Science and Engineering University of Minnesota 2 Department

More information

The Conjugate Gradient Method

The Conjugate Gradient Method The Conjugate Gradient Method Classical Iterations We have a problem, We assume that the matrix comes from a discretization of a PDE. The best and most popular model problem is, The matrix will be as large

More information

EFFICIENT MULTIGRID BASED SOLVERS FOR ISOGEOMETRIC ANALYSIS

EFFICIENT MULTIGRID BASED SOLVERS FOR ISOGEOMETRIC ANALYSIS 6th European Conference on Computational Mechanics (ECCM 6) 7th European Conference on Computational Fluid Dynamics (ECFD 7) 1115 June 2018, Glasgow, UK EFFICIENT MULTIGRID BASED SOLVERS FOR ISOGEOMETRIC

More information

Scientific Computing II

Scientific Computing II Technische Universität München ST 008 Institut für Informatik Dr. Miriam Mehl Scientific Computing II Final Exam, July, 008 Iterative Solvers (3 pts + 4 extra pts, 60 min) a) Steepest Descent and Conjugate

More information

PDE Solvers for Fluid Flow

PDE Solvers for Fluid Flow PDE Solvers for Fluid Flow issues and algorithms for the Streaming Supercomputer Eran Guendelman February 5, 2002 Topics Equations for incompressible fluid flow 3 model PDEs: Hyperbolic, Elliptic, Parabolic

More information

Aspects of Multigrid

Aspects of Multigrid Aspects of Multigrid Kees Oosterlee 1,2 1 Delft University of Technology, Delft. 2 CWI, Center for Mathematics and Computer Science, Amsterdam, SIAM Chapter Workshop Day, May 30th 2018 C.W.Oosterlee (CWI)

More information

Computer Simulation Using Particles

Computer Simulation Using Particles Computer Simulation Using Particles R W Hockney Emeritus Professor, University ofreading and J W Eastwood Culham Laboratory, Abingdon Institute of Physics Publishing Bristol and Philadelphia CONTENTS Foreword

More information

Stabilization and Acceleration of Algebraic Multigrid Method

Stabilization and Acceleration of Algebraic Multigrid Method Stabilization and Acceleration of Algebraic Multigrid Method Recursive Projection Algorithm A. Jemcov J.P. Maruszewski Fluent Inc. October 24, 2006 Outline 1 Need for Algorithm Stabilization and Acceleration

More information

Computational Linear Algebra

Computational Linear Algebra Computational Linear Algebra PD Dr. rer. nat. habil. Ralf-Peter Mundani Computation in Engineering / BGU Scientific Computing in Computer Science / INF Winter Term 2018/19 Part 4: Iterative Methods PD

More information

New Multigrid Solver Advances in TOPS

New Multigrid Solver Advances in TOPS New Multigrid Solver Advances in TOPS R D Falgout 1, J Brannick 2, M Brezina 2, T Manteuffel 2 and S McCormick 2 1 Center for Applied Scientific Computing, Lawrence Livermore National Laboratory, P.O.

More information

EFFICIENT 3D POISSON SOLVERS FOR SPACE-CHARGE SIMULATION

EFFICIENT 3D POISSON SOLVERS FOR SPACE-CHARGE SIMULATION Abstract EFFICIENT 3D POISSON SOLVERS FOR SPACE-CHARGE SIMULATION Three-dimensional Poisson solver plays an important role in the self-consistent space-charge simulation. In this paper, we present several

More information

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 9

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 9 Spring 2015 Lecture 9 REVIEW Lecture 8: Direct Methods for solving (linear) algebraic equations Gauss Elimination LU decomposition/factorization Error Analysis for Linear Systems and Condition Numbers

More information

A Comparison of Solving the Poisson Equation Using Several Numerical Methods in Matlab and Octave on the Cluster maya

A Comparison of Solving the Poisson Equation Using Several Numerical Methods in Matlab and Octave on the Cluster maya A Comparison of Solving the Poisson Equation Using Several Numerical Methods in Matlab and Octave on the Cluster maya Sarah Swatski, Samuel Khuvis, and Matthias K. Gobbert (gobbert@umbc.edu) Department

More information

University of Illinois at Urbana-Champaign. Multigrid (MG) methods are used to approximate solutions to elliptic partial differential

University of Illinois at Urbana-Champaign. Multigrid (MG) methods are used to approximate solutions to elliptic partial differential Title: Multigrid Methods Name: Luke Olson 1 Affil./Addr.: Department of Computer Science University of Illinois at Urbana-Champaign Urbana, IL 61801 email: lukeo@illinois.edu url: http://www.cs.uiuc.edu/homes/lukeo/

More information

Fast Simulation of FEL Linacs with Collective Effects. M. Dohlus FLS 2018

Fast Simulation of FEL Linacs with Collective Effects. M. Dohlus FLS 2018 Fast Simulation of FEL Linacs with Collective Effects M. Dohlus FLS 2018 A typical X-FEL gun environment photo cathode cavity, solenoid, drift straight cavity, quadrupole, drift dispersive bend, quadrupole,

More information

6. Multigrid & Krylov Methods. June 1, 2010

6. Multigrid & Krylov Methods. June 1, 2010 June 1, 2010 Scientific Computing II, Tobias Weinzierl page 1 of 27 Outline of This Session A recapitulation of iterative schemes Lots of advertisement Multigrid Ingredients Multigrid Analysis Scientific

More information

Review: From problem to parallel algorithm

Review: From problem to parallel algorithm Review: From problem to parallel algorithm Mathematical formulations of interesting problems abound Poisson s equation Sources: Electrostatics, gravity, fluid flow, image processing (!) Numerical solution:

More information

Lecture 17: Iterative Methods and Sparse Linear Algebra

Lecture 17: Iterative Methods and Sparse Linear Algebra Lecture 17: Iterative Methods and Sparse Linear Algebra David Bindel 25 Mar 2014 Logistics HW 3 extended to Wednesday after break HW 4 should come out Monday after break Still need project description

More information

APPLIED NUMERICAL LINEAR ALGEBRA

APPLIED NUMERICAL LINEAR ALGEBRA APPLIED NUMERICAL LINEAR ALGEBRA James W. Demmel University of California Berkeley, California Society for Industrial and Applied Mathematics Philadelphia Contents Preface 1 Introduction 1 1.1 Basic Notation

More information

Chapter 7 Iterative Techniques in Matrix Algebra

Chapter 7 Iterative Techniques in Matrix Algebra Chapter 7 Iterative Techniques in Matrix Algebra Per-Olof Persson persson@berkeley.edu Department of Mathematics University of California, Berkeley Math 128B Numerical Analysis Vector Norms Definition

More information

Von Neumann Analysis of Jacobi and Gauss-Seidel Iterations

Von Neumann Analysis of Jacobi and Gauss-Seidel Iterations Von Neumann Analysis of Jacobi and Gauss-Seidel Iterations We consider the FDA to the 1D Poisson equation on a grid x covering [0,1] with uniform spacing h, h (u +1 u + u 1 ) = f whose exact solution (to

More information

Bootstrap AMG. Kailai Xu. July 12, Stanford University

Bootstrap AMG. Kailai Xu. July 12, Stanford University Bootstrap AMG Kailai Xu Stanford University July 12, 2017 AMG Components A general AMG algorithm consists of the following components. A hierarchy of levels. A smoother. A prolongation. A restriction.

More information

HW4, Math 228A. Multigrid Solver. Fall 2010

HW4, Math 228A. Multigrid Solver. Fall 2010 HW4, Math 228A. Multigrid Solver Date due 11/30/2010 UC Davis, California Fall 2010 Nasser M. Abbasi Fall 2010 Compiled on January 20, 2019 at 4:13am [public] Contents 1 Problem 1 3 1.1 Restriction and

More information

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences)

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences) AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences) Lecture 19: Computing the SVD; Sparse Linear Systems Xiangmin Jiao Stony Brook University Xiangmin Jiao Numerical

More information

Multigrid finite element methods on semi-structured triangular grids

Multigrid finite element methods on semi-structured triangular grids XXI Congreso de Ecuaciones Diferenciales y Aplicaciones XI Congreso de Matemática Aplicada Ciudad Real, -5 septiembre 009 (pp. 8) Multigrid finite element methods on semi-structured triangular grids F.J.

More information

Computation Fluid Dynamics

Computation Fluid Dynamics Computation Fluid Dynamics CFD I Jitesh Gajjar Maths Dept Manchester University Computation Fluid Dynamics p.1/189 Garbage In, Garbage Out We will begin with a discussion of errors. Useful to understand

More information

Numerical Programming I (for CSE)

Numerical Programming I (for CSE) Technische Universität München WT 1/13 Fakultät für Mathematik Prof. Dr. M. Mehl B. Gatzhammer January 1, 13 Numerical Programming I (for CSE) Tutorial 1: Iterative Methods 1) Relaxation Methods a) Let

More information

Notes for CS542G (Iterative Solvers for Linear Systems)

Notes for CS542G (Iterative Solvers for Linear Systems) Notes for CS542G (Iterative Solvers for Linear Systems) Robert Bridson November 20, 2007 1 The Basics We re now looking at efficient ways to solve the linear system of equations Ax = b where in this course,

More information

A multigrid method for large scale inverse problems

A multigrid method for large scale inverse problems A multigrid method for large scale inverse problems Eldad Haber Dept. of Computer Science, Dept. of Earth and Ocean Science University of British Columbia haber@cs.ubc.ca July 4, 2003 E.Haber: Multigrid

More information

Research Article Evaluation of the Capability of the Multigrid Method in Speeding Up the Convergence of Iterative Methods

Research Article Evaluation of the Capability of the Multigrid Method in Speeding Up the Convergence of Iterative Methods International Scholarly Research Network ISRN Computational Mathematics Volume 212, Article ID 172687, 5 pages doi:1.542/212/172687 Research Article Evaluation of the Capability of the Multigrid Method

More information

Compact High Order Finite Difference Stencils for Elliptic Variable Coefficient and Interface Problems

Compact High Order Finite Difference Stencils for Elliptic Variable Coefficient and Interface Problems Compact High Order Finite Difference Stencils for Elliptic Variable Coefficient and Interface Problems Daniel Ritter 1, Ulrich Rüde 1, Björn Gmeiner 1, Rochus Schmid 2 Copper Mountain, March 18th, 2013

More information

Multigrid and Domain Decomposition Methods for Electrostatics Problems

Multigrid and Domain Decomposition Methods for Electrostatics Problems Multigrid and Domain Decomposition Methods for Electrostatics Problems Michael Holst and Faisal Saied Abstract. We consider multigrid and domain decomposition methods for the numerical solution of electrostatics

More information

Newton-Multigrid Least-Squares FEM for S-V-P Formulation of the Navier-Stokes Equations

Newton-Multigrid Least-Squares FEM for S-V-P Formulation of the Navier-Stokes Equations Newton-Multigrid Least-Squares FEM for S-V-P Formulation of the Navier-Stokes Equations A. Ouazzi, M. Nickaeen, S. Turek, and M. Waseem Institut für Angewandte Mathematik, LSIII, TU Dortmund, Vogelpothsweg

More information

FEM and Sparse Linear System Solving

FEM and Sparse Linear System Solving FEM & sparse system solving, Lecture 7, Nov 3, 2017 1/46 Lecture 7, Nov 3, 2015: Introduction to Iterative Solvers: Stationary Methods http://people.inf.ethz.ch/arbenz/fem16 Peter Arbenz Computer Science

More information

Multiscale Modelling, taking into account Collisions

Multiscale Modelling, taking into account Collisions Multiscale Modelling, taking into account Collisions Andreas Adelmann (Paul Scherrer Institut) October 28, 2017 Multiscale Modelling, taking into account Collisions October 28, 2017 Page 1 / 22 1 Motivation

More information

Adaptive algebraic multigrid methods in lattice computations

Adaptive algebraic multigrid methods in lattice computations Adaptive algebraic multigrid methods in lattice computations Karsten Kahl Bergische Universität Wuppertal January 8, 2009 Acknowledgements Matthias Bolten, University of Wuppertal Achi Brandt, Weizmann

More information

A SHORT NOTE COMPARING MULTIGRID AND DOMAIN DECOMPOSITION FOR PROTEIN MODELING EQUATIONS

A SHORT NOTE COMPARING MULTIGRID AND DOMAIN DECOMPOSITION FOR PROTEIN MODELING EQUATIONS A SHORT NOTE COMPARING MULTIGRID AND DOMAIN DECOMPOSITION FOR PROTEIN MODELING EQUATIONS MICHAEL HOLST AND FAISAL SAIED Abstract. We consider multigrid and domain decomposition methods for the numerical

More information

Constrained Minimization and Multigrid

Constrained Minimization and Multigrid Constrained Minimization and Multigrid C. Gräser (FU Berlin), R. Kornhuber (FU Berlin), and O. Sander (FU Berlin) Workshop on PDE Constrained Optimization Hamburg, March 27-29, 2008 Matheon Outline Successive

More information

Space Charge in High Current Lower Energy Electron Bunches

Space Charge in High Current Lower Energy Electron Bunches Space Charge in High Current Lower Energy Electron Bunches DESY Workshop June 20th 2006, S. Becker, F. Grüner, U. Schramm, R. Sousa, T. Eichner, D. Habs Self acceleration: Results from CSRtrack vs. GPT

More information

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems Index A-conjugate directions, 83 A-stability, 171 A( )-stability, 171 absolute error, 243 absolute stability, 149 for systems of equations, 154 absorbing boundary conditions, 228 Adams Bashforth methods,

More information

Goal-oriented error control of the iterative solution of finite element equations

Goal-oriented error control of the iterative solution of finite element equations J. Numer. Math., Vol. 0, No. 0, pp. 1 31 (2009) DOI 10.1515/ JNUM.2009.000 c de Gruyter 2009 Prepared using jnm.sty [Version: 20.02.2007 v1.3] Goal-oriented error control of the iterative solution of finite

More information

Linac Beam Dynamics Code Benchmarking

Linac Beam Dynamics Code Benchmarking Journal of Modern Physics, 2015, 6, 1044-1050 Published Online July 2015 in SciRes. http://www.scirp.org/journal/jmp http://dx.doi.org/10.4236/jmp.2015.68108 Linac Beam Dynamics Code Benchmarking Xuejun

More information

Iterative Methods for Solving A x = b

Iterative Methods for Solving A x = b Iterative Methods for Solving A x = b A good (free) online source for iterative methods for solving A x = b is given in the description of a set of iterative solvers called templates found at netlib: http

More information

Multigrid Method for 2D Helmholtz Equation using Higher Order Finite Difference Scheme Accelerated by Krylov Subspace

Multigrid Method for 2D Helmholtz Equation using Higher Order Finite Difference Scheme Accelerated by Krylov Subspace 201, TextRoad Publication ISSN: 2090-27 Journal of Applied Environmental and Biological Sciences www.textroad.com Multigrid Method for 2D Helmholtz Equation using Higher Order Finite Difference Scheme

More information

CEA Saclay Codes Review for High Intensities Linacs Computations

CEA Saclay Codes Review for High Intensities Linacs Computations CEA Saclay Codes Review for High Intensities Linacs Computations Romuald Duperrier, Nicolas Pichoff, Didier Uriot CEA, 91191 Gif sur Yvette Cedex, France rduperrier@cea.fr; npichoff@cea.fr; duriot@cea.fr

More information

K.S. Kang. The multigrid method for an elliptic problem on a rectangular domain with an internal conductiong structure and an inner empty space

K.S. Kang. The multigrid method for an elliptic problem on a rectangular domain with an internal conductiong structure and an inner empty space K.S. Kang The multigrid method for an elliptic problem on a rectangular domain with an internal conductiong structure and an inner empty space IPP 5/128 September, 2011 The multigrid method for an elliptic

More information

Splitting Iteration Methods for Positive Definite Linear Systems

Splitting Iteration Methods for Positive Definite Linear Systems Splitting Iteration Methods for Positive Definite Linear Systems Zhong-Zhi Bai a State Key Lab. of Sci./Engrg. Computing Inst. of Comput. Math. & Sci./Engrg. Computing Academy of Mathematics and System

More information

(M. Bowler, C. Gerth, F. Hannon, H. Owen, B. Shepherd, S. Smith, N. Thompson, E. Wooldridge, N. Wyles)

(M. Bowler, C. Gerth, F. Hannon, H. Owen, B. Shepherd, S. Smith, N. Thompson, E. Wooldridge, N. Wyles) Optics considerations for ERL test facilities Bruno Muratori ASTeC Daresbury Laboratory (M. Bowler, C. Gerth, F. Hannon, H. Owen, B. Shepherd, S. Smith, N. Thompson, E. Wooldridge, N. Wyles) Overview Optics

More information

9.1 Preconditioned Krylov Subspace Methods

9.1 Preconditioned Krylov Subspace Methods Chapter 9 PRECONDITIONING 9.1 Preconditioned Krylov Subspace Methods 9.2 Preconditioned Conjugate Gradient 9.3 Preconditioned Generalized Minimal Residual 9.4 Relaxation Method Preconditioners 9.5 Incomplete

More information

arxiv: v1 [math.na] 11 Jul 2011

arxiv: v1 [math.na] 11 Jul 2011 Multigrid Preconditioner for Nonconforming Discretization of Elliptic Problems with Jump Coefficients arxiv:07.260v [math.na] Jul 20 Blanca Ayuso De Dios, Michael Holst 2, Yunrong Zhu 2, and Ludmil Zikatanov

More information

Multigrid Method ZHONG-CI SHI. Institute of Computational Mathematics Chinese Academy of Sciences, Beijing, China. Joint work: Xuejun Xu

Multigrid Method ZHONG-CI SHI. Institute of Computational Mathematics Chinese Academy of Sciences, Beijing, China. Joint work: Xuejun Xu Multigrid Method ZHONG-CI SHI Institute of Computational Mathematics Chinese Academy of Sciences, Beijing, China Joint work: Xuejun Xu Outline Introduction Standard Cascadic Multigrid method(cmg) Economical

More information

modeling of space charge effects and CSR in bunch compression systems

modeling of space charge effects and CSR in bunch compression systems modeling of space charge effects and CSR in bunch compression systems SC and CSR effects are crucial for the simulation of BC systems CSR and related effects are challenging for EM field calculation non-csr

More information

Intro. Lecture 04: Numerical Methods for Particle and Distribution Methods: Introduction to the PIC Method *

Intro. Lecture 04: Numerical Methods for Particle and Distribution Methods: Introduction to the PIC Method * Intro. Lecture 04: Numerical Methods for Particle and Distribution Methods: Introduction to the PIC Method * Prof. Steven M. Lund Physics and Astronomy Department Facility for Rare Isotope Beams (FRIB)

More information

OUTLINE ffl CFD: elliptic pde's! Ax = b ffl Basic iterative methods ffl Krylov subspace methods ffl Preconditioning techniques: Iterative methods ILU

OUTLINE ffl CFD: elliptic pde's! Ax = b ffl Basic iterative methods ffl Krylov subspace methods ffl Preconditioning techniques: Iterative methods ILU Preconditioning Techniques for Solving Large Sparse Linear Systems Arnold Reusken Institut für Geometrie und Praktische Mathematik RWTH-Aachen OUTLINE ffl CFD: elliptic pde's! Ax = b ffl Basic iterative

More information

Geometric Multigrid Methods for the Helmholtz equations

Geometric Multigrid Methods for the Helmholtz equations Geometric Multigrid Methods for the Helmholtz equations Ira Livshits Ball State University RICAM, Linz, 4, 6 November 20 Ira Livshits (BSU) - November 20, Linz / 83 Multigrid Methods Aim: To understand

More information

Adaptive Multigrid for QCD. Lattice University of Regensburg

Adaptive Multigrid for QCD. Lattice University of Regensburg Lattice 2007 University of Regensburg Michael Clark Boston University with J. Brannick, R. Brower, J. Osborn and C. Rebbi -1- Lattice 2007, University of Regensburg Talk Outline Introduction to Multigrid

More information

Bindel, Fall 2016 Matrix Computations (CS 6210) Notes for

Bindel, Fall 2016 Matrix Computations (CS 6210) Notes for 1 Iteration basics Notes for 2016-11-07 An iterative solver for Ax = b is produces a sequence of approximations x (k) x. We always stop after finitely many steps, based on some convergence criterion, e.g.

More information

AMG for a Peta-scale Navier Stokes Code

AMG for a Peta-scale Navier Stokes Code AMG for a Peta-scale Navier Stokes Code James Lottes Argonne National Laboratory October 18, 2007 The Challenge Develop an AMG iterative method to solve Poisson 2 u = f discretized on highly irregular

More information

Intro. Lecture 04: Numerical Methods for Particle and Distribution Methods: Introduction to the PIC Method *

Intro. Lecture 04: Numerical Methods for Particle and Distribution Methods: Introduction to the PIC Method * Intro. Lecture 04: Numerical Methods for Particle and Distribution Methods: Introduction to the PIC Method * Prof. Steven M. Lund Physics and Astronomy Department Facility for Rare Isotope Beams (FRIB)

More information

Multigrid solvers for equations arising in implicit MHD simulations

Multigrid solvers for equations arising in implicit MHD simulations Multigrid solvers for equations arising in implicit MHD simulations smoothing Finest Grid Mark F. Adams Department of Applied Physics & Applied Mathematics Columbia University Ravi Samtaney PPPL Achi Brandt

More information

arxiv: v1 [physics.acc-ph] 21 Nov 2011

arxiv: v1 [physics.acc-ph] 21 Nov 2011 arxiv:1111.4971v1 [physics.acc-ph] 21 Nov 2011 On FFT based convolutions and correlations, with application to solving Poisson s equation in an open rectangular pipe Abstract Robert D. Ryne Lawrence Berkeley

More information

The introduction to learning Poisson/Superfish & Astra codes. Sara Zarei Winter 96

The introduction to learning Poisson/Superfish & Astra codes. Sara Zarei Winter 96 The introduction to learning Poisson/Superfish & Astra codes Sara Zarei Winter 96 Electromagnetic field simulation code POISSON/SUPERFISH MAGIC MAFIA COMSOL CST HFSS FEMLAB, ect. Beam Dynamic code ASTRA

More information

Sparse Matrix Techniques for MCAO

Sparse Matrix Techniques for MCAO Sparse Matrix Techniques for MCAO Luc Gilles lgilles@mtu.edu Michigan Technological University, ECE Department Brent Ellerbroek bellerbroek@gemini.edu Gemini Observatory Curt Vogel vogel@math.montana.edu

More information

Iterative Solvers in the Finite Element Solution of Transient Heat Conduction

Iterative Solvers in the Finite Element Solution of Transient Heat Conduction Iterative Solvers in the Finite Element Solution of Transient Heat Conduction Mile R. Vuji~i} PhD student Steve G.R. Brown Senior Lecturer Materials Research Centre School of Engineering University of

More information

CSR calculation by paraxial approximation

CSR calculation by paraxial approximation CSR calculation by paraxial approximation Tomonori Agoh (KEK) Seminar at Stanford Linear Accelerator Center, March 3, 2006 Short Bunch Introduction Colliders for high luminosity ERL for short duration

More information

MA3232 Numerical Analysis Week 9. James Cooley (1926-)

MA3232 Numerical Analysis Week 9. James Cooley (1926-) MA umerical Analysis Week 9 James Cooley (96-) James Cooley is an American mathematician. His most significant contribution to the world of mathematics and digital signal processing is the Fast Fourier

More information

Simulating Solid Tumor Growth using Multigrid Algorithms

Simulating Solid Tumor Growth using Multigrid Algorithms Simulating Solid Tumor Growth using Multigrid Applied Mathematics, Statistics, and Program Advisor: Doron Levy, PhD Department of Mathematics/CSCAMM University of Maryland, College Park September 30, 2014

More information

INTRODUCTION TO MULTIGRID METHODS

INTRODUCTION TO MULTIGRID METHODS INTRODUCTION TO MULTIGRID METHODS LONG CHEN 1. ALGEBRAIC EQUATION OF TWO POINT BOUNDARY VALUE PROBLEM We consider the discretization of Poisson equation in one dimension: (1) u = f, x (0, 1) u(0) = u(1)

More information

Goal-oriented error control of the iterative solution of finite element equations

Goal-oriented error control of the iterative solution of finite element equations J. Numer. Math., Vol. 17, No. 2, pp. 143 172 (2009) DOI 10.1515/ JNUM.2009.009 c de Gruyter 2009 Goal-oriented error control of the iterative solution of finite element equations D. MEIDNER, R. RANNACHER,

More information

Comparison of Fixed Point Methods and Krylov Subspace Methods Solving Convection-Diffusion Equations

Comparison of Fixed Point Methods and Krylov Subspace Methods Solving Convection-Diffusion Equations American Journal of Computational Mathematics, 5, 5, 3-6 Published Online June 5 in SciRes. http://www.scirp.org/journal/ajcm http://dx.doi.org/.436/ajcm.5.5 Comparison of Fixed Point Methods and Krylov

More information

Discretization of PDEs and Tools for the Parallel Solution of the Resulting Systems

Discretization of PDEs and Tools for the Parallel Solution of the Resulting Systems Discretization of PDEs and Tools for the Parallel Solution of the Resulting Systems Stan Tomov Innovative Computing Laboratory Computer Science Department The University of Tennessee Wednesday April 4,

More information

Lab 1: Iterative Methods for Solving Linear Systems

Lab 1: Iterative Methods for Solving Linear Systems Lab 1: Iterative Methods for Solving Linear Systems January 22, 2017 Introduction Many real world applications require the solution to very large and sparse linear systems where direct methods such as

More information

Robust solution of Poisson-like problems with aggregation-based AMG

Robust solution of Poisson-like problems with aggregation-based AMG Robust solution of Poisson-like problems with aggregation-based AMG Yvan Notay Université Libre de Bruxelles Service de Métrologie Nucléaire Paris, January 26, 215 Supported by the Belgian FNRS http://homepages.ulb.ac.be/

More information