Peng Yuan e-mail: [email protected]

Laura Schaefer e-mail: [email protected] Mechanical Engineering Department, University of Pittsburgh, Pittsburgh, PA, 15261

A Thermal Lattice Boltzmann Two-Phase Flow Model and Its Application to Heat Transfer Problems—Part 1. Theoretical Foundation A new and generalized lattice Boltzmann model for simulating thermal two-phase flow is described. In this model, the single component multi-phase lattice Boltzmann model proposed by Shan and Chen is used to simulate the fluid dynamics. The temperature field is simulated using the passive-scalar approach, i.e., through modeling the density field of an extra component, which evolves according to the advection-diffusion equation. By coupling the fluid dynamics and temperature field through a suitably defined body force term, the thermal two-phase lattice Boltzmann model is obtained. In this paper, the theoretical foundations of the model and the validity of the thermal lattice Boltzmann equation method are laid out, illustrated by analytical and numerical examples. In a companion paper (P. Yuan and L. Schaefer, 2006, ASME J. Fluids Eng., 128, pp. 151– 156), the numerical results of the new model are reported. 关DOI: 10.1115/1.2137343兴 Keywords: lattice Boltzmann equation (LBE) method, two-phase flow, interparticle potential, passive-scalar

1

Introduction

Recently, the lattice Boltzmann equation 共LBE兲 method has been successfully applied to simulate fluid flow and transport phenomena 关1兴. Unlike conventional CFD methods, the LBE method is based on microscopic models and mesoscopic kinetic equations in which the collective behavior of the particles in a system is used to simulate the continuum mechanics of the system. Due to this kinetic nature, the LBE method has been found to be particularly useful in applications involving interfacial dynamics and complex boundaries, e.g., multiphase or multicomponent flows 关2兴. Several lattice Boltzmann 共LB兲 multiphase fluid models have been recently proposed. The first immiscible LB model uses redand blue-colored particles to represent two kinds of fluids 关3兴. The phase separation is then produced by the repulsive interaction based on the color gradient. The model proposed by Shan and Chen 共SC兲 imposes a nonlocal interaction between fluid particles at neighboring lattice sites 关4–6兴. The interaction potentials control the form of the equation of state 共EOS兲 of the fluid. Phase separation occurs automatically when the interaction potentials are properly chosen. There is also the so-called free-energy-based approach proposed by Swift et al. 关7,8兴. The free energy model has a sound physical basis, and, unlike the SC model, the local momentum conservation is satisfied. However, this model does not satisfy Galilean invariance and some unphysical effects will be produced 关9兴. Despite the progress made by these models in simulating multiphase and multicomponent flows, there is a crucial missing part: the lack of a satisfactory thermal model for multiphase flows. The entire above-mentioned multiphase LBE models are all isothermal models. For single-phase flow, however, there are several LB thermal models, which generally fall in two categories, namely, the Contributed by the Fluids Engineering Division of ASME for publication in the JOURNAL OF FLUIDS ENGINEERING. Manuscript received December 18, 2004; final manuscript received August 10, 2005. Assoc. Editor: Malcolm J. Andrews.

142 / Vol. 128, JANUARY 2006

multispeed approach 关10兴 and the passive-scalar approach 关11兴. In the passive-scalar approach, the temperature field is passively advected by the fluid flow and can be simulated as an additional component of the fluid system. This means in order to solve for the temperature field in the multiphase isothermal LBE framework, one only needs to solve an auxiliary LBE. Thus, the overall complexity of the scheme does not significantly increase. Additionally, the passive-scalar approach does not implement energy conservation and therefore has the same stability as the isothermal LBE models. This paper addresses the multiphase isothermal LBE model as well as the single phase thermal LBE 共TLBE兲 model using the passive-scalar approach. First, the LBE method will be briefly described, with the simulation results of a 2-D lid-driven square cavity flow presented to validate the code. Then, the multiphase LBE model and passive-scalar approach will be introduced, respectively, together with some test problem results to assess the actual ability of these techniques for practical applications. Finally, in the companion paper 关12兴, by combining these two models, the thermal two-phase LBE model will be proposed and numerical results for this model will be reported.

2

Lattice Boltzmann Equation Method

The standard LBE with the Bhatnagar-Gross-Krook approximation 共often referred to as the LBGK兲 model can be written as 1 f ␣共x + e␣␦t,t + ␦t兲 = f ␣共x,t兲 − 关f ␣共x,t兲 − f ␣eq共x,t兲兴, ␶

␣ = 0,1, . . . ,N,

共1兲

where x denotes the position in space, t is time, ␦t is the time step, f ␣ is the particle distribution function 共PDF兲 along the ␣th direction and f eq ␣ is its corresponding equilibrium particle distribution function, e␣ is the particle velocity in the ␣th direction, and ␶ is the single relaxation time. N is the number of discrete particle velocities.

Copyright © 2006 by ASME

Transactions of the ASME

Fig. 1 Discrete velocity vectors for some commonly used 2-D and 3-D particle speed models

For 2-D flow, the nine-velocity LBE model on the 2-D square lattice, denoted as the D2Q9 model, has been widely used. For simulating 3-D flow, there are several cubic lattice models, such as the D3Q15, D3Q19, and D3Q27 models. Figure 1 presents the most common lattices. The equilibrium distribution for all of the D2Q9, D3Q15, D3Q19, and D3Q27 models can be expressed in the form



