A lattice Boltzmann approach for solving scalar transport equations



Similar documents
How To Understand The Results Of The German Meris Cloud And Water Vapour Product

BERNSTEIN POLYNOMIALS

Ring structure of splines on triangulations

Rotation Kinematics, Moment of Inertia, and Torque

where the coordinates are related to those in the old frame as follows.

Analysis of Lattice Boltzmann Boundary Conditions

Recurrence. 1 Definitions and main statements

SPEE Recommended Evaluation Practice #6 Definition of Decline Curve Parameters Background:

A hybrid global optimization algorithm based on parallel chaos optimization and outlook algorithm

Support Vector Machines

Form-finding of grid shells with continuous elastic rods

The OC Curve of Attribute Acceptance Plans

A Novel Methodology of Working Capital Management for Large. Public Constructions by Using Fuzzy S-curve Regression

Linear Circuits Analysis. Superposition, Thevenin /Norton Equivalent circuits

8.5 UNITARY AND HERMITIAN MATRICES. The conjugate transpose of a complex matrix A, denoted by A*, is given by

"Research Note" APPLICATION OF CHARGE SIMULATION METHOD TO ELECTRIC FIELD CALCULATION IN THE POWER CABLES *

Damage detection in composite laminates using coin-tap method

Calculation of Sampling Weights

21 Vectors: The Cross Product & Torque

Introduction. by a source term ( ) 242 / Vol. XXVIII, No. 2, April-June 2006 ABCM. Denise Maria V. Martinez et al

Actuator forces in CFD: RANS and LES modeling in OpenFOAM

Risk-based Fatigue Estimate of Deep Water Risers -- Course Project for EM388F: Fracture Mechanics, Spring 2008

1. Fundamentals of probability theory 2. Emergence of communication traffic 3. Stochastic & Markovian Processes (SP & MP)

Conversion between the vector and raster data structures using Fuzzy Geographical Entities

SIMULATION OF THERMAL AND CHEMICAL RELAXATION IN A POST-DISCHARGE AIR CORONA REACTOR

PSYCHOLOGICAL RESEARCH (PYC 304-C) Lecture 12

Comparison of Control Strategies for Shunt Active Power Filter under Different Load Conditions

Forecasting the Direction and Strength of Stock Market Movement

Calculating the high frequency transmission line parameters of power cables

RESEARCH ON DUAL-SHAKER SINE VIBRATION CONTROL. Yaoqi FENG 1, Hanping QIU 1. China Academy of Space Technology (CAST)

1 What is a conservation law?

Goals Rotational quantities as vectors. Math: Cross Product. Angular momentum

Institute of Informatics, Faculty of Business and Management, Brno University of Technology,Czech Republic

benefit is 2, paid if the policyholder dies within the year, and probability of death within the year is ).

On the Optimal Control of a Cascade of Hydro-Electric Power Stations

IMPACT ANALYSIS OF A CELLULAR PHONE

Project Networks With Mixed-Time Constraints

Mean Molecular Weight

NMT EE 589 & UNM ME 482/582 ROBOT ENGINEERING. Dr. Stephen Bruder NMT EE 589 & UNM ME 482/582

Cloud simulation. Course SS 06 Simulation and Animation Prof. Dr. R. Westermann Computer Graphics and Visualization Group

What is Candidate Sampling

An Overview of Computational Fluid Dynamics

Forecasting the Demand of Emergency Supplies: Based on the CBR Theory and BP Neural Network

Lecture 2: Single Layer Perceptrons Kevin Swingler

An Alternative Way to Measure Private Equity Performance

Inner core mantle gravitational locking and the super-rotation of the inner core

How To Analyze The Flow Patterns Of A Fracture Network

Product-Form Stationary Distributions for Deficiency Zero Chemical Reaction Networks

Simulation of Under Water Explosion using MSC.Dytran

University Physics AI No. 11 Kinetic Theory

