Lattice Boltzmann simulation of multiphase fluid flows through the total variation diminishing with...

10
Lattice Boltzmann simulation of multiphase fluid flows through the total variation diminishing with artificial compression scheme Shulong Teng * , Yu Chen, Hirotada Ohashi Department of Quantum Engineering and Systems Science, Faculty of Engineering, The University of Tokyo, 7-3-1 Hongo, Bunkyo-ku, 113-8656 Tokyo, Japan Received 7 May 1999; accepted 17 August 1999 Abstract The total variation diminishing with artificial compression (TVD/AC) scheme is applied to the lattice Boltzmann multiphase model in order to introduce a new technique to solve the traditional lattice Boltzmann equation. The TVD/AC scheme gives a much higher resolution than the well-known TVD scheme to the interface in the simulation of multiphase flows. Numerical simulations also show that the new simulator is helpful in stabilizing the computation in the runs of high-density ratios. Numerical results for the coexistence curve and verification of the Laplace law both in two and three spatial dimensions are presented. The detailed dynamical behaviors of the interface over a wide range of density ratios such as the variation of interface thickness and profiles of density, the balance of pressure and interfacial stress, the distribution of spurious velocities and so on are studied. Phase separation in two- and three-dimensional systems is also demonstrated numerically. Ó 2000 Elsevier Science Inc. All rights reserved. Keywords: Multiphase flow; Lattice Boltzmann method; TVD/AC scheme; Interface; Numerical simulation 1. Introduction Multiphase flows are dicult to study both from the physical and computational points of view due to the com- plexity of the physics especially involved in the interfacial dynamics. In the past few years, the lattice Boltzmann method (LBM) (Benzi et al., 1992; Qian et al., 1995; Chen and Doolen, 1998) has been an attractive alternative to solve fluid flow, taking advantage of its parallel nature, simple algorithm and easy to implement complicated boundary conditions. It also provides a method to model multiphase flows at the micro- scopic scale through incorporating the non-local interaction of particles and meanwhile can fully recover the Navier–Stokes equations at the macroscopic scale. International Journal of Heat and Fluid Flow 21 (2000) 112–121 www.elsevier.com/locate/ijh Notation c microscopic particle velocity f distribution function F force experienced by molecules l length L anti-diusion term M minmod function p pressure Q function helpful to eliminate the so-called entropy violation R radius Re Reynolds number S sign function t time T temperature u velocity We Weber number x Cartesian coordinate Greeks a surface tension coecient e d h discretization error j dimensionless collision frequency k constant parameter that controls the strength of the surface tension eect m kinematic viscosity q density r 1 interfacial stress tensor r m viscous stress tensor n non-dimensional number Subscripts c critical i index r reference a; b; c spatial directions in Cartesian coordinates Superscript n time step * Corresponding author. E-mail address: [email protected] (S. Teng). 0142-727X/00/$ - see front matter Ó 2000 Elsevier Science Inc. All rights reserved. PII: S 0 1 4 2 - 7 2 7 X ( 9 9 ) 0 0 0 6 8 - 5

Transcript of Lattice Boltzmann simulation of multiphase fluid flows through the total variation diminishing with...

Lattice Boltzmann simulation of multiphase ¯uid ¯ows through thetotal variation diminishing with arti®cial compression scheme

Shulong Teng *, Yu Chen, Hirotada Ohashi

Department of Quantum Engineering and Systems Science, Faculty of Engineering, The University of Tokyo, 7-3-1 Hongo, Bunkyo-ku, 113-8656 Tokyo,

Japan

Received 7 May 1999; accepted 17 August 1999

Abstract

The total variation diminishing with arti®cial compression (TVD/AC) scheme is applied to the lattice Boltzmann multiphase

model in order to introduce a new technique to solve the traditional lattice Boltzmann equation. The TVD/AC scheme gives a much

higher resolution than the well-known TVD scheme to the interface in the simulation of multiphase ¯ows. Numerical simulations

also show that the new simulator is helpful in stabilizing the computation in the runs of high-density ratios. Numerical results for the

coexistence curve and veri®cation of the Laplace law both in two and three spatial dimensions are presented. The detailed dynamical

behaviors of the interface over a wide range of density ratios such as the variation of interface thickness and pro®les of density, the

balance of pressure and interfacial stress, the distribution of spurious velocities and so on are studied. Phase separation in two- and

three-dimensional systems is also demonstrated numerically. Ó 2000 Elsevier Science Inc. All rights reserved.

Keywords: Multiphase ¯ow; Lattice Boltzmann method; TVD/AC scheme; Interface; Numerical simulation

1. Introduction

