projection methods for the calculation of … · method and its simplified version. a 2-d vortex...

19
PROJECTION METHODS FOR THE CALCULATION OF INCOMPRESSIBLE UNSTEADY FLOWS Ming-Jiu Ni UCLA MAE Department, Los Angeles, California, USA Satoru Komori Department of Mechanical Engineering, Kyoto University, Kyoto, Japan Neil Morley UCLA MAE Department, Los Angeles, California, USA A general formula for the second-order projection method for solution of unsteady in- compressible Navier-Stokes equations is presented. It includes the four- and three-step projection methods. Also, RKCN (Runge-Kutta=Crank-Nicholson) three-step and four-step projection methods are presented, in which the three-stage Runge-Kutta and semi-implicit Crank-Nicholson techniques are employed to update the convective and diffusion terms, respectively. The RKCN projection method is further simplified. The pressure Poisson equation (PPE) is solved only at the final substage for the simplified RKCN projection method, which greatly reduces the computation time. The high-order boundary conditions for the intermediate velocities have also been given for the four-step RKCN projection method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated to validate the analysis. The projection method is also used to do the direct numerical simulation (DNS) of a fully developed channel flow. 1. INTRODUCTION The dimensionless unsteady incompressible Navier-Stokes equations in pri- mitive variables can be written as qu qt þ u Hu ¼Hp þ 1 Re H 2 u ð1aÞ H u ¼ 0 ð1bÞ Received 9 December 2002; accepted 16 May 2003. Ming-Jiu Ni acknowledges financial support from the Japan Society for the Promotion of Science (JSPS). Address correspondence to Ming-Jiu Ni, UCLA MAE Department, 43-133 Engineering IV, Los Angeles, CA 90095-1597, USA. E-mail: [email protected] Numerical Heat Transfer, Part B, 44: 533–551, 2003 Copyright # Taylor & Francis Inc. ISSN: 1040-7790 print/1521-0626 online DOI: 10.1080/10407790390231789 533

Upload: others

Post on 21-Jun-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

PROJECTION METHODS FOR THE CALCULATION OFINCOMPRESSIBLE UNSTEADY FLOWS

Ming-Jiu NiUCLA MAE Department,Los Angeles, California, USA

Satoru KomoriDepartment of Mechanical Engineering,Kyoto University, Kyoto, Japan

Neil MorleyUCLA MAE Department,Los Angeles, California, USA

A general formula for the second-order projection method for solution of unsteady in-

compressible Navier-Stokes equations is presented. It includes the four- and three-step

projection methods. Also, RKCN (Runge-Kutta=Crank-Nicholson) three-step and four-step

projection methods are presented, in which the three-stage Runge-Kutta and semi-implicit

Crank-Nicholson techniques are employed to update the convective and diffusion terms,

respectively. The RKCN projection method is further simplified. The pressure Poisson

equation (PPE) is solved only at the final substage for the simplified RKCN projection

method, which greatly reduces the computation time. The high-order boundary conditions

for the intermediate velocities have also been given for the four-step RKCN projection

method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D

lid-driven cavity flow are simulated to validate the analysis. The projection method is also

used to do the direct numerical simulation (DNS) of a fully developed channel flow.

1. INTRODUCTION

The dimensionless unsteady incompressible Navier-Stokes equations in pri-mitive variables can be written as

quqt

þ u � Hu ¼ �Hpþ 1

ReH2u ð1aÞ

H � u ¼ 0 ð1bÞ

Received 9 December 2002; accepted 16 May 2003.

Ming-Jiu Ni acknowledges financial support from the Japan Society for the Promotion of Science

(JSPS).

Address correspondence to Ming-Jiu Ni, UCLA MAE Department, 43-133 Engineering IV, Los

Angeles, CA 90095-1597, USA. E-mail: [email protected]

Numerical Heat Transfer, Part B, 44: 533–551, 2003

Copyright # Taylor & Francis Inc.

ISSN: 1040-7790 print/1521-0626 online

DOI: 10.1080/10407790390231789

533

Page 2: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

where u, p are the nondimensional velocity vector and kinetic pressure, respectively,and Re is the Reynolds number.

