Preconditioners for the incompressible Navier Stokes equations

Similar documents
An advanced ILU preconditioner for the incompressible Navier-Stokes equations

A comparison of preconditioners for incompressible Navier Stokes solvers

DELFT UNIVERSITY OF TECHNOLOGY

Fast Iterative Solution of Saddle Point Problems

Fast solvers for steady incompressible flow

A Review of Preconditioning Techniques for Steady Incompressible Flow

DELFT UNIVERSITY OF TECHNOLOGY

Efficient Solvers for the Navier Stokes Equations in Rotation Form

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

Efficient Augmented Lagrangian-type Preconditioning for the Oseen Problem using Grad-Div Stabilization

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

A simple iterative linear solver for the 3D incompressible Navier-Stokes equations discretized by the finite element method

Mathematics and Computer Science

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

DELFT UNIVERSITY OF TECHNOLOGY

ANALYSIS OF AUGMENTED LAGRANGIAN-BASED PRECONDITIONERS FOR THE STEADY INCOMPRESSIBLE NAVIER-STOKES EQUATIONS

A TAXONOMY AND COMPARISON OF PARALLEL BLOCK MULTI-LEVEL PRECONDITIONERS FOR THE INCOMPRESSIBLE NAVIER STOKES EQUATIONS

DELFT UNIVERSITY OF TECHNOLOGY

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

A Taxonomy and Comparison of Parallel Block Multi-level Preconditioners for the Incompressible Navier Stokes Equations

Numerical behavior of inexact linear solvers

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

7.4 The Saddle Point Stokes Problem

1. Introduction. Consider the Navier Stokes equations ηu t ν 2 u + (u grad) u + grad p = f div u = 0 (1.1)

c 2011 Society for Industrial and Applied Mathematics

Preconditioning Techniques for Large Linear Systems Part III: General-Purpose Algebraic Preconditioners

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

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

ON THE GENERALIZED DETERIORATED POSITIVE SEMI-DEFINITE AND SKEW-HERMITIAN SPLITTING PRECONDITIONER *

Solving Large Nonlinear Sparse Systems

ETNA Kent State University

c 2006 Society for Industrial and Applied Mathematics

A decade of fast and robust Helmholtz solvers

Scientific Computing with Case Studies SIAM Press, Lecture Notes for Unit VII Sparse Matrix

9.1 Preconditioned Krylov Subspace Methods

Algebraic Multigrid Methods for the Oseen Problem

Unsteady Incompressible Flow Simulation Using Galerkin Finite Elements with Spatial/Temporal Adaptation

Indefinite and physics-based preconditioning

Uncertainty Quantification: Does it need efficient linear algebra?

AN AUGMENTED LAGRANGIAN APPROACH TO LINEARIZED PROBLEMS IN HYDRODYNAMIC STABILITY

FEniCS Course. Lecture 6: Incompressible Navier Stokes. Contributors Anders Logg André Massing

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

PRECONDITIONING TECHNIQUES FOR NEWTON S METHOD FOR THE INCOMPRESSIBLE NAVIER STOKES EQUATIONS

On the Preconditioning of the Block Tridiagonal Linear System of Equations

Scientific Computing

DELFT UNIVERSITY OF TECHNOLOGY

IFISS: A computational laboratory for investigating incompressible flow problems. Elman, Howard C. and Ramage, Alison and Silvester, David J.

Incomplete LU Preconditioning and Error Compensation Strategies for Sparse Matrices

Linear Solvers. Andrew Hazel

arxiv: v3 [math.na] 9 May 2011

REORDERING EFFECTS ON PRECONDITIONED KRYLOV METHODS IN AMR SOLUTIONS OF FLOW AND TRANSPORT

Vector and scalar penalty-projection methods

New multigrid smoothers for the Oseen problem

Fine-grained Parallel Incomplete LU Factorization

Solving Ax = b, an overview. Program

ON A GENERAL CLASS OF PRECONDITIONERS FOR NONSYMMETRIC GENERALIZED SADDLE POINT PROBLEMS

DELFT UNIVERSITY OF TECHNOLOGY

PALADINS: Scalable Time-Adaptive Algebraic Splitting and Preconditioners for the Navier-Stokes Equations

The Mixed Finite Element Multigrid Preconditioned Minimum Residual Method for Stokes Equations

SIMPLE-type preconditioners for cell-centered, colocated finite volume discretization of incompressible Reynolds-averaged Navier Stokes equations

Assessment of a vorticity based solver for the Navier-Stokes equations

Preconditioning the incompressible Navier-Stokes equations with variable viscosity

On the accuracy of saddle point solvers

Chebyshev semi-iteration in Preconditioning

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