Multiphase ¯ows are di�cult to study both from thephysical and computational points of view due to the com-plexity of the physics especially involved in the interfacialdynamics. In the past few years, the lattice Boltzmann method(LBM) (Benzi et al., 1992; Qian et al., 1995; Chen and Doolen,1998) has been an attractive alternative to solve ¯uid ¯ow,taking advantage of its parallel nature, simple algorithm andeasy to implement complicated boundary conditions. It alsoprovides a method to model multiphase ¯ows at the micro-scopic scale through incorporating the non-local interaction ofparticles and meanwhile can fully recover the Navier±Stokesequations at the macroscopic scale.

International Journal of Heat and Fluid Flow 21 (2000) 112±121www.elsevier.com/locate/ijh�

Notation

c microscopic particle velocityf distribution functionF force experienced by moleculesl lengthL anti-di�usion termM minmod functionp pressureQ function helpful to eliminate the so-called

entropy violationR radiusRe Reynolds numberS sign functiont timeT temperatureu velocityWe Weber numberx Cartesian coordinate

Greeksa surface tension coe�ciented

h discretization errorj dimensionless collision frequencyk constant parameter that controls the

strength of the surface tension e�ect

m kinematic viscosityq densityr�1� interfacial stress tensorr�m� viscous stress tensorn non-dimensional number

Subscriptsc criticali indexr referencea; b; c spatial directions in Cartesian coordinates

Superscriptn time step

* Corresponding author.

E-mail address: [email protected] (S. Teng).

0142-727X/00/$ - see front matter Ó 2000 Elsevier Science Inc. All rights reserved.

PII: S 0 1 4 2 - 7 2 7 X ( 9 9 ) 0 0 0 6 8 - 5

In this paper, we ®rst brie¯y review some recent develop-ments in this ®eld and then point out the common problems inthe numerical schemes. Finally we introduce a technique tosolve them and show the improved results.

The initial LBM multiphase model (Gunstensen et al.,1991) was based on the immiscible lattice gas automata(ILGA) model (Rothman and Keller, 1988) and aimed ateliminating some unphysical e�ects in the LGA model (Chen etal., 1991) with the advantages of the lattice Boltzmann ap-proach. Grunau et al. (1993) later developed a model by usinga single-time relaxation procedure and allowed variations ofdensity and viscosity. But the drawback of these models is thatthe system relaxes to an equilibrium state that cannot be de-scribed thermodynamically. Shan and Chen (1993, 1994) andShan and Doolen (1995) made some improvements on solvingthis problem through the introduction of an interparticle po-tential to their model. Swift et al. (1995, 1996) proposed anLBM multiphase model in which the collision rules werechosen such that the equilibrium state corresponds to an inputfree energy, which is similar in spirit to the Cahn±Hillardtheory of phase transitions. Chen et al. (1998), through thecomparison with a macroscopic two-phase ¯uid ¯ow modelsuggested by Nadiga and Zaleski (1996), derived a latticeBoltzmann equation from the continuous Boltzmann BGKequation with an external force term. In this model, phaseseparation and interface formation are naturally driven by anintermolecular interaction. From the kinetic theory, Zou andHe (1999) directly derived almost the same model of Chen andprovided this model with a solid physical foundation. This isthe reason why we chose this model in our study. Details of themodel will be introduced in Section 2.

Through the investigation of previous studies, we foundthat the algorithms of solving these models were all restrictedin the traditional LBE scheme basically due to its simplicity.But this scheme has two main obvious drawbacks: (1) it isdi�cult to apply non-uniform grids in the scheme; (2) thescheme intends to be unstable when density ratios are high inthe simulations of multiphase ¯ows. These two drawbacks setan obstacle to the ability of the method to handle complexgeometries such as those commonly encountered inmost CFD engineering applications. Especially the sec-ond drawback prevents us from calculating multiphase ¯owsover a wide range of density ratios. To the best of ourknowledge, multiphase ¯ows with the LBM model in whichdensity ratio is raised more than 20 have not been studiedyet. We hope this study could help in ®lling this gap bysolving the lattice Boltzmann equation with a more sophis-ticated scheme.

By borrowing some standard ideas from the ®nite-di�erencemethod, the original LBE can be extended in such a way as tohandle Cartesian arbitrary geometries. Then the space andtime steps need not be treated as unit ones (like those in thestandard LBE), so that we can choose any space and time stepsincluding non-uniform grids and di�erent Courant numbers.Based on the original TVD scheme, Jin (1993) developed aTVD/AC scheme which pays special attention to the contactdiscontinutity in numerical simulations. It gives a much higherresolution than the TVD scheme to the interface in the simu-lations of multiphase ¯ows. Details of this scheme are given inSection 3. Numerical simulation results and conclusions arepresented in Section 4 and 5, respectively.

2. The lattice Boltzmann multiphase model

The dimensionless Boltzmann equation with theBhatnagar±Gross±Krook (BGK) approximated collision termis as follows:

ofot� ca

ofoxa� Fa

ofoca� j

n�f eq ÿ f �; �2:1�

