Preconditioning for Nonsymmetry and Time-dependence

Similar documents
Combination Preconditioning of saddle-point systems for positive definiteness

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

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

Numerical behavior of inexact linear solvers

Fast solvers for steady incompressible flow

A Review of Preconditioning Techniques for Steady Incompressible Flow

Fast Iterative Solution of Saddle Point Problems

9.1 Preconditioned Krylov Subspace Methods

FEM and sparse linear system solving

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

Finding Rightmost Eigenvalues of Large, Sparse, Nonsymmetric Parameterized Eigenvalue Problems

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

DELFT UNIVERSITY OF TECHNOLOGY

Chebyshev semi-iteration in Preconditioning

Preconditioned inverse iteration and shift-invert Arnoldi method

On the interplay between discretization and preconditioning of Krylov subspace methods

Iterative Methods for Linear Systems of Equations

Key words. linear equations, polynomial preconditioning, nonsymmetric Lanczos, BiCGStab, IDR

Lecture 3: Inexact inverse iteration with preconditioning

Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners

Summary of Iterative Methods for Non-symmetric Linear Equations That Are Related to the Conjugate Gradient (CG) Method

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

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

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

On the accuracy of saddle point solvers

Linear Solvers. Andrew Hazel

Notes on PCG for Sparse Linear Systems

Inexact inverse iteration with preconditioning

Preface to the Second Edition. Preface to the First Edition

Multigrid absolute value preconditioning

The antitriangular factorisation of saddle point matrices

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

JURJEN DUINTJER TEBBENS

On the influence of eigenvalues on Bi-CG residual norms

Chapter 7 Iterative Techniques in Matrix Algebra

4.8 Arnoldi Iteration, Krylov Subspaces and GMRES

An Efficient Low Memory Implicit DG Algorithm for Time Dependent Problems

Conjugate Gradient Method

Iterative Methods for Sparse Linear Systems

Mathematics and Computer Science

Efficient Solvers for the Navier Stokes Equations in Rotation Form

Iterative Methods for Solving A x = b

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

On solving linear systems arising from Shishkin mesh discretizations

FEM and Sparse Linear System Solving

ON ORTHOGONAL REDUCTION TO HESSENBERG FORM WITH SMALL BANDWIDTH

Preconditioned GMRES Revisited

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

Iterative methods for positive definite linear systems with a complex shift

Solving the Stochastic Steady-State Diffusion Problem Using Multigrid

The amount of work to construct each new guess from the previous one should be a small multiple of the number of nonzeros in A.

Computational Linear Algebra

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

SOLVING SPARSE LINEAR SYSTEMS OF EQUATIONS. Chao Yang Computational Research Division Lawrence Berkeley National Laboratory Berkeley, CA, USA

ON THE ROLE OF COMMUTATOR ARGUMENTS IN THE DEVELOPMENT OF PARAMETER-ROBUST PRECONDITIONERS FOR STOKES CONTROL PROBLEMS

Iterative methods for Linear System

Numerische Mathematik

PRECONDITIONED ITERATIVE METHODS FOR LINEAR SYSTEMS, EIGENVALUE AND SINGULAR VALUE PROBLEMS. Eugene Vecharynski. M.S., Belarus State University, 2006

CME342 Parallel Methods in Numerical Analysis. Matrix Computation: Iterative Methods II. Sparse Matrix-vector Multiplication.

AMS526: Numerical Analysis I (Numerical Linear Algebra)

TAU Solver Improvement [Implicit methods]

Preconditioners for ill conditioned (block) Toeplitz systems: facts a

ITERATIVE METHODS BASED ON KRYLOV SUBSPACES

Optimal Left and Right Additive Schwarz Preconditioning for Minimal Residual Methods with Euclidean and Energy Norms

Iterative Methods and Multigrid

A stable variant of Simpler GMRES and GCR

On the Superlinear Convergence of MINRES. Valeria Simoncini and Daniel B. Szyld. Report January 2012

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

FINDING RIGHTMOST EIGENVALUES OF LARGE SPARSE NONSYMMETRIC PARAMETERIZED EIGENVALUE PROBLEMS