1 Example 1: Axis-aligned rectangles

THE DISTRIBUTION OF LOAN PORTFOLIO VALUE * Oldrich Alfons Vasicek

Faraday's Law of Induction

Face Verification Problem. Face Recognition Problem. Application: Access Control. Biometric Authentication. Face Verification (1:1 matching)

CHOLESTEROL REFERENCE METHOD LABORATORY NETWORK. Sample Stability Protocol

Numerical Analysis of the Natural Gas Combustion Products

A Secure Password-Authenticated Key Agreement Using Smart Cards

5.74 Introductory Quantum Mechanics II

The Development of Web Log Mining Based on Improve-K-Means Clustering Analysis

v a 1 b 1 i, a 2 b 2 i,..., a n b n i.

NUMERICAL INVESTIGATION OF AIR FLOW INSIDE AN OFFICE ROOM UNDER VARIOUS VENTILATION CONDITIONS

Traffic State Estimation in the Traffic Management Center of Berlin

An Interest-Oriented Network Evolution Mechanism for Online Communities

Fisher Markets and Convex Programs

GRAVITY DATA VALIDATION AND OUTLIER DETECTION USING L 1 -NORM

Implementation of Deutsch's Algorithm Using Mathcad

Quantization Effects in Digital Filters

Sharp-Crested Weir Discharge Coefficient

Consider a 1-D stationary state diffusion-type equation, which we will call the generalized diffusion equation from now on:

PAS: A Packet Accounting System to Limit the Effects of DoS & DDoS. Debish Fesehaye & Klara Naherstedt University of Illinois-Urbana Champaign

CFD MODELLING BY DHI. Statement of Qualifications

Time Domain simulation of PD Propagation in XLPE Cables Considering Frequency Dependent Parameters

This circuit than can be reduced to a planar circuit

How Sets of Coherent Probabilities May Serve as Models for Degrees of Incoherence

Module 2 LOSSLESS IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

An Introduction to 3G Monte-Carlo simulations within ProMan

Modelling of Hot Water Flooding

TWO-DIMENSIONAL TRANSIENT RADIATIVE HEAT TRANSFER USING DISCRETE ORDINATES METHOD

Topical Workshop for PhD students Adsorption and Diffusion in MOFs Institut für Nichtklassische Chemie, Germany,

) of the Cell class is created containing information about events associated with the cell. Events are added to the Cell instance

Realistic Image Synthesis

Turbulence Models and Their Application to Complex Flows R. H. Nichols University of Alabama at Birmingham

DEFINING %COMPLETE IN MICROSOFT PROJECT

Parallel Numerical Simulation of Visual Neurons for Analysis of Optical Illusion

2008/8. An integrated model for warehouse and inventory planning. Géraldine Strack and Yves Pochet

Experiment 5 Elastic and Inelastic Collisions

LECTURES on COMPUTATIONAL NUMERICAL ANALYSIS of PARTIAL DIFFERENTIAL EQUATIONS

Effect of a spectrum of relaxation times on the capillary thinning of a filament of elastic liquid

Characterization of Assembly. Variation Analysis Methods. A Thesis. Presented to the. Department of Mechanical Engineering. Brigham Young University

Laws of Electromagnetism

J. Parallel Distrib. Comput.

Immersed interface methods for moving interface problems

Transcription:

Phl. Trans. R. Soc. A (2011) 369, 2264 2273 do:10.1098/rsta.2011.0019 A lattce Boltzmann approach for solvng scalar transport equatons BY RAOYANG ZHANG*, HONGLI FAN AND HUDONG CHEN Exa Corporaton, 55 Network Drve, Burlngton, MA 01803, USA A lattce Boltzmann (LB) approach s presented for solvng scalar transport equatons. In addton to the standard LB for flud flow, a second set of dstrbuton functons s ntroduced for transport scalars. Ths LB approach fully recovers the macroscopc scalar transport equaton satsfyng an exact conservaton law. It s numercally stable and scalar dffusvty does not have a Courant Fredrchs Lewy-lke stablty upper lmt. Wth a suffcent lattce sotropy, numercal solutons are ndependent of grd orentatons. A generalzed boundary condton for scalars on arbtrary geometry s also realzed by a precse control of surface scalar flux. Numercal results of varous benchmarks are presented to demonstrate the accuracy, effcency and robustness of the approach. Keywords: lattce Boltzmann; scalar transport; knetc theory 1. Introducton The lattce Boltzmann method (LBM) has now become a promsng alternatve numercal method to conventonal computatonal flud dynamcs (CFD) for smulatng varous flud flows. Unlke conventonal CFD based on drectly solvng macroscopc contnuum equatons, the LBM starts from a mesoscopc knetc (.e. Boltzmann) equaton to determne macroscopc flud dynamcs [1]. Its knetc nature brngs many advantages over the conventonal methods, such as easy handlng of complex geometres, parallel computaton, low numercal dsspaton and effcent smulatons of mult-phase flows wth thermodynamc phase transtons (cf. [1 4]). It has been appled extensvely n research and real engneerng applcatons. In many flud flow smulatons, addtonal scalar quanttes usually need to be solved; for example, temperature varaton n heat transfer problems. Because of lack of a global H-theorem [5], most LB approaches wth full energy conservaton encounter challengng numercal nstablty ssues unless hghorder LB models are appled [6]. Smultaneous realzaton of mass, momentum and temperature boundary condtons (BCs) s also extremely challengng. To overcome these dffcultes, one soluton s to solve an addtonal scalar equaton for temperature [4]. *Author for correspondence (raoyang@exa.com). One contrbuton of 26 to a Theme Issue Dscrete smulaton of flud dynamcs: methods. 2264 Ths journal s 2011 The Royal Socety

A lattce Boltzmann scalar solver 2265 Generally, there are two types of methods to solve scalar transport equatons along wth a basc LB flud solver, one s the fnte dfference (FD) method and the other s an LB scalar solver. Because of the Lagrangan nature of the background LB flud solver, explct FD schemes are commonly appled on the same cubc lattce grds for convenence to solve the scalar equaton. There are many explct FD schemes n the lterature. Nonetheless, owng to the very strct Courant Fredrchs Lewy (CFL) constrant, there exsts a stablty upper bound for the normalzed value of dffusvty, and also a mxture of upwnd and central schemes for scalar advecton s usually necessary [7]. A drect consequence of such a treatment s the ncreased numercal dffuson and loss of exact Gallean nvarance. Symmetry of the schemes could also be sacrfced, whch causes grd orentaton dependence of numercal solutons. Furthermore, t s dffcult to accurately calculate scalar gradent and scalar advecton n regons contanng arbtrary geometres due to mssng neghbour nformaton. Thus, near wall numercal accuracy could be sgnfcantly compromsed. There are not many works on LB scalar solvers n the lterature. In 1987, the concept of usng mult-component formulaton was proposed n lattce gas framework [8]. In 1997, Shan [9] used a separate dstrbuton functon to solve the temperature equaton and conducted Raylegh Benard smulatons n two and three dmensons. Later on He et al. [10] proposed a smlar approach to solve nternal energy dstrbuton functon. Peng et al. [11] further extended the nternal energy model for three-dmensonal ncompressble thermal smulatons. One of the advantages of these LB scalar solvers s numercal stablty. Unlke explct FD, LB scalar solvers naturally satsfy the CFL condton. The scalar advecton s exact and there s no need to calculate scalar gradent explctly. Scalar dffusvty does not have an upper lmt. Although the exstng LB scalar solvers possess many advantages, they all fal on a fundamental nvarance condton. That s, f there s no external scalar source, a unform scalar dstrbuton should be mantaned at all tmes no matter the background flud flow. In ths paper, a new LB scalar approach s proposed that addresses the above problem. In addton, a generalzed BC for the scalar on arbtrary geometry, whch s largely mssng n prevous studes, s also presented. Theoretcal detals are descrbed n 2 followed by results for smple but representatve benchmark problems to demonstrate the accuracy, stablty and symmetry of the new LB scalar solver. Conclusons are gven n 4. 2. New lattce Boltzmann scalar solver (a) The flud solver Varous types of LBM could be appled for solvng flud flows, whch serve as the background carrer for scalar transport. For smplcty, the standard D3Q19 Bhatnagar Gross Krook (BGK) model [1] s used n ths study: f (x + c, t + 1) = f (x, t) 1 t (f (x, t) f eq (x, t)) + g (x, t). (2.1) Phl. Trans. R. Soc. A (2011)