It is a central issue to develop an appropriate discrete form of the incom-pressibility constraint for the design of numerical methods for Navier-Stokes (N-S)equations. The famous primitive-variable numerical methods include the MACmethod [9], the projection method [1, 3–7, 12], the SIMPLE method [21, 22], andothers. The MAC method [9] is an explicit transient algorithm. The time-step size isrestricted to be proportional to the square of the spatial step size. In [14], the MACmethod is employed to do the calculation of interfacial flows. The SIMPLE algo-rithm of Patankar and Spalding [22] employs implicit updating techniques for bothconvective and diffusion terms. The time step can be greatly improved. Chorin [5]developed the projection method or fractional step method, in which the diffusionterm is implicitly updated and the time-step size is also greatly enlarged. For theunsteady incompressible Navier-Stokes equation, Gresho [7] presented a detaileddiscussion of the projection method, which contains methods of first, second, andthird-order temporal accuracy. The optimal boundary conditions for intermediatevelocities have been given. It was also shown that the simplified projection methodsand the simplified boundary conditions can give the same accuracy solution as theoptimal one beyond a very thin boundary layer. Dukowicz and Dvinsky [6] designeda general high-order projection method based on the application of the approx-imation factorization (AF) technique on the Navier-Stokes system. By employingblock LU (lower and upper triangular matrices) decomposition, Perot [24, 25]analyzed the solution accuracy of the projection method and the influence ofboundary conditions on it.

After a brief review of the projection methods, we present a general second-order formula of the projection method for the incompressible N-S equation inSection 2. The general formula is further formed as four-step and three-step pro-jection methods. In Section 3, the RKCN four- and three-step projection methodsare developed. The simplified version of the three-stage RKCN four-step projectionmethod is also presented, in which the PPE needs to be solved only at the lastsubstage. The higher-order boundary conditions for the intermediate velocities arealso given. In Section 4, 2-D vortex flows and oscillating cavity flows are simulatedby the RKCN four-step projection method and its simplified version to validate theanalysis. Also, 3-D lid-driven cavity flows for Re¼ 400, and Re¼ 3,200 are con-ducted. The steady and unsteady vortexes show that the computation method hashigh accuracy. Direct numerical simulation (DNS) of turbulence with nonuniformmeshes was performed for a fully developed turbulent channel flow. The conclusionsare presented in Section 5.

2. GENERAL SECOND-ORDER PROJECTION FORMULA

The straightforward temporal discretization of Eqs. (1a) and (1b) can bewritten as

vnþ1 � vn

Dtþ aHpnþ1 ¼ H2v

Re

� �nþ1=2

� v � Hvð Þnþ12� 1� að ÞHpn ð2aÞ

534 M.-J. NI ET AL.

Page 3: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

H � vnþ1 ¼ 0 ð2bÞ

Here the backward Euler technique is employed for the updating of the time deri-vative term. v and p are the unknown discrete velocity vector and pressure,H2v=Re� �nþ1=2

and � v � Hvð Þnþ1=2 are the temporal updating of the diffusion andconvective terms, respectively. The pressure term is updated by aHpnþ1þ1� að ÞHpn � a is a coefficient constant. We have trapezoidal updating of the pressureterm when a ¼ 1

2, and fully implicit updating when a ¼ 1. The solution of Eqs. (2a)and (2b) is not easy to obtain, because it involves simultaneous solution for thevelocity and pressure. Projection methods first solve the convection-diffusion equa-tion to predictor intermediate velocities, which are then projected onto the space ofdivergence-free field. Following the matrix analysis method [6, 24], the discretizedEqs. (2) can be written as the matrix form:

A G

D 0

!vnþ1

a pnþ1

r� 1� að ÞGpn

0

!ð3Þ

where A, G, and D are submatrices, the right-hand-side r vector contains all thosequantities that are already known. Different updating techniques for the convectiveand diffusion terms will produce different formulations of A or r. Considering theexplicit updating of the convective term for simplicity and semi-implicit Crank-Nicholson updating of the diffusion term for stability, the discretized Navier-Stokesequations (2) can be written as the matrix form (3) with

A ¼ 1

DtI� Dt

2ReL

� �r ¼ 1

DtIþ Dt

2ReL

� �vn �Nnþ1=2 vð Þ

Here Nnþ1=2 vð Þ is the discrete convective operator with second-order temporalaccuracy, I is the unit identity matrix operator, L is the discrete Laplacian operator,D is the discrete divergence operator, and G is the discrete gradient operator.

The block matrix form of system (3) can be factored as

I 0

DA�1 I

!A G

0 �DA�1G

!unþ1

a pnþ1

r� ð1� aÞGpn

0

!ð4Þ

or

A 0

D �DA�1G

!I A�1G

0 I

!vnþ1

a pnþ1

r� 1� að ÞGpn

0

!ð5Þ

The latter can be reduced to the following set of equations:

A~vv ¼ r� 1� að ÞGpn ð6aÞ

aDA�1Gpnþ1 ¼ D~vv ð6bÞ

vnþ1 ¼ ~vv� aA�1Gpnþ1 ð6cÞ

PROJECTION METHODS FOR UNSTEADY FLOWS 535

Page 4: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

which is referred to as the Uzawa method. However, the Uzawa method is extremelyexpensive computationally, since matrix A must effectively be inverted for everyiteration of the discrete pressure Poisson equation. The fractional step methodapproximates Eq. (3) and significantly reduces the computational complexity byassuming that A�1 ¼ Dt I as

A Dt Að ÞG

D 0

!vnþ1

a pnþ1