Course Notes: Week 1

Journal of Computational and Applied Mathematics. Optimization of the parameterized Uzawa preconditioners for saddle point matrices

RESIDUAL SMOOTHING AND PEAK/PLATEAU BEHAVIOR IN KRYLOV SUBSPACE METHODS

A Domain Decomposition Based Jacobi-Davidson Algorithm for Quantum Dot Simulation

7.4 The Saddle Point Stokes Problem

Linear algebra issues in Interior Point methods for bound-constrained least-squares problems

Assignment on iterative solution methods and preconditioning

Newton s Method and Efficient, Robust Variants

Krylov Space Solvers

DELFT UNIVERSITY OF TECHNOLOGY

Math 504 (Fall 2011) 1. (*) Consider the matrices

ETNA Kent State University

Stopping criteria for iterations in finite element methods

A SPARSE APPROXIMATE INVERSE PRECONDITIONER FOR NONSYMMETRIC LINEAR SYSTEMS

An advanced ILU preconditioner for the incompressible Navier-Stokes equations

The flexible incomplete LU preconditioner for large nonsymmetric linear systems. Takatoshi Nakamura Takashi Nodera

Solving Ax = b, an overview. Program

6.4 Krylov Subspaces and Conjugate Gradients

Efficient Solvers for Stochastic Finite Element Saddle Point Problems

Reduced Synchronization Overhead on. December 3, Abstract. The standard formulation of the conjugate gradient algorithm involves

Fast Solvers for Unsteady Incompressible Flow

Principles and Analysis of Krylov Subspace Methods

Preconditioners for the incompressible Navier Stokes equations

The Conjugate Gradient Method

INCOMPLETE FACTORIZATION CONSTRAINT PRECONDITIONERS FOR SADDLE-POINT MATRICES

Indefinite and physics-based preconditioning

Numerical Methods in Matrix Computations

UNIVERSITY OF MARYLAND NAVIER-STOKES EQUATIONS CS-TR #4073 / UMIACS TR #99-66 OCTOBER 1999

ITERATIVE METHODS FOR SPARSE LINEAR SYSTEMS

Iterative Solution methods

On the Preconditioning of the Block Tridiagonal Linear System of Equations

Transcription:

Preconditioning for Nonsymmetry and Time-dependence Andy Wathen Oxford University, UK joint work with Jen Pestana and Elle McDonald Jeju, Korea, 2015 p.1/24

Iterative methods For self-adjoint problems/symmetric matrices, iterative methods of choice exist: conjugate gradients for SPD, MINRES otherwise but many possible methods for non-self-adjoint problems/nonsymmetric matrices: GMRES, BICGSTAB, QMR, IDR,... Jeju, Korea, 2015 p.2/24

Iterative methods Arises because of convergence guarantees: for symmetric matrices: descriptive convergence bounds a priori estimates of iterations for acceptable convergence; good preconditioning ensures fast convergence. for nonsymmetric matrices: by contrast, to date there are no generally applicable and descriptive convergence bounds even for GMRES ; for any of the other nonsymmetric methods without a minimisation property, convergence theory is extremely limited no good a priori way to identify what are the desired qualities of a preconditioner A major theoretical difficulty, but heuristic ideas abound! Jeju, Korea, 2015 p.3/24

The situation is more severe than this: Theorem (Greenbaum, Ptak and Strakos, 1996) Given any set of eigenvalues and any monotonic convergence curve, then for any b there exists a matrix B having those eigenvalues and an initial guess x 0 such that GMRES for Bx = b with x 0 as starting vector will give that convergence curve. In fact more extreme negative results than this exist. Jeju, Korea, 2015 p.4/24

One way to address such questions: look for (non-standard) inner products in which a problem might be self-adjoint Jeju, Korea, 2015 p.5/24

One way to address such questions: look for (non-standard) inner products in which a problem might be self-adjoint such inner products exist for a real nonsymmetric matrix B if and only if B is diagonalizable and has real eigenvalues but preconditioners still would have to have self-adjointness in any relevant non-standard inner product!! Jeju, Korea, 2015 p.5/24