2266 R. Zhang et al. Here, f (x, t)( = 1,..., 19) s the partcle dstrbuton functon, t s the sngle relaxaton tme and f eq (x, t) s the equlbrum dstrbuton functon wth a thrd-order expanson n flud velocty, ( f eq (x, t) = rw 1 + c u + (c u) 2 T 0 2T0 2 u2 + (c u) 3 2T 0 6T0 3 c u 2T0 2 u ), 2 (2.2) where T 0 = 1/3. The dscrete lattce veloctes c are 0 c = (±1, 0, 0), (0, ±1, 0), (0, 0, ±1) (±1, ±1, 0), (±1, 0, ±1), (0, ±1, ±1) (2.3) wth w 0 = 1/3 for rest partcle, w = 1/18 for states of Cartesan drectons and w = 1/36 for states of b-dagonal drectons. g (x, t) s the external body force term [12]. The hydrodynamc quanttes r and u are moments of the partcle dstrbuton functon r(x, t) = f (x, t) and r(x, t)u(x, t) = c f (x, t). (2.4) (b) The scalar solver In addton to the flud solver, a separate set of dstrbuton functons, T,s ntroduced for scalar transport: ( T (x + c, t + 1) = T(x, t) + 1 1 ) F (x, t), (2.5) t T F (x, t) = c u(x, t) c j f j (x, t)(t j (x, t) T(x, t)) (2.6) r(x, t)t 0 j and T(x, t) = f (x, t)t (x, t). (2.7) r(x, t) T s the scalar dstrbuton functon and T s the scalar beng solved for. t T s the relaxaton tme correspondng to scalar dffusvty. The f, r, T 0 and u are defned n equatons (2.1), (2.2) and (2.4), respectvely. In general, the lattce speed set for scalar dstrbuton does not need to be the same as the lattce speed set for flud dstrbuton because the current scalar solver s an addtonal system attached to the basc flud solver. Dfferent lattce speed set for scalar could be appled as long as the scalar lattce speed set s a subset of the flud lattce speed set. For example, a sx-speed LB model may be used for scalar smulaton when the 19-speed LB model s used for flud smulaton. Snce the 19-speed LB model has a hgher order lattce symmetry than the sx-speed LB model, the same 19-speed lattce model for scalar s used here. Unlke the regular BGK, the so-called BGK regularzed/fltered collson operator form s used here [13,14]. Such a form ensures that only the frst-order non-equlbrum moment contrbutes to scalar dffuson n the hydrodynamc range. All non-equlbrum moments of hgher orders are fltered out by ths collson process. Its drect benefts nclude elmnaton of numercal nose exhbted n BGK and mproved robustness. The scalar T serves as Phl. Trans. R. Soc. A (2011)