A parallel block multi-level preconditioner for the 3D incompressible Navier Stokes equations

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

X. He and M. Neytcheva. Preconditioning the incompressible Navier-Stokes equations with variable viscosity. J. Comput. Math., in press, 2012.

The antitriangular factorisation of saddle point matrices

Adaptive preconditioners for nonlinear systems of equations

20. A Dual-Primal FETI Method for solving Stokes/Navier-Stokes Equations

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

A PRECONDITIONER FOR THE HELMHOLTZ EQUATION WITH PERFECTLY MATCHED LAYER

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

BLOCK ILU PRECONDITIONED ITERATIVE METHODS FOR REDUCED LINEAR SYSTEMS

Key words. inf-sup constant, iterative solvers, preconditioning, saddle point problems

Using Python to Solve the Navier-Stokes Equations - Applications in the Preconditioned Iterative Methods

Preface to the Second Edition. Preface to the First Edition

Fast Solvers for Unsteady Incompressible Flow

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

Efficient iterative algorithms for linear stability analysis of incompressible flows

Lecture 18 Classical Iterative Methods

The Deflation Accelerated Schwarz Method for CFD

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

Chapter 2. General concepts. 2.1 The Navier-Stokes equations

c 2006 Society for Industrial and Applied Mathematics

Challenges for Matrix Preconditioning Methods

Structured Preconditioners for Saddle Point Problems

An Efficient Low Memory Implicit DG Algorithm for Time Dependent Problems

M.A. Botchev. September 5, 2014

Iterative solvers for saddle point algebraic linear systems: tools of the trade. V. Simoncini

DELFT UNIVERSITY OF TECHNOLOGY

Multigrid and Iterative Strategies for Optimal Control Problems

Structure preserving preconditioner for the incompressible Navier-Stokes equations

Numerische Mathematik

Combination Preconditioning of saddle-point systems for positive definiteness

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

The Mixed Finite Element Multigrid Preconditioned MINRES Method for Stokes Equations

Robert Shuttleworth Doctor of Philosophy, 2007

Multigrid absolute value preconditioning

Transcription:

Preconditioners for the incompressible Navier Stokes equations C. Vuik M. ur Rehman A. Segal Delft Institute of Applied Mathematics, TU Delft, The Netherlands SIAM Conference on Computational Science and Engineering Incompressible Flow Solvers in MATLAB/COMSOL February 22, 2007, Costa Mesa, California

Outline 1 Introduction 2 Solution techniques 3 Advanced ILU preconditioner 4 Numerical Experiments 5 Conclusions

1. Introduction The incompressible Navier Stokes equation ν 2 u + u. u + p = f in Ω.u = 0 in Ω. u: fluid velocity; p: pressure ν > 0 is the kinematic viscosity coefficient (1/Re). Ω R 2 is a bounded domain with boundary conditions: u = w on Ω D, ν u n np = 0 on Ω N.

Finite element discretization Discrete weak formulation X h (H 1 0 (Ω))d, M h L 2 (Ω) Find u h X h and p h M h Z Z Z Z ν u h : v h dω + (u h. u h ).v h dω p h (.v h )dω = f.v h dω, v h X h, Ω Ω Ω Ω Matrix notation Z q h (.u h )dω = 0 q h M h. Ω Au + N(u) + B T p = f Bu = 0.

Choice of elements Brezzi-Babuska condition inf q Q h sup v V h (.v h, q h ) v h Vh q h Qh γ 0. Taylor Hood elements (Q2 Q1), (P2 P1) and (Q2 Q1)

Choice of elements Brezzi-Babuska condition (.v inf sup h, q h ) γ 0. q Q h v V h v h Vh q h Qh Crouzeix Raviart (Q2 P0), (P2 + P1) and (P2 + P1)

Choice of elements Brezzi-Babuska condition (.v inf sup h, q h ) γ 0. q Q h v V h v h Vh q h Qh Taylor Hood mini elements Q + 1 Q 1 and P + 1 P 1

Software packages IFISS Incompressible Flow Iterative Solution Software Silvester, Elman, Ramage, Wathen Matlab, nice for experiments academic, 2D problems only modern block triangular preconditioners

Software packages Sepran Sepran = Segal + Praagman FORTRAN package, industrial and academic problems 1, 2, 3 Dimensional problems Complex geometries Taylor Hood and Raviart Thomas elements are implemented

Linearization Stokes problem ν u + p = f.u = 0 Picard s method ν u (k+1) + (u (k). )u (k+1) + p (k+1) = f.u (k+1) = 0 Newton s method ν u k+1 + u k+1. u k + u k. u k+1 + p k+1 = f + u k. u k,.u k+1 = 0.