r� 1� að ÞGpn

0

!ð7Þ

The pressure gradient terms in the momentum equations have been altered.The approximation has only first-order temporal accuracy with an error term asaDt I=Dt� A½ �Gpnþ1, which will be a Dt= 2Reð Þ½ �LGpnþ1 if the Crank-Nicholsonscheme is used to update the diffusion term. This method was first used to constructthe projection method in [5].

According to the error analysis result of the first-order approximation (7), herewe consider the following approximation to system (3):

A ðDtAÞG

D 0

!vnþ1

apnþ1

r�ð1�aÞGpn�aðI�DtAÞGpn

0

rþðaDtA�IÞGpn

0

!

ð8Þ

where the right-hand-side vector has been augmented by an extra term. Equation (8)is a second-order approximation to system (3) with error term aðDtÞ2 I=Dt� A½ �G ðpnþ1 � pnÞ=Dt� �

, which will be equal to a½ðDtÞ2=ð2ReÞ�LG pnþ1 � pn� �

=Dt� �

whenthe diffusion term is updated using the Crank-Nicholson scheme.

The coefficient matrix of Eq. (8) can be factored by block decomposition as

A 0

D �ðDt DÞG

!~vv

a pnþ1

rþ ðaDt A� IÞGpn

0

!ð9aÞ

I Dt G

0 I

!vnþ1

a pnþ1

~vv

a pnþ1

!ð9bÞ

Equations (9a) and (9b) can be written in the series of operation as

A~vv ¼ rþ aDt A� Ið ÞGpn ð10aÞ

aDt DG pnþ1 ¼ D~vv ð10bÞ

vnþ1 ¼ ~vv� aDt Gpnþ1 ð10cÞ

The projection method has second-order temporal accuracy, and (10a) can bereformulated as

A ~vv� aDt G pnð Þ ¼ r� Gpn ð11Þ

Letting v̂v ¼ ~vv� aDt Gpn, we have the following four-step projection methodfor incompressible flows:

Av̂v ¼ r� Gpn ð12aÞ

536 M.-J. NI ET AL.

Page 5: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

~vv ¼ v̂vþ aDt G pn ð12bÞ

aDt DGpnþ1 ¼ D~vv ð12cÞ

vnþ1 ¼ ~vv� aDt G pnþ1 ð12dÞThe above equations can also be formulated as a three-step projection step method:

Av̂v ¼ r� Gpn ð13aÞ

aDt DG pnþ1 � pn� �

¼ Dv̂v ð13bÞ

vnþ1 ¼ v̂v� aDt G pnþ1 � pn� �

ð13cÞThe general four-step projection method (12) will form the Choi and Moin method[4] with a ¼ 1. In [4], the semi-implicit second-order Crank-Nicholson scheme isemployed for updating of both convective and diffusion terms, to improve the sta-bility. It should be noted that the implicit updating of the convective term does notfavor the implementation of higher-order spatial schemes. The second-order centraldifference (CD) scheme is utilized to conduct the spatial discretization of the con-vective term in [4].

The second-order-accuracy Dukowicz and Dvinsky method [6] is oftenemployed to do the DNS of turbulent flows. It needs to solve the Poisson equation ofa pressure difference. In fact, the general three-step projection method of (13) witha ¼ 1

2 forms the method in [6]. The original second-order method of [6] was designedfor solving the Stokes flow, in which the Crank-Nicholson scheme was employed toupdate the diffusion term with good stability. The projection method (13) with a ¼ 1was also employed to simulate boiling heat transfer [29] incorporating the level setapproach, in which the first-order fully implicit scheme and explicit scheme wereemployed to update the diffusion and convective terms, respectively.

Bell, Colella, and Glaz [1] developed a projection method in which Crank-Nicholson is employed for updating of the diffusion term and Godunov is used forupdating of the convective term. Usually, the Godunov scheme has only second-order spatial accuracy. This projection method is very robust, and the variabledensity version of this projection method [2] has been successfully applied to thesimulation of unsteady interfacial flows incorporating the volume-of-fluid (VOF)[26] and level set [30] approaches. This projection method is also a special case of thegeneral three-step projection method with a ¼ 1.

The standard SIMPLE algorithm [21, 22] is formulated to solve steady flows,not for solving transient flows. The fundamental concept of the SIMPLE method isto derive a pressure-correction equation by enforcing mass continuity over each cell.Here we rewrite the SIMPLE method as fractional formulations:

1

Dtþ An

p

� �v̂vP ¼ vnP

DtþX

AnMv̂vM � Gpn ð14aÞ

DDt

1þ AnP Dt

G pnþ1 � pn� �� �

¼ Dv̂vP ð14bÞ

PROJECTION METHODS FOR UNSTEADY FLOWS 537

Page 6: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

vnþ1p ¼ v̂vP � Dt

1þ AnP Dt