A lattce Boltzmann scalar solver 2267 ts own equlbrum and no complcated expresson of scalar equlbrum dstrbuton functon s needed. The overall calculaton of collson operator F s rather effcent. It can be shown easly that the collson n equaton (2.5) obeys the scalar conservaton law. Multplyng f (x, t) = f (x + c, t + 1) on both sdes of equaton (2.5) and notcng we have (c u)f rt 0 = f T = ru ru rt 0 = 0, (2.8) f T = rt, (2.9) where T (x, t) denotes the rght-hand sde of equaton (2.5). Hence, the scalar collson operator conserves local rt, whch mples realzaton of local energy conservaton f the scalar s consdered as temperature. Snce T propagates along wth f, the energy dstrbuton E = f T s fully mantaned durng advecton. The global conservaton of rt s therefore acheved. Furthermore, and most notably, ths scheme mantans the exact nvarance on unformty of scalar T. It s straghtforward to see that f T (x, t) = T(x, t) = T = const. everywhere, then F (x, t) 0, and T (x, t + 1) = T everywhere at all later tmes, regardless of the background flow feld. Ths fundamental property s not demonstrated n any prevous LB scalar models. Usng Chapman Enskog expanson, t can be shown that equaton (2.5) recovers the followng second-order macroscopc scalar transport equaton: vrt + V (rut) = V rkvt, (2.10) vt wth k = (t T 1/2)T 0. The unformty nvarance condton ensures that r s outsde of VT. (c) Boundary condton One substantal advantage of the LBM s the capablty of dealng wth complex geometry [1]. In 1998, Chen et al. [15] formulated a general volumetrc LB surface algorthm to acheve frctonless/frctonal BCs on arbtrary geometry. In ther scheme, mass s conserved, both tangental and normal momentum fluxes on the boundary are precsely realzed. The local detaled balance s fully satsfed. Many benchmark studes have well demonstrated the accuracy and robustness of ths scheme [2,3,16]. An adabatc (zero scalar flux) BC on arbtrary geometry for scalar can be derved as a drect extenson of ths scheme. Once the adabatc BC s realzed, a prescrbed fnte flux BC can be accomplshed. Unlke other pont-wse LB, BCs are conducted on a dscretzed set of surface elements. These pece-wse flat surface elements together represent a curved geometry. Durng partcle advecton, each surface element collects ncomng partcles from ts neghbourng flud cells. The ncomng dstrbutons f n, T n are weghted by volume overlappng of paralleleppeds from the underlng surface element wth cells n partcle movng drectons (cf. [15]). After recevng the Phl. Trans. R. Soc. A (2011)

2268 R. Zhang et al. ncomng quanttes, the followng surface scalar algorthm s appled to determne the outgong dstrbutons from the surface: where T out = T n f n T n f n T n f out, (2.11) T n = c f n n<0 T n P c n<0 f n P. (2.12) Here, n s the surface normal pontng towards the flud doman and c n < 0, c = c. P ( n c A) s the volume of parallelepped n partcle drecton c assocated wth the surface normal n and area A of a gven surface element, and obvously P = P. Fnally, the outgong dstrbutons are propagated back from the surface element to flud cells accordng to the same surface advecton process as n Chen et al. [15]. It s not dffcult to show that the above surface scalar collson acheves exact zero surface scalar flux. Takng summaton over outgong drectons, the outgong scalar flux s T out P = c n<0 f out c n<0 c n<0 f out T n P c n<0 c n<0 (f n T n f n T n )P. (2.13) Note, P = P and the defnton of T n n equaton (2.12), the second summaton term on the rght-hand sde s zero. In addton, because of the mass flux conservaton c f out n<0 P = c f n n<0 P, the total outgong scalar flux s the same as the total ncomng scalar flux f out T out P = f n T n P. (2.14) Therefore, zero net surface flux (adabatc) BC s fully satsfed on arbtrary geometry. If an external scalar source Q(t) s specfed on the surface, a source term can be drectly added to equaton (2.11) Q(t)P A rc p c P. (2.15) n>0 If the BC has a prescrbed scalar quantty T w (for example, surface temperature), surface heat flux can be calculated accordngly: Q(t) = rc p k(t w T n ). (2.16) 3. Numercal verfcaton Four sets of smulaton results are presented to demonstrate the capablty of the LB scalar solver regardng ts numercal accuracy, stablty, Gallean nvarance, grd orentaton ndependence, etc. Results usng two dfferent second-order FD schemes, van Leer type of flux lmter scheme and drect mxng scheme (mxture of central and frst-order upwnd schemes), are also presented as comparsons. Phl. Trans. R. Soc. A (2011)