2. Solution techniques Matrix form after linearization [ ] [ ] F B T u = B 0 p [ ] f 0 or Ax = b F R n n, B R m n, f R n and m n Sparse linear system, symmetric (Stokes problem), nonsymmetric (Navier Stokes) and always indefinite. For unique solution u and p, finite elements must satisfy BB condition. Saddle point problem having large number of zeros on the main diagonal

Preconditioner for the Navier Stokes equations Definition A linear system Ax = b is transformed into P 1 Ax = P 1 b. Eigenvalues of P 1 A are more clustered than A P A Pz = r is cheap to solve for z Block triangular preconditioners» F B T B 0» = I 0 BF 1 I» F 0 0 S» I F 1 B T 0 I» = I 0 BF 1 I» F B T 0 S» P 1 F B T = 0 S 1, S = BF 1 B T (Schur complement matrix) Sz 2 = r 2, Fz 1 = r 1 B T z 2 GMRES converges in two iterations if exact arithmetic is used [Murphy, Golub, Wathen -2000] In practice F 1 and S 1 are expensive, so they are approximated

Preconditioners for the Navier Stokes equations Block triangular preconditioners Pressure convection diffusion (PCD) [Kay, Login and Wathen, 2002] S A pfp 1 Q p Least squares commutator (LSC) [Elman, Howle, Shadid, Silvester and Tuminaro, 2002] S (BQ 1 B T )(BQ 1 FQ 1 B T ) 1 (BQ 1 B T ) one of the best approximations available in the literature Convergence independent of the mesh size and mildly dependent on Reynolds number Require extra operators Require iterative solvers (Geometric multigrid, algebraic multigrid) for the (1,1) and (2,2) blocks

Preconditioners for the Navier Stokes equations Augmented Lagrangian Approach (AL) [Benzi, Olshanski, 2007] Adapted system [ F + γb T W 1 B B T B 0 Ŝ 1 = (ν ] [ ] u = p ˆQ 1 p + γw 1 ) [ ] f 0 ˆQ p approximation of the pressure mass matrix W = ˆQ p, γ Lagrange multiplier, ν viscosity Convergence independent of the mesh size and mildly dependent on Reynolds number Require iterative solvers (Geometric multigrid, algebraic multigrid) for the (1,1) block

Preconditioners for the Navier Stokes equations Incomplete LU preconditioners A = LU R, where R consist of dropped entries that are absent in the index set S(i, j). S = {(i, j) a ij 0} [Classical ILU by Meijerink and van der Vorst, 1977]. In our case, S(i, j) = {(i, j) i,j are connected in the finite element grid}. So zeros in the matrix, due to the coefficients are considered to be non-zero in the structure. if R is large, give poor convergence (reordering) Instability due to large L 1 and U 1

Preconditioners for the Navier Stokes equations ILUPACK Bollhöfer and Saad Static reordering schemes Inverse-based ILU with diagonal pivoting Multilevel framework Iterative solver

3. Advanced ILU preconditioner Effect of reordering In direct solver, reordering improves the profile and bandwidth of the matrix. Improve the convergence of the ILU preconditioned Krylov subspace method Minimizes dropped entries in ILU ( A LŪ F ) May give stable factorization ( I A( LŪ) 1 F ) [Dutto-1993, Benzi-1997, Duff and Meurant-1989, Wille-2004, Chow and Saad - 1997] Well-known renumbering schemes Cuthill McKee renumbering (RCM) [Cuthill McKee - 1969] Sloan renumbering [Sloan - 1986] Minimum degree renumbering (MD) [Tinney and Walker - 1967]

Preconditioners for the Navier Stokes equations New renumbering scheme Renumbering of grid points: Grid points are renumbered with Sloan or Cuthill McKee algorithms The unknowns are reordered by p-last or p-last per level methods In p-last reordering, first all the velocity unknowns are ordered followed by pressure unknowns. Usually, this produces a large profile but avoids breakdown of the LU decomposition. p-last per level reordering, smaller profile p-last per element reordering, smallest profile

Preconditioners for the Navier Stokes equations p-last per level reordering 1 0.8 Q2 Q1 finite element subdivision Third level 0.6 0.4 Second level 0.2 0 0.2 First level 0.4 0.6 0.8 1 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1

Preconditioners for the Navier Stokes equations Special features of Advanced ILU lumping of positive off-diagonal elements extra fill in (global, or pressure only) ɛ stabilization parameter

4. Numerical Experiments Flow domains Channel flow The Poiseuille channel flow in a square domain ( 1, 1) 2 with a parabolic inflow boundary condition and the natural outflow condition having the analytic solution: u x = 1 y 2 ; u y = 0; p = 2νx Backward facing step Q2-Q1 finite element discretization [Taylor, Hood - 1973] Q2-P1 finite element discretization [Crouzeix, Raviart - 1973]