f ␣eq = ␳w␣ 1 +

3 9 3 2 u·u 2 e␣ · u + 4 共e␣ · u兲 − c 2c 2c2



共2兲

where w␣ is the weighting factor, c = ␦x / ␦t is the lattice speed, ␦x is the lattice constant, and u is the macroscopic velocity. In this paper, we use D2Q9 and D3Q19 for the 2-D and 3-D simulations, respectively. The weighting factor and discrete velocity for these two models are given below. D2Q9:



␣ = 0; e␣ = 共±1,0兲c,共0, ± 1兲c, ␣ = 1,2,3,4; ␣ = 5,6,7,8. 共±1, ± 1兲c, 共0,0兲,

w␣ =



4 9, 1 9, 1 36 ,

␣ = 0; ␣ = 1,2,3,4; ␣ = 5,6,7,8.





共3a兲

共3b兲



␣ = 0; ␣ = 1,2, . . . ,6; = 共±1,0,0兲c,共0, ± 1,0兲c,共0,0, ± 1兲c, 共±1, ± 1,0兲c,共±1,0, ± 1兲c,共0, ± 1, ± 1兲c, ␣ = 7,8, . . . ,18. 共0,0,0兲,

Journal of Fluids Engineering



␣ = 0; ␣ = 1,2, . . . ,6; ␣ = 7,8, . . . ,18.



共4a兲



共4b兲

In most LBE simulations, Eq. 共1兲 is solved in two steps: collision and streaming. In the collision step, the PDFs for each direction are relaxed toward quasi-equilibrium distributions. Then, at the streaming step, the distributions move to the neighboring nodes. The local mass density ␳ and the local momentum density ␳u are given by N

␳=

兺 ␣

N

f␣ =

=0

f␣ 兺 ␣

N

␳u =

兺 ␣

eq

共5a兲

f ␣ e␣ 兺 ␣

共5b兲

=0 N

f ␣e ␣ =

=0

D3Q19: e␣

w␣ =

1 3, 1 18 , 1 36 ,

eq

=0

It can be shown that the above formulation of the LBE recovers the Navier-Stokes 共N-S兲 equations for fluid flows near the incompressible limit 共low Mach number兲 关13兴. The viscosity in the N-S equations derived from Eq. 共1兲 is

␯ = 共␶ −

1 2

兲cs2␦t

共6兲

where cs is the lattice sound speed. This option of the viscosity makes the LBGK scheme a second-order method for solving incompressible flow 关14兴. How to correctly implement boundary conditions is an important issue in LB simulations, since they will influence the accuracy and stability of the computation. The most common and simplest boundary condition is the bounce-back boundary condition. In this boundary condition, when a particle distribution streams to a wall node, it scatters back to the fluid node along its incoming link. However, the bounce-back boundary condition only gives JANUARY 2006, Vol. 128 / 143

3

Single Component Single Phase LBE Model

To validate the code, numerical simulations were carried out for a 2-D lid-driven cavity flow for Re= 400 and 1000 on a 167 ⫻ 167 lattice, which gives grid independent results. Furthermore, for every problem presented in this paper, grid independency was checked by conducting simulations on different grid resolutions. The driving lid is placed at the top with a uniform velocity of Uwall= 0.1 in lattice units. Figure 2 shows the streamlines for Re= 1000. The flow structure is in good agreement with the previous work. Figure 3 shows the velocity component u at the vertical centerline 共x / H = 1 / 2兲 of the cavity. To quantify the results, the maximum and minimum values of the stream functions and x and y coordinates of the primary and secondary vortex centers are listed in Table 1. The results predicted by the LBE method agree well with other previous work 关19兴.

4

Fig. 2 Streamlines of 2-D lid-driven cavity flow at Re= 103

first-order numerical accuracy. To improve it, many boundary conditions have been proposed in the past 关15,16兴. Among them, the halfway bounce-back scheme 关17兴 is easy to implement and gives second-order accuracy for straight walls. The boundary condition proposed by Mei 关18兴 has the ability of handling complex geometry, e.g., a curved boundary. In this work, we employed these two boundary treatments in our simulations.

Single Component Multiphase LBE Model

Microscopically, the segregation of a fluid system into different phases is due to the interparticle forces. In the single component multiphase LBE model proposed by Shan and Chen, a simple interaction potential is defined to describe the fluid/fluid interaction. Then the model incorporates the forcing due to the potential by shifting the velocity in the equilibrium distribution. The fluid/ fluid interaction force is defined as 关20兴 F1共x兲 = − ␺共x兲

兺 G共x,x⬘兲␺共x⬘兲共x⬘ − x兲

where x and x⬘ denote position 共site兲 in space and G共x , x⬘兲 is Green’s function and satisfies G共x , x⬘兲 = G共x⬘ , x兲. It reflects the intensity of the interaction, with G共x , x⬘兲 ⬍ 0 representing attractive forces between particles. In our study, the interactions of nearest and next-nearest neighbors are considered. For a D3Q19 lattice model, this leads to



gf ,

兩x − x⬘兩 = 1;