A lattce Boltzmann scalar solver 2269 0.06 0.04 0.02 DT/T 0 0 0.02 0.04 0.06 0 0.2 0.4 x/l 0.6 0.8 1.0 Fgure 1. Temperature profles at t = 81. Crcles, LB; trangles, flux lmter; crosses, mxng scheme; sold lne, theory. (a) Shearwave decay The frst test case s a temperature shearwave decay carred by a constant unform flud flow. The ntal temperature dstrbuton s a unform one plus a spatal snusodal varaton wth lattce wavelength L = 16 and magntude d = 6.67% : T(x) = T A (1 + d sn(2px/l)). T A s a constant. The velocty of background mean flow s 0.2 and the thermal dffusvty k s 0.002. Wth such a low resoluton and k, the numercal stablty and accuracy can be well valdated. For temperature decay wthout background flow, both the LB scalar solver and the FD methods show excellent agreements wth theory. Wth non-zero background mean flow, the LB scalar solver s stll able to accurately compare wth theory. However, the FD results show notceable numercal errors. The temperature profles at lattce tme step 81 are plotted n fgure 1. Numercal dffuson s seen clearly for the flux-lmter FD scheme, whle nether the correct temperature profle nor ts locaton can be mantaned by the mxng FD scheme. (b) Inclned channel wth volume heat source The second test case s a smulaton of temperature dstrbuton n a channel flow wth dfferent lattce orentatons. The channel walls are free-slp, and the flud flow stays unform wth U 0 = 0.2 as a result. The channel wdth s 50 (lattce spacng) and the flow Re s 2000. The thermal dffusvty k s 0.005. The temperature on the wall s fxed at T w = 1/3. A constant volume heat source q = 5 10 6 s appled n the bulk flud doman. The flow has perodc BC n the streamwse drecton, whch s easy to realze n lattce algned stuaton. When the channel (lght colour) s tlted as shown n fgure 2, the n and out channel boundares are matched perfectly n coordnate drectons so that the perodc Phl. Trans. R. Soc. A (2011)

2270 R. Zhang et al. 2.0 1.8 1.6 T/T 0 1.4 1.2 1.0 0 0.2 0.4 0.6 y/h 0.8 1.0 Fgure 2. Temperature dstrbutons across tlted channel wth streamwse perodc BC. Sold lne, LB; dashed lne, flux lmter; dashed-dotted lne, mxng scheme; small crcles, non-nclned. BC s once agan realzed n the streamwse drecton. In order to demonstrate lattce ndependence, we choose the tlted angle to be 26.56. Lke the frst test case, the temperature dstrbutons usng the LB scalar solver and the two FD schemes match the analytc soluton very well when the channel s lattce algned. However, the results from the FD schemes depart sgnfcantly from theory when the channel s tlted. The smulaton results of temperature dstrbuton across the tlted channel are shown n fgure 2. The LB results are clearly shown to be ndependent of lattce orentatons. The errors from the FD methods are also orgnated from ther fundamental dffculty n dealng wth gradent calculaton on a tlted boundary orentaton, so that addtonal numercal artefacts are ntroduced. Snce the LB scalar partcle advecton s exact wth the BC presented here, t s thus able to acheve a lattce orentaton ndependent scalar evoluton. (c) Temperature propagaton n an nclned channel Owng to lack of neghbour nformaton n a non-lattce algned near wall regon on Cartesan grds, t s extremely dffcult to get accurate estmaton of local gradents, whch s essental for FD based methods. Furthermore, because of strong dependency on upwnd nformaton, the calculaton of scalar advecton can be further compromsed for FD methods. In contrast, the boundary treatment of the LB scalar solver acheves exact local scalar flux conservaton as dscussed above. The scalar advecton n such a near wall regon can be computed accurately. Hgh temperature convecton n a channel tlted by 30 s conducted as a demonstraton. The free-slp and adabatc BCs are enforced at sold walls and flud velocty s constant U 0 = 0.0909 along the channel. The thermal dffusvty k s 0.002. Intally, the temperature s 1/3 everywhere except for T = 4/9 at the nlet. Then ths temperature front should be convected by the unform background flud flow to downstream locatons at later tmes wthout dstorton. The computed temperature front dstrbutons across the channel at lattce tme Phl. Trans. R. Soc. A (2011)