Comparison of p-last and p-last per level Square channel, Stokes, Q2-P1 Bi CGSTAB iterations 250 200 150 100 50 p last p last level Bi CGSTAB CPU time 8 7 6 5 4 3 2 1 p last p last level 0 16 32 64 gridsize 0 16 32 64 gridsize GMRES(20) costs more CPU time GMRESR is comparable with Bi-CGSTAB, wrt CPU time

Dependence on the Reynoldsnumber Backward Facing Step, Navier Stokes, 16 48 with Q2-Q1 discretization 250 1.8 1.6 200 1.4 Bi CGSTAB iterations 150 100 Bi CGSTAB CPU time 1.2 1 0.8 0.6 50 0.4 0.2 0 50 150 250 Reynolds number 0 50 150 250 Reynolds number Sloan reordering is faster than RCM reordering

Advanced ILU compared with PCD and LSC Comparison of ILU preconditioner with block triangular preconditioners using GMRES (accuracy = 10 4 ) and Newton linearization for the backward facing step Navier Stokes problem, Q2-Q1 element Direct solver for (1,1),(2,2) blocks of the block triangluar preconditioners Re=100 PCD p-last-level(sloan) LSC - Iter sec Iter sec Iter sec 8x24 32 0.50 16 0.03 15 0.33 16x24 33 1.21 21 0.08 15 0.76 32x24 37 3.16 68 0.67 18 2.10 64x24 45 8.30 61 1.13 25 9.10 Re = 200 8x24 45 7.26 60 0.10 23 0.50 16x24 50 1.90 37 0.15 22 1.14 32x24 52 4.30 83 0.75 24 2.73 64x24 60 11.0 41 0.80 29 7.00

Advanced ILU compared with AL and LSC Comparison of ILU preconditioner with block triangular preconditioners using GCR(30) and Newton linearization for the backward facing step Navier Stokes problem Iterative solver for (1,1),(2,2) blocks of the block triangluar preconditioners Q2-Q1 AL LSC p-last-level(sloan) - Iter sec Iter sec Iter sec 8x24 9 0.10 17 0.11 17 0.02 16x24 9 0.44 18 0.20 23 0.06 32x24 9 2.72 23 0.48 58 0.25 64x24 9 9.30 27 1.20 59 0.56 128x24 9 44.5 42 3.90 488 11.0 Q2-P1 AL LSC p-last-level(sloan) 8x24 8 0.12 14 0.14 84 0.11 16x24 8 0.28 11 0.24 118 0.32 32x24 8 0.64 20 1.00 220 1.20 64x24 8 1.50 NC 308 3.50 128x24 8 3.43 NC NC

ILUPACK ILUPACK with GMRES(20) Grid Iterations nnz(a) nnz(ilu) Growth factor 8x24 4 7040 15020 2.13 16x48 4 33122 96227 2.90 32x96 4 143548 797598 5.56 64x192 5 598832 3951127 6.60 Backward facing step, Stokes problem, Q2-Q1

ILUPACK and Advanced ILU ILUPACK with GMRES(20) ILUPACK ILU p-last-level(sloan) Grid Iter. (time(s)) Total time(s) Iter. (time(s)) Total time(s)) 8x24 4 (0.01) 0.04 14(0.008) 0.03 16x48 4(0.04) 0.23 20(0.012) 0.07 32x96 4 (0.19) 2.42 87(0.30) 0.41 64x192 5 (1.0) 21.00 276(3.35) 3.92 Backward facing step, Stokes problem, Q2-Q1

5. Conclusions IFISS is a nice tool to investigate the incompressible Navier Stokes equations Advanced ILU: renumbering of grid points and reordering of unknowns no break down and fast convergence iterations increase with increase in Reynolds number and grid points Block preconditioners are better for large grid sizes and large Reynolds numbers ILUPACK needs small number of iterations, but memory and CPU time can be large Stretched grids?

References ta.twi.tudelft.nl/nw/users/vuik/pub it navstok.html M. ur Rehman and C. Vuik and G. Segal Solution of the incompressible Navier Stokes equations with preconditioned Krylov subspace methods TUD Report 06-05 M. ur Rehman and C. Vuik and G. Segal Study Report of IFISS Package (version 2.1) TUD Report 06-06 C. Li and C. Vuik Eigenvalue analysis of the SIMPLE preconditioning for incompressible flow Numerical Linear Algebra with Applications, 11, pp.511-523, 2004 C. Vuik and A. Saghir and G.P. Boerstoel The Krylov accelerated SIMPLE(R) method for flow problems in industrial furnaces International Journal for Numerical Methods in Fluids, 33 pp. 1027-1040, 2000