G共x,x⬘兲 = g f /2, 兩x − x⬘兩 = 冑2;

Fig. 3 Velocity profiles for u along the vertical geometric centerline of the cavity

共7兲

x⬘

0,

otherwise.



共8兲

␺共x兲 is called the “effective mass” and is defined as a function of the local density. In the SC model, the function of ␺共x兲 can be varied, and different choices will give a different EOS. Using the Chapmen-Enskog method of successive approximation, one can obtain the macroscopic fluid equation of the LBE model. Meanwhile, the EOS is also obtained as p = cs2␳ + c0g f 关␺共x兲兴2, where c0 is a constant and equals 3.0 for the D2Q9 and D3Q19 models. In this study, ␺共x兲 is taken to be ␺共x兲 = ␳0关1 − exp共−␳ / ␳0兲兴, which gives a nonmonotonic pressure-density relationship. Hence for a certain range of g f values, at a single pressure, two densities of the same material can coexist. Here, we can say the intensity of the fluid/fluid interaction g f takes the role of a pseudotemperature. For example, when g f falls below a critical value, phase separation will occur.

Table 1 Vortex centers: stream function and location Primary vortex Re 400

1000

Mesh= 167⫻ 167 U. Ghia S. Hou Present work U. Ghia S. Hou Present work

Lower left vortex

Lower right vortex

␸max

x

y

␸min

x

y

␸min

x

y

0.1139 0.1121 0.1120 0.1179 0.1178 0.1161

0.5547 0.5608 0.5551 0.5313 0.5333 0.5319

0.6055 0.6078 0.6054 0.5625 0.5647 0.5652

−1.42E − 05 −1.30E − 05 −1.28E − 05 −2.31E − 04 −2.22E − 04 −2.13E − 04

0.0508 0.0549 0.0505 0.0859 0.0902 0.0821

0.0469 0.0510 0.0463 0.0781 0.0784 0.0769

−6.42E − 04 −6.19E − 04 −6.15E − 04 −1.75E − 03 −1.69E − 03 −1.66E − 03

0.8906 0.8902 0.8858 0.8594 0.8667 0.8652

0.1250 0.1255 0.1222 0.1094 0.1137 0.1125

144 / Vol. 128, JANUARY 2006

Transactions of the ASME

Fig. 4 Maximum and minimum density values as a function of 円gf円

At the fluid/solid interface, similarly, a force between fluid particles and solid surfaces can be introduced into the SC model as follows 关21兴: F2共x兲 = − ␳共x兲

兺 G 共x,x⬘兲␳ 共x⬘兲共x⬘ − x兲 w

w

共9兲

x⬘

where Gw共x , x⬘兲 reflects the intensity of the fluid/solid interaction and has the same form as G共x , x⬘兲. For the D3Q19 lattice model,



兩x − x⬘兩 = 1;

gw ,

Gw共x,x⬘兲 = gw/2, 兩x − x⬘兩 = 冑2; 0,

otherwise.



共10兲

gw controls the strength between fluid and the wall. gw is positive for a nonwetting fluid and negative for a wetting fluid. Adjusting the value of gw can give a different wettability. ␳w共x⬘兲 is the wall density, which equals one at the wall and zero in the fluid. Constant body forces such as gravity can be expressed as F3 = ␳共x兲a

共11兲

Fig. 5 Density ratio as a function of 円gf円

value gcf , the system separates from the single-phase to a heavier/ liquid phase and a lighter/vapor phase. Figure 5 is a plot of the density ratio changing with 兩g f 兩. After finding the relation between the density ratio and the interaction strength g f , we conducted some static bubble tests. Again, the 50⫻ 50⫻ 50 lattice and periodical BCs are used in all of the tests 关24兴. Initially, a droplet is placed at the center of the domain with a radius of rinit = 10.0. To ensure that the droplet’s size will not expand or shrink too much, we specify that the initial density inside/outside the droplet is close to the maximum/ minimum density obtained in the bifurcation test under the same g f value. Otherwise, the droplet’s radius is not controllable and the droplet may sometimes even expand to the boundaries. The droplet’s radius oscillates for the first 800 time steps and then goes to a constant value. Each test was run for 10,000 time steps. At that point, the relative differences of the maximum magnitudes of the velocities at time step t and t − 1000 are on the order of 10−6, which means that steady state is reached. For g f = −0.35, the density and velocity fields in the xy plane at the midpoint of z = 25 are plotted in Figs. 6 and 7, respectively. Other g f values will give similar results.

where a is the acceleration due to the body force. All of these forces can be incorporated into the model by shifting the velocity in the equilibrium distribution. That means the velocity u in Eq. 共2兲 is replaced with ueq = u +

␶Ftotal ␳共x兲

共12兲

where Ftotal = F1 + F2 + F3. Then, by averaging the moment before and after the collision, the whole fluid velocity U is

␳共x兲U = ␳共x兲u + 21 Ftotal

共13兲