where f is the single-particle distribution function for a one-chemical-component system, c the microscopic particle veloc-ity, F the force experienced by molecules, j the dimensionlesscollision frequency, n a non-dimensional number which isproportional to the Knudsen number (ratio of the mean freepath to the macroscopic characteristic length). By discretizingthe velocity space with Gauss±Hermite quadrature (Chen et al.,1998), the discrete Boltzmann equation for multiphase ¯owscan be derived as

ofi

ot� cia

ofi

oxa� j

n�f eq

i ÿ fi� � 3Fa�cia ÿ ua�f eqi : �2:2�

Macroscopic ¯uid density q, velocity u*

and temperature T canbe calculated as the velocity moments of the discrete distri-bution function

q �X

i

fi; �2:3�

qu* �

Xi

fi c*

i; �2:4�

3qRT �X

i

fi�c*i ÿ u*�2: �2:5�

Through the Chapman±Enskog expansion (Frisch et al., 1987)to n2order accuracy and a multi-scale analysis, the macro-scopic equations for mass and momentum are obtained asfollows:

oqot� o

oxa�qua� � 0; �2:6�

oot

qua� � � ooxb

quaub

ÿ �� ÿ o

oxa

q3

� �� o

oxb

qn3j

oua

oxb

��� oub

oxa

��� qFa: �2:7�

Still missing from the approach is a macroscopic di�erentialequation describing energy conservation. Although such anequation has been included in a lattice Boltzmann scheme foran ideal gas (Alexander et al., 1993), it is far from obvious howto treat potential energy correctly in the multiphase model.Therefore simulations in this paper are assumed to be iso-thermal. Parameters appearing in the discrete Boltzmannequation are set according to the macroscopic ¯ow through thefollowing relationship:

jn� Rer

3; �2:8�

Fa � 1

3q

ÿ 3

q 3ÿ q� �2 �3

4T

!oqoxa� 1

Wer

r2 oqoxa

; �2:9�

Rer and Wer are reference Reynolds and Weber numbers, di-mensionless parameters which characterize the ¯ow ®eld. Withsuch a relationship, the macroscopic equation will be the samewith the model proposed by Nadiga and Zaleski (1996) inwhich a stress tensor r�1� derived from the van der Waals±Cahn±Hilliard free energy is directly added to the Navier±Stokes equations:

oqot� o

oxaqua� � � 0; �2:10�

oot

qua� � � ooxb

quaub

ÿ � � ÿ ooxa

p�q� � ooxb

r�m�ab �o

oxbr�1�ab ;

�2:11�

S. Teng et al. / Int. J. Heat and Fluid Flow 21 (2000) 112±121 113

where r�m� is the ordinary viscous stress tensor. For the di-mensionless de®nition, r�m� is expressed as

r�m�ab �q

Rer

oua

oxb

�� oub

oxaÿ 2

3

ouc

oxcdab

�: �2:12�

The interfacial stress tensor r�1� depends on the density gra-dient which is de®ned as

r�1�ab �1

Wer

1

2rqj j2

��� qr2q

�dab ÿ oq

oxa

oqoxb

�: �2:13�

The reference Reynolds number and Weber number are de-®ned as

Rer � crlr

v; Wer � c2

r l2r

kqr

;

respectively. Here cr; lr; qr are the reference velocity, length anddensity. Parameter m is the kinematic viscosity, k a constantparameter that controls the strength of the surface tensione�ect. From the de®nition of interfacial stress tensor r�1�, thesurface tension coe�cient a at a planar interface normal to they direction can be derived as

a � 1

Wer

Z �1

ÿ1

dqdy

� �2

dy: �2:14�

A number of equations of state, such as two-constant equa-tions of van der Waals, Dieterici, Berthelot and so on(Hirschfelder et al., 1964) can be served in the simulations. Thedimensionless van der Waals equation we used in this model isexpressed as

P � q3ÿ q

ÿ 3q2

8T: �2:15�

Such an equation of state allows for the existence of twophases of di�erent densities, a low density phase that we callthe gas-phase and a high density phase that we call the liquid-phase.

Reference quantities for normalization are chosen as fol-lows

qr � qc; Tr � Tc; tr ����������3RTp

; tr � lr=tr;

where qc; Tc; tr are critical density, critical temperature andreference time, respectively.