G pnþ1 � pn� �

ð14cÞ

In Eqs. (14), the A coefficient terms contain the contribution of the convective anddiffusion terms. The indexM is a grid identifier referring to all the nodes surroundingthe pole nodes that are involved in the formulation of the finite-difference repre-sentation of the spatial fluxes. The subscript P denotes the pole node. Similar toPatankar [22], linear treatment of the convective term is applied in the above dis-cretization. For the SIMPLE method, the Poisson equation (14b) will be solved toget the pressure difference, which will be utilized to correct the velocity by (14c). IfAn

P is set to zero in Eqs. (14b) and (14c), the SIMPLE method is in fact the three-step projection method as described in Eq. (13) without considering the differentupdating techniques for the convective and diffusion terms in momentum equations.However, due to the linear treatment for the nonlinear term, the iteration is neededfor the SIMPLE method to solve unsteady flows at every time level.

3. RKCN PROJECTION METHODS

A simple Fourier stability analysis of the Adams-Bashforth method for theconvective term as applied to the 1-D linear hyperbolic equation shows that thismethod is unstable for all Courant, Freidricks, and Levy (CFL) numbers. Theimplicit techniques for the convective term in Navier-Stokes equations will make itdifficult to solve the discretized algorithm equations, especially for the higher-orderspatial discretization schemes. The Runge-Kutta method seems more suitable for theconvective term because of its stability and simplicity. Rai and Moin [27] employedan explicit low-storage Runge-Kutta method, which has the additional advantagethat it requires the minimum amount of computer runtime memory for the con-vective term and the Crank-Nicholson technique for the diffusion term. The overallaccuracy of the method is second-order in time. However, they employed Kim andMoin’s projection method [12], which has reduced accuracy for most boundaryconditions [24]. The method has been extended to a semistaggered grid system [10].Now we present a RKCN projection method based on the general second-orderformula of the projection method. The three-stage RKCN four-step projectionmethod be expressed as

Am v̂vm � vm�1� �

¼ 2gm

Re

� �L vm�1Þ þ rmN � G am pm�1 þ bm pm�2

� ��ð15aÞ

~vvm ¼ v̂vm þ aDtG am pm�1 þ bm pm�2� �

ð15bÞ

vm ¼ ~vvm � aDt G am pm þ bm pm�1� �

ð15cÞ

aDt DG am pmð Þ ¼ D~vvm � aDt DGðbm pm�1Þ ð15dÞwhere

am ¼ 8

15;5

12;3

4

� �bm ¼ 0;

17

60;� 5

12

� �gm ¼ 4

15;1

15;1

6

� �

Am ¼ 1

DtI� Dtgm

ReL

� �rmN ¼ �amNðvm�1Þ � bmN vm�2

� �

538 M.-J. NI ET AL.

Page 7: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

Here N vð Þ represents the discretization formula of the nonlinear term. The diver-gence form, skew-symmetry form, or convective form can be employed to discretizethe convective term. Here, to keep the conservativity of mass, kinetic energy,and momentum, the skew-symmetry form is employed to conduct the spatialdiscretization. The velocity components and pressure in the intermediate velocitiesequation at the first substage a v�1 ¼ 0, p�1 ¼ 0 ðm� 2 ¼ �1Þ and v0 ¼ vn,p0 ¼ pnðm� 1 ¼ 0Þ. At the third stage v3 ¼ vnþ1, p3 ¼ pnþ1, which are the updatedvelocities and pressure for the next time level.

The above RKCN techniques can also be employed to update the convectiveand diffusion terms, respectively, for the three-step projection method (13) as fol-lows:

Am v̂vm � vm�1� �

¼ 2gm

Re

� �Lðvm�1Þ þ rmn � Gðam pm�1 þ bm pm�2Þ ð16aÞ

vm ¼ v̂vm � aDt G am pm � pm�1� �

þ bm pm�1 � pm�2� �� �

ð16bÞ

aDt DG am pm � pm�1� �� �

¼ Dv̂vm � aDt DG bm pm�1 � pm�2� �� �

ð16cÞ

For the three-stage RKCN three-step projection method, the Poisson equation (16c)will be solved to get the pressure difference, which will be further used to correct thevelocity by (16b). Both the RKCN three-step and four-step projection methods needto solve Poisson equations for the pressure or pressure difference in every substage,which will consume much more computational time, although we can employmultigrid and Krylov methods to accelerate the convergence. In [15], the RMmethod has been simplified. In the simplified version of RM method, the pressurePoisson equation needs to be solved only at the last substage, and it will savecomputation time. It has been stressed in [15] that the simplified version also hassecond-order accuracy, like the original one. Here we present a simplified version ofthe three-stage RKCN (SRKCN) four-step projection method (15) as

Am v̂vm � ~vvm�1� �

¼ �G am þ bmð Þpn½ � þ rmN � 2gm

