Colocated Finite Volume Schemes for Fluid Flows



Similar documents
Abaqus/CFD Sample Problems. Abaqus 6.10

A CODE VERIFICATION EXERCISE FOR THE UNSTRUCTURED FINITE-VOLUME CFD SOLVER ISIS-CFD

HEAT TRANSFER ANALYSIS IN A 3D SQUARE CHANNEL LAMINAR FLOW WITH USING BAFFLES 1 Vikram Bishnoi

1. Lid driven flow in a cavity [Time: 1 h 30 ]

Application of Wray-Agarwal Model to Turbulent Flow in a 2D Lid-Driven Cavity and a 3D Lid- Driven Box

Ravi Kumar Singh*, K. B. Sahu**, Thakur Debasis Mishra***

MEL 807 Computational Heat Transfer (2-0-4) Dr. Prabal Talukdar Assistant Professor Department of Mechanical Engineering IIT Delhi

Introduction to the Finite Element Method

Advanced CFD Methods 1

NUMERICAL ANALYSIS OF THE EFFECTS OF WIND ON BUILDING STRUCTURES

Laminar Flow and Heat Transfer of Herschel-Bulkley Fluids in a Rectangular Duct; Finite-Element Analysis

TWO-DIMENSIONAL FINITE ELEMENT ANALYSIS OF FORCED CONVECTION FLOW AND HEAT TRANSFER IN A LAMINAR CHANNEL FLOW

FLOODING AND DRYING IN DISCONTINUOUS GALERKIN DISCRETIZATIONS OF SHALLOW WATER EQUATIONS

Fourth-Order Compact Schemes of a Heat Conduction Problem with Neumann Boundary Conditions

TESLA Report

Introduction to CFD Basics

COMPARISON OF SOLUTION ALGORITHM FOR FLOW AROUND A SQUARE CYLINDER

Lecturer, Department of Engineering, Lecturer, Department of Mathematics,

Multi-Block Gridding Technique for FLOW-3D Flow Science, Inc. July 2004

Part II: Finite Difference/Volume Discretisation for CFD

Linköping University Electronic Press

Lecture 6 - Boundary Conditions. Applied Computational Fluid Dynamics

Adaptation of General Purpose CFD Code for Fusion MHD Applications*

Introduction to COMSOL. The Navier-Stokes Equations

Transactions on Engineering Sciences vol 5, 1994 WIT Press, ISSN

Module 5: Solution of Navier-Stokes Equations for Incompressible Flow Using SIMPLE and MAC Algorithms Lecture 27:

Renormalization of the Numerical Diffusion for an Upwind Finite Volume Method. Application to the Simulation of Kelvin-Helmholtz Instability

Paper Pulp Dewatering

How To Calculate Energy From Water

Differential Relations for Fluid Flow. Acceleration field of a fluid. The differential equation of mass conservation

NUMERICAL SIMULATION OF REGULAR WAVES RUN-UP OVER SLOPPING BEACH BY OPEN FOAM

ME6130 An introduction to CFD 1-1

Comparison of Heat Transfer between a Helical and Straight Tube Heat Exchanger

CHAPTER 4 CFD ANALYSIS OF THE MIXER

Fluid Dynamics and the Navier-Stokes Equation

Mesh Moving Techniques for Fluid-Structure Interactions With Large Displacements

Spatial Discretisation Schemes in the PDE framework Peano for Fluid-Structure Interactions

Express Introductory Training in ANSYS Fluent Lecture 1 Introduction to the CFD Methodology

Keywords: Heat transfer enhancement; staggered arrangement; Triangular Prism, Reynolds Number. 1. Introduction

STCE. Outline. Introduction. Applications. Ongoing work. Summary. STCE RWTH-Aachen, Industrial Applications of discrete adjoint OpenFOAM, EuroAD 2014

CFD Application on Food Industry; Energy Saving on the Bread Oven

Effect of Aspect Ratio on Laminar Natural Convection in Partially Heated Enclosure

Finite Difference Approach to Option Pricing

How To Write A Program For The Pd Framework

Valuation of American Options

Graduate Certificate Program in Energy Conversion & Transport Offered by the Department of Mechanical and Aerospace Engineering

Class Meeting # 1: Introduction to PDEs

Basic Equations, Boundary Conditions and Dimensionless Parameters

Modelling and Computation of Compressible Liquid Flows with Phase Transition

FALSE ALARMS IN FAULT-TOLERANT DOMINATING SETS IN GRAPHS. Mateusz Nikodem

A DISCRETE ADJOINT VERSION OF AN UNSTEADY INCOMPRESSIBLE SOLVER FOR OPENFOAM USING ALGORITHMIC DIFFERENTIATION

Benchmarking COMSOL Multiphysics 3.5a CFD problems

Differential Balance Equations (DBE)

Chapter 7. Potential flow theory. 7.1 Basic concepts Velocity potential

1 Completeness of a Set of Eigenfunctions. Lecturer: Naoki Saito Scribe: Alexander Sheynis/Allen Xue. May 3, The Neumann Boundary Condition

The Heat Equation. Lectures INF2320 p. 1/88

Numerical simulations of heat transfer in plane channel

Finite cloud method: a true meshless technique based on a xed reproducing kernel approximation

OpenFOAM Optimization Tools

Feature Commercial codes In-house codes

A QUICK GUIDE TO THE FORMULAS OF MULTIVARIABLE CALCULUS

Computational fluid dynamics (CFD) 9 th SIMLAB Course

CFD Based Air Flow and Contamination Modeling of Subway Stations

Multiphase Flow - Appendices