There are also other approaches for incorporating fluid/fluid interactions such as the direct body forcing approach, where the interaction is incorporated into the body force term of the Boltzmann equation by adding an additional term after the collision process 关22,23兴. To validate and illustrate the outcomes of this model, we now present some results of simulations for a 3-D single component system. First, we observe the transitions from a single-phase fluid to a two-phase fluid. Initially, the density is evenly distributed on a 50⫻ 50⫻ 50 lattice with a small random perturbation. Periodical boundary conditions are applied in all three coordinate directions. Figure 4 shows the maximum and minimum densities as functions of 兩g f 兩, with g f ⬍ 0 for the attraction between particles. When the fluid/fluid interaction strength g f decreases under some critical Journal of Fluids Engineering

Fig. 6 Density contours plot in the xy plane at z = 25 „symmetry plane…

JANUARY 2006, Vol. 128 / 145

Fig. 7 Velocity vectors plot in the xy plane at z = 25 „symmetry plane…

The nonzero velocity vectors in Fig. 7 indicate the deviation from the real physical situation. These unphysical velocities are called spurious currents and reach their maximum value at the interface region. The maximum magnitude of spurious currents as a function of 兩g f 兩 is shown in Fig. 8. The maximum magnitude of the spurious currents increases slowly before 兩g f 兩 reaches 0.32 共the corresponding density ratio is around 30兲, and after that it grows rapidly. For 兩g f 兩 = 0.3125, its value is 0.015 29, while for 兩g f 兩 = 0.35, the value is 0.051 41. We know that the LBE method is valid only in the incompressible limit 兩u兩 / cs → 0, which requires that 兩u兩 is smaller than 0.13. So, in our later simulations, we restrict 兩g f 兩 艋 0.35, corresponding to a highest density ratio of 42, which is adequate for many liquid-vapor systems. It is not suitable

for a system with a density ratio higher than 100. However, by changing the EOS, we can greatly reduce the spurious currents. We defer this discussion to a future publication. We also conducted some static droplet tests with a solid wall interaction by replacing the periodical BCs in the y and z directions with wall BCs. Similar density and velocity fields were obtained and the spurious currents did not increase. The static contact angle can be adjusted in LB simulations by changing the value or form of Gw共x , x⬘兲 or even by changing the form of Eq. 共9兲; say, e.g., by changing the density term in Eq. 共9兲 to some function of local density. In this way, we can easily control the wettability. In our simulations, initially a half liquid drop of radius 10.0 is placed at the bottom of the solid wall with its center at the geometric center of the bottom wall. The lattice size is 50⫻ 50⫻ 50 with periodical BCs in the x direction and wall BCs in the y and z directions. Figure 9 shows two contact angles obtained by adjusting gw. Figure 10 gives the corresponding velocity fields. The maximum spurious current stays at the same level as in the static bubble test. Figure 11 plots the contact angle varying with gw, which is almost a linear relation. This is in agreement with the work of other researchers 关25兴. For large gw values 共gw ⬎ 0.08兲, after the half liquid drop is placed on the bottom, because of the large interaction between the fluid and solid, the liquid phase contacting with the solid will shrink very fast and will generate some unphysical phenomena. In this case, gw must be increased step by step until a stable contact angle is obtained. We also conducted simulations for a different form of Eq. 共9兲. For example, instead of using ␳共x兲, we used the “effective mass,” i.e., ␺共x兲 = ␳0关1 − exp共−␳ / ␳0兲兴. For this case, the linear relation between the contact angle ␪ and the fluid/solid interaction strength gw is still obtained. However, the slope will change. For the effective mass case, the slope is smaller than using local density directly. Also, different values of gw for the liquid and vapor phases can be used. If these values are properly specified, the linear relation between contact angle ␪ and the liquid/solid interaction strength glw will again be obtained 共in this case, vapor/solid interaction strength gwv is fixed兲. One necessary point with respect to these results is that although any static contact angle can be obtained, there is no guarantee that the fluid dynamics near the contact line are correctly simulated 关23兴. The details of the fluid/solid interaction are not fully understood and need future research.

5 Thermal LBE Model Using the Passive-Scalar Approach

Fig. 8 The maximum magnitude of spurious currents changes with 円gf円

146 / Vol. 128, JANUARY 2006

In spite of the success achieved in isothermal flow simulations, the progress in thermal flow simulations is rather limited. Generally, the existing TLBE models fall into two categories, namely, the multispeed approach and the passive-scalar approach. The multispeed approach implements energy conservation by adding additional speeds and by including the higher-velocity terms in the equilibrium distribution. Although theoretically possible, the multispeed approach suffers severe numerical instability 关26,27兴. Another limitation for the multispeed approach is that the Prandtl number is fixed 共at 0.5兲 for the simulation 关10兴. However, if the viscous and compressive heating effects are negligible, the temperature field satisfies a much simpler passive-scalar equation, which can be simulated by solving an additional LBE. The fluid dynamics can be solved as before by using Eqs. 共1兲 and 共2兲. The temperature field satisfies the following passivescalar equation: Transactions of the ASME

Fig. 9 Density contours for different values of gw „different wettabilities…: „a… gw = 0.06, ␪ = 120.6° and „b… gw = −0.03, ␪ = 71.3°

Fig. 10 Velocity fields for different values of gw: „a… gw = 0.06 and „b… gw = −0.03

Pr =

⳵T + u · ⵜT = ⵜ · 共␣ ⵜ T兲 + ⌿ ⳵t

共14兲