Re

� �L ~vvm�1� �

ð17aÞ

~vvm ¼ v̂vmaDt G am þ bmð Þpn½ � m ¼ 1; 2; 3ð Þ ð17bÞ

vm ¼ ~vvm � aDtXml¼1

al þ bl� �

Gpn m ¼ 1; 2ð Þ ð17cÞ

vnþ1 ¼ ~vv3 � aDt Gpnþ1 ð17dÞ

aDt DGpnþ1 ¼ D~vv3 ð17eÞ

The RKCN four-step projection method and its simplified version have alsobeen extended to staggered grid [9] and collocated grid systems [28, 31]. Higher-orderspatial discretization schemes, such as spectral-like compact schemes [16] and fullyconservative high-order schemes [19] can be easily incorporated with the above

PROJECTION METHODS FOR UNSTEADY FLOWS 539

Page 8: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

RKCN projection methods. A spatial high-order accurate scheme is in favour of theresolution of small scales of turbulence in DNS and LES [18]. For projectionmethods, it is important to present high-order-accuracy boundary conditions for theintermediate velocities. For the three-stage RKCN four-step projection method andits simplified version, we have the following.

Boundary Conditions

For the three-stage RKCN four-step projection method, the second-ordertemporal boundary conditions for the intermediate velocities can be given as

v̂vm � vm�1 ¼ am þ bmð Þ vnþ1 � vn� �

ð18aÞ

vm ¼ vn þXml¼1

al þ bl� �

vnþ1 � vn� �

ð18bÞ

For the simplified RKCN four-step projection method, we present the following twokinds of boundary conditions for the intermediate velocities.

BCs-A: v̂vm � ~vvm�1 ¼ am þ bmð Þ vnþ1 � vn� �

ð19aÞ

~vvm ¼ vn þXml¼1

al þ bl� �

vnþ1 � vn� �

ð19bÞ

vm ¼ vn þXml¼1

al þ bl� �

vnþ1 � vn� �

ð19cÞ

BCs-B: v̂vm � ~vvm�1 ¼ am þ bmð Þ vnþ1 � vn� �

ð20aÞ

~vvm ¼ vn þXml¼1

al þ bl� �

vnþ1 � vn� �

þ DtaGpn� �

ð20bÞ

vm ¼ vn þXml¼1

al þ bl� �

vnþ1 � vn� �

ð20cÞ

BCs-A has only first-order accuracy for the velocities, while BCs-B has second-orderaccuracy for the velocities. The computation comparison for the BCs-A and BCs-Bwill be conducted in the next section.

4. NUMERICAL VALIDATION

2-D Vortex Flows

The proposed schemes and boundary conditions for the RKCN four-stepprojection method and its simplified version are tested in computing the following2-D unsteady flow of a decaying vortex, which has the following exact solution:

u x; y; tð Þ ¼ � cos xð Þ sin yð Þe�2t ð21aÞ

540 M.-J. NI ET AL.

Page 9: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

v x; y; tð Þ ¼ sin xð Þ cos yð Þe�2t ð21bÞ

p x; y; tð Þ ¼ � 1

4cos 2xð Þ þ cos 2yð Þ½ �e�4t ð21cÞ

This example has been simulated in [12, 15] to validate the temporal accuracy of aprojection method. Computations are carried out in the domain 0 � x; y � p. In ourcomputation, the uniform collocated meshes were used in the computation. On theboundaries, the exact solution was imposed. The same CFL number is used for all ofthe tested algorithms, which means the time-step size is proportional to the grid size.Figure 1 plots the maximum errors in u, at different time levels as a function of meshrefinement. The y axis represents the maximum errors in u, while the x axis repre-sents the mesh points. Similar results were obtained for v. Figure 1 shows that theRKCN projection method is of second-order temporal accuracy, since the slope isgreater than 2.

2-D Oscillating Lid-Driven Cavity Flow

Lid-driven flows in a 2-D square cavity at Reynolds number 1,000 and 1 (basedon the lid velocity and cavity length) were simulated. The velocity boundary con-ditions are set to zero at all solid walls, except for the lid velocity, which is set tou0 ¼ sin ptð Þ. The results are produced by the three-stage RKCN four-step projectionmethod and its simplified version with 61� 61 uniform collocated meshes and10�1; 5� 10�2; 10�2; and 10�3 time-step sizes. This validation is used to check the

Figure 1. The maximum error of velocity u over the refined meshes.

PROJECTION METHODS FOR UNSTEADY FLOWS 541

Page 10: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

effect of boundary conditions of intermediate velocity. Our results using RKCN andSRKCN for Re¼ 1,000 are fully consistent with the results from Mohamad [17], inwhich the SIMPLER method with 121� 121 nonuniform meshes and 2� 10�4 time-step size are employed to get the benchmark solution. Due to space limitations, it isnot shown here.