From the viewpoint of intermolecular interaction, Zou andHe (1999) proposed the same Boltzmann model for multiphase¯ows. They considered two important facts in deriving theprocess. First, the collision term needs to be modi®ed becausethe particle size becomes comparable to the free path of mol-ecules for a dense gas or a liquid. Second, the intermolecularattraction may become important especially for ¯uids involvedin phase separations and transitions such as multiphase ¯ows.Besides, the method is in fact a `discrete velocity Boltzmannmodel', but according to the background of the model deri-vation from the continuous Boltzmann BGK equation, cus-tomarily we call it the lattice Boltzmann model.

As for the discrete velocity set fc*

ig and de®niton for f eq, weemploy the D2Q9 model (Qian et al., 1992) in two-dimensionaland the D3Q15 model in three-dimensional systems.

3. The TVD/AC scheme

TVD/AC is TVD with arti®cial compression scheme. It isbased on the TVD scheme and an anti-di�usion term is addedto improve the resolution of the contact discontinuity. TheTVD scheme is e�ective for solving the problem of shock wavepropagation. In it, physical compression compensates for the

numerical di�usion across a shock front. However, numericaldi�usion still exists when the characteristics associated with adiscontinuous wave are not in a shock-line fashion. The con-tact discontinuity in the multiphase ¯ow is not compressive inthis sense. Therefore, if the TVD scheme is applied to solve thiskind of problem, the ¯uid interface is di�usive. But TVD/AC isinstead a very e�cient method with enhanced resolution andaccuracy for the multiphase ¯ow problem. It does not spoil thephysics of the problem but only decreases the numerical dif-fusion with an anti-di�usion term.

For simplicity, a scalar linear wave equation is consideredas the example to introduce the TVD/AC scheme

ofot� a

ofox� 0; �3:1�

where a is a constant. Here we ®rst brie¯y review the TVDscheme (Harten, 1983) as it is the basis of the TVD/ACscheme. The TVD scheme advances the solution of Eq. (3.1) attime level n� 1 and grid point `i' via the equation

f n�1i � f n

i ÿ k F ni�1=2

�ÿ F n

iÿ1=2

�; �3:2�

where F ni�1=2 is the numerically calculated ¯ux,

F ni�1=2 � 1

2af n

i

�� af n

i�1 � gni � gn

i�1 ÿ Q�a� cni�1=2�Dn

i�1=2

�; �3:3�

gni � M ~gn

iÿ1=2; ~gni�1=2

� �; �3:4�

~gni�1=2 � 1

2Q�a�ÿ ÿ ka2

�Dn

i�1=2; �3:5�Dn

i�1=2 � f ni�1 ÿ f n

i ; �3:6�and M is the minmod function,

M�x1; x2; . . . ; xn�

� sign�x1�min� x1j j; x2j j; . . . ; xnj j�; all xi have same sign;

0 otherwise:

��3:7�

Q(x) is a function helpful to eliminate the so-called entropyviolation,

Q�x� � �x2=�4e�� � e for xj j < 2e;xj j for xj jP 2e;

��3:8�

where e is a positive constant generally taken to be between 0.1and 0.5. In the following numerical simulations, we choose e tobe 0.2.

The de®nition of c is

cni�1=2 �

gni�1 ÿ gn

i

ÿ �=Dn

i�1=2 Dni�1=2 6� 0;

0; Dni�1=2 � 0:

��3:9�

For TVD/AC scheme, an anti-di�usion term L�f � is addedto Eq. (3.1) to improve the resolution of the contact discon-tinuity

ofot� o

ox�af � L�f �� � 0: �3:10�

Then we have a new numerical ¯ux

F ni�1=2 �

1

2�af n

i � af ni�1 � Ln

i � Lni�1 � gn

i � gni�1

ÿ Q�a� tLMi�1=2 � cn

i�1=2�Dni�1=2�; �3:11�

where

tLMi�1=2 �

�Lni�1 ÿ Ln

i �=Dni�1=2; Dn

i�1=2 6� 0;0; Dn

i�1=2 � 0

��3:12�

and the de®nition of cni�1=2 is the same as Eq. (3.9),

114 S. Teng et al. / Int. J. Heat and Fluid Flow 21 (2000) 112±121

~gni�1=2 � 1

2Q a��� tLM

i�1=2� ÿ k�a� tLMi�1=2

�2�

Dni�1=2: �3:13�

To preserve all properties of the TVD scheme, Lni is taken to be

of the form

Lni � S �max 0;M gLn

iÿ1=2; Lni�1=2

� �� S;M Ln

iÿ1=2; gLni�1=2

� �� S

� �:

�3:14�Here S � sign�Ln

i�1=2� and

Lni�1=2 � 1

2Q�a�ÿ ÿ ka2

�Dn

i�1=2

�ÿ M Dn

iÿ1=2;Dni�1=2;D

ni�3=2

� ��:

�3:15�The purpose of introducing a parameter g is to keep Ln

i to be ofO�Dx2� in an interval for which the solution is smooth. Wetake g to have the form

g � 2Dn

i�1=2

��� ���b ÿ Dniÿ1=2

��� ���bDn

i�1=2

��� ���b � Dniÿ1=2

��� ���b�������

�������; b � 2:5: �3:16�

When g � 0 (this occurs when Dniÿ1=2 � Dn

i�1=2), the scheme isthe same as the TVD scheme. It can be proved that the newscheme does not change the order of accuracy of the TVD

scheme. On the other hand, at the hill and cli� regions of dis-continuity where the di�erence between jDn

iÿ1=2j and jDni�1=2j is