where u is the whole fluid velocity, ␣ is the thermal diffusivity, and ⌿ is the source term. Equation 共14兲 can be solved in the LB framework by also using Eqs. 共1兲 and 共2兲, except that ␶ will be replaced by ␶T 共the dimensionless single relaxation time for temperature兲 and the summation of PDFs will give the temperature value. 1 As before, ␣ = 共␶T − 2 兲cs2␦t and thus the Prandtl number will be Journal of Fluids Engineering

␯ 2␶ − 1 = ␣ 2␶T − 1

共15兲

By changing ␶ and/or ␶T, we can generate a different Prandtl number. Two different thermal BCs were tested in our simulations. Here we explain them in the context of a D2Q9 model. 共i兲 Isothermal wall: Suppose the temperature is fixed as TB at the bottom wall. After streaming, f 2, f 5, and f 6 are unknowns. Assume these unknown PDFs equal their equilibrium distribution given by Eq. 共2兲 with ␳ replaced by some unknown temperature T⬘. Summing these three PDFs together, we have 关28兴 JANUARY 2006, Vol. 128 / 147

Fig. 11 The relation between the contact angle ␪ of the bubble and the fluid/solid interaction strength gw

f 2 + f 5 + f 6 = 6 T⬘共1 + 3uy + 3u2y 兲 1

共16兲

where uy is the velocity normal to the wall. If we know T⬘, we will be able to solve for f 2, f 5, and f 6. Meanwhile, we notice that for the isothermal wall, 兺␣8 =0 f = TB. Substituting Eq. 共16兲 into this, T⬘ then can be calculated as follows: T⬘ =

6 1 + 3uy + 3u2y

共TB − f 0 − f 1 − f 3 − f 4 − f 7 − f 8兲

共17兲

Finally, f 2, f 5, and f 6 can be obtained by substituting T⬘ into Eq. 共2兲. This method can be easily extended to the 3-D case. 共ii兲 Heat flux BC: After streaming, the temperature of the inner domain can be obtained. A second-order finite difference scheme is used to get the temperature on the wall 关29兴, i.e., for the bottom wall at y = 0, 兩⳵T / ⳵y兩i,1 = 共4Ti,2 − Ti,3 − 3Ti,1兲 / 2⌬y. After finding the wall temperature, the same procedure as described in the isothermal wall case is used to calculate the unknown PDFs. A good benchmark test for a thermal fluid system is RayleighBénard convection 共RBC兲, where a horizontal layer of viscous fluid is heated from the bottom and the top boundary is maintained at a lower temperature 关30兴. When the temperature difference between the bottom and top boundaries exceeds some threshold, the static conduction becomes unstable. Any small perturbation will make the system become convective. We simulated 2-D and 3-D RBC by using the D2Q9 and D3Q19 models, respectively. In the 2-D simulation, the temperatures at the bottom wall 共y = 0兲 and top wall 共y = 1兲 are kept at TB = 1 and TT = 0, respectively. So, ⌬T = TB − TT = 1. A lattice size of 101⫻ 50 is used in the simulation. The two nondimensional terms used to describe the system are the Prandtl number and the Rayleigh number. The Prandtl number is defined in Eq. 共15兲. The Rayleigh number is defined as Ra =

g␤⌬TN3y ␯␣

which corresponds to the buoyancy force in the static conduction state is absorbed in the pressure term, which leads to the following expression of the external force:

␳G = ␳␤g共T − T*兲j

共19兲

*

where T = TB − y⌬T. This body force can be incorporated into the simulation by using the method given in Sec. 4 共the so-called shifting equilibrium velocity method兲 or by adding an additional term after the collision process. We calculated the RBC at different Ra and Pr numbers. Figure 12 plots the typical velocity vectors and isotherms at Ra= 5000 and Pr= 1.0. In order to evaluate the accuracy of the method, the onset of RBC was also tested. The simulation was conducted at different Ra numbers around the critical Ra number Rac, and then the growth rate 共rate of increase of the maximum velocity in the y direction兲 was measured. The results are shown in Fig. 13, in which the growth rates are plotted against the Ra number. The zero growth rate corresponds to the critical Ra number. Using a

共18兲

where g is the acceleration due to gravity, ␤ is the thermal expansion coefficient, and Ny is the lattice size in the y direction. The Boussinesq approximation is used, which assumes that the material properties are independent of temperature except in the body force term. For the gravitational term, the density is assumed to be a linear function of the temperature. In the LBE method, a fluid is always compressible. By introducing gravity we inevitably introduce a compressibility error into the system. In order to eliminate this compressible effect, the part of the gravity force 148 / Vol. 128, JANUARY 2006

Fig. 12 Velocity vectors and isotherms at Ra= 5000 and Pr = 1.0: „a… velocity vectors and „b… isotherms

Fig. 13 Growth rate of instability vs Ra number

Transactions of the ASME

Fig. 15 Nusselt number at the top wall with respect to the time step obtained by the LBE method

Fig. 14 Isotherms at steady state obtained by the LBE method

tion, which is a very small value. This test shows that the heat flux BC and heat source term are properly incorporated in the LBE method. Furthermore, the heat source term can be related to the viscous and compressive heating terms, which will greatly extend the scope of the method.