For the case of low Reynolds number with Re¼ 1, Figure 2 shows that thesimplified version with first-order boundary conditions BCs-A (19) can get accurateresults only when time step is less than or equal to 0.001, while SRKCN with BCs-B(20) can get accurate results even if the time step is 0.01. The numerical results showthat the high-order-accuracy boundary conditions for the intermediate velocitiesplay a great role for getting good numerical results and the high-order boundaryconditions developed in this article can be applied to get high-accuracy numericalresults for unsteady flows.

3-D Lid-Driven Flows in a Square Cavity

The lid-driven flow in a cubic cavity (16161) has been widely used for vali-dation and comparison purpose. In the present work, we do the computation forRe¼ 400 and Re¼ 3,200, for which steady and unsteady transversal vortices areexpected. The results for Re¼ 400 are shown in Figure 3, where the velocity profilesof the u component on the vertical centerline and the v component on the horizontalcenterline of the plane z¼ 0.5 are shown. Both the positions and values of theextremes velocity are in a good agreement with Figure 3 in [10]. The velocity vector

Figure 2. Temporal variations of u velocity at x¼ 0.5 and y¼ 0.25, 0.5, 0.75 for Re¼ 1 by SRKCN

projection method with BCs-A and BCs-B.

542 M.-J. NI ET AL.

Page 11: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

Figure 3. 3-D lid-driven cavity flow for Re¼ 400: (a) u–v vector plot at midplane of z¼ 0.5; (b) v–w vector

plot at midplane of x¼ 0.5; (c) u–w vector plot at midplane of y¼ 0.5; (d) velocity profiles (u component on

vertical centerline, v component on horizontal centerline).

PROJECTION METHODS FOR UNSTEADY FLOWS 543

Page 12: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

Figure 3. Continued.

544 M.-J. NI ET AL.

Page 13: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

plots projected onto three orthogonal midplanes are also displayed in Figure 3. Theplots in x–z (b) and y–z (c) clearly demonstrate that the flow is completely 3-D evenat this low Re. The flow structure of the velocity field and the position of thetransversal vortex core of present calculation are quantitatively consistent with theplots of Figure 4 of [10]. The velocity–vector plot of Figure 3 also clearly demon-strates the formation of steady transversal vortices, which are present in both the x–zand y–z planes. The strength of these transversal rolls is small compared with that ofthe main one.

Lid-driven flows in a 3-D cubic cavity at high Reynolds numbers have beeninvestigated both experimentally and numerically. The highly unsteady flowsexhibit complex flow structures such as the Taylor-Goertler-like (TGL) vorticesfirst observed by Koseff et al. [13]. This flow serves as an excellent test case fortime-accurate numerical methods. We computed the starting flow at a Reynoldsnumber of 3,200. Numerical experiments by Perng [23] have shown that at thisReynolds number the flow is essentially symmetric over the midplane of the cavity.In Figures 4 and 5, instantaneous streamlines and vortexes in the midplanes ofx¼ 0.5 and y¼ 0.5 have been shown at t¼ 20 and t¼ 70. Strong unsteady phe-nomena can be seen. The complicated transversal vortex in the midplane of y¼ 0.5shows that the flow is very complicated. At t¼ 70, we can clearly see the formationof the TGL vortex from the v–w vector plot at the midplane of x¼ 0.5. The TGLvortex is a longitude vortex, which will contribute to the turbulence generation forhigh Reynolds number.

DNS of Fully Developed Turbulence

A direct numerical simulation (DNS) of the fully developed thermal field in afully developed turbulent channel flow of air was carried out by the above-developedRKCN projection method. Periodic boundary conditions are applied in thestreamwise and spanwise directions, while nonslip wall conditions are used for thewall-normal direction. A fourth-order, fully conservative central difference scheme[19] was employed to discretize the convective term. The fast Fourier transform(FFT) method is employed to solve the Pressure Poisson Equation (PPE). For thiscomputation, the turbulent Reynolds number, based on wall friction velocity ut andwidth of channel d, was set at 150. The computational periods were chosen to be2:5pd and pd in the streamwise and spanwise directions, respectively. A staggeredgrid system is employed to avoid the checkerboard phenomenon. Uniform mesheswith spacing Dxþ ¼ utDx=v ¼ 18:4, Dzþ ¼ utDz=v ¼ 7:36 are used in the streamwiseand spanwise directions. nonuniform meshes of 128 points with hyperbolic tangentdistribution are used with Dyþ ¼ utDy=v ¼ 0:50� 7:51 in the wall-normal direction.In this article, ( )+ means the normalization by the wall variables, ut (frictionvelocity), v (kinetic viscosity), and Tt (friction temperature).