large, the e�ect of ®nite g ( therefore ®nite Lni ) will contribute to

¯ux like a source term. The extent to which g a�ects thesteepening of the discontinuity can be adjusted by changing thevalue of b. In our simulations we choose b to be 2.5.

A Riemann problem for Eq. (3.1) is used to make a simplecomparision of di�erent schemes

f �x; 0� � fL x < 0;fR x > 0:

�Fig 1(a±c) show the results obtained by the MacCormack,TVD and TVD/AC schemes. From Fig. 1(a) we can see thatnumerical oscilations occurred in the result of the MacCor-mack scheme when the ratio of fL to fR equals 10. In fact, thesame problem exists in the traditional LBE scheme and this isone reason we employ the TVD/AC scheme in this paper. InFig. 1(b) the width of the contact discontinuity in the TVDscheme is about 7±8 mesh blocks while it is only 3±4 blocks forthe TVD/AC scheme in Fig. 1(c). Fig. 1(d) shows that even

when the ratio of fL to fR equals 105, the TVD/AC schemecould still keep the sharpening in the contact discontinuity.

It is straightforward to apply the TVD/AC scheme to thediscrete Boltzmann equation (2.2) because of its linearstreaming term in which all discrete speeds are of the samemagnitude jc*ij � c. The right-hand part of (2.2) is treated as a

Fig. 1. The numerical solution for Eq. (3.1) with di�erent schemes: (a) MacCormack sheme; (b) TVD scheme; (c) and (d) TVD/AC scheme. Initial

condition: fL � 10; fR � 1 in (a), (b), (c) and fL � 105; fR � 1 in (d), b � 2:5 in (c), (d).

S. Teng et al. / Int. J. Heat and Fluid Flow 21 (2000) 112±121 115

source term and the second order Runge±Kutta method (Presset al., 1989) is used for time integration so that both in spaceand time numerical solutions are second order accurate.

4. Numerical simulations

4.1. Veri®cation of the model and the scheme

4.1.1. The densities of the coexisting phases at di�erenttemperatures

First, densities of the coexisting phases at di�erent temper-atures are veri®ed. According to a thermodynamic calculationin which the Gibbs free energies of the two phases at the given

temperature are equated, which is also called Maxwell equalarea construction (Rowlinson and Widom, 1982), the theoret-ical densities of the two coexisting phases at di�erent temper-atures can be calculated and the results are shown as the curve inFig. 2(a). The points in Fig. 2(a) are obtained by equilibrating a¯at interface between the liquid and gas phases for di�erenttemperatures. The initial density distribution is set up so thatthe density in half of the domain is higher than that in the otherhalf. The size of the system is 0:5� 1:0 with a 50� 100 com-putational grid. The Courant number is 0.2 and therefore thetime increment is 0.002 since the maximum discrete velocity is aunit in the model. Except for special declarations, Courantnumbers in all after simulations are also taken as 0.2. Doublyperiodic condition is imposed and it takes about 100 dimen-

Fig. 2. The densities of the coexisting phases at di�erent temperatures calculated with di�erent schemes.

Fig. 3. Veri®cation of Laplace law. On the x-axis a/R is plotted. On the y-axis is the numerically measured pressure di�erence between the inside and

the outside of the drop.

116 S. Teng et al. / Int. J. Heat and Fluid Flow 21 (2000) 112±121

sionless time for the system to reach equilibrium. From the®gure we can see that the numerical results agree with the the-oretical curve very well over a wide range of density ratios.When the dimensionless temperature equals 0.51, the densityratio reaches 100 and numerical stability is still well kept. Wealso performed the same simulations with MacCormack andTVD schemes and the results are shown in Fig. 2(b). The lowesttemperature is 0.8 and 0.6, respectively. For even lower tem-peratures, the simulation becomes numerically unstable. Fig.2(b) also shows that the TVD scheme is not as accurate as theTVD/AC scheme in the runs of large density ratios.

4.1.2. Laplace lawAccording to the Laplace law (Rowlinson and Widom,

1982), the tension in the surface will make the bubble collapseunless the pressure inside exceeds that outside by, say, Dp. Thework of a virtual increase in R vanishes at equilibrium, sodpdV equals adA, where dV , a and dA are the increases involume, the surface tension and area of the sphere. In ad-dimensional space dV =dA � �d ÿ 1�ÿ1R, and so, for d � 2

Dp � aR;

for d � 3,

Dp � 2aR:

The initial condition of simulations here is to let a droplet besuspended in the gaseous phase. The pressure di�erence acrossthe liquid±vapor interface is calculated when dimensionlesstime equals 25, which is necessary for equilibration. When thedroplet get to equilibrium, it is found that its shape does notchange any longer and it also does not depart from a circle.The pressure inside the droplet is measured by averaging thepressure at all sites inside a sphere of radius about 0.7R, whilethe outside pressure is measured by averaging the pressure atall sites having a distance to the center of the droplet largerthan 1.3R. The non-dimesional surface tension a is calculatedby Eq. (2.14). Tests at the condition of T � 0:8 are carried outboth in two and three dimensions. When R � 0:1, runs ofWer � 20000 and 40000 corresponding to surface tensiona � 2:24� 10ÿ3 and 1:58� 10ÿ3, respectively are calculated intwo-dimensional space. When a � 1:58� 10ÿ3, runs of di�er-ent R are also calculated in two- and three-dimensional spaces.The size of the system in two dimensions is 0:5� 0:5 with a100� 100 computational grid and 0:4� 0:4� 0:4 with a80� 80� 80 computational grid in three dimensions. Nu-merical results are all shown in Fig. 3. The satisfactoryagreement between the simulation and the analytical resultsveri®es the consistency in the modeling of the surface tensionand also demonstrates the successful employment of the TVD/AC scheme in lattice Boltzmann equation both in two andthree dimensions.

Fig. 4. Equilibrium density pro®les normal to a ¯at interface at di�erent temperature with Wer � 10000 when t � 100 (a is dimensionless surface

tension coe�cient).

Fig. 5. Equilibrium density pro®les normal to a ¯at interface with di�erent Weber numbers at T � 0:8; t � 100.

S. Teng et al. / Int. J. Heat and Fluid Flow 21 (2000) 112±121 117

4.2. Investigations of the interface

4.2.1. Density pro®le and interface thicknessTo demonstrate how the density pro®le changes with dif-

ferent temperatures and surface tension, a planar interface isset up after the system is relaxed to non-dimensional time 100when the two-phase ¯uid gets to equilibrium completely. Thesystem size is 0:5� 1:0 with a 50� 100 computational grid. Inorder to show and compare di�erent interfaces clearly, inter-facial regions are cut from the whole systems to be shown inFig. 4 and 5. Fig. 4 shows the shape of the equilibrated in-terface at di�erent temperatures but under the same Webernumber. With the decrease of the temperature, the densityratio and the surface tension increase and the interface be-comes sharper and sharper. It is also seen that when thetemperature approaches the critical point, the interface

Fig. 6. Equilibrium parameters pro®le normal to a ¯at interface: (a) density; (b) pressure; (c) interfacial stress; (d) spurious velocity.

Fig. 8. Relation between the mesh spacing Dx and the maximum

spurious velocity in the interface, plotted on a log-log scale. Here Dx is

1/200, 1/400, 1/800 and 1/1600, respectively.

Fig. 7. Investigations of gradients of pressure and interfacial stress: (a) gradients of pressure and interfacial stress; (b) di�erence between the gra-

dients of pressure and interfacial stress.

118 S. Teng et al. / Int. J. Heat and Fluid Flow 21 (2000) 112±121

becomes smooth and the surface tension becomes smaller. Thedistinctions between the two phases will eventually vanish atthe critical temperature. The density pro®le at the same T butdi�erent Weber number is also studied and results are shown inFig. 5. From Eq. (2.14) we can see that there are two factorswhich can determine the surface tension, one is the referenceWeber number which we can prescribe preliminarily and theother is density gradient which is related to T and the Webernumber, respectively. Fig. 5 shows that with the increase ofWer, the surface tension is decreased because the increment ofthe density gradient caused by this operation is not as large asthe e�ect of the decrement of the inverse of Wer. This ®gurealso veri®es that the density ratio is only determined by thetemperature.

4.2.2. Discussions of the existence of spurious velocitiesThe equilibrium density, pressure (2.15), interfacial stress

(2.13) pro®les and the distribution of the spurious velocitiesnormal to a ¯at interface are shown in Fig. 6(a)±(d). Thesimulation is carried out at T � 0:9 and Wer � 40000 with a100� 200 computational grid. The ®nal time is t � 400 whenall variables do not vary with time any more. From Fig. 6(a)and (b) we can see that distributions of pressure and interfacialstress pro®les are about the same in equilibrium. In bulkphases, the pressure and interfacial stress are constants (zerofor the interfacial stress). The existence of the spurious veloc-ities is due to the errors of the discreteness of space and timeinherent in the numerical simulations, which is experienced byboth lattice Boltzmann and macroscopic ®nite-di�erence sim-ulations. This can be analyzed from the momentum conser-

vation Eq. (2.11) when the spurious velocities as shown are sosmall in equilibrium that the viscous stress tensor r�m� in (2.11)could be neglected. Fig. 7(a) shows the gradients of the pres-sure and the interfacial stress, respectively. Fig. 7(b) provides amore transparent demonstration of their di�erence i.e. theright-hand side of (2.11). Then the reason for the spuriousvelocitiesÕ existence is clear. It is due to the unbalanced gra-dients of the pressure and the interfacial stress, which is causedby errors of ®nite di�erence schemes. As we know, the densitypro®le must be monotonic with respect to the position, andthen according to mass conservation Eq. (2.10), velocities ev-erywhere in the system should be zero. This can also be furthervalidated when a ®ner mesh and a smaller time step are used inthe simulation so that the spurious velocities decrease as thediscretization errors become smaller. For su�ciently ®ne grids,the discretization error is proportional to the leading term inthe Taylor series (Ferziger and Peric, 1996):

