On the choice of abstract projection vectors for second level preconditioners

Similar documents
Various ways to use a second level preconditioner

C. Vuik 1 R. Nabben 2 J.M. Tang 1

Robust Preconditioned Conjugate Gradient for the GPU and Parallel Implementations

On deflation and singular symmetric positive semi-definite matrices

Master Thesis Literature Study Presentation

THEORETICAL AND NUMERICAL COMPARISON OF PROJECTION METHODS DERIVED FROM DEFLATION, DOMAIN DECOMPOSITION AND MULTIGRID METHODS

DELFT UNIVERSITY OF TECHNOLOGY

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

Indefinite and physics-based preconditioning

The Deflation Accelerated Schwarz Method for CFD

A COMPARISON OF TWO-LEVEL PRECONDITIONERS BASED ON MULTIGRID AND DEFLATION

Iterative Helmholtz Solvers

Notes on Some Methods for Solving Linear Systems

Jae Heon Yun and Yu Du Han

DELFT UNIVERSITY OF TECHNOLOGY

The Conjugate Gradient Method

Boundary Value Problems - Solving 3-D Finite-Difference problems Jacob White

Parallel sparse linear solvers and applications in CFD

9.1 Preconditioned Krylov Subspace Methods

Conjugate Gradient Method

Efficient Estimation of the A-norm of the Error in the Preconditioned Conjugate Gradient Method

Lecture # 20 The Preconditioned Conjugate Gradient Method

Applied Mathematics 205. Unit V: Eigenvalue Problems. Lecturer: Dr. David Knezevic

A Chebyshev-based two-stage iterative method as an alternative to the direct solution of linear systems

The Lanczos and conjugate gradient algorithms

Iterative Solvers in the Finite Element Solution of Transient Heat Conduction

Key words. conjugate gradients, normwise backward error, incremental norm estimation.

A decade of fast and robust Helmholtz solvers

Efficient Estimation of the A-norm of the Error in the Preconditioned Conjugate Gradient Method

Linear and Non-Linear Preconditioning

Multilevel spectral coarse space methods in FreeFem++ on parallel architectures

Topics. The CG Algorithm Algorithmic Options CG s Two Main Convergence Theorems

DELFT UNIVERSITY OF TECHNOLOGY

AMG for a Peta-scale Navier Stokes Code

Toward black-box adaptive domain decomposition methods

Scalable Domain Decomposition Preconditioners For Heterogeneous Elliptic Problems

Conjugate gradient method. Descent method. Conjugate search direction. Conjugate Gradient Algorithm (294)

ITERATIVE METHODS BASED ON KRYLOV SUBSPACES

Computational Linear Algebra

Linear and Non-Linear Preconditioning

Lecture 18 Classical Iterative Methods

DELFT UNIVERSITY OF TECHNOLOGY

Linear Solvers. Andrew Hazel

arxiv: v2 [math.na] 1 Sep 2016

A PRECONDITIONER FOR THE HELMHOLTZ EQUATION WITH PERFECTLY MATCHED LAYER

Solutions and Notes to Selected Problems In: Numerical Optimzation by Jorge Nocedal and Stephen J. Wright.

Conjugate Gradient algorithm. Storage: fixed, independent of number of steps.

AN INTRODUCTION TO DOMAIN DECOMPOSITION METHODS. Gérard MEURANT CEA

DELFT UNIVERSITY OF TECHNOLOGY

Chapter 7 Iterative Techniques in Matrix Algebra

DELFT UNIVERSITY OF TECHNOLOGY

Introduction to Iterative Solvers of Linear Systems

DELFT UNIVERSITY OF TECHNOLOGY

AMS526: Numerical Analysis I (Numerical Linear Algebra) Lecture 23: GMRES and Other Krylov Subspace Methods; Preconditioning

Lab 1: Iterative Methods for Solving Linear Systems

Solving Large Nonlinear Sparse Systems

Adaptive algebraic multigrid methods in lattice computations

Algebraic Multigrid as Solvers and as Preconditioner

Parallel Numerics, WT 2016/ Iterative Methods for Sparse Linear Systems of Equations. page 1 of 1

Multipréconditionnement adaptatif pour les méthodes de décomposition de domaine. Nicole Spillane (CNRS, CMAP, École Polytechnique)

Department of Computer Science, University of Illinois at Urbana-Champaign

CONVERGENCE BOUNDS FOR PRECONDITIONED GMRES USING ELEMENT-BY-ELEMENT ESTIMATES OF THE FIELD OF VALUES

Comparison of the deflated preconditioned conjugate gradient method and algebraic multigrid for composite materials

7.2 Steepest Descent and Preconditioning

Multilevel Preconditioning of Graph-Laplacians: Polynomial Approximation of the Pivot Blocks Inverses

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

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Lecture 11: CMSC 878R/AMSC698R. Iterative Methods An introduction. Outline. Inverse, LU decomposition, Cholesky, SVD, etc.

Poisson Equation in 2D

Contribution of Wo¹niakowski, Strako²,... The conjugate gradient method in nite precision computa

Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners

Une méthode parallèle hybride à deux niveaux interfacée dans un logiciel d éléments finis