Convection-diffusion equation: u t + b u ǫ 2 u = f in Ω (0,T], Ω R 2 or R 3 u(x,0) = u 0 (x), u given on Ω arises widely e.g. as a subproblem in Navier-Stokes is non-self-adjoint nonsymmetric discretization matrix convergence of Krylov subspace methods not easily described so no mathematical idea how to precondition Jeju, Korea, 2015 p.6/24

For steady convection-diffusion b u ǫ 2 u = f the nonsymmetric issue remains even in 1-dimension u ǫu = f (though iterative methods not so crucial here!) Jeju, Korea, 2015 p.7/24

is u ǫu = f ( exp( x/ǫ)u ) = 1 ǫ exp( x/ǫ)f so continuous problem is self-adjoint in a highly distorted inner product based on this integrating factor (given certain simple boundary conditions) Discretizations however have matrices which are not self-adjoint in any inner product for large enough h/ǫ Jeju, Korea, 2015 p.8/24

Recently (Pestana & W, 2015) we have made progress for real nonsymmetric Toeplitz (constant diagonal) matrices regardless of nonnormality with a very simple observation: If B is a real Toeplitz matrix then a 0 a 1 a 1 n a 1 a 0 a 1 a 1 a 0 a 1 a n 1 a 1 a 0 } {{ } B 0 0 0 1 0 0 1 0 0 1 0 1 0 0 0 } {{ } Y is the real symmetric matrix a 1 n a 1 a 0 a 1 a 0 a 1 a 0 a 1 a 1 a 0 a 1 a n 1 Jeju, Korea, 2015 p.9/24

Thus MINRES can be robustly applied to BY it is symmetric but generally indefinite and its convergence will depend only on eigenvalues. BUT preconditioning? needs to be symmetric and positive definite for MINRES Fortunately it is well known that Toeplitz matrices are well preconditioned by related circulant matrices, C (Strang, 1986, Chan, 1988) which are diagonalised by an FFT in O(nlogn) work: C = U ΛU. For many Toeplitz matrices we have that the Strang or Optimal (Chan) circulant C satisfy C 1 B = I + R + E where R is of small rank and E is of small norm eigenvalues clustered around 1 except for a few outliers Jeju, Korea, 2015 p.10/24

To ensure symmetric and positive definite preconditioner for BY just use the circulant matrix C = U Λ U which is real symmetric and positive definite Theorem (Pestana & W, 2015) C 1 BY = J + R + E where J is real symmetric and orthogonal with eigenvalues ±1, R is of small rank and E is of small norm guaranteed fast convergence because MINRES convergence only depends on eigenvalues which are clustered around ±1 except for few outliers! Jeju, Korea, 2015 p.11/24

Example B = 1 0.01 1 1 0.01......... 1 1 0.01 1 1 Rn n n Condition number of B preconditioned MINRES iters 10 14 6 100 207 6 1000 2.6 10 6 6 Similar ideas apply for block Toeplitz matrices higher dimensions but theory not so good Jeju, Korea, 2015 p.12/24

Time-dependent Convection-Diffusion u t + b. u ǫ 2 u = f in Ω (0,T], Ω R 2 or R 3 u(x,0) = u 0 (x), u given on Ω Finite elements in space (x), θ time stepping gives M u k u k 1 τ ) + K (θu k + (1 θ)u k 1 = f k M R n n : SPD mass matrix (identity operator, but same sparsity as K) K R n n : nonsymmetric discrete steady convection-diffusion matrix Jeju, Korea, 2015 p.13/24

Rearranging: ( ) M + τ θk u k = Nτ = T ( ) M τ (1 θ)k u k 1 + τ f k, k = 1,2,...,N Recall for unconditional stability: 1 2 θ 1 θ = 1: backwards Euler, θ = 1 2 : Crank-Nicolson else need τ = O(h 2 ): very small time steps for explicit method Jeju, Korea, 2015 p.14/24

( ) M + τ θk u k = ( ) M τ (1 θ)k u k 1 + τ f k, Standard solution method: k = 1,2,...,N Solve the N separate n n nonsymmetric linear systems (sequentially) for k = 1,2,...,N. Here we use a geometric multigrid due to Ramage specifically for convection diffusion r = 5 V-cycles for solution of each linear system to a relative residual tolerence of 10 6 Hence if we (quite reasonably) regard 1 V-cycle as the main unit of work N r V-cycles sequentially for the overall solution Jeju, Korea, 2015 p.15/24

Alternatively: Write all timesteps at one go (all-at-once method): A u 1 u 2. u N = r.h.s where A is the matrix M+τ θk 0 0 0 M+τ(1 θ)k M+τ θk 0 0 0...... 0 0 0 M+τ(1 θ)k M+τ θk and r.h.s. = [M τ(1 θ)ku 0 +τ f 1,τ f 2,...,τ f N ] T nonsymmetric! Jeju, Korea, 2015 p.16/24

M+τ θk 0 0 0 M+τ(1 θ)k M+τ θk 0 0 A= 0...... 0 0 0 M+τ(1 θ)k M+τ θk A R L L, L = Nn We propose to solve this huge linear system (for the solution at all time steps) by GMRES (or BICGSTAB ) with block diagonal preconditioner P = (M+τθK) MG 0 0 0 0 (M+τθK) MG 0 0 0...... 0 0 0 0 (M+τθK) MG where (M+τθK) MG is one GMG V-cycle exactly as above. Any other approximate nonsymmetric solver could bejeju, used. Korea, 2015 p.17/24

Theory: If we used (M+τ θk) 0 0 0 0 (M+τ θk) 0 0 P exact = 0...... 0 0 0 0 (M+τ θk) as preconditioner (no multigrid approximation) then we would have I 0 0 0 P exact 1 A = J I 0 0 0...... 0, 0 0 J I J = (M+τθK) 1 ( M+τ(1 θ)k) Jeju, Korea, 2015 p.18/24

For P 1 exact A = I 0 0 0 J I 0 0 0...... 0 0 0 J I, the minimum polynomial is (1 s) N, so GMRES would terminate (in exact arithmetic) in N iterations We observe that (M+τθK) MG is close to (M+τθK) so that convergence to a tolerance much less than the discretization error is achieved in N iterations also with P as preconditioner. Jeju, Korea, 2015 p.19/24

Thus: N V-cycles for each of N GMRES iterations hence N 2 (> Nr) overall. but with N processors, solution with P is (embarrasingly) parallel block diagonal independent computation. Thus parallel effort is N < Nr (= sequential effort). Jeju, Korea, 2015 p.20/24

Convection-diffusion 1 0.8 0.6 0.4 0.2 0 1 0.5 0-0.5-1 -1 0 1 Jeju, Korea, 2015 p.21/24

Convection-diffusion 10 2 GMRES 10 1 BiCGSTAB 10 0 10-1 10-2 Residual 10-3 10-4 10-5 10-6 10-7 10-8 0 10 20 30 40 50 60 70 80 90 Jeju, Korea, 2015 p.22/24

Convection-diffusion 2.5 x 10 5 2 1.5 λ( ˆ P 1 A BE ) λ( ˆ P 1 A CN ) λ( ˆ P 1 A BDF ) 1 0.5 Im(λ) 0 0.5 1 1.5 2 2.5 0.95 0.96 0.97 0.98 0.99 1 1.01 Re(λ) Jeju, Korea, 2015 p.23/24

References and Acknowledgement Pestana, J. & Wathen, A.J., 2015, A preconditioned MINRES method for nonsymmetric Toeplitz matrices, SIAM J. Matrix Anal. Appl. 36, pp. 273 288. Pestana, J. & Wathen, A.J., 2013, On choice of preconditioner for minimum residual methods for non-hermitian matrices, J. Comput. Appl. Math. 249, pp. 57 68. McDonald, E.G. & Wathen, A.J., A simple proposal for parallel computation over time of an evolutionary process with implicit time stepping, in review - This work is partially supported by Award No. KUK-C1-013-04 made by King Abdullah University of Science and Technology (KAUST) Jeju, Korea, 2015 p.24/24