edh � ahp � H ;

where edh is the discretization error, h the mesh spacing, p the

order of the scheme, H stands for higher order terms and adepends on the derivatives at the given point but is indepen-dent of h. Fig. 8 shows the relationship between the maximumspurious velocities and the mesh spacings of the system on alog-log plot when the same Courant number 0.01 is used. Theslope of the analytical line is 2 since the scheme we used issecond order accurate. This ®gure veri®es that the spuriousvelocities are completely due to the discretization errors of the®nite di�erence methods employed to solve the discrete Boltz-mann equation.

Fig. 9. Snapshots of two-dimensional phase separation at di�erent times. Computational domain: 1� 1 with a 100� 100 computational mesh,

Wer � 10000.

S. Teng et al. / Int. J. Heat and Fluid Flow 21 (2000) 112±121 119

4.3. Phase separation

Here we demonstrate the phenomenon of phase separationboth in two- and three-dimensional systems. The temperatureis set as T � 0:6 corresponding to the density ratio of 40. Whena homogenous vapor on or above the critical point is rapidlyquenched to below the critical point where two or more dif-ferent phases may coexist, the homogeneous vapor becomesunstable and a part of it should condense so that a liquid and avapor phase coexist in equilibrium. In order for the liquidphase to be formed, it is necessary for the substance to con-dense on nuclei. These nuclei can be formed by ions or bepresented in the form of dust or other small particles. Once thesubstance begins to condense on nuclei, the vapor±liquidequilibrium is rapidly established. This phenomenon is alsocalled the spinodal decomposition and is of both theoreticalinterest and practical value (Osborn et al, 1995; Appert et al.,1995). In our numerical simulations, we give a random noise ofamplitude 0.1 qc representing the nuclei in the density ®eld,which is superposed over an average density of qc as the initialcondition. The system is then quenched from the critical pointto the state of 0.6 Tc. Snapshots of phase separation at di�erenttimes are shown in Fig. 9 for two-dimensional system and Fig.10 for three-dimensional system. Simulation parameters are