SIM_ZONAL: SOFTWARE EVALUATING INDOOR TEMPERATURE DISTRIBUTIONS AND AIR MOVEMENTS FOR RAPID APPRAISALS - FIRST APPLICATION TO AN CELL.

The Navier Stokes Equations

On computer algebra-aided stability analysis of dierence schemes generated by means of Gr obner bases

Least Squares Approach for Initial Data Recovery in Dynamic

Heat Transfer From A Heated Vertical Plate

Design and Optimization of OpenFOAM-based CFD Applications for Hybrid and Heterogeneous HPC Platforms

How To Know If A Solution Of The Navier-Stokes Equations Is Smooth

Iterative Solvers for Linear Systems

Divergence-Free Elements for Incompressible Flow on Cartesian Grids

Simulation of Fluid-Structure Interactions in Aeronautical Applications

FINITE DIFFERENCE METHODS

Module 6 Case Studies

COUNTING INDEPENDENT SETS IN SOME CLASSES OF (ALMOST) REGULAR GRAPHS

HPC realization of a controlled turbulent round jet using OpenFOAM a)

440 Geophysics: Heat flow with finite differences

Aeroacoustic Analogy for the Computation of Aeroacoustic Fields in Partially Closed Domains

CONSTANT-SIGN SOLUTIONS FOR A NONLINEAR NEUMANN PROBLEM INVOLVING THE DISCRETE p-laplacian. Pasquale Candito and Giuseppina D Aguí

Interactive simulation of an ash cloud of the volcano Grímsvötn

Høgskolen i Narvik Sivilingeniørutdanningen STE6237 ELEMENTMETODER. Oppgaver

Finite Elements for 2 D Problems

NUMERICAL SIMULATION OF GAS TURBINE BLADE COOLING FOR ENHANCEMENT OF HEAT TRANSFER OF THE BLADE TIP

A Comparison of Analytical and Finite Element Solutions for Laminar Flow Conditions Near Gaussian Constrictions

Performance Comparison and Analysis of Different Schemes and Limiters

Error Analysis in Finite Volume CFD

Dynamic Process Modeling. Process Dynamics and Control

11 Navier-Stokes equations and turbulence

CFD SUPPORTED EXAMINATION OF BUOY DESIGN FOR WAVE ENERGY CONVERSION

A subgrid-scale model for the scalar dissipation rate in nonpremixed combustion

Marketing Mix Modelling and Big Data P. M Cain

MATH 425, PRACTICE FINAL EXAM SOLUTIONS.

Transcription:

COMMUNICATIONS IN COMPUTATIONAL PHYSICS Vol. 4, No., pp. -5 Commun. Comput. Phys. July 8 Colocated Finite Volume Schemes for Fluid Flows S. Faure, J. Laminie, and R. Temam,3, Laboratoire de Mathématiques, Université Paris-Sud, Bâtiment 45, 945 Orsay, France. GRIMAAG Guadeloupe, Université des Antilles et de la Guyane, Campus de Fouillole, BP 59, 9757 Pointe à Pitre Cedex, France. 3 Institute for Scientific Computing and Applied Mathematics, Indiana University, Bloomington, IN 4745, USA. Received September 7; Accepted in revised version February 8 Communicated by Jie Shen Available online 7 February 8 Abstract. Our aim in this article is to improve the understanding of the colocated finite volume schemes for the incompressible Navier-Stokes equations. When all the variables are colocated, that means here when the velocities and the pressure are computed at the same place at the centers of the control volumes, these unknowns must be properly coupled. Consequently, the choice of the time discretization and the method used to interpolate the fluxes at the edges of the control volumes are essentials. In the first and second parts of this article, two different time discretization schemes are considered with a colocated space discretization and we explain how the unknowns can be correctly coupled. Numerical simulations are presented in the last part of the article. This paper is not a comparison between staggered grid schemes and colocated schemes for this, see, e.g., [5, ]. We plan, in the future, to use a colocated space discretization and the multilevel method of [4] initially applied to the two dimensional Burgers problem, in order to solve the incompressible Navier-Stokes equations. One advantage of colocated schemes is that all variables share the same location, hence, the possibility to use hierarchical space discretizations more easily when multilevel methods are used. For this reason, we think that it is important to study this family of schemes. AMS subject classifications: 76M, 76D5, 68U, 74S, 74H5 Key words: Finite volumes, colocated scheme. Introduction We consider the Navier-Stokes equations in their velocity-pressure formulation and the continuity equation written for an incompressible viscous fluid; Ω is an open bounded Corresponding author. Email addresses: sylvain.faure@math.u-psud.fr S. Faure, jacques.laminie@ univ-ag.fr J. Laminie,temam@indiana.edu R. Temam http://www.global-sci.com/ c 8 Global-Science Press

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 domain in R, for our simulations we use a rectangular domain Ω=,L,L. For given volume forces f=f u, f v, we look for the velocity vector u and the pressure p such that: u ν u+u u+ p=f t in Ω [,T],. divu=,. where ν> is the kinematic viscosity and, in space dimension two, u= ux,y,t,vx,y,t, t. On the boundary Ω of Ω, we impose a Dirichlet no-slip boundary condition: u =g,.3 Ω where g=g u,g v is a given function defined on Ω. Traditionnally, the staggered variable arrangement was prefered to a colocated variable arrangement. Indeed, the colocated arrangements have long been considered as impracticable since these colocated schemes were known to generate a decoupling between the velocities and the pressure. This difficulty was subsequently resolved using appropriate interpolations of the fluxes see below, e.g.,.5. Based on this idea, the first successful colocated finite volume schemes were introduced in 98 by Hsu [9], Prakash [6] and Rhie [8]. A further advantage of colocated schemes is that they can be easily used for complex geometries [5]. Moreover, multilevel techniques, which result in a significant reduction of computing time on fine grids, are also much easier to apply to the colocated arrangement; this is an essential point regarding our objective to implement multilevel methods for the Navier-Stokes equations [4]. See [5, ] for a detailed comparison between staggered and colocated schemes. We intend in a subsequent work [5] to combine the multilevel method presented in [4] with the colocated schemes described here. For theoretical aspects of the finite volume methods, see []. The purpose of the present article is to describe two colocated schemes associated with different time discretizations. For each scheme, we will study if there exists a decoupling between the velocities and the pressure. Then, we will comment on the numerical results obtained in the case of a driven cavity. Note that the emphasis here is on the development of the method only and therefore the driven cavity flow is not studied with too challenging values of the Reynolds number. In the following, the domain Ω is discretized by rectangular finite volumes of same dimensions with M = L and N = L M, N are given integers. Hence, we have MN volumes which are defined see Fig. by: where K =[x i,x i+ ] [y j,y j+ ] x i+ =i for i=,,m, y j+ = j for j=,,n. i=,,m, j=,,n,

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 3 p v u j+/ j j / K Γi / j Γi j+/ F F u i+/ j v i j+/ i / i i+/ Figure : Colocated mesh. The edges of the control volumes are defined by: } Γ i+ j {x,y; = x= x i+,y [y j,y j+ ] for i=,,m, { } Γ + = x,y; x [x i,x i+ ],y=y j+, for j=,,n. When a colocated method is used, all the unknowns, i.e. the velocities and the pressure, are defined at the center of the cells. Hence, for i=,,m and j=,,n, the unknowns are meant to be approximations of the cell averages: u t p t xi+ yj+ x i xi+ yj+ x i y j ux,y,t dxdy for the velocity,.4 y j px,y,t dxdy for the pressure..5 Remark.. Notice that, in order to simplify the notations for the boundary conditions, we also introduce fictitious control volumes: K j =[x,x ] [y j,y j+ ] and K M+j =[x M+,x M+ 3] [y j,y j+ ] j=,,n K i =[x i,x i+ ] [y,y ] and K in+ =[x i,x i+ ] [y N+,y N+ 3] i=,,m where x =, x M+ 3 = L +, y = and y N+ 3 = L +. Consequently, for the Dirichlet boundary condition on the velocity, we will write u j =g j u j see, e.g.,.6, and, for the Neumann boundary condition on the pressure, we will write p j = p j see, e.g.,.7.

4 S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 Furthermore, we also define the velocity fluxes which occur in the schemes, in the nonlinear terms for example: yj+ F u i+ j t ux i+,y,t dy for the horizontal fluxes, i=,,m,.6 y j F v + t xi+ vx,y j+,t dx for the vertical fluxes, j=,,n..7 x i However, as we shall see, the velocity fluxes are not considered as independant unknowns: they will be computed either directly or by interpolation from the above cell centered unknowns.4,.5. Finally, concerning the time discretization of the problem.-.3, let T > be fixed, and let the time step be t=t/n t where N t is an integer. For k=,,n t, we define u k as the approximate value of u at the time t k = k t. In the following we will use a time finite difference scheme to approximate the time derivative. Hence, we will not use a spacetime finite volume discretization but a space finite volume discretization with a time finite difference scheme. An advantage of this choice is that time implicit discretizations for the diffusive terms can be considered. In the next section, we describe the colocated scheme associated with the projection method of Van Kan []. In the third section, we present the scheme associated with the new splitting method of Guermond and Shen [7]. Then, in the last section we present the numerical results obtained with both schemes and give some comments. A colocated finite volume scheme with a projection method for the time discretization. Time discretization The concept of projection methods was introduced by [, ] in the late 6s, extending to the Navier-Stokes equations the concepts of fractional step methods [, 3, 4]. Then, several projection methods have been elaborated, see [8,, 3, 9] producing schemes of order two in time in general. In this section, we consider for simplicity the projection method of Van Kan []; we will study in a future work the improvements resulting from more recent projection methods. We start from a Crank-Nicholson scheme for the linear part and an Adams-Bashforth scheme for the nonlinear part, that is: u n+ u n u n+ +u n ν +B u n,u n p n+ + p n + = fn+ +f n, t u n+ Ω =g n+., divu n+ =,

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 5 where B u n,u n = 3 un. u n un. u n. Combining this with the projection scheme we obtain: u n+ u n u n+ +u ν n +B u n,u n + p n = fn+ +f n, t u n+ =g n+, Ω u n+ u n+ = t δpn+ where δp n+ = p n+ p n, divu n+ =, u n+ n =g n+ n ; Ω Ω..3 u n+ is called the intermediate velocity. Moreover, from. and.3, we deduce the following Neuman problem used to compute the increment to the pressure: δp n+ = t divun+, δp n+ n =. The proposed algorithm starts by computing the intermediate velocities using.. Then, in the second step, the projection step, we compute the pressure with.4. The new velocities are finally derived from.3. Consequently, the computations of the velocity and the pressure are decoupled. As the nonlinear terms are made explicit, at each time step, we only have to solve a set of Helmholtz-type equations for the velocity and a scalar Poisson equation with Neumann boundary condition for the pressure. Another advantage of this method is that the incompressibility condition is satisfied with the computer accuracy.. Finite volume discretization Now, we describe the spatial discretization, that is the colocated finite volume implementation of the previous time discretization. As usual in a finite volume context, we integrate the equations on each control volume K for i =,,M, j =,,N, and we find: For the time derivative term in.: K u n+ u n t dxdy un+ t u n..4

6 S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 For the Laplace operator used with the velocities in. and with the pressure variation in.4: u u dxdy= K K n dγ u i+j u + u i j u + u + u δp dxdy δp i+j δp K + δp i j δp + δp + δp For the pressure gradient used in. and.3: pnx p dxdy= dγ K K pn y p i+j p i j, p + p using a linear interpolation for the pressure at the edges. + u u, + δp δp. For the nonlinear term in.: x u u u dxdy= + y vu K K x uv+ y v dxdy u = n x +vun y K uvn x +v dγ n y u i+j +u u +u i j F u i+ j F u i j v i+j +v v +v i j F u i+ j F u i j u + +u u +u F v + F + v v + +v v +v, F v + F v using again a linear interpolation for the velocities at the edges. For the divergence term in.4: divu dxdy= u n dγ K K [ F ] u i+ j F u i j + F v + F v.

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 7 Remark.. In all the following of the paper when we will study two time discretizations, the nonlinear term will be written in an explicit form. However, it is also possible to modify the above space discretization in order to then use a semi-implicit form. In the above equations, the boundary conditions are not taken into account. The Dirichlet boundary condition for the intermediate velocity u n+ in. means that for i=,,m and j=,,n, we have: u n+ M+ j = gn+ M+ j, un+ = g n+ j, u n+ j i = g n+, u n+ i = g n+,.5 in+ in+ which can be rewritten, due to the linear interpolation of the velocities at the edges, as follows: u n+ M+j +un+ n+ Mj u =g n+ M+ j, u n+ i +u n+ i =g n+, i where g n+ M+ gn+ j,, g n+ and g n+ are given by: j in+ i j +u n+ j g n+ = yj+ gl M+ j,y,t n+ dy, g n+ = y j j g n+ = xi+ in+ gx,l,t n+ dx, g n+ x i i =g n+ j, u n+ in+ +un+ in =g n+,.6 in+ yj+ y j g,y,t n+ dy, = xi+ gx,,t n+ dx. x i It is well known that when we use finite volumes with Dirichlet boundary conditions, we consider the edges which determine the frontier of the domain as control volumes. Moreover, the Neumann boundary condition for the pressure variation δp n+ in.4 means that: δp n+ M+j = δpn+ Mj, δp n+ j = δp n+ j, δp n+ i = δp n+ i, δp n+ in+ = δpn+ in..7 When Neumann boundary conditions are required in a finite volume context, we introduce virtual control volumes outside the domain. Finally, the three steps of the method are the following:

8 S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 Step. We compute the intermediate velocities u n+ = u n+,v n+ from: un+ t u n ν [ un+ i+j un+ + un+ un+ + un i+j un [ + 3 u n F n i+j +un u i+ j F n v u n +un u n +F n v + = fn+ +f n ] + +un + un+ i j un+ + un i j un + un+ + un+ + un + un u n F n +un i j u i j +F n v + [ u n F n i+j +un u i+ j F n v u n +u n ] u n + +un ] + un un u n F n +u n i j u i j + p n i+j pn i j p n + pn,.8 using the boundary conditions.6 and.7. Step. We compute the pressure variation δp n+ from: δpn+ i+j δpn+ + δpn+ i j δpn+ + δpn+ + δpn+ [ = F n+ t u i+ j Fn+ + u i j using the boundary conditions.7. + δpn+ δpn+ F n+ F n+ ],.9 v + v Step 3. We compute the new velocities u n+ and the new fluxes Fu n+ and Fv n+ from: un+ u n+ = δp n+ i+j δpn+ i j t,. δp n+ + δpn+ F n+ u i+ j Fn+ u i+ j = δp n+ i+j δpn+,. t F n+ F n+ v + v + = δp n+ + δpn+,. t

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 9 using the boundary conditions.7. In the above algorithm, at the first step we determine the intermediate velocities u n+ at the center of the cells. However, for the second and third steps, we need to know the intermediate velocity fluxes F n+ u and F n+ v, hence, these fluxes must be interpolated from the values of the intermediate velocities at the center of the cells. As this interpolation is crucial, we devote the next subsection to explain how we compute the fluxes..3 Computation of the intermediate fluxes The method of interpolation used to compute the intermediate fluxes is essential because it determines the coupling between the velocities and the pressure. The simplest method to compute the intermediate fluxes is the linear interpolation: = u n+ u i+ j F n+ i+j +un+, F n+ v + = vn+ + +vn+..3 Unfortunately, this simple interpolation does not work when we reduce the viscosity ν because the pressure and the velocities are not sufficiently coupled. Let us emphasize this technical difficulty. First, if we consider that u n+ is known, then, from.8, we obtain: where u n+ = a [ u n t + ν [ un+ i+j + un+ i j + un+ + + un+ + un i+j un + un i j un + un + un + un un 3 [ u n F n i+j +un u n u i+ j F n +un i j u i j +F n v + u n ] F n +un + [ u n F n i+j +un v u i+ j u n +F n v + p n i+j a pn i j + +un F n v u n +u n ] u n + +un u n F n +u n i j u i j ] ]+ f n+ u + f n u,.4 a= t +ν +ν. Now, considering only the last term in the right hand side of the above equation, the contribution of the pressure in the horizontal fluxes computed with the linear interpolation.3 is: p n i+j a 4 + pn i+j pn pn i j.

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 This implies that in the right hand side of.9, the pressure contribution to F n+ u i+ j F n+ u i is p n j i+j p n + pn i j. This contribution shows that the pressure terms pn i+j and p n i j do not play any role in the divergence of the intermediate velocity i.e. the velocity and the pressure are decoupled. Such an interpolation leads to incorrect numerical results when we increase the Reynolds number. We have bypassed this difficulty using an approach proposed in [4, 5, 7]. We have modified the interpolation method for the intermediate fluxes. Let us now describe how we compute the horizontal fluxes and the same method is used for the vertical fluxes: = u n+ u i+ j F n+ F n+ v + i+j +un+ = vn+ + +vn+ + p n i+j 4a pn i+j + pn + p n + 4a pn + + pn p n i+j 4a pn + pn i j, p n + 4a pn + pn..5 If we study the pressure contribution in the horizontal fluxes computed with this new interpolation.5 as for the linear interpolation.3, then we find: p n i+j a pn. This implies that in the right hand side of.9, the pressure contribution in F n+ u i+ j F n+ u i is p n j i+j p n + pn i j, i.e., the pressure and the velocity are well-coupled. Remark.. It is important to note that the above interpolation does not increase the cost of the simulation as we do not have to solve a new linear system in order to obtain the intermediate fluxes. Remark.3. When we compare the linear interpolation.3 with the modified linear interpolation.5, we note that the added term corresponds to a third derivative of the pressure multiplied by : p n i+j 4a pn i+j + pn p n i+j 4a pn + pn i j t + ν + ν 3 4 x p n i+ j+o3. Consequently, and following the same arguments for the vertical fluxes, we have added in the right-hand side of the pressure equation.9 the following small regularizing term: t + ν + ν 4 4 x p n + 4 4 y p n +O4 +O 4.

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 So, the idea is to prevent checkerboard oscillations by perturbing the continuity equation with the pressure terms, the basic mathematical principle being that an added small regularizing term annihilates the spurious modes. This term does not cancel the consistency of our scheme but it increases its diffusivity. Remark.4. From the point of view of the stability analysis of this colocated space discretization using a projection method as time discretization, see, e.g., [3] for a stability proof with a linear interpolation for the fluxes. We intend, in a future work, to study the stability of this scheme when the intermediate fluxes are computed with the modified interpolation.5. Such a modified interpolation introduces new difficulties which deserve to be studied separately. 3 A colocated finite volume scheme with a splitting method for the time discretization In their article [7], Guermond and Shen introduced a new class of splitting schemes for incompressible flows, called consistent splitting schemes. Like for the projection scheme described in the previous section, these new schemes only require to solve a set of Helmholtz-type equations for the velocity and a Poisson equation for the pressure. Moreover, the preliminary analysis and the numerical experiments conducted by the authors have shown that the consistent splitting schemes are unconditionally stable and yield full second order accuracy for the velocity and the pressure in both the L - and H -norms see [7]. For all these reasons, it seems interesting to study if it is possible to combine their scheme with a colocated space discretization. The scheme used here is the second-order consistent splitting scheme tested in [7]. 3. Time discretization First, let us quickly recall how this second-order consistent splitting scheme is built. We start by choosing a time discretization for.: 3u n+ 4u n +u n ν u n+ + ˆB u n,u n + p n p n =f n+, 3. t where ˆB u n,u n = u n u n u n u n. From this scheme, we are able to compute the new velocity u n+. Then, to obtain the pressure, we take the divergence of. and use the incompressibility condition to find: p = divf+ν u u u. 3.

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 The time discretization for the above equation is: p n+ = div f n+ +ν u n+ ˆB u n,u n. 3.3 Following [7], we replace in 3.3 by. In this way, the accuracy of the splitting scheme will be improved [7], and we obtain: p n+ = div f n+ ν u n+ ˆB u n,u n. 3.4 Using the well-known relation: 3. becomes: u n+ = divu n+ u n+, 3.5 f n+ ν u n+ ˆB u n,u n = 3un+ 4u n +u n ν divu n+ + p n p n. 3.6 t Inserting the previous equation in 3.4, we obtain: 3u p n+ = n+ 4u n +u n div ν divu n+ + p n p. n 3.7 t Hence: p n+ p n + p n +νdivu n+ = div 3u n+ 4u n +u n t. 3.8 In summary, the time discretization obtained by following the method of [7], consists in computing the velocity u n+ with the equation 3. according to the Dirichlet boundary conditions: 3u n+ 4u n +u n ν u n+ + ˆB u n,u n + p n p n = f n+, t where ˆB u n,u n = u n un u n un, 3.9 u n+ Ω =g. Then we compute the pressure p n+ from: 3u ψ n+ = n+ 4u n +u n div, t ψ n+ n =, 3. p n+ = ψ n+ +p n p n νdivu n+. 3. The main advantage of this splitting scheme is that it is no longer plagued by the artificial Neumann boundary condition of p n+ see.4.

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 3 3. Finite volume discretization To derive the colocated finite volume discretization associated with this time discretization, we integrate the equations 3.9-3. on each control volume K. In doing so, we keep the notations used in the previous section and also the method used to integrate each term. Concerning the boundary conditions, we have a Dirichlet boundary condition for u n+ : u n+ M+j +un+ Mj u n+ i +u n+ i u n+ =g n+ j +u n+ j M+ j, =g n+, i and a Neumann boundary condition for ψ n+ : =g n+, j u n+ in+ +un+ in =g n+, 3. in+ ψ n+ M+j = ψn+ Mj, ψ n+ j = ψ n+ j, ψ n+ in+ = ψn+ in, ψn+ i = ψ n+ i. 3.3 Remark 3.. In 3.9, the terms p j, p M+j, p i and p in+ occur in the gradient of the pressure, but they are not given by the boundary conditions. Consequently, we use a second order compact scheme [] to compute them: p j = 5 p j p j + p 3j, p M+j = 5 p Mj p M j + p M j, p i = 5 p i p i + p i3, p in+ = 5 p in p in + p in. 3.4 Finally, the two steps of the algorithm are the following ones:. We compute the new velocities u n+ = u n+,v n+ from: 3un+ + un+ + un+ 4u n +un ν [ un+ t p n i+j pn i j p n + pn ] + un+ un+ i+j un+ + un+ i j un+ p n + i+j pn i j p n + pn + ˆB u n,u n = fn+, 3.5

4 S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 where: ˆB [ u n,u n ] [F = n u i+ j Fn un i+j +un u i+ j [ [ ] F n u i j Fn u i j un i j +un ] un i+j +un un i j +un [ ] [ + F n F n un + +un un v + v + [ ] [ F n F n un +un un v v + +un +un ] ] ]. Near the boundary, we use 3. and Remark 3... To compute the pressure p n+, we first compute ψ n+ from: ψn+ i+j ψn+ + ψn+ i j ψn+ + ψn+ + ψn+ [ = t [ 3F n+ + ψn+ ψn+ ] u i+ j 4Fn u i+ j+fn u i+ 3F n+ j u i j 4Fn u i j+fn u i j [ 3F n+ + 4F n +F n v + v + v + 3F n+ 4F n +F n ]], 3.6 v v v using the boundary conditions 3.3. Then, we easily obtain the pressure: [ = ψ n+ +p n pn ν ] F n+ + F n+ F n+. 3.7 u i+ j Fn+ u i j v + v p n+ 3.3 Computation of the fluxes As in Section, the way used to interpolate the fluxes is essential because it determines the coupling between the velocities and the pressure. The simplest method, a linear interpolation, is also not sufficient to exclude the spurious modes in the case of this splitting method. To prevent here the checkerboard oscillations we have used a pressure-weighted interpolation [7] as for the projection method. However, a relaxation coefficient θ must be added in front of the small regularizing term in the continuity equation 3.6. This

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 5 means that the fluxes are computed by: F n+ un+ u i+ j= F n+ = vn+ v + i+j +un+ + +vn+ +θ 4a +θ 4a p n i+j pn i+j + pn p n + pn + + pn θ 4a θ 4a p n i+j pn + pn i j, p n + pn + pn. 3.8 Remarks. and.3 are still valid modulo the coefficient θ, and thus justify the fact that the spurious modes are annihilated. In Remark 3. we explain why a relaxation θ has to be added in front of the small regularizing term. Remark 3.. To explain the influence of θ, we study the order of the left hand side of the continuity equation. In the case of the projection method, we have: δpn+ i+j δpn+ + δpn+ i j δpn+ + δpn+ + δpn+ [ tp t ] n+, and for the splitting method we find: + δpn+ δpn+ ψn+ i+j ψn+ + ψn+ i j ψn+ + ψn+ + ψn+ [ t p tt +ν divu ] n+. + ψn+ ψn+ We note that the left-hand side of the continuity equation of the splitting method is smaller than that of the projection method but in both cases the regularizing term has the same order. Moreover, we have also noticed that the splitting method does not work when the regularizing term is too large. So, to control the influence of this added term, we use the relaxation coefficient θ. For θ = /4, we have obtained for several analytic benchmarks the expected accuracy for the pressure order without spurious modes. Consequently, we have used this value for all the numerical results presented in the next section. However, for other simulations, it is possible to have to change this value. 4 Numerical results This section presents the numerical results of the two previously considered time discretizations with the same colocated space discretizations. In the following, we call PMFV the scheme using the projection method and we call GSFV the scheme using the splitting method of [7]. First, to obtain the space and time accuracies of the schemes, we choose the source term corresponding to an exact solution given as an analytical function. Then, we solve

6 S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 the model problem of the driven cavity flow, in which the fluid is enclosed in a unit square box, with an imposed constant velocity in the horizontal direction on the top driven boundary, and a no-slip condition on the remaining walls. At the end of the section, we give some concluding remarks. 4. Tests of the spatial and time accuracies 4.. Spatial accuracy Here, to be able to compute the approximation error, the source term f is such that the solution of the problem.-. is: px,y,t =cosπx sinπysint, ux,y,t= πsinπysin πxsint, πsinπxsin πysint. 4. To obtain the spatial accuracy of the schemes, we fix the time-step t = 3 and solve the Navier-Stokes equations using the two methods presented in Sections PMFV method and 3 GSFV method with different space steps ==/,/,,/6. Moreover, the final time is T = and the Reynolds number is Re =. We show in Fig. the error on the velocity measured in the kinetic energy L - norm and in the enstrophy H - norm for both methods PMFV and GSFV. In Fig. 3, we present the error on the pressure measured in the L -norm. The results show that, as expected, the velocity and the pressure approximations are second-order accurate for all the norms considered and for both time discretizations. 4.. Time accuracy Now, we study the time accuracy of the schemes using the same analytical solution 4.. Here, the expected time order accuracy for the velocity and the pressure is t, so we must choose a very small space-step t such that the approximation error in space does not become more important than the approximation error in time. In fact, for both methods PMFV and GSFV when they are used to solve the Navier-Stokes equations, we can not take a small space-step without taking also a very small time-step t due to the usual stability condition deriving from the explicit time discretization of the nonlinear term of.-.. However, to still obtain an idea of the time order accuracy of the schemes, we can circumvent this difficulty by solving the Stokes equations. Consequently, we have removed the nonlinear term in the schemes and we solved the Stokes equations with a fixed space-step = = / and different values for the time step t 5.. The final time is T=8 and the Reynolds number is Re=. We show in Fig. 4 that the velocity of the PMFV and GSFV methods are both second-order time accurate in the L -norm and in the H -norm. Moreover, in Fig. 5, the results clearly show that the time order of the pressure approximation of PMFV is only equal to.6, whereas the pressure approximation of GSFV is truly second-order. This difference can be attributed to the presence in the PMFV method of numerical

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 7 L norm of the error on the velocity H norm of the error on the velocity GSFV PMFV 3 x GSFV PMFV 3 x Figure : Space discretization error on the velocity at the final time Navier-Stokes problem, t= 3, Re=. L norm of the error on the pressure GSFV PMFV 3 x Figure 3: Space discretization error on the pressure at the final time Navier-Stokes problem, t= 3, Re=. boundary layers which are induced by the fact that the boundary condition enforced by the approximate pressure, namely p n+ p n / n Ω, is not consistent. 4. The driven cavity problem In a second time, we show the numerical results obtained when we solve the Navier- Stokes problem in the model problem of the driven cavity. The driven boundary conditions are given by: g in+ =, for i=,,m, g i =, for i=,,m, g M+ j =, for j=,,n, g j =, for j=,,n.

8 S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 L norm of the error on the velocity H norm of the error on the velocity 3 3 4 4 5 GSFV PMFV 5 GSFV PMFV 6 t 6 t Figure 4: Time discretization error on the velocity at the final time Stokes problem, ==/, Re=. L norm of the error on the pressure 3 4 5 GSFV PMFV 6 t Figure 5: Time discretization error on the pressure at the final time Stokes problem, = =/, Re=. The error is of order for GSFV and of order.6 only for PMFV. First, in order to validate the schemes, we compare the velocity profiles of PMFV and GSFV with the velocity profiles of Ghia [6]. Figs. 6 to 9 show the u-velocity along the vertical line passing through the center and the v-velocity along the horizontal line passing through the center. The computations have been done for several Reynolds numbers, Re =,, 3 and 5, with 8 8 control volumes. The velocity profiles of the schemes PMFV and GSFV are similar to the results of [6] expect for higher Reynolds numbers, Re=3 and Re=5, due to the fact that in [6] a very small spacestep is used. Then, on the next figures, we have drawn the contours of the vorticity, streamfunction and pressure for each scheme for two values of the Reynolds number: Re =, Fig. and Re = 5, Fig.. Until Re =, we do not see any differences on the vorticity,

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 9 Horizontal velocity profiles.9.8.7.6 y.5.4.3...5.5 U GHIA Re= PMFV Re= GHIA Re= PMFV Re= GHIA Re=3 PMFV Re=3 GHIA Re=5 PMFV Re=5 Figure 6: Comparison between PMFV and Ghia [6]: the horizontal velocity profiles Navier-Stokes problem. Horizontal velocity profiles.9.8.7.6 y.5.4.3...5.5 U GHIA Re= GSFV Re= GHIA Re= GSFV Re= GHIA Re=3 GSFV Re=3 GHIA Re=5 GSFV Re=5 Figure 7: Comparison between GSFV and Ghia [6]: the horizontal velocity profiles Navier-Stokes problem.

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5.9.8.7.6 Vertical velocity profiles GHIA Re= PMFV Re= GHIA Re= PMFV Re= GHIA Re=3 PMFV Re=3 GHIA Re=5 PMFV Re=5 V.5.4.3...6.4...4.6 Figure 8: Comparison between PMFV and Ghia [6]: the vertical velocity profiles Navier-Stokes problem. x.9.8.7.6 Vertical velocity profiles GHIA Re= GSFV Re= GHIA Re= GSFV Re= GHIA Re=3 GSFV Re=3 GHIA Re=5 GSFV Re=5 V.5.4.3...6.4...4.6 Figure 9: Comparison between GSFV and Ghia [6]: the vertical velocity profiles Navier-Stokes problem. x

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 Vorticity of PMFV 5 Vorticity of GSFV 5.9 4.9 4.8.8 3 3.7.7.6.6 x.5 x.5.4.4.3.3.......3.4.5.6.7.8.9 3...3.4.5.6.7.8.9 3 x x Streamfunction of PMFV Streamfunction of GSFV.9.9.8.8.7.7.6.6.5.5 x.5 x.5.4.4.3.3.........3.4.5.6.7.8.9...3.4.5.6.7.8.9 x x Pressure of PMFV Pressure of GSFV.9.9.9.9.8.8.8.8.7.7.7.7.6.6.6.6 x.5.5 x.5.5.4.4.4.4.3.3.3.3...........3.4.5.6.7.8.9 x...3.4.5.6.7.8.9 x Figure : Vorticity, streamfunction and pressure contours for Re= Navier-Stokes problem.

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 Vorticity of PMFV 5 Vorticity of GSFV 5.9 4.9 4.8.8 3 3.7.7.6.6 x.5 x.5.4.4.3.3.......3.4.5.6.7.8.9 3...3.4.5.6.7.8.9 3 x x Streamfunction of PMFV Streamfunction of GSFV.9.9.8.8.7.7.6.6 x.5.5 x.5.5.4.4.3.3.......3.4.5.6.7.8.9....3.4.5.6.7.8.9. x x Pressure of PMFV Pressure of GSFV.9.6.9.5.8.8.5.7.7.4.6.4.6 x.5 x.5.3.3.4.4..3..3.........3.4.5.6.7.8.9...3.4.5.6.7.8.9 x x Figure : Vorticity, streamfunction and pressure contours for Re = 5 Navier-Stokes problem.

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 Incompressibility of PMFV 3 Incompressibility of GSFV 8 x 3 x 3 8 3 x x.5 4.5.5.5 4.8.8.6.8.6.4.6.8.4. x.4.. x.6.4 x. x Figure : Incompressibilty for Re = Navier-Stokes problem. streamfunction and pressure contours but when the Reynolds number is higher, some little differences appear on the pressure contours. Moreover, we have also compared the vorticity and streamfunction contours with those of [6] and we have seen that they are similar. Furthermore, note also that we do not have any oscillations on the pressure due to the specific flux interpolations, see Remark.3. Finally, Fig. shows the divergence of the velocities i.e. how the incompressibility condition is satisfied. The divergence is of the order of 8 for the scheme PMFV and of order for the scheme GSFV. We are not surprised by this result as it is wellknown that for a projection method, the divergence is equal to the computer accuracy, but this is not the case for a splitting method. Though the divergence of the velocities is not of the order of the computer accuracy for the scheme GSFV, since it is smaller than the scheme error i.e. O + and O t, it is therefore acceptable. 4.. Concluding remarks In this paper, we have presented two different time discretizations combined with a finite volume colocated space discretization. We have shown that the colocated space discretization, usually used with a projection method, can also be extended to other time discretizations over previous projection method, like the splitting methods of [7]. The main advantage of this splitting method is that the pressure approximation is truly of second-order. In the terminology of [7], the projection methods are those introducing an intermediate velocity with an equation like.3; the splitting methods do not.

4 S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 Acknowledgments The authors thank the reviewers for their careful reading of the manuscript. This work was partially supported by the National Science Foundation under the grant NSF-DMS- 6435, and by the Research Fund of Indiana University. References [] A. J. Chorin, Numerical solution of the Navier-Stokes equations, Math. Comput., 968, 745-76. [] R. Eymard, T. Gallouët, and R. Herbin, Finite volume methods, in: Handbook of Numerical Analysis, Vol. VII, Handb. Numer. Anal., North-Holland, Amsterdam,, pp. 73-. [3] S. Faure, Stability of a colocated finite volume scheme for the Navier-Stokes equations, Numer. Meth. Part. Diff. Equat., 5, 4-7. [4] S. Faure, J. Laminie and R. Temam, Finite volume discretization and multilevel methods in flow problems, J. Sci. Comput., 5-5, 3-6. [5] S. Faure, J. Laminie and R. Temam, Finite volume discretization and multilevel methods for the Navier-Stokes equations, In prep., 8. [6] U. Ghia, K. N. Ghia and C. T. Shin, High-resolutions for incompressible flow using the Navier-Stokes equations and a multigrid method, J. Comput. Phys., 48 98, 387-4. [7] J. L. Guermond and J. Shen, A new class of truly consistent splitting schemes for incompressible flows, J. Comput. Phys., 9 3, 6-76. [8] J. L. Guermond and J. Shen, Velocity-correction projection methods for incompressible flows, SIAM J. Numer. Anal., 4 3, 34 electronic. [9] C. Hsu, A curvilinear-coordinate method for momentum, heat and mass transfer in domains of irregular geometry, PhD thesis, University of Minnesota, 98. [] J. Kim and P. Moin, Application of a fractional-step method to incompressible Navier-Stokes equations, J. Comput. Phys., 59 985, 38-33. [] S. K. Lele, Compact finite difference schemes with spectral-like resolution, J. Comput. Phys., 3 99, 6-4. [] G. I. Marchouk, Numerical Methods in Meteorology, Novosibirsk in Russian, 965. [3] M. Marion and R. Temam, Navier-Stokes equations: Theory and approximation, in: Handbook of Numerical Analysis, Vol. VI, North-Holland, Amsterdam, 998, pp. 53-688. [4] S. V. Patankar, Numerical Heat Transfer and Fluid Flow, Series in Computational Methods in Mechanics and Thermal Sciences, McGraw-Hill, New York, 98. [5] M. Perić, R. Kessler and G. Sheuerer, Comparison of finite-volume numerical methods with staggered and colocated grids, Comput. Fluids, 64 988, 389-43. [6] C. Prakash, A finite element method for predicting flow through ducts with arbitrary cross sections, PhD Thesis, University of Minnesota, 98. [7] C. M. Rhie and W. L. Chow, Numerical study of the turbulent flow past an airfoil with trailing edge separation, AIAA J., 983, 55-53. [8] C. M. Rhie, A numerical study of the flow past an isolated airfoil with separation, PhD Thesis, University of Illinois, Urbana-Champaign, 98. [9] J. Shen, On error estimates of projection methods for Navier-Stokes equations: Second-order schemes, Mathematica Cluj, 655 996, 39-65.

S. Faure, J. Laminie and R. Temam / Commun. Comput. Phys., 4 8, pp. -5 5 [] R. Temam, Sur l approximation de la solution des equations de Navier-Stokes par la méthode des pas fractionnaires, I et II, Arch. Rational Mech. Anal., 3 969, 35-53. [] J. Van Kan, A second-order accurate pressure-correction scheme for viscous incompressible flow, SIAM J. Sci. Statist. Comput., 7 986, 87-89. [] P. Wesseling, Principles of Computational Fluid Dynamics, Springer Series in Computational Mathematics, Vol 9, Springer-Verlag, Germany,. [3] N. N. Yanenko, The Method of Fractional Steps. The Solution of Problems of Mathematical Physics in Several Variables, Novosibirsk, 966 in Russian, English translation, Springer- Verlag, New York, 97. [4] N. N. Yanenko and B. G. Kuznetsov, Numerical study of a symmetrical visquous incompressible flow around a disc, in: Symposium of Numerical Calculus and of Applied Mathematics, Novosibirsk, 965. [5] Y. Zang, R. L. Street and J. R. Koseff, A non-staggered grid, fractional step method for timedependent incompressible Navier-Stokes equations in curvilinear coordinates, J. Comput. Phys., 4 994, 8-33.