6 least squares fit, the critical Ra number is found to be 1702.436, which agrees well with the theoretical value of 1707.762 obtained by linear stability theory. The relative error is 0.3119%. Another useful test for code validation is a 2-D heat conduction problem with heat generation inside the domain. A square domain 共length L = 1.0, height H = 1.0兲 with an adiabatic BC at the top and right walls, a uniform temperature TL = 2.0 at the left wall, and a uniform temperature TB = 1.0 at the bottom wall are calculated in a 50⫻ 50 mesh. Additionally, there is heat generation q⵮ inside the domain. Initially, the domain has a uniform temperature of 2.0. To represent heat generation properly in the LB context, we compare the nondimensional heat generation in a real problem and in the LBE method. These two values should equal. This means that 2 2 ⵮ LLu ⵮ LLu qLu q⵮L2 qLu q* = = = kT0 kLuT0,Lu ␣Lu␳LucV,LuT0,Lu

共20兲

where the subscript “Lu” denotes a lattice unit, T0 is some reference temperature, and k is the thermal conductivity. In the LBE method, we only specify the thermal diffusivity ␣. Hence ␳Lu and cV,Lu are set to be unity. Then

⵮= qLu

q ␣LuT0,Lu *

共21兲

2 LLu

Similarly, the time step in the LBE method can be related to the physical time through t* =

␣t ␣LutLu = 2 L2 LLu

共22兲

For comparison, the finite difference 共FD兲 method is also used to evaluate the same problem. Using the same grid resolution, the average error is E ⬇ 8.4⫻ 10−4, where E is defined by E=

冑兺 兺 关T 共x,y兲 − T 共x,y兲兴 冑兺 兺 T 共x,y兲 x

y

LBE

x

FD

y

2 FD

Acknowledgment This work has been supported by NSF Grant No. CTS0238841. The authors also thank Dr. Qinjun Kang at Los Alamos National Laboratory for helpful discussions.

Nomenclature a c cs cV e␣ f␣ f eq ␣ F g gf gw G G共x , x⬘兲

⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽

2

共23兲

Figure 14 shows the isotherms at the steady state obtained by the LBE method. Figure 15 shows the Nusselt number at the top wall 共adiabatic wall兲 with respect to the time step in the LBE simulaJournal of Fluids Engineering

Discussion

We have demonstrated the applicability of the LBE method in simulating multiphase flow and thermal flow systems. The single component multiphase LBE model has the ability to simulate phase separation, variable wettability, and different EOS as well as complex BCs. Additionally, the simulation results of the thermal system using the passive-scalar TLBE model are in good agreement with established analytical or numerical results. Combining these two models, in Part 2 关12兴 we will propose a thermal two-phase LBE model with the fluid dynamics simulated by an isothermal single component multiphase LBE, and the temperature field determined by an additional passive-scalar equation. The coupling of these two parts is through a suitably defined body force term in the isothermal LBE.

Gw共x , x⬘兲 ⫽ H k L N y , Nz

⫽ ⫽ ⫽ ⫽

acceleration lattice speed lattice sound speed specific heat capacity lattice particle’s speed particle distribution function equilibrium particle distribution function force per unit mass gravitational constant intensity of fluid/fluid interaction intensity of fluid/solid interaction buoyancy force per unit mass Green’s function 共related to the fluid/fluid interaction potential兲 Green’s function 共related to the fluid/solid interaction potential兲 height of the domain thermal conductivity length of the domain lattice size in the y and z directions JANUARY 2006, Vol. 128 / 149

q⵮ q* t t* T T* u,U ueq U⬘ w␣ x , x⬘ ␣ ␤ ⌬T ␳ ␳w ␯ ␶ ␶T ␺ ⌿

⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽ ⫽

heat generation per volume nondimensional heat time nondimensional time temperature reference temperature fluid velocity equilibrium velocity characteristic velocity weight coefficients position thermal diffusivity thermal expansion coefficient temperature difference density wall density kinematic viscosity relaxation time relaxation time for temperature field effective mass heat source term

References 关1兴 Chen, S., and Doolen, G. D., 1998, “Lattice Boltzmann Method for Fluid Flows,” Annu. Rev. Fluid Mech., 30, pp. 329–364. 关2兴 Yu, D., Mei, R., Luo, L., and Shyy, W., 2003, “Viscous Flow Comutations With the Method of Lattice Boltzmann Equation,” Prog. Aerosp. Sci., 39, pp. 329–367. 关3兴 Chen, S., Chen, H., Martinez, D., and Matthaeus, W., 1991, “Lattice Boltzmann Model for Simulation of Magnetohydrodynamics,” Phys. Rev. Lett., 67, pp. 3776–3779. 关4兴 Shan, X., and Chen, H., 1993, “Lattice Boltzmann Model for Simulation Flows With Multiple Phases and Components,” Phys. Rev. E, 47, pp. 1815–1819. 关5兴 Shan, X., and Chen, H., 1994, “Simulation of Nonideal Gases and Liquid-Gas Phase Transitions by the Lattice Boltzmann Equation,” Phys. Rev. E, 49, pp. 2941–2948. 关6兴 Shan, X., and Doolen, G. D., 1995, “Multicomponent Lattice-Boltzmann Model With Interparticle Interaction,” J. Stat. Phys., 81, pp. 379–393. 关7兴 Swift, M., Osborn, W., and Yeomans, J., 1995, “Lattice Boltzmann Simulation of Nonideal Fluids,” Phys. Rev. Lett., 75, pp. 830–833. 关8兴 Swift, M., Orlandini, S., Osborn, W., and Yeomans, J., 1996, “Lattice Boltzmann Simulations of Liquid-Gas and Binary-Fluid Systems,” Phys. Rev. E, 54, pp. 5041–5052. 关9兴 Nourgaliev, R., Dinh, T., Theofanous, T., and Joesph, D., 2003, “The Lattice Boltzmann Equation Method: Theoretical Interpretation, Numerics and Implications,” Int. J. Multiphase Flow, 29, pp. 117–169.