given in the captions to the ®gures. From these two ®gures wecan see that after the temperature quench, a part of the vaporrapidly condensed on `nuclei', and the average size of the co-existing phasesÕ domains tends to increase in an e�ort to de-crease the interfacial energy. Finally two bulk coexistingphases formed in equilibrium. Some detailed investigationssuch as the rate of growth of the average size of these domainsneed to be studied later.

5. Conclusions

In this paper, we have employed the TVD/AC scheme tothe lattice Boltzmann multiphase model. Unlike the conven-tional CFD methods (Brackbill et al., 1992; Chang et al.,1996), the LBM does not need to track the position or calcu-late the curvature of interfaces. The phase transition and in-terfacial dynamics, which are essential for multiphase ¯ows butdi�cult to handle at the macroscopic level, can be modelednaturally through the LBM by incorporating intermolecularinteraction. Our approach also overcomes the commonshortcomings of the traditional LBM. We provide a newsimulator which is much helpful in stabilizing the computationin the runs of high-density ratios to solve the traditional latticeBoltzmann equation and makes it a more prospective methodboth in theoretical studies and engineering applications of themultiphase ¯ows.

Numerical results for the coexistence curve are shown to bein excellent agreement with the analytic calculations over avery wide range of density ratios. Veri®cation of Laplace lawboth in two and three dimensions shows the complete successof the TVD/AC scheme in lattice Boltzmann equation. Thedetailed dynamical behaviors of the interface such as interfacethickness, the pro®les of density, pressure and interfacialstress, the spurious velocities and so on are studied. Phaseseparation in two- and three-dimensional systems have alsobeen numerically demonstrated. As for non-zero ¯ows, wehave used our approach to simulate phenomenon such asdroplet deformation under shear ¯ow and the results will begiven elsewhere.

Further urgent challenges for the lattice Boltzmann methodare some engineering applications. We hope this paper canmake a useful step in this direction.

References

Alexander, F.J., Chen, S., Sterling, J.D., 1993. Lattice Boltzmann

thermohydrodynamics. Phys. Rev. E 47, R2249±R2252.

Appert, C., Olson, J.F., Rothman, D.H., Zaleski, S., 1995. Phase

separation in a three-dimensional, two-phase hydrodynamic lattice

gas. J. Stat. Phys. 81, 181±197.

Benzi, R., Succi, S., Vergassola, M., 1992. The lattice Boltzmann-

equation theory and applications. Phys. Rep. 222, 145±197.

Brackbill, J.U., Kothe, D.B., Zemach, C., 1992. A continuum method

for modeling surface tension. J. Comp. Phys. 100, 335±354.

Chang, Y.C., Hou, T.Y., Merriman, B., Osher, S., 1996. A level set

formulation of Eulerian interface capturing methods for incom-

pressible ¯uid ¯ows. J. Comp. Phys. 124, 449±464.

Chen, H., Chen, S., Matthaeus, W.H., 1991. Recovery of the Navier±

Stokes equations using a lattice gas Boltzmann method. Phys. Rev.

A 45, R5339±R5342.

Chen, S., Doolen, G., 1998. Lattice Boltzmann method for ¯uid ¯ows.

Annu. Rev. Fluid Mech. 30, 329±364.

Chen, Y., Teng, S., Shukuwa, T., Ohashi, H., 1998. Lattice Boltzmann

simulation of two-phase ¯uid ¯ows. Int. J. Mod. Phys. C 9, 1383±

1391.

Fig. 10. Snapshots of three-dimensional phase separation at di�erent

times. Computational domain: 0:4� 0:4� 0:4 with a 40� 40� 40

computational mesh, Wer � 20000.

120 S. Teng et al. / Int. J. Heat and Fluid Flow 21 (2000) 112±121

Ferziger, J.H., Peric, M., 1996. Computational Methods for Fluid

Dynamics. Springer Press, Germany, pp. 58±66.

Frisch, U., dÕHumi�eres, D., Hasslacher, B., Lallemand, P., Pomeau,

Y., River, J.P., 1987. Lattice gas hydrodynamics in two and three

dimensions. Complex Syst. 1, 649±707.

Grunau, D., Chen, S., Eggert, K., 1993. A lattice Boltzmann model for

multiphase ¯uid ¯ows. Phys. Fluids A 5, 2557±2562.

Gunstensen, A.K., Rothman, D.H., Zaleski, S., Zanetti, G., 1991.

Lattice Boltzmann model of immiscible ¯uids. Phys. Rev. A 43,

4320±4327.

Harten, A., 1983. High resolution schemes for hyperbolic conservation

laws. J. Comp. Phys. 49, 357±393.

Hirschfelder, J.O., Curtiss, C.F., Bird, R.B., 1964. Molecular Theory

of Gases and Liquids. Wiley, New York, pp. 250±262.

Jin, B., 1993. An arti®cial compression method for the computation of

contact discontinuities. Comput. Math. (China) 1, 121±128.

Nadiga, B.T., Zaleski, S., 1996. Investigations of a two-phase ¯uid

model. Eur. J. Mech. B/Fluids 15, 885±896.

Osborn, W.R., Orlandini, E., Swift, M.R., Yeomans, J.M., Banavar,

J.R., 1995. Lattice Boltzmann study of hydrodynamic spinodal

decomposition. Phys. Rev. Lett. 75, 4031±4034.

Press, W.H., Flannery, B.P., Teukolsky, S.A., Vetterling, W.T., 1989.

Numerical Recipes. Cambridge University Press, Cambridge, pp.

551±554.

Qian, Y.H., dÕHumi�eres, D., Lallemand, P., 1992. Lattice BGK

Models for Navier-Stokes Equation. Europhys. Lett. 17, 479±

484.

Qian, Y.H., Succi, S., Orszag, S.A., 1995. Recent advances in lattice

Boltzmann computing. Annu. Rev. Comp. Phys. 3, 195±242.

Rothman, D.H., Keller, J.M., 1988. Immiscible cellular-automaton

¯uids. J. Stat. Phys. 52, 1119±1127.

Rowlinson, J.S., Widom, B., 1982. Molecular Theory of Capillarity.

Clarendon Press, Oxford, pp. 26±56.

Shan, X., Chen, H., 1993. Lattice Boltzmann model for simulating

¯ows with multiphase and components. Phys. Rev. E 47, 1815±

1819.

Shan, X., Chen, H., 1994. Simulation of nonideal gases and liquid-gas

phase transitions by the lattice Boltzmann equation. Phys. Rev. E

49, 2941±2948.

Shan, X., Doolen, G., 1995. Multicomponent lattice-Boltzmann model

with interparticle interaction. J. Stat. Phys. 81, 379±394.

Swift, M.R., Osborn, W.R., Yeomans, J.M., 1995. Lattice Boltzmann

simulation of non-ideal ¯uids. Phys. Rev. Lett. 75, 830±833.

Swift, M.R., Orlandini, E., Osborn, W.R., Yeomans, J.M., 1996.

Lattice Boltzmann simulations of liquid-gas and binary ¯uid

systems. Phys. Rev. E 54, 5041±5052.

Zou, Q., He, X., 1999. Derivation of the macroscopic continuum

equations for multiphase ¯ow. Phys. Rev. E 59, 1253±1255.

S. Teng et al. / Int. J. Heat and Fluid Flow 21 (2000) 112±121 121