The dimensionless mean velocity and temperature profiles are shown as afunction of yþ ¼ uty=v in Figure 6a. The root-mean-square velocity and temperaturefluctuation normalized by the friction velocity and friction temperature are illu-strated in Figure 6b. Figures 6c and 6d show the budgets of turbulent kinetic energyand temperature variance. From Figure 6, we can see all of the results agree closelywith the results of Kasagi et al. [11], which were acquired by the high-accuracy

PROJECTION METHODS FOR UNSTEADY FLOWS 545

Page 14: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

Figure 4. v–w vector at midplane of x¼ 0.5 for 3-D lid-driven cavity flow at Re¼ 3,200: (a) t¼ 20; (b)

t¼ 70.

546 M.-J. NI ET AL.

Page 15: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

Figure 5. u–w vector at midplane of y¼ 0.5 for 3-D lid-driven cavity flow at Re¼ 3,200: (a) t¼ 20; (b)

t¼ 70.

PROJECTION METHODS FOR UNSTEADY FLOWS 547

Page 16: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

spectral method. This illustrates that the RKCN projection method can be appliedon nonuniform meshes to get high-accuracy results. By employing a high-orderspatial difference scheme, it can be used to do the DNS, LES research of the tur-bulence.

Figure 6. DNS results for fully developed channel thermal field: (a) dimensionless mean velocity and

temperature; (b) distribution of rms velocity and temperature; (c) budget of turbulent kinetic energy; (d)

budget of temperature variance kW ¼ y02=2.

548 M.-J. NI ET AL.

Page 17: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

5. SUMMARY

Based on the matrix analysis method, a general second-order temporal accu-racy formula of the projection method has been presented for unsteady incom-pressible N-S equations, which is further formed as the four- and three-stepprojection methods. Some existing well-known projection methods (or fractional-step

Figure 6. Continued.

PROJECTION METHODS FOR UNSTEADY FLOWS 549

Page 18: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

methods) have been analyzed. The SIMPLE method for unsteady flows has alsobeen discussed, in which it has been written as the three-step formulas.

The RKCN multistep projection methods have been developed. The three-stage, low-storage Runge-Kutta technique is employed to explicitly update theconvective term for stability and simplicity, and the semi-implicit Crank-Nicholsontechnique is employed to update the diffusion term for stability. The simplifiedversion of the RKCN projection method also has been presented based on the four-step formula. The PPE needs to be solved only at the last substage to enforce thedivergence-free velocities for the simplified version. It will save considerable com-putation time compared with the original one.

The second-order boundary conditions for intermediate velocities have beenpresented for the Runge-Kutta projection method and its simplified version. Thenumerical results show that high-accuracy boundary conditions for intermediatevelocities play a big role in the acquisition of high-accuracy results.

Numerical examples of 2-D vortex flows and lid-driven cavity flows have beensimulated to validate the analysis and conclusions in this article. The DNS result fora fully developed channel turbulent flow shows that the RKCN projection methodcan be used to accurately simulate a complex flow.

The present numerical methods have been further extended to the variable-density Navier-Stokes equations. A level set approach has been incorporated tosimulate the 2-D and 3-D bubble rising=drop falling flow [20].

REFERENCES

1. J. B. Bell, P. Colella, and H. M. Glaz, A Second-Order Projection Method for theIncompressible Navier-Stokes Equations, J. Comput. Phys., vol. 85, p. 257, 1989.

2. J. B. Bell and D. L. Marcus, A Second-Order Projection Method for Variable DensityFlows, J. Comput. Phys., vol. 101, p. 334, 1992.

3. H. Choi and P. Moin, Effects of the Computational Time Step on Numerical Solutions ofTurbulent Flow, J. Comput. Phys., vol. 113, pp. 1–4, 1994.

4. H. Choi, P. Moin, and J. Kim, Direct Numerical Simulation of Turbulent Flow overRiblets, J. Fluid Mech., vol. 255, p. 503, 1993.

5. A. J. Chorin, Numerical Solution of Navier-Stokes Equations, Math. Comput., vol. 22,

p. 745, 1968.6. J. K. Dukowicz and A. S. Dvinsky, Approximation Factorization as a High Order

Splitting for Implicit Incompressible Flow Equations, J. Comput. Phys., vol. 102, pp. 336–

347, 1992.7. P. Gresho, On the Theory of Semi-Implicit Projection Methods for Viscous Incompres-

sible Flow and Its Implementation via a Finite Element Method That also Introduce a

Nearly Consistent Mass Matrix, Part 1: Theory, Int. J. Numer. Meth. Fluids, vol. 11,pp. 587–620, 1990.

8. G. Guj and F. Stella, A Vorticity Method for the Numerical Solution of 3D Incom-pressible Flows, J. Comput. Phys., vol. 106, pp. 286–298, 1993.

9. F. H. Harlow and J. E. Welch, Numerical Calculation of Time-Dependent Viscous Incom-pressible Flow of Fluid with Free Surface, Phys. Fluids, vol. 8, no. 12, pp. 2182–2189, 1965.