150 / Vol. 128, JANUARY 2006

关10兴 Alexander, F. J., Chen, S., and Sterling, J. D., 1993, “Lattice Boltzmann Thermohydrodynamics,” Phys. Rev. E, 47, pp. R2249–R2252. 关11兴 Shan, X., 1997, “Simulation of Rayleigh—Bénard Convection Using a Lattice Boltzmann Method,” Phys. Rev. E, 55, pp. 2780–2788. 关12兴 Yuan, P., and Schaefer, L., 2006, “A Thermal Lattice Boltzmann Two-Phase Flow Model and Its Application to Heat Transfer Problems—Part 2. Integration and Validation,” ASME J. Fluids Eng., 128, pp. 151–156. 关13兴 Succi, S., 2001, The Lattice Boltzmann Equation for Fluid Dynamics and Beyond, Oxford University Press, Oxford, UK. 关14兴 He, X., and Luo, L., 1997, “Theory of the Lattice Boltzmann Method: From the Boltzmann Equation to the Lattice Boltzmann Equation,” Phys. Rev. E, 56, pp. 6811–6817. 关15兴 Chen, S., Martinez, D., and Mei, R., 1996, “On Boundary Conditions in Lattice Boltzmann Method,” Phys. Fluids, 8, pp. 2527–2536. 关16兴 Inamuro, T., Yoshino, M., and Ogino, F., 1995, “A Non-Slip Boundary Condition for Lattice Boltzmann Simulations,” Phys. Fluids, 7, pp. 2928–2930. 关17兴 He, X., Zou, Q., Luo, L., and Dembo, M., 1997, “Analytic Solutions and Analysis on Non-Slip Boundary Condition for the Lattice Boltzmann BGK Model,” J. Stat. Phys., 87, pp. 115–136. 关18兴 Mei, R., Luo, L., and Shyy, W., 1999, “An Accurate Curved Boundary Treatment in the Lattice Boltzmann Method,” J. Comput. Phys., 155, pp. 307–329. 关19兴 Hou, S., 1995, “Lattice Boltzmann Method for Incompressible Viscous Flow,” Ph.D. thesis, Department of Mechanical Engineering, Kansas State Univ., Manhattan, Kansas, USA. 关20兴 Sukop, M., and Or, D., 2004, “Lattice Boltzmann Method for Modeling Liquid-Vapor Interface Configurations in Porous Media,” Water Resour. Res., 40, W01509. 关21兴 Kang, Q., Zhang, D., and Chen, S., 2002, “Displacement of a TwoDimensional Immiscible Droplet in a Channel,” Phys. Fluids, 14, pp. 3203– 3214. 关22兴 Buick, J., and Greated, C., 2000, “Gravity in the Lattice Boltzmann Model,” Phys. Rev. E, 61, pp. 5307–5320. 关23兴 Martys, N. S., and Chen, H., 1996, “Simulation of Multicomponent Fluids in Complex Three-Dimensional Geometries by the Lattice Boltzmann Method,” Phys. Rev. E, 53, pp. 743–750. 关24兴 Hou, S., Shan, X., Zou, Q., Doolen, G., and Soll, W., 1997, “Evaluation of Two Lattice Boltzmann Models for Multiphase Flows,” J. Comput. Phys., 138, pp. 695–713. 关25兴 Yang, Z., Dinh, T., Nourgaliev, R., and Sehgal, B., 2001, “Numerical Investigation of Bubble Growth and Detachment by the Lattice-Boltzmann Method,” Int. J. Heat Mass Transfer, 44, pp. 195–206. 关26兴 McNamara, G., Garcia, A. L., and Alder, B. J., 1995, “Stabilization of Thermal Lattice Boltzmann Models,” J. Stat. Phys., 81, pp. 395–408. 关27兴 Pavlo, P., Vahala, G., and Vahala, L., 1998, “Higher Order Isotropic Velocity Grids in Lattice Methods,” Phys. Rev. Lett., 80, pp. 3960–3963. 关28兴 Inamuro, T., Yoshino, M., Inoue, H., Mizuno, R., and Ogino, F., 2002, “A Lattice Boltzmann Method for a Binary Miscible Fluid Mixture and Its Application to a Heat-Transfer Problem,” J. Comput. Phys., 179, pp. 201–215. 关29兴 Shu, C., Peng, Y., and Chew, Y., 2002, “Simulation of Natural Convection in a Square Cavity by Taylor Series Expansion- and Least Squares-Based Lattice Boltzmann Method,” Int. J. Mod. Phys. C, 13, pp. 1399–1414. 关30兴 Busse, F., 1986, Hydrodynamics Instabilities and the Transition to Turbulence, 2nd ed., Springer-Verlag, Berlin, Germany.