A lattce Boltzmann scalar solver 2271 1.1 T/T m 1.0 0.9 0 0.2 0.4 0.6 y/h 0.8 1.0 Fgure 3. Temperature propagaton fronts across tlted channel. Sold lne, LB; dashed lne, flux lmter; dashed-dotted lne, mxng scheme. step 2000 are shown n fgure 3. The temperature front of the LB scalar solver mantans a nearly straght profle. On the other hand, the temperature fronts from the two FD schemes show substantal dstortons n near wall regons. It s also worth mentonng that the LB scalar result shows the thnnest temperature front whch mples that the LB scalar solver has a smaller numercal dffuson. (d) Raylegh Bénard natural convecton Raylegh Bénard (RB) natural convecton s a classcal benchmark for accuracy verfcaton of numercal solvers. It has a smple case set-up but complex physcs phenomena. When Raylegh number Ra exceeds a certan crtcal value, the system experences a transton from no-flow to convecton. Current study s carred out under the Boussnesq approxmaton, n that the buoyancy force actng on the flud s defned as arg(t T m ) where a s the thermal expanson rate, g s gravty, and T m s the average temperature value of the top and bottom boundares. Snce the most unstable wave number s k c = 3.117 when Ra exceeds the crtcal value Ra c = 1707.762, the resoluton 101 50 s used n the study. Pr used here s 0.71. A set of smulatons wth varous Ra are conducted. Owng to page lmtaton, only Nusselt number Nu versus Ra s presented here. When RB convecton s establshed, the heat transfer between two plates s greatly enhanced. The enhancement of the heat transfer s descrbed by Nu = 1 + u y T H /kdt. Our results are compared wth those of Clever & Busse [17] nfgure 4. As shown, the agreements are very good for Ra less than 20 000. Our results slghtly underestmate the heat transfer at hgher Ra. Other LB methods also showed a smlar trend [9,10]. Phl. Trans. R. Soc. A (2011)