arxiv: v2 [math.na] 1 Feb 2013

Newton s Method and Efficient, Robust Variants

Implementation of the Deflated Pre-conditioned Conjugate Gradient Method applied to the Poisson equation related to bubbly flow on the GPU

Preconditioning Techniques Analysis for CG Method

Contents. Preface... xi. Introduction...

A Robust Preconditioned Iterative Method for the Navier-Stokes Equations with High Reynolds Numbers

Chebyshev semi-iteration in Preconditioning

APPLIED NUMERICAL LINEAR ALGEBRA

Spectral analysis of complex shifted-laplace preconditioners for the Helmholtz equation

Preface to the Second Edition. Preface to the First Edition

1 Conjugate gradients

BETI for acoustic and electromagnetic scattering

Multigrid absolute value preconditioning

Robust Domain Decomposition Preconditioners for Abstract Symmetric Positive Definite Bilinear Forms

Recent advances in HPC with FreeFem++

Structure preserving preconditioner for the incompressible Navier-Stokes equations

Preconditioners for the incompressible Navier Stokes equations

Computational Linear Algebra

AMS526: Numerical Analysis I (Numerical Linear Algebra)

DELFT UNIVERSITY OF TECHNOLOGY

Iterative Methods for Sparse Linear Systems

The solution of the discretized incompressible Navier-Stokes equations with iterative methods

Migration with Implicit Solvers for the Time-harmonic Helmholtz

Accelerated Solvers for CFD

PDE Solvers for Fluid Flow

Splitting Iteration Methods for Positive Definite Linear Systems

M.A. Botchev. September 5, 2014

Notes on PCG for Sparse Linear Systems

Transcription:

On the choice of abstract projection vectors for second level preconditioners C. Vuik 1, J.M. Tang 1, and R. Nabben 2 1 Delft University of Technology 2 Technische Universität Berlin Institut für Mathematik ECCOMAS 2008 July, 2008 1 / 22

Outline 1 Introduction 2 Second level preconditioners 3 Choice of vectors 4 Level set vectors 5 Numerical experiments 6 Conclusions 2 / 22

Introduction Bubbly flow Background Simulation of flows with bubbles and droplets Flow governed by the Navier-Stokes equations with unknowns p an d u: 8 < u + u u + 1 t ρ p = 1 ρ µ ` u + u T + g : u = 0 Solution using operator-splitting methods 3 / 22

Introduction Problem Setting Most Time-Consuming Part in Operator-Splitting Methods Solve the linear system Ax = b, A R n n where A is large, sparse, SPSD, ill-conditioned and is originating from the pressure equation Origin of Linear System Poisson equation with discontinuous density ρ: «1 div ρ p = f with Neumann boundary conditions 4 / 22

Introduction Traditional Krylov Solvers Preconditioned Conjugate Gradients Method (PCG) 1 Solve iteratively: M 1 Ax = M 1 b where M is a traditional preconditioner that resembles A Requirements for Preconditioner M Mz = y is relatively easy to solve M 1 A has a smaller condition number than A Theorem 2 Exact error of PCG after iteration j:! j p κ(m x x j A 2 x x 0 1 A) 1 A p κ(m 1 A) + 1 1 M.R. HESTENES AND E. STIEFEL, Methods of conjugate gradients for solving linear systems, J. Research Nat. Bur. Standards, 49, pp. 5 / 22 409 436, 1952. 2 D.G. LUENBERGER, Introduction to Linear and Nonlinear Programming, Addison-Wesley Publishing Company, 1973.

Introduction Traditional Krylov Solvers Problem of PCG The spectrum of M 1 A contains a number of small eigenvalues Consequence κ `M 1 A is large Slow convergence of the iterative process Question Can the convergence of PCG be improved by eliminating those small eigenvalues in some way? 6 / 22

Second level preconditioners Second level preconditioners Various choices are possible Projection vectors Physical vectors, eigenvectors, domain decomposition vectors (constant, linear,...) Projection method Deflation, coarse grid projection, balancing, augmented, FETI Implementation sparseness, with(out) using projection properties, optimized, stability, rounding errors,... 7 / 22

Second level preconditioners Deflated Krylov History Krylov Ar 1950 Preconditioned Krylov M 1 Ar 1980 Block Preconditioned Krylov rp (M 1 )Ar i i=1 1990 Block Preconditioned Deflated Krylov rp (M 1 )PAr i i=1 2000 8 / 22

Second level preconditioners Deflated ICCG Preliminaries A is SPD, Conjugate Gradients P = I AZE 1 Z T with E = Z T AZ and Z = [z 1...z r], where z 1,..., z r are independent deflation vectors. Properties 1 P T Z = 0 and PAZ = 0 2 P 2 = P 3 AP T = PA 9 / 22