Transactions of the ASME

A Thermal Lattice Boltzmann Two-Phase Flow Model ...

simulation by using the method given in Sec. 4 the so-called shifting equilibrium velocity method or by adding an additional term after the collision process.

535KB Sizes 3 Downloads 230 Views

Recommend Documents

Lattice Boltzmann method for weakly ionized isothermal ...
Dec 21, 2007 - In this paper, a lattice Boltzmann method LBM for weakly ionized isothermal ... lution of the distribution function of each species of particles.

Lattice Boltzmann open boundaries for hydrodynamic ...
solutions are highly sensitive to errors in boundary: see [1–6] and their references. ... +1 541 737 9352; fax: +1 541 737 8681. E-mail address: .... the fluid dynamical equations, given in detail in Appendix E, are used in Section 4 to test LB and

Numerical stability of explicit off-lattice Boltzmann ...
Jan 16, 2015 - often used to evaluate the effective viscosity and temporal and spatial accuracy of a scheme. Here, the flow is computed within a periodic square box defined as −π ≤ x, y ≤ π with a uniform Cartesian mesh of size 100 × 100 on

Anisotropic lattice thermal conductivity in chiral ...
VC 2015 AIP Publishing LLC. .... them with room temperature neutron scattering data.25,26 .... tal data28 includes contributions from the electronic thermal.

A trajectory-based computational model for optical flow ...
and Dubois utilized the concepts of data conservation and spatial smoothness in ...... D. Marr, Vision. I. L. Barron, D. J. Fleet, S. S. Beauchemin, and T. A. Burkitt,.

A Model of Traffic Flow Capacity Constraint through ...
Sacramento, CA, USA [email protected]. ABSTRACT. In dynamic network traffic loading models with queues spilling back in the links, if one or more.

A Continuous Max-Flow Approach to Potts Model
1 Computer Science Department, University of Western Ontario, London Ontario, ... 3 Division of Mathematical Sciences, School of Physical and Mathematical ... cut problem where only provably good approximate solutions are guaranteed,.

anon, Boltzmann Equation.pdf
Sign in. Loading… Whoops! There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying.

Apparatus for controlling thermal dosing in a thermal treatment system
Sep 8, 2005 - Patent Documents. Reissue of: (64) Patent No.: 6,618,620. Issued: Sep. 9, 2003. Appl. No.: 09/724,670. Filed: Nov. 28, 2000. (51) Int. Cl. A61B 18/04 .... 9/2007 Talish et 31, system for ultrasound surgery,” IEEE Trans. Ultrason. Ferr

Dynamo model with thermal convection and free-rotating ... - CiteSeerX
Canuto et al., 1988) for the solution of the Navier–Stokes equation ... tial feature of all these solutions was that the rotation of the ..... London A 456, 1669–1683.

Model Predictive Control of Thermal Energy Storage in ... - Berkeley
Abstract—A preliminary study on the control of thermal energy storage in building cooling systems is presented. We focus on buildings equipped with a water ...

Lattice
search engines, as most of today's audio/video search en- gines rely on the ..... The choice and optimization of a relevance ranking for- mula is a difficult problem ...

Model Predictive Control of Thermal Energy Storage in ...
and demonstration of energy-efficient technologies and prac- tices. It consists of a ... distribution system and secondary distribution loops serving each building of the ..... charge for the service under Schedule E-20 is the sum of a customer ...

Dynamo model with thermal convection and free-rotating ... - CiteSeerX
dromagnetic model with a free-rotating inner core powered by thermal convection. ..... high degree of uncertainty in the observations of the angular velocity.

Apparatus for controlling thermal dosing in a thermal treatment system
Sep 8, 2005 - agement of stroke,” Neurosurgery, vol. 65, No. 5, pp. ..... By way of illustration, FIG. ... ing sinus wave, thereby creating the desired ultrasonic wave energy. 20. 25 ..... Will be appreciated by those skilled in the art that a vari

Model Predictive Control of Thermal Energy Storage in ... - CiteSeerX
and cooling systems, their enhanced efficiency depends on ... can be applied to a wider class of buildings systems which ... accounting for pump power.

Optical Flow Estimation Using Learned Sparse Model
Department of Information Engineering. The Chinese University of Hong Kong [email protected] ... term that assumes image intensities (or other advanced im- age properties) do not change over time, and a ... measures, more advanced ones such as imag

Identification of a best thermal formula and model for oil ...
Identification of a best thermal formula and model for oil and winding ... new model with the good best fit for the heat transfer ..... degrees from KTH University,.

Particle Removal in Linear Shear Flow: Model Prediction and ...
locations in the system. It is important to test particle behavior experimentally under all conditions that may arise. Therefore, the aim of this study is to be able to predict the risk of particle detachment by modeling. For this purpose, particleâ€

Conceptual and Numerical Flow Model of the Sines ...
the regional discharge area of the deep aquifer in the offshore. ... for the best possible reproduction of the aquifer equipotential surface, accommodating.