2272 R. Zhang et al. 6 5 Nusselt number 4 3 2 1 0 10 3 10 4 10 5 Raylegh number Fgure 4. Nusselt number versus Raylegh number. Squares, LB; trangles, Clever & Busse [17]; sold lne, 1.56(Ra/Ra c ) 0.296. 4. Conclusons A new LB scalar solver ncludng a generalzed BC on arbtrary geometry s presented n ths paper. The algorthm s smple and effcent. The fundamental flaw assocated wth lack of nvarance of unform temperature n the prevous LB scalar models s fully removed. Its numercal stablty, accuracy, symmetry and robustness are demonstrated by some representatve benchmark cases. Fnally we would lke to pont out that ths LB scalar solver can be trvally extended to smulate multple scalars. References 1 Chen, S. & Doolen, G. D. 1998 Lattce Boltzmann method for flud flows. Annu. Rev. Flud Mech. 30, 329 364. (do:10.1146/annurev.flud.30.1.329) 2 L, Y., Shock, R., Zhang, R. & Chen, H. 2004 Numercal study of flow past an mpulsvely started cylnder by lattce Boltzmann method. J. Flud Mech. 519, 273 300. (do:10.1017/ S0022112004001272) 3 Chen, H., Kandasamy, S., Orszag, S., Shock, R., Succ, S. & Yakhot, V. 2003 Extended Boltzmann knetc equaton for turbulent flows. Scence 301, 633 636. (do:10.1126/scence. 1085048) 4 Zhang, R. & Chen, H. 2003 A lattce Boltzmann method for smulatons of lqud vapor thermal flows. Phys. Rev. E 67, 066711. (do:10.1103/physreve.67.066711) 5 Chen, H. & Texera, C. 2000 H-theorem and orgns of nstablty n thermal lattce Boltzmann models. Comput. Phys. Commun. 129, 21 31. (do:10.1016/s0010-4655(00)00089-8) 6 Sebert, D. N., Hegele Jr, L. A. & Phlpp, P. C. 2008 Lattce Boltzmann equaton lnear stablty analyss: thermal and athermal models. Phys. Rev. E 77, 026707. (do:10.1103/ PhysRevE.77.026707) Phl. Trans. R. Soc. A (2011)

A lattce Boltzmann scalar solver 2273 7 Waterson, N. P. & Deconnc, H. 2007 Desgn prncples for bounded hgher-order convecton schemes a unfed approach. J. Comput. Phys. 224, 182 207. (do:10.1016/j.jcp.2007.01.021) 8 Chen, H. & Matthaeus, W. H. 1987 Cellular automaton formulaton of passve scalar dynamcs. Phys. Fluds 30, 1235 1237. (do:10.1063/1.866288) 9 Shan, X. 1997 Smulaton of Raylegh Bénard convecton usng a lattce Boltzmann method. Phys. Rev. E 55, 2780 2788. (do:10.1103/physreve.55.2780) 10 He, X., Chen, S. & Doolen, G. D. 1998 A novel thermal model for the lattce Boltzmann method n ncompressble lmt. J. Comput. Phys. 146, 282 300. (do:10.1006/jcph.1998.6057) 11 Peng, Y., Shu, C. & Chew, Y. T. 2003 A 3D ncompressble thermal lattce Boltzmann model and ts applcaton to smulate natural convecton n a cubc cavty. J. Comput. Phys. 193, 260 274. (do:10.1016/j.jcp.2003.08.008) 12 Guo, Z., Zhen, C. & Sh, B. 2002 Dscrete lattce effects on the forcng term n the lattce Boltzmann method. Phys. Rev. E 65, 046308. (do:10.1103/physreve.65.046308) 13 Chen, H., Zhang, R., Staroselsky, I. & Jhon, M. 2006 Recovery of full rotatonal nvarance n lattce Boltzmann formulatons for hgh Knudsen number flows. Physca A 362, 125 131. (do:10.1016/j.physa.2005.09.008) 14 Zhang, R., Shan, X. & Chen, H. 2006 Effcent knetc method for flud smulaton beyond the Naver Stokes equaton. Phys. Rev. E 74, 046703. (do:10.1103/physreve.74.046703) 15 Chen, H., Texera, C. & Molvg, K. 1998 Realzaton of flud boundary condtons va dscrete Boltzmann dynamcs. Int. J. Mod. Phys. 9, 1281 1292. (do:10.1142/s0129183198001151) 16 L, Y., Zhang, R., Shock, R. & Chen, H. 2009 Predcton of vortex sheddng from a crcular cylnder usng a Lattce Boltzmann boundary approach. Eur. Phys. J. 171, 91 97. (do:10.1140/ epjst/e2009-01015-9) 17 Clever, R. M. & Busse, F. H. 1974 Transton to tme-dependent convecton. J. Flud Mech. 65, 625 645. (do:10.1017/s0022112074001571) Phl. Trans. R. Soc. A (2011)