Second level preconditioners Deflated ICCG Decomposition x = (I P T )x + P T x (I P T )x = ZE 1 Z T Ax = ZE 1 Z T b, AP T x = PAx = Pb DICCG k = 0, ˆr 0 = Pr 0, p 1 = z 1 = L T L 1ˆr 0 ; while ˆr k 2 > ε do k = k + 1; α k = (ˆr k 1,z k 1 ) (p k,pap k ) ; x k = x k 1 + α k p k ; ˆr k = ˆr k 1 α k PAp k ; z k = L T L 1ˆr k ; β k = (ˆr k,z k ) (ˆr k 1,z k 1 ) ; p k+1 = z k + β k p k ; end while 10 / 22

Choice of vectors Choice of vectors Ideal Choice of Z Z consists of eigenvectors associated with small eigenvalues of M 1 A Problem Ideal Choice of Z These eigenvectors are too expensive to compute in practice and are not sparse Alternative Choice of Z Find projection vectors such that they approximate these eigenvectors are sparse are easy to parallelize First step: Analyze small eigenvalues and corresponding eigenvectors 11 / 22

Choice of vectors Analysis of Eigenvalues and Eigenvectors Properties of Spectrum of M 1 A Spectrum contains two classes of small eigenvalues: O(10 3 )-eigenvalues corresponding with bubbles Small O(1)-eigenvalues One should get rid of these eigenvalues 12 / 22

Choice of vectors Analysis of Eigenvalues and Eigenvectors Eigenvectors associated with O(10 3 )-eigenvalues constant in bubbles linear elsewhere Approximations The vectors remain good approximations of the eigenvectors if the linear parts are perturbed arbitrarily the constant part are perturbed by a constant Consequence Level set projection vectors can approximate these eigenvectors Note: the level set function is used as an indication function of the bubbles 13 / 22

Level set vectors Level set vectors Ω Ω 1 Ω 2 Projection subspace matrix Z = [z 1 z 2 z r] consists of (z j ) i = j 0, xi Ω \ Ω j 1, x i Ω j 14 / 22

Level set vectors Subdomain Projection Ω Ω Ω Ω 1 2 Ω 3 4 Projection subspace matrix Z = [z 1 z 2 z r] consists of (z j ) i = j 0, xi Ω \ Ω j 1, x i Ω j 15 / 22

Level set vectors Properties of Projection Vectors Level set Projection Vectors Projection of O(10 3 )-eigenvalues to zero Very sparse structure Only a few vectors required Change at each time step Subdomain Projection Vectors Projection of O(1)-eigenvalues to zero Sparse structure Reasonable number of vectors required The same for all time steps 16 / 22

Level set vectors Further Analysis Combination of Level set and Subdomain Projection Both approaches can be combined leading to level set-subdomain projection: 1 3 6 4 2 5 8 11 7 10 9 12 Properties of Level set-subdomain Projection Vectors Projection of both O(10 3 )- and O(1)-eigenvalues to zero Sparse structure Many level set-subdomain projection vectors are required Change at each time step 17 / 22

Numerical experiments Problem with 5 bubbles, contrast 10 6 and varying grid size n = 16 2 n = 32 2 n = 64 2 Deflation Method k # It. CPU # It. CPU # It. CPU ICCG 39 0.04 82 0.53 159 10.92 S-DICCG k 3 37 0.12 80 0.67 194 14.01 15 36 0.07 97 0.80 193 13.82 63 19 0.11 16 0.20 26 2.14 L-DICCG k 4 17 0.09 37 0.37 75 6.17 LS-DICCG k 11 14 0.07 30 0.29 54 4.08 35 10 0.08 21 0.32 40 3.05 83 15 0.20 25 2.05 18 / 22

Numerical experiments Problem with 5 bubbles, n = 64 2 and varying contrast ǫ = 10 3 ǫ = 10 6 Deflation Method k # It. CPU # It. CPU ICCG 118 8.12 159 10.92 S-DICCG k 3 134 9.79 194 14.01 15 131 9.60 193 13.82 63 26 2.31 26 2.14 L-DICCG k 4 74 5.98 75 6.17 LS-DICCG k 11 54 4.05 54 4.08 35 40 3.08 40 3.05 83 25 2.46 25 2.41 19 / 22

Numerical experiments Problem with a varying number of bubbles, n = 64 2 and contrast 10 6 Number of bubbles 1 2 5 Deflation Method k # It. CPU k # It. CPU k # It. CPU ICCG 89 6.13 104 7.20 159 10.92 S-DICCG k 3 96 7.39 3 69 5.13 3 194 14.01 15 52 3.97 15 64 4.79 15 193 13.82 63 26 2.14 63 27 2.16 63 26 2.14 L-DICCG k 0 1 79 5.79 4 75 6.17 LS-DICCG k 7 67 5.30 6 65 5.11 11 54 4.08 19 41 3.14 24 42 3.22 35 40 3.05 67 26 2.50 72 26 2.11 83 25 2.05 20 / 22

Conclusions Conclusions Conclusions Deflation helps! Choice of deflation vectors is important Subdomain vectors give good results if the number of vectors is large enough Level set and Level set Subdomain vectors lead to convergence which is independent of the contrast Level set Subdomain vectors remove both O(10 3 ) and O(1) eigenvalues 21 / 22

Conclusions Further information For papers on deflation see: http://ta.twi.tudelft.nl/nw/users/vuik/pub it def.html 22 / 22