10. S. A. Jordan and S. A. Ragab, Note: An Efficient Fractional-Step Technique for Unsteady

Incompressible Flows Using a Semi-Staggered Grid Strategy, J. Comput. Phys., vol. 127,pp. 218–225, 1996.

550 M.-J. NI ET AL.

Page 19: PROJECTION METHODS FOR THE CALCULATION OF … · method and its simplified version. A 2-D vortex flow, a 2-D oscillating cavity flow, and a 3-D lid-driven cavity flow are simulated

11. N. Kasagi, Y. Tomita, and A. Kurda, Direct Numerical Simulation of Passive Scalar

Field in a Turbulent Channel Flow, J. Heat Transfer, vol. 114, pp. 598–606, 1992.12. J. Kim and P. Moin, Application of Fractional-Step Method to Incompressible Navier-

Stokes Equations, J. Comput. Phys., vol. 59, p. 108, 1985.

13. J. R. Koseff and R. L. Street, The Lid-Driven Cavity Flow: A Synthesis of Qualitative andQuantitative Observations, J. Fluids Eng., vol. 106, pp. 390–398, 1984.

14. D. B. Kothe and R. C. Mjolsness, RIPPLE: A New Model for Incompressible Flows withFree Surfaces, AIAA J., vol. 30, no. 11, pp. 2694–2700, 1992.

15. H. Le and P. Moin, An Improvement of Fractional Step Methods for IncompressibleNavier-Stokes Equations, J. Comput. Phys., vol. 92, pp. 369–379, 1991.

16. S. K. Lele, Compact Finite Difference Schemes with Spectral-Like Resolution, J. Comput.

Phys., vol. 103, pp. 16–42, 1992.17. A. A. Mohamad, Benchmark Solution for Unsteady State CFD Problems, Numer. Heat

Transfer A., vol. 34, pp. 653–672, 1998.

18. P. Moin and K. Mahesh, Direct Numerical Simulation: A Tool in Turbulence Research,Annu. Rev. Fluid Mech., vol. 30, pp. 539–578, 1998.

19. Y. Morinishi, T. S. Lund, O. V. Vasilyev, and P. Moin, Fully Conservative Higher Order

Finite Difference Schemes for Incompressible Flow, J. Comput. Phys., vol. 143, pp. 90–124,1998.

20. M.-J. Ni, S. Komori, and M. Abdou, A Variable Density Projection Method for Inter-facial Flows, Numer. Heat Transfer B, vol. 44, pp. 553-574, 2003.

21. S. V. Patankar, Numerical Heat Transfer and Fluid Flow, McGraw-Hill, New York, 1980.22. S. V. Patankar and D. B. Spalding, A Calculation Procedure for Heat, Mass and

Momentum Transfer in Three-Dimensional Parabolic Flows, Int. J. Heat Mass Transfer,

vol. 15, p. 1787, 1972.23. C.-Y. Perng and R. L. Street, Three-Dimensional Unsteady Flow Simulations: Alternative

Strategies for a Volume-Averaged Calculation, Int. J. Numer. Meth. Fluids, vol. 9,

pp. 341–362, 1989.24. J. B. Perot, An Analysis of the Fractional Step Method, J. Comput. Phys., vol. 108,

pp. 51–58, 1993.25. J. B. Perot, Letter to the Editor: Comments on the Fractional Step Method, J. Comput.

Phys., vol. 121, pp. 190–191, 1995.26. E. G. Pucket, A. S. Almgren, J. B. Bell, D. L. Marcus, and W. J. Rider, A High-Order

Projection Method for Tracking Fluid Interfaces in Variable Density Incompressible

Flows, J. Comput. Phys., vol. 130, pp. 269–282, 1997.27. M. M. Rai and P. Moin, Direct Simulation of Turbulent Flow Using Finite Difference

Schemes, J. Comput. Phys., vol. 96, p. 15, 1991.

28. C. M. Rhie and W. L. Chow, A Numerical Study of the Turbulent Flow Past an IsolatedAirfoil with Trailing Edge Separation, AIAA J., vol. 21, p. 1525, 1983.

29. G. Son and V. K. Dhir, Numerical Simulation of Film Boiling near Critical Pressure with

a Level Set Method, ASME J. Heat Transfer, vol. 120, pp. 183–192, 1998.30. M. Sussman, P. Smereka, and S. Osher, A Level Set Approach for Computing Solutions

to Incompressible Two-Phase Flow, J. Comput. Phys., vol. 114, pp. 146–159, 1994.31. Y. Zang, R. T. Street, and J. R. Koseff, A Non-Staggered Grid, Fractional Step Method

for Time-Dependent Incompressible Navier-Stokes Equations in Curvilinear Coordinates,J. Comput. Phys., vol. 114, pp. 18–33, 1994.

PROJECTION METHODS FOR UNSTEADY FLOWS 551