Research Article Comparison of the Finite Volume and...

16
Research Article Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving Natural Convection Heat Transfer Problems inside Cavities and Enclosures M. Goodarzi, 1 M. R. Safaei, 2 A. Karimipour, 3 K. Hooman, 4 M. Dahari, 2 S. N. Kazi, 2 and E. Sadeghinezhad 2 1 Department of Soſtware Engineering, Faculty of Computer Science & Information Technology, University of Malaya, 50603 Kuala Lumpur, Malaysia 2 Department of Mechanical Engineering, Faculty of Engineering, University of Malaya, 50603 Kuala Lumpur, Malaysia 3 Department of Mechanical Engineering, Najafabad Branch, Islamic Azad University, Isfahan, Iran 4 School of Mechanical and Mining Engineering, e University of Queensland, St Lucia, Brisbane, QLD 4072, Australia Correspondence should be addressed to M. R. Safaei; cfd [email protected] Received 28 September 2013; Revised 22 November 2013; Accepted 24 November 2013; Published 9 February 2014 Academic Editor: Mohamed Fathy El-Amin Copyright © 2014 M. Goodarzi et al. is is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Different numerical methods have been implemented to simulate internal natural convection heat transfer and also to identify the most accurate and efficient one. A laterally heated square enclosure, filled with air, was studied. A FORTRAN code based on the lattice Boltzmann method (LBM) was developed for this purpose. e finite difference method was applied to discretize the LBM equations. Furthermore, for comparison purpose, the commercially available CFD package FLUENT, which uses finite volume Method (FVM), was also used to simulate the same problem. Different discretization schemes, being the first order upwind, second order upwind, power law, and QUICK, were used with the finite volume solver where the SIMPLE and SIMPLEC algorithms linked the velocity-pressure terms. e results were also compared with existing experimental and numerical data. It was observed that the finite volume method requires less CPU usage time and yields more accurate results compared to the LBM. It has been noted that the 1st order upwind/SIMPLEC combination converges comparatively quickly with a very high accuracy especially at the boundaries. Interestingly, all variants of FVM discretization/pressure-velocity linking methods lead to almost the same number of iterations to converge but higher-order schemes ask for longer iterations. 1. Introduction Studying heat transfer and fluid flow using computational methods is easier [1], safer [2], and much less costly [3] com- pared to experimental techniques. ere are a large number of problems which can be simulated with great accuracy to replicate experiments with high resolutions [4]. ere are currently a range of approaches with the potential to serve in modeling heat transfer and fluid flows, such as the finite dif- ference method (FDM), finite element method (FEM), finite volume method (FVM), lattice boltzmann method (LBM), boundary elements method (BEM), molecular dynamics simulation, and direct simulation Monte Carlo. e most widely employed approaches in the field of thermofluids are the first four [5]. However, application of FDM can be difficult when complex geometries are involved [6]. e FEM schemes can be intricate for solving conservative equations, while the nonstandard FEMs have low computational effi- ciency [7]. Application of FVM is difficult and complex to cases with complex moving boundaries [8]. LBM is a compressible model for ideal gases and can theoretically always simulate the compressible Navier-Stokes equations. With the Chapman-Enskog expansion [9], LBM can simulate incompressible flow for low Mach numbers (Ma < 0.15) albeit at the expense of a compressibility error [10, 11]. Besides, regular square grids used with LBM make it very hard to extend the simulation to curved boundaries [12]. All in all, the accuracy of all these numerical approaches is dependent Hindawi Publishing Corporation Abstract and Applied Analysis Volume 2014, Article ID 762184, 15 pages http://dx.doi.org/10.1155/2014/762184

Transcript of Research Article Comparison of the Finite Volume and...

Page 1: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

Research ArticleComparison of the Finite Volume and LatticeBoltzmann Methods for Solving Natural Convection HeatTransfer Problems inside Cavities and Enclosures

M. Goodarzi,1 M. R. Safaei,2 A. Karimipour,3 K. Hooman,4 M. Dahari,2

S. N. Kazi,2 and E. Sadeghinezhad2

1 Department of Software Engineering, Faculty of Computer Science & Information Technology, University of Malaya,50603 Kuala Lumpur, Malaysia

2 Department of Mechanical Engineering, Faculty of Engineering, University of Malaya, 50603 Kuala Lumpur, Malaysia3 Department of Mechanical Engineering, Najafabad Branch, Islamic Azad University, Isfahan, Iran4 School of Mechanical and Mining Engineering, The University of Queensland, St Lucia, Brisbane, QLD 4072, Australia

Correspondence should be addressed to M. R. Safaei; cfd [email protected]

Received 28 September 2013; Revised 22 November 2013; Accepted 24 November 2013; Published 9 February 2014

Academic Editor: Mohamed Fathy El-Amin

Copyright © 2014 M. Goodarzi et al. This is an open access article distributed under the Creative Commons Attribution License,which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Different numerical methods have been implemented to simulate internal natural convection heat transfer and also to identify themost accurate and efficient one. A laterally heated square enclosure, filled with air, was studied. A FORTRAN code based on thelattice Boltzmann method (LBM) was developed for this purpose. The finite difference method was applied to discretize the LBMequations. Furthermore, for comparison purpose, the commercially available CFD package FLUENT, which uses finite volumeMethod (FVM), was also used to simulate the same problem. Different discretization schemes, being the first order upwind, secondorder upwind, power law, and QUICK, were used with the finite volume solver where the SIMPLE and SIMPLEC algorithms linkedthe velocity-pressure terms.The results were also compared with existing experimental and numerical data. It was observed that thefinite volumemethod requires less CPUusage time and yieldsmore accurate results compared to the LBM. It has been noted that the1st order upwind/SIMPLEC combination converges comparatively quickly with a very high accuracy especially at the boundaries.Interestingly, all variants of FVM discretization/pressure-velocity linking methods lead to almost the same number of iterations toconverge but higher-order schemes ask for longer iterations.

1. Introduction

Studying heat transfer and fluid flow using computationalmethods is easier [1], safer [2], and much less costly [3] com-pared to experimental techniques. There are a large numberof problems which can be simulated with great accuracy toreplicate experiments with high resolutions [4]. There arecurrently a range of approaches with the potential to serve inmodeling heat transfer and fluid flows, such as the finite dif-ference method (FDM), finite element method (FEM), finitevolume method (FVM), lattice boltzmann method (LBM),boundary elements method (BEM), molecular dynamicssimulation, and direct simulation Monte Carlo. The mostwidely employed approaches in the field of thermofluids

are the first four [5]. However, application of FDM can bedifficult when complex geometries are involved [6].The FEMschemes can be intricate for solving conservative equations,while the nonstandard FEMs have low computational effi-ciency [7]. Application of FVM is difficult and complexto cases with complex moving boundaries [8]. LBM is acompressible model for ideal gases and can theoreticallyalways simulate the compressible Navier-Stokes equations.With the Chapman-Enskog expansion [9], LBM can simulateincompressible flow for lowMach numbers (Ma < 0.15) albeitat the expense of a compressibility error [10, 11]. Besides,regular square grids used with LBM make it very hard toextend the simulation to curved boundaries [12]. All in all,the accuracy of all these numerical approaches is dependent

Hindawi Publishing CorporationAbstract and Applied AnalysisVolume 2014, Article ID 762184, 15 pageshttp://dx.doi.org/10.1155/2014/762184

Page 2: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

2 Abstract and Applied Analysis

H

T = Th

g

T = Tc

Y

X

L = H

L

𝜕T/𝜕y = 0

𝜕T/𝜕y = 0

Figure 1: Schematic of analyzed configuration.

on the problem configuration, discretization scheme, andnumerical algorithmused [5]. As such, an important questionto answer is about finding the best approach to solve a certainproblem subject to computational efficiency and accuracy asthe most important constrains. Along these lines, RouboaandMonteiro [13] investigated the heat transfer phenomenonduring cast solidification in a complicated configurationby FVM and FDM. A comparison between the numericalresults and experimental ones indicated that both discretiza-tion approaches produced good outcome, with FVM beingslightly better as it uses more information than FDM to cap-ture spatial temperature variations. Despite recent progressin computing power and techniques, the literature reviewindicates a lack of comprehensive studies on selecting theideal means of analyzing internal heat transfer and fluid flowproblems. In particular, an optimal solution technique andprocedure to simulate internal natural convection are yetto be presented. To fill this gap in the literature, laminarnatural convection heat transfer of air inside a laterally heatedsquare enclosure is investigated using both FVM and LBM.The simulation results were compared against those fromthe literature. Particular attention was given to differentdiscretization techniques as well as pressure-velocity linkingapproaches to find the best method for simulating internalfree convection problems.

2. Governing Equations

2.1. Finite Volume Method. Continuity, momentum, andenergy equations were employed for flow analysis in a systemdepicted by Figure 1. Density was computed by invokingthe Boussinesq approximation for Δ𝑇 < 30

∘C [14]. Thegoverning equations are written as follows [15].

Continuity equation:

𝜕𝑢

𝜕𝑥

+

𝜕V𝜕𝑦

= 0. (1)

Momentum equations in𝑋 and 𝑌 directions:

𝑢

𝜕𝑢

𝜕𝑥

+ V𝜕𝑢

𝜕𝑦

=

−1

𝜌

𝜕𝑝

𝜕𝑥

+

𝜇

𝜌

(

𝜕2

𝑢

𝜕𝑥2

+

𝜕2

𝑢

𝜕𝑦2

) ,

𝑢

𝜕V𝜕𝑥

+ V𝜕V𝜕𝑦

=

−1

𝜌

𝜕𝑝

𝜕𝑦

+

𝜇

𝜌

(

𝜕2V

𝜕𝑥2

+

𝜕2V

𝜕𝑦2

) + 𝛽𝑔 (𝑇 − 𝑇𝑐) .

(2)

Energy equation:

𝑢

𝜕𝑇

𝜕𝑥

+ V𝜕𝑇

𝜕𝑦

=

𝑘

𝜌𝐶𝑝

(

𝜕2

𝑇

𝜕𝑥2

+

𝜕2

𝑇

𝜕𝑦2

) . (3)

2.2. Lattice BoltzmannMethod. The hydrodynamic and ther-mal Boltzmann equations with using density-momentumand internal energy distribution functions (double popula-tion) are as follows [16, 17]:

𝜕𝑓𝑖

𝜕𝑡

+ 𝑐𝑖𝛼

𝜕𝑓𝑖

𝜕𝑥𝛼

= Ω (𝑓) = −

1

𝜏𝑓

(𝑓𝑖− 𝑓𝑒

𝑖

) ,

𝜕𝑔𝑖

𝜕𝑡

+ 𝑐𝑖𝛼

𝜕𝑔𝑖

𝜕𝑥𝛼

= Ω (𝑔𝑖) − 𝑓𝑖𝑍𝑖= 0.5|c − u|2Ω(𝑓

𝑖) − 𝑓𝑖𝑍𝑖

= −

𝑔𝑖− 𝑔𝑒

𝑖

𝜏𝑔

− 𝑓𝑖𝑍𝑖.

(4)

Double population LBM model (TLBM) uses two separateddistribution functions 𝑓 and 𝑔 for hydrodynamic and ther-mal fields, respectively. This model is the latest one amongdifferent presented models of thermal LBMs. In addition, itshows more accuracy and stability during the solution pro-cess. As LBM solution process naturally tends to divergencehaving a stable approach like TLBM helps the convergence.Microscopic velocities for a D2Q9 lattice model are [12]

c𝑖= (cos 𝑖 − 1

2

𝜋, sin 𝑖 − 1

2

𝜋) , 𝑖 = 1, 2, 3, 4,

c𝑖= √2(cos [(𝑖 − 5)

2

𝜋 +

𝜋

4

] , sin [(𝑖 − 5)

2

𝜋 +

𝜋

4

]) ,

𝑖 = 5, 6, 7, 8,

c0= (0, 0) .

(5)

Heat dissipation and hydrodynamic and thermal equilibriumdistribution functions are given by

𝑍𝑖= (𝑐𝑖𝛼− 𝑢𝛼) [

𝛿𝑢𝛼

𝛿𝑡

+ 𝑐𝑖𝛼

𝜕𝑢𝛼

𝜕𝑥𝛼

] ,

𝑓𝑒

𝑖

= 𝜔𝑖𝜌[1 + 3 (c

𝑖⋅ u) +

9(c𝑖⋅ u)2

2

3u2

2

] ,

𝑖 = 0, 1, . . . , 8,

𝜔0=

4

9

, 𝜔1,2,3,4

=

1

9

, 𝜔5,6,7,8

=

1

36

,

Page 3: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

Abstract and Applied Analysis 3

𝑔𝑒

0

= −

2

3

𝜌𝑒u2,

𝑔𝑒

1,2,3,4

=

1

9

𝜌𝑒 [1.5 + 1.5 (c1,2,3,4

⋅ u)

+ 4.5(c1,2,3,4

⋅ u)2 − 1.5u2] ,

𝑔𝑒

5,6,7,8

=

1

36

𝜌𝑒 [3 + 6 (c5,6,7,8

⋅ u)

+ 4.5(c5,6,7,8

⋅ u)2 − 1.5u2] ,(6)

where 𝜌𝑒 = 𝜌𝑅𝑇 and 𝜔 is the weight function. Equation (4)in discretized forms [18] reads

𝑓𝑖(x + c

𝑖Δ𝑡, 𝑡 + Δ𝑡) − 𝑓

𝑖(x, 𝑡)

= −

Δ𝑡

2𝜏𝑓

[𝑓𝑖(x + c

𝑖Δ𝑡, 𝑡 + Δ𝑡) − 𝑓

𝑖

𝑒

(x + c𝑖Δ𝑡, 𝑡 + Δ𝑡)]

Δ𝑡

2𝜏𝑓

[𝑓𝑖(x, 𝑡) − 𝑓

𝑖

𝑒

(x, 𝑡)] ,

𝑔𝑖(x + c

𝑖Δ𝑡, 𝑡 + Δ𝑡) − 𝑔

𝑖(x, 𝑡)

= −

Δ𝑡

2𝜏𝑔

[𝑔𝑖(x + c

𝑖Δ𝑡, 𝑡 + Δ𝑡) − 𝑔

𝑒

𝑖

(x + c𝑖Δ𝑡, 𝑡 + Δ𝑡)]

Δ𝑡

2

𝑓𝑖(x + c

𝑖Δ𝑡, 𝑡 + Δ𝑡) 𝑍

𝑖(x + c

𝑖Δ𝑡, 𝑡 + Δ𝑡)

Δ𝑡

2𝜏𝑔

[𝑔𝑖(x, 𝑡) − 𝑔

𝑒

𝑖

(x, 𝑡)] − Δ𝑡

2

𝑓𝑖(x, 𝑡) 𝑍

𝑖(x, 𝑡) .

(7)

The two last equations are implicit. Thus, the new functions𝑓𝑖and 𝑔

𝑖are developed to address this problem:

𝑓𝑖= 𝑓𝑖+

Δ𝑡

2𝜏𝑓

(𝑓𝑖− 𝑓𝑒

𝑖

) , (8)

𝑔𝑖= 𝑔𝑖+

Δ𝑡

2𝜏𝑔

(𝑔𝑖− 𝑔𝑒

𝑖

) +

Δ𝑡

2

𝑓𝑖𝑍𝑖. (9)

Collision and streaming steps of LBM are simulated byapplying (7)–(9) as follows:

𝑓𝑖(x + c

𝑖Δ𝑡, 𝑡 + Δ𝑡) −

𝑓𝑖(x, 𝑡)

= −

Δ𝑡

𝜏𝑓+ 0.5Δ𝑡

[𝑓𝑖(x, 𝑡) − 𝑓

𝑒

𝑖

(x, 𝑡)] ,

𝑔𝑖(x + c

𝑖Δ𝑡, 𝑡 + Δ𝑡) − 𝑔

𝑖(x, 𝑡)

= −

Δ𝑡

𝜏𝑔+ 0.5Δ𝑡

[𝑔𝑖(x, 𝑡) − 𝑔

𝑒

𝑖

(x, 𝑡)] −𝜏𝑔Δ𝑡

𝜏𝑔+ 0.5Δ𝑡

𝑓𝑖𝑍𝑖.

(10)

Finally, the hydrodynamic and thermal variables can beobtained as

𝜌 = ∑

𝑖

𝑓𝑖,

𝜌u = ∑

𝑖

c𝑖

𝑓𝑖,

𝜌𝑒 = 𝜌𝑅𝑇 = ∑

𝑖

𝑔𝑖−

Δ𝑡

2

𝑖

𝑓𝑖𝑍𝑖.

(11)

3. Boundary Conditions

Figure 1 illustrates a schematic of the configuration analyzedin the present study along with the boundary conditions.

The nonequilibrium bounce-back model is used to simu-late the no-slip boundary condition on the walls in LBM.Thismodel improves accuracy compared to the usual bounce-back boundary condition and satisfies the zero mass flowrates at nodes on the wall. The collision occurs on thenodes located at the solid-fluid boundaries and distributionfunctions are reflected in a suitable direction, satisfying theequilibrium conditions [19].

The macroscopic boundary conditions for the presentstudy are

𝑇 = 𝑇ℎ

𝑢 = V = 0 0 < 𝑦 < 1 𝑥 = 0,

𝑇 = 𝑇𝑐

𝑢 = V = 0 0 < 𝑦 < 1 𝑥 = 1,

𝜕𝑇

𝜕𝑦

= 0 𝑢 = V = 0 0 < 𝑥 < 1 𝑦 = 0,

𝜕𝑇

𝜕𝑦

= 0 𝑢 = V = 0 0 < 𝑥 < 1 𝑦 = 1.

(12)

4. Numerical Procedure

Our FVM solver uses the implicit line-by-line tridiagonalmatrix algorithm [20, 21] to linearize the system of algebraicequations. First order upwind [22], second order upwind[23], power law [24], and Quadratic Upstream Interpola-tion for Convective Kinetics (QUICK) [25] schemes wereapplied in different trails to solve the same problem whilethe Semi-Implicit Method for Pressure-Linked Equations(SIMPLE) [26, 27] and SIMPLE-Consistent (SIMPLEC) [28,29] procedures were selected for pressure-velocity coupling.The convergence criterion, maximum absolute error in eachdependent variable, was set at 10−7.

In LBM, the zero values for 𝑈(𝑥, 𝑦), 𝑉(𝑥, 𝑦), and 𝑇(𝑥, 𝑦)

are applied as the initial conditions. However, to avoidproblems in estimating the macroscopic variables in (12),the initial fluid density is set to unity. LBM dimensionlessnumbers Re, Ra, and Pr are defined identical to those ofclassical Navier-Stokes equations. However, the macroscopicnumerical value should be calculated beforehand. For exam-ple, for Pr, one has the kinematics viscosity and thermaldiffusivity determined in LBM as ] = 𝜏

𝑓𝑅𝑇 and 𝛼 = 2𝜏

𝑔𝑅𝑇,

where 𝜏𝑓and 𝜏

𝑔are hydrodynamic and thermal relaxation

times and 𝑅 is the gas constant. The Prandtl number can

Page 4: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

4 Abstract and Applied Analysis

then be written as Pr = 𝜐/𝛼 = 𝜏𝑓𝑅𝑇/2𝜏

𝑔𝑅𝑇 = 𝜏

𝑓/2𝜏𝑔. For

Ra = GrPr = 𝑔𝛽Δ𝑇𝐻3

/𝜐𝛼 the values of 𝜐 and 𝛼 are nowknown based on relaxation times, while the numerical valuesof 𝑔, 𝛽,𝐻, Δ𝑇 are predetermined and fixed.

4.1. Gravity Effects in LBM. The Boussinesq approximationwas used as 𝜌 = 𝜌[1 − 𝛽(𝑇 − 𝑇)] to give buoyancy force perunit mass defined asG = 𝛽g(𝑇−𝑇) and𝑓 = 𝐺⋅(𝑐 − 𝑢)𝑓

𝑒

/𝑅𝑇.Hence, the discretized Boltzmann equation is written as

𝜕𝑡𝑓𝑖+ (c𝑖⋅ ∇) 𝑓𝑖= −

𝑓𝑖− 𝑓𝑖

𝑒

𝜏𝑓

+

G ⋅ (c𝑖− u)

𝑅𝑇

𝑓𝑖

𝑒

,

𝑓𝑖(x + c

𝑖Δ𝑡, 𝑡 + Δ𝑡) −

𝑓𝑖(x, 𝑡)

= −

Δ𝑡

𝜏𝑓+ 0.5Δ𝑡

[𝑓𝑖− 𝑓𝑒

𝑖

] +

Δ𝑡𝜏𝑓

𝜏𝑓+ 0.5Δ𝑡

3𝐺 (𝑐𝑖𝑦− V)

𝑐2

𝑓𝑒

𝑖

.

(13)

Applying (8) and taking into consideration the effects ofgravity, one has

𝜌 = ∑

𝑖

𝑓𝑖, 𝑢 = (

1

𝜌

)∑

𝑖

𝑓𝑖𝑐𝑖𝑥,

V = (

1

𝜌

)∑

𝑖

𝑓𝑖𝑐𝑖𝑦+

Δ𝑡

2

𝐺,

(14)

while for thermal macroscopic variables (11) is applied.

4.2. Deriving Navier-Stokes Equations from LBM. In orderto derive Navier-Stokes equations from the incompress-ible lattice Boltzmann equation by using Chapman-Enskogexpansion the discretized form of Boltzmann equation canbe written as

𝑓𝑖(x + c

𝑖Δ𝑡, 𝑡 + Δ𝑡) − 𝑓

𝑖(x, 𝑡) = −

𝑓𝑖(x, 𝑡) − 𝑓

𝑒

𝑖

(x, 𝑡)𝜏𝑓

.

(15)

With 𝐾𝑛 = 𝜀 as a small (perturbation) variable, the Chap-man-Enskog expansion for 𝑓

𝛼and 𝜕𝑡reads

𝑓𝑖=

𝑛=0

𝜀𝑛

𝑓(𝑛)

𝑖

= 𝑓(0)

𝑖

+ [𝜀𝑓(1)

𝑖

+ 𝜀2

𝑓(2)

𝑖

+ ⋅ ⋅ ⋅ ]

= 𝑓(eq)𝑖

+ [𝑓(𝑛eq)𝑖

] ,

𝜕𝑡=

𝑛=0

𝜀𝑛

𝜕𝑡𝑛

= 𝜕𝑡0

+ 𝜀𝜕𝑡1

+ ⋅ ⋅ ⋅ .

(16)

None of the nonequilibrium parts of the above equationsshould be used for estimating the macroscopic properties 𝜌and 𝜌u:

𝑖

𝜀𝑛

𝑓(𝑛)

𝑖

= 0 ∀𝑛 > 0,

𝑖

c𝑖𝜀𝑛

𝑓(𝑛)

𝑖

= 0 ∀𝑛 > 0.

(17)

Using these equations together with Tailor expansion ofBoltzmann equation around Δ𝑡, the terms which are smallerthan (Δ𝑡) dropped, and then substitute into (15), we have

[𝜕𝑡0

+ c𝑖⋅ ∇] 𝑓

(0)

𝑖

= −

𝑓(1)

𝑖

𝜏𝑓

,

𝜕𝑡1

𝑓(0)

𝑖

+ (1 −

1

2𝜏𝑓

) [𝜕𝑡0

+ c𝑖⋅ ∇] 𝑓

(1)

𝑖

= −

𝑓(2)

𝑖

𝜏𝑓

.

(18)

Macroscopic density and velocity variables can be achievedby applying the first and second order of moments, leading to

𝜕𝑡∑

𝑖

𝑓(0)

𝑖

+ ∇ ⋅ (∑

𝑖

c𝑖𝑓(0)

𝑖

) = 0,

𝜕𝑡(∑

𝑖

c𝑖𝑓(0)

𝑖

) + ∇ ⋅ [Π(0)

+ Δ𝑡(1 −

1

2𝜏𝑓

)Π(1)

] = 𝑂 (Δ𝑡2

) ,

(19)

where

Π(0)

≡ ∑

𝑖

c𝑖c𝑖𝑓(0)

𝑖

,

Π(1)

≡ ∑

𝑖

c𝑖c𝑖𝑓(1)

𝑖

.

(20)

Amount of𝑓(0)𝑖

is determined by using𝑓𝑒𝑖

= 𝜔𝑖𝜌[1+3(c

𝑖⋅u)+

(9(c𝑖⋅u)2/2)−(3u2/2)] and then using the zero and first order

of moments of (18) together with 𝑓(0)

𝑖

:

𝜕𝑡0

𝜌 + ∇ ⋅ (𝜌u) = 0,

𝜕𝑡1

𝜌 = 0,

𝜕𝑡0

(𝜌u) + ∇ ⋅ (𝜌uu) + ∇ (𝜌𝑐2

𝑠

) = 0,

𝜕𝑡1

𝜌 + ∇ ⋅ (2𝜐𝜌𝑆 − Δ𝑡 (𝜏𝑓− 0.5) ∇ ⋅ (𝜌uuu)) = 0,

(21)

where

𝑆 =

∇u + (∇u)𝑇

2

,

𝜐 =

(2𝜏𝑓− 1)Δ𝑡

6

.

(22)

Finally, making use of ∇ ⋅ u = 0, ∇𝜌 = 0 at incompressiblelimit and ignoring the term ∇ ⋅ (𝜌uuu) in (21), continuity andmomentum equations are recovered. In addition, the thermalenergy equation would be recovered in a similar way; see [30,31] for more details.

5. Grid Independence

Structured nonuniform grid distributions were applied forFVM simulations with a grid cluster near the walls to capturesharp velocity and temperature gradients. For LBM simu-lations structured grids based on D2Q9 lattice are applied.

Page 5: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

Abstract and Applied Analysis 5

Table 1: Grid independence tests (FVM and QUICK/SIMPLEC).

Number of grids 15987 31974 47961 63948 Experimental value [32]Maximum X-velocity 0.001 0.001 0.0012 0.0012 —Dimensionless temperature at the middle of the cavity 0.460 0.465 0.489 0.493 0.51

Table 2: Grid independence tests (LBM).

Number of grids 10000 32400 48400 67600 84100 Experimental value [32]Maximum X-velocity 0.0004 0.0008 0.0010 0.0010 0.00103 —Dimensionless temperature at the middle of the cavity 0.430 0.449 0.463 0.471 0.475 0.51

Table 3: Thermophysical properties of air [33].

𝜌 𝐶𝑝

𝜇 𝑘 𝛽 Gr Pr Ra1.127 1007 1.9114 × 10

−5 0.0271 0.006092 2.662 × 105 0.71 1.890 × 10

5

Extensive grid independence checks were performed, asindicated by Tables 1 and 2, to observe that a grid with 47961and 67600 cells for all FVM solvers and LBM, respectively,leads to mesh-independent results.

6. Results

Our numerical results, from different solvers, were comparedwith benchmark experimental data from Krane and Jessee[32] as well as the numerical predictions of Khanafer et al.[34], Oztop and Abu-Nada [35], and Bakhshan and Emrani[33]. The main dimensionless parameters were the Rayleighand Prandtl numbers, which are constant at 1.89 × 10

5 and0.71, respectively.The fluid thermophysical properties, as wellas dimensionless numbers, are shown in Table 3.

For Pr = 0.71 and Ra = 1.89 × 105, the dimensionless

temperature and vertical velocity profiles at midheight areplotted in Figures 2 and 3 and contrasted with the resultsfrom [32–35]. These figures illustrate a superior adaptationbetween the present simulation results using the FVM andLBMmodels and those of [32–35] works. Although previousresearch shows that, for complicated turbulent fluid flowproblems, the QUICK/SIMPLEC is the most accurate choice[33], Figures 2(a) and 3(a) indicate that for laminar internalconvection heat transfer problems there is no dramatic dif-ference among the studied discretization approaches. How-ever, it is obvious from Figures 2 and 3 that the FVMresults are more accurate than those of LBM. This couldbe attributed to the compressible nature of LBM [36, 37],which creates a compressibility error for incompressibleflows [12]. Among the discretization/pressure-velocity link-ing approaches examined, 1st order upwind/SIMPLEC hasthe closest results to experimental benchmark data, especiallyfor the temperature contours in the range 0.20 ≤ 𝑋 ≤ 0.80.With vertical velocity distribution, however, the differenceamong FVM approaches is quite negligible. Nevertheless, thefact that the accuracy and stability of the convective termscomprise a contrasting pair is a general perception in thefield of computational heat transfer. For instance, the firstorder upwind scheme is entirely stable even with strong false

diffusion [38], while the second or third order schemes likeQUICK are conditionally stable [25].

Table 4 successfully compares our numerical results withthose available in the literature under similar conditions andgeometry over a range of Ra values with Pr = 0.7. Slightdiscrepancies are observed in this table between some of thepresent work results and those of [34, 39–42] because of thedifferences between the employed discretization methods, aswell as mesh generation types, as one would expect.

Table 5 provides the comparison of number of iterationsand required CPU usage time for the different discretizationmethods considered here. As seen, LBM may take 4-5 timeslonger to converge and 8-9 times more iterations comparedto FVM. There are two reasons for this. The first one isattributed to the way LBM handles heat transfer. Although inthe present work the appropriate internal energy distributionfunction, 𝑔, [43] was used to obtain the temperature field,this model even tends to diverge. Furthermore, with LBMmodeling the corners ask for a large number of fine grids nearthe corners.These two matters cause the LBM solutions to becomparatively more time consuming.

According to Table 5, the number of iterations forall FVM discretization method/pressure-velocity linkingapproaches is nearly equal. In this case, the differencebetween the QUICK/SIMPLEC method that necessitates thelargest number of iterations and the lowest one (powerlaw/SIMPLE) is only 79 iterations, that is, a 5.2% difference.With respect to CPU usage time, these proportions are tosome extent different. For example, when comparing themost time consuming method (QUICK/SIMPLEC) with the1st order upwind/SIMPLEC approach, this time disparity isabout 4.94%, while the number of iterations differs by only1.65%. As expected, higher-order accurate schemes are moretime consuming.

The effects of the solutionmethod, discretization scheme,and pressure/velocity coupling approach on the streamlinesand 𝑋-velocity are illustrated by Figures 4 and 5. Twoelliptical vortexes generally appear at the center of the cavityas a predominant feature of buoyancy-induced flow in alaterally heated square enclosure. In this context, the 1storder upwind scheme has the most precise results among

Page 6: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

6 Abstract and Applied Analysis

Dim

ensio

nles

s tem

pera

ture

0 0.2 0.4 0.6 0.8 10

0.10.20.30.40.50.60.70.80.9

11.11.2

(a) 0.000 ≤ 𝑋 ≤ 1.000

0 0.05 0.1 0.15 0.20.4

0.5

0.6

0.7

0.8

0.9

1

1.1

1.2

Dim

ensio

nles

s tem

pera

ture

(b) 0.0 ≤ 𝑋 ≤ 0.20

0.2 0.3 0.4 0.5 0.6

0.45

0.5

0.55

0.6

Dim

ensio

nles

s tem

pera

ture

(c) 0.20 ≤ 𝑋 ≤ 0.60

0.6 0.65 0.7 0.75 0.80.49

0.5

0.51

0.52

0.53

0.54

0.55

Dim

ensio

nles

s tem

pera

ture

(d) 0.60 ≤ 𝑋 ≤ 0.80

X

0.8 0.85 0.9 0.95 10

0.10.20.30.40.50.60.70.80.9

11.1

Krane and Jessee [32],experimental workKhanafer et al. [34],numerical workOztop and Abu-Nada [35],numerical work1st order upwind/SIMPLE1st order upwind/SIMPLEC

2nd order upwind/SIMPLE2nd order upwind/SIMPLECPower law/SIMPLEPower law/SIMPLECQUICK/SIMPLEQUICK/SIMPLECLBM

Dim

ensio

nles

s tem

pera

ture

(e) 0.80 ≤ 𝑋 ≤ 1.00

Figure 2: Dimensionless temperature representation at midheight.

Page 7: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

Abstract and Applied Analysis 7

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1−0.4

−0.2

0

0.2

0.4

Yve

loci

ty (m

/s)

(a) 0.00 ≤ 𝑋 ≤ 1.00

0 0.05 0.1 0.15 0.20

0.2

0.4

0.6

Yve

loci

ty (m

/s)

(b) 0.00 ≤ 𝑋 ≤ 0.20

0.2 0.25 0.3 0.35 0.4−0.01

0

0.01

0.02

0.03

Yve

loci

ty (m

/s)

(c) 0.20 ≤ 𝑋 ≤ 0.4

Yve

loci

ty (m

/s)

0.4 0.45 0.5 0.55 0.6 0.65 0.7−0.02

−0.01

0

0.01

0.02

0.03

(d) 0.40 ≤ 𝑋 ≤ 0.70

Krane and Jessee [32],experimental workBakhshan and Emrani [33],numerical workLBM1st order/SIMPLE1st order/SIMPLEC2nd order/SIMPLE

2nd order/SIMPLECPower law/SIMPLEPower law/SIMPLECQUICK/SIMPLEQUICK/SIMPLEC

X

0.7 0.75 0.8 0.85 0.9 0.95 1

−0.3

−0.2

−0.1

0

0.1

0.2

Yve

loci

ty (m

/s)

(e) 0.70 ≤ 𝑋 ≤ 1.00

Figure 3: Vertical velocity profile at midheight.

Page 8: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

8 Abstract and Applied Analysis

2E-05

2E-05

2E-05

2E-05

4E-05

4E-05 4E-05

4E-05

6E-05

6E-05

6E-05

6E-05

6E-05

6E-05

8E-05

8E-05

8E-05

8E-05

8E-05

8E-05

0.0001

0.0001

0.0001

0.0001

0.0001

0.0001

0.00012

0.00012

0.00012

0.00012

0.00012

0.000120.00014

0.00014

0.00014

0.00014

0.00014

0.00014

0.00016

0.00016

0.00016

0.00016

0.00016

0.00016

0.00016

0.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.0002

0.0002

0.0002

0.0003

0.0002

0.0002

0.0002

0.0002

0.00022

0.00022

0.00022 0.00022

0.00022

0.00022

0.00022

0.00022

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00026

0.00026

0.00026

0.00026

0.00026

0.00026

0.00026

0.00028

0.00028

0.00028

0.00028

0.00028

0.00028

0.00028

0.00028

0.0003

0.0003

0.0003

0.0003

0.0003

0.0003

0.00030.0003

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(a) 1st order upwind/SIMPLE

2E-05

2E-05

2E-05

2E-05

2E-05

4E-05

4E-05

4E-05

4E-05

4E-05

6E-05

6E-05

6E-05

6E-05

6E-05

8E-05

8E-05

8E-05

8E-05

8E-05

8E-05

0.0001

0.0001

0.0001

0.0001

0.0001

0.0001

0.00012

0.00012

0.00012

0.00012

0.00012

0.00012

0.00014

0.00014

0.00014

0.00014

0.00014

0.00014

0.00016

0.00016

0.00016

0.00016

0.00016

0.000160.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.0002

0.0002

0.0002

0.0002

0.0002

0.0002

0.0002

0.00022

0.00022

0.00022

0.00022

0.00022

0.00022

0.00022

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00026

0.00026

0.00026 0.00026

0.00026

0.00026

0.00026

0.00026

0.00028

0. 00028

0.00028 0.00028

0.00028

0.00028

0.000280.00028

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(b) 2nd order upwind/SIMPLE

2E-05

2E-05

2E-05

2E-05

4E-05

4E-05

4E-05

4E-05

6E-05

6E-05

6E-05

6E-05

6E-05

8E-05

8E-05

8E-05

8E-05

8E-05

0.0001

0.0001

0.0001

0.0001

0.0001

0.00012

0.00012

0.00012

0.00012

0.00012

0.00012

0.00014

0.00014

0.00014

0.00014

0.00014

0.00014

0.00016

0.00016

0.00016

0.00016

0.00016

0.00016

0.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.0002

0.0002

0.0002

0.0002

0.0002

0.0002

0.00022

0.00022

0.000220.00022

0.00022

0.00022

0.00022

0.00022

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00026

0.00026

0.00026

0.00026

0.00026

0.00026

0.00026

0.00026

0.00028

0.00028

0.00028

0.00028 0.00028

0.00028

0.00028

0.00028

0.0003

0.0003

0.0003 0.0003

0.0003

0.0003

0.0003

0.0003

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(c) 1st order upwind/SIMPLEC

2E-05

2E-05

2E-05

2E-05

4E-05

4E-05

4E-05

4E-05

4E-05

6E-05

6E-05

6E-05

6E-05

6E-05

8E-05

8E-05

8E-05

8E-05

8E-05

8E-05

0.0001

0.0001

0.0001

0.0001

0.0001

0.0001

0.00012

0.00012

0.00012

0.00012

0.00012

0.00012

0.00014

0.00014

0.00014

0.00014

0.00014

0.00014

0.00014

0.00016

0.00016

0.00016

0.00016

0.00016

0.000160.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.0002

0.0002

0.0002

0.0002

0.0002

0.0002

0.00020.00022

0.00022

0.00022

0.00022

0.00022

0.00022

0.00022

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00026

0.00026

0.00026

0.00026

0.00026

0.00026

0.00026

0.00028

0. 00028

0.00028

0.00028

0.00028

0. 00028

0.00028

0.00028

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(d) 2nd order upwind/SIMPLEC

2E-05

2E-05

2E-05

2E-05

2E-05

4E-05

4E-05

4E-05

4E-05

4E-05

6E-05

6E-05

6E-05

6E-05

6E-05

8E-05

8E-05

8E-05

8E-05

8E-05

8E-050.0001

0.0001

0.0001

0.0001

0.0001

0.0001

0.00012

0.00012

0.00012

0.00012

0.00012

0.00012

0.00014

0.00014

0.00014

0.00014

0.00014

0.00014

0.00016

0.00016

0.00016

0.00016

0.00016

0.000160.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.0002

0.0002

0.00020.0002

0.0002

0.0002

0.0002

0.00022

0.00022

0.00022

0.00022

0.00022

0.00022

0.00022

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00026

0.00026

0.00026 0.00026

0.00026

0.00026

0.00026

0.00026

0.00028

0.00028

0.000280.00028

0.00028

0.00028

0.000280.00028

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(e) Power law/SIMPLE

2E-05

2E-05

2E-05

2E-05

2E-05

4E-05

4E-05

4E-05

4E-05

4E-05

6E-05

6E-05

6E-05

6E-05

6E-05

8E-05

8E-05

8E-05

8E-05

8E-05

8E-05

0.0001

0.0001

0.0001

0.0001

0.0001

0.0001

0.00012

0.00012

0.00012

0.00012

0.00012

0.00012

0.00014

0.00014

0.00014

0.00014

0.00014

0.00014

0.00016

0.00016

0.00016

0.00016

0.00016

0.000160.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.0002

0.0002

0.0002

0.0002

0.0002

0.0002

0.0002

0.00022

0.00022

0.00022

0.00022

0.00022

0.00022

0.00022

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00026

0.00026

0.00026 0.00026

0.00026

0.00026

0.00026

0.00026

0.00028

0.00028

0.00028 0.00028

0.00028

0.00028

0.000280.00028

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(f) QUICK/SIMPLE

Figure 4: Continued.

Page 9: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

Abstract and Applied Analysis 9

2E-05

2E-05

2E-05

2E-05

4E-05

4E-05

4E-05

4E-05

6E-05

6E-05

6E-05

6E-05

6E-05

8E-05

8E-05

8E-05 8E-05

8E-05

8E-05

0.0001

0.0001

0.0001

0.0001

0.0001

0.0001

0.00012

0.00012

0.00012

0.00012

0.00012

0.00012

0.00014

0.00014

0.00014

0.00014

0.00014

0.000140.00016

0.00016

0.00016

0.00016

0.00016

0.00016

0.00016

0.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.0002

0.0002

0.0002

0.0002

0.0002

0.0002

0.0002

0.00022

0.00022

0.00022

0.00022

0.00022

0.00022

0.00022

0.00024

0.00024

0.00024 0.00024

0.00024

0.00024

0.00024

0.00024

0.00026

0.00026

0.00026

0.00026

0.00026

0.00026

0.00026

0.00028

0.00028

0.00028 0.00028

0.00028

0.00028

0.000280.00028

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(g) Power law/SIMPLEC

2E-05

2E-05

2E-05

2E-05

4E-05

4E-05

4E-05

4E-05

6E-05

6E-05

6E-05

6E-05

6E-05

8E-05

8E-05

8E-05

8E-05

8E-05

0.0001

0.0001

0.0001

0.0001

0.0001

0.00012

0.00012

0.00012

0.00012

0.00012

0.00012

0.00014

0.00014

0.00014

0.00014

0.00014

0.00014

0.00016

0.00016

0.00016

0.00016

0.00016

0.00016

0.00016

0.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.0002

0.0002

0.0002

0.0002

0.0002

0.0002

0.0002

0.00022

0.00022

0.00022

0.00022

0.00022

0.00022

0.00022

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00024

0.00026

0.00026

0.00026

0.00026

0.00026

0.00026

0.00026

0.00026

0.00028

0.00028

0.00028

0.00028

0.00028

0.00028

0.00028

0.00028

0.00028

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(h) QUICK/SIMPLEC

2E-05

2E-05

2E-05

2E-05

4E-05

4E-05

4E-05

4E-05

6E-05

6E-05

6E-05

6E-05

6E-058E-05

8E-05

8E-05

8E-05

8E-05

8E-05

0.0001

0.0001

0.0001

0.0001

0.0001

0.00012

0.00012

0.00012

0.00012

0.00012

0.00012

0.00014

0.00014

0.00014

0.00014

0.00014

0.00014

0.00016

0.00016

0.00016

0.00016

0.00016

0.00016

0.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.00018

0.0002

0.0002

0.0002

0.0002

0.0002

0.0002

0.0002

0.00022

0.00022

0.00022

0.00022

0.00022

0.00022

0.000220.00024

0.00024

0.00024 0.00024

0.00024

0.00024

0.00024

0.00024

0.00026

0.00026

0.00026 0.00026

0.00026

0.00026

0.00026

0.00026

0.00028

0.00028

0.00028

0.00028

0.00028

0. 00028

0.00028

0.00028

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(i) LBM

Figure 4: Streamlines contours.

Table 4: Comparison of the average Nusselt number along the hot wall with those in the literature.

Ra = 103 Ra = 104 Ra = 105 Ra = 106

Khanafer et al. [34], FVM 1.118 2.245 4.522 8.826Barakos et al. [39], FVM 1.114 2.245 4.510 8.806Markatos and Pericleous [40], FDM 1.108 2.201 4.430 8.754de Vahl Davis [41], FDM 1.118 2.243 4.519 8.799Fusegi et al. [42], 3-D FDM 1.105 2.302 4.646 9.0121st upwind/SIMPLE 1.115 2.233 4.508 8.7561st upwind/SIMPLEC 1.120 2.242 4.516 8.7952nd upwind/SIMPLE 1.116 2.236 4.465 8.7612nd upwind/SIMPLEC 1.119 2.240 4.489 8.799Power law/SIMPLE 1.115 2.235 4.465 8.754Power law/SIMPLEC 1.116 2.238 4.475 8.765QUICK/SIMPLE 1.119 2.242 4.502 8.786QUICK/SIMPLEC 1.113 2.230 4.479 8.757LBM 1.108 2.210 4.456 8.756

Page 10: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

10 Abstract and Applied Analysis

-0.0012

-0.001

-0.001-0.0008

-0.0008

-0.0008

-0.0008

-0.0006

-0.0006

-0.0006

-0.0006

-0.0004

-0.0004

-0.0004

-0.0004

-0.0004-0.0002

-0.0002-0.0002

-0.0002

-0.0002

-0.0002

00

0

0

0

0

0

0.0002

0.0002

0.0002

0.00020.0002

0.0004

0.0004

0.0004

0.0004

0.0004

0.0006

0.0006

0.0006

0.0006

0.0008

0.0008

0.0008

0.001

0.001

0.0012

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(a) 1st order upwind/SIMPLE

-0.0012

-0.001

-0.001-0.0008

-0.0008

-0.0008

-0.0006

-0.0006

-0.0006

-0.0006-0.0004

-0.0004-0.0004

-0.0004

-0.0004

-0.0002

-0.000-0.0002

-0.0002

-0.0002

-0.0002

00

0

0

0

0

0

0

0.0002

0.0002

0.0002

0.00020.00020.0004

0.0004

0.0004

0.0004

0.0004

0.0006

0.0006

0.00060.0006

0.0008 0.0008

0.0008

0.001

0.0012

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(b) 2nd order upwind/SIMPLE

-0.0012

-0.001

-0.001

-0.0008

-0.0008

-0.0008

-0.0008

-0.0006

-0.0006

-0.0006

-0.0006

-0.0006

-0.0004

-0.0004

-0.0004

-0.0004

-0.0004

-0.0002

-0.0002 -0.0002

-0.0002

-0.0002

-0.0002

00

0

0

0

0

0

0

0.0002

0.0002

0.0002

0.0002

0.00020.0002

0.0004

0.0004

0.0004

0.00040.0004

0.0006

0.0006

0.0006

0.0006

0.00080.0

008

0.0008

0.001

0.0012

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(c) 1st order upwind/SIMPLEC

-0.0012

-0.001

-0.0008

-0.0008

-0.0008

-0.0006

-0.0006

-0.0006

-0.0006

-0.0006

-0.0004

-0.0004-0.0004

-0.0004

-0.0004

-0.0002

-0.0002-0.0002

-0.0002

-0.0002

00

0

0

0

0

0

0

0.0002

0.0002

0.0002

0.0002

0.0002

0.0004

0.0004

0.0004

0.0004

0.0004

0.0006

0.0006

0.00060.0006

0.0008

0.0008

0.0008

0.0008

0.001

0.0012

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(d) 2nd order upwind/SIMPLEC

-0.0012

-0.001

-0.001-0.0008

-0.0008

-0.0008

-0.0006

-0.0006

-0.0006

-0.0006-0.0004

-0.0004-0.0004

-0.0004

-0.0004

-0.0002

-0.0002-0.0002

-0.0002

-0.0002

-0.0002

00

0

0

0

0

0

0

0.0002

0.0002

0.0002

0.00020.00020.0004

0.0004

0.0004

0.0004

0.0004

0.0006

0.0006

0.00060.0006

0.0008 0.0008

0.0008

0.001

0.0012

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(e) Power law/SIMPLE

-0.0012

-0.001

-0.001-0.0008

-0.0008

-0.0008

-0.0006

-0.0006

-0.0006

-0.0006-0.0004

-0.0004-0.0004

-0.0004

-0.0004

-0.0002

-0.0002-0.0002

-0.0002

-0.0002

-0.0002

00

0

0

0

0

0

0

0.0002

0.0002

0.0002

0.00020.00020.0004

0.0004

0.0004

0.0004

0.0004

0.0006

0.0006

0.00060.0006

0.0008 0.0008

0.0008

0.001

0.0012

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(f) QUICK/SIMPLE

Figure 5: Continued.

Page 11: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

Abstract and Applied Analysis 11

-0.0012

-0.001

-0.0008

-0.0008

-0.0008

-0.0006

-0.0006

-0.0006

-0.0006

-0.0006

-0.0004

-0.0004

-0.0004

-0.0004

-0.0002

-0.0002

-0.0002 -0.0002

-0.0002

-0.0002

00

0

0

0

0

0

0

0.0002

0.0002

0.0002

0.0002

0.00020.0004

0.0004

0.0004

0.0004

0.00040.0006

0.0006

0.0006

0.0006

0.0006

0.0008

0.0008

0.0008

0.001

0.001

0.0012

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(g) Power law/SIMPLEC

-0.0012-0.001

-0.001-0.0008

-0.0008

-0.0008

-0.0008

-0.0006

-0.0006

-0.00

06

-0.0006

-0.0004

-0.0004 -0.0004

-0.0004

-0.0004

-0.0002

-0.0002-0.0002

-0.0002

-0.0002

00

0

0

0

0

0

0

0.0002

0.0002

0.0002

0.0002

0.00020.0002

0.0004

0.0004

0.0004

0.00040.0004

0.0006

0.0006

0.0006

0.0006

0.0006

0.0008 0.0008

0.0008

0.001

0.0012

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(h) QUICK/SIMPLEC

-0.0012

-0.001

-0.001

-0.0008

-0.0008

-0.0008

-0.0006

-0.0006

-0.0006

-0.0006

-0.0004

-0.0004-0.0004

-0.0004

-0.0004

-0.0002

-0.0002-0.0002

-0.0002

-0.0002

00

0

0

0

0

00

0.0002

0.0002

0.0002

0.00020.0002

0.0004

0.0004

0.0004

0.0004

0.0006

0.0006

0.0006

0.0006

0.0008

0.0008

0.0008

0.0008

0.001

0.0012

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

(i) LBM

Figure 5:𝑋-velocity contours.

Table 5: Number of iterations and solving time for different discretization method.

Type of method Case number Discretization method/pressure-velocitylinking approach Number of iterations Solving time (s)

Finite volume method

1 1st upwind/SIMPLE 1571 4822 1st upwind/SIMPLEC 1572 4863 2nd upwind/SIMPLE 1597 5024 2nd upwind/SIMPLEC 1598 5095 Power law/SIMPLE 1520 4696 Power law/SIMPLEC 1521 4747 QUICK/SIMPLE 1598 5108 QUICK/SIMPLEC 1599 519

Lattice Boltzmann method 1 Well-known finite difference method 47507 3360

Page 12: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

12 Abstract and Applied Analysis

Position (m)

Nus

selt

num

ber

0 0.2 0.4 0.6 0.8 10

0.5

1

1.5

2

2.5

(a) 0.00 ≤ 𝑌 ≤ 1.00

0 0.05 0.1 0.15 0.22.4

2.5

2.6

2.7

2.8

2.9

3

Position (m)

Nus

selt

num

ber

(b) 0.00 ≤ 𝑌 ≤ 0.20

0.2 0.22 0.24 0.26 0.28 0.32.1

2.2

2.3

2.4

2.5

2.6

num

ber

Nus

selt

Position (m)

(c) 0.20 ≤ 𝑌 ≤ 0.30

0.3 0.4 0.5 0.6 0.7 0.80.5

1

1.5

2

2.5

Position (m)

Nus

selt

num

ber

(d) 0.30 ≤ 𝑌 ≤ 0.80

0.8 0.85 0.9 0.95 10.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

1st order/SIMPLE1st order/SIMPLEC2nd order/SIMPLE2nd order/SIMPLECPower law/SIMPLE

Power law/SIMPLECQUICK/SIMPLEQUICK/SIMPLECLBM

Position (m)

Nus

selt

num

ber

(e) 0.80 ≤ 𝑌 ≤ 1.00

Figure 6: Nusselt number profile at hot wall.

Page 13: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

Abstract and Applied Analysis 13

the studied discretization schemes, especially in the north-west and southeast sides of the enclosure. Regarding thepressure/velocity coupling approaches, the maximum streamfunction values for the SIMPLE and SIMPLEC approachesare 0.0003 and 0.0003066, respectively, translating into 2.2%difference while the CPUusage time difference is only 4 s. ForLBM, the value of stream function is 0.000278.

For the velocity contours in the 𝑋 direction Figure 5shows that the𝑈-velocity contours have cross-diagonal simi-larity towards the 𝑌 = 𝑋 axis. Thus, all the methods analyzedpresent comparable results with no obvious difference.

Figure 6 demonstrates the local Nusselt number distribu-tions along the left hot wall. For all discretization schemes,the Nusselt number is high near the bottom of the left wall(because of extreme temperature variations) and declinestowards the top of thewall.The comparison between differentsolvers reveals that the 1st order upwind scheme predicts themaximumNusselt number while LBM leads to the lowest onewith some fluctuations along the hot wall. Interestingly, LBMuses about 40% more grids in that region compared to FVMones.

7. Conclusions

Numerical tests using the finite volume and lattice Boltzmannmethods with various discretization schemes and pressure-velocity linking algorithms were conducted to obtain theoptimum discretization/linking approaches to address theinternal convective heat transfer problems. The flow andtemperature fields, as well as number of iterations and solvingtime, were evaluated.

The significant observations made in this study are sum-marized as follows.

(1) The finite volume method results are more accuratecompared to those of LBM, especially at the corners.

(2) LBM needs a 4-5-fold CPU usage time and 8-9times more iterations compared to the finite volumemethod to solve the problem considered here.

(3) Among the studied discretization/pressure-velocitylinking algorithms, the 1st order upwind/SIMPLECprovides themost precise results against experimentalbenchmark data, especially in the boundary layers.

(4) The numbers of iterations for all FVM discretization/pressure-velocity linking methods are nearly equal.

(5) The higher-order accurate schemes are more timeconsuming.

One, however, notes that the above observations are validwithin the limits of the parameters and problem considered inthis study and could not be generalized to other cases withoutfurther investigations.

Nomenclature

𝑥, 𝑦: Cartesian coordinates (m)𝑓: Density-momentum distribution function𝐻, 𝐿: Enclosure height and width (m)Gr: Grashof number (𝑔𝛽Δ𝑇𝐿3𝜐−2)𝑔: Gravitational acceleration (m s2)

𝑍: Heat dissipation𝑔: Internal energy distribution function𝑐: Microscopic velocity vectorPr: Prandtl number (𝜐 𝛼−1)𝑃: Pressure (Nm2)Ra: Rayleigh number (Gr Pr)𝐶𝑝: Specific heat capacity (J kg1 K1)

𝑇, 𝑡: Temperature, time (K), (S)𝑘: Thermal conductivity (Wm−1 K−1)𝑢 = (𝑢, V): Velocities vector and its components in𝑋

and 𝑌 directions (m s1).

Greek Symbols

𝜇: Dynamic viscosity (Pa S)𝜌: Density (kgm3)𝜏𝑔: Internal energy relaxation times

]: Kinematics viscosity (m2 s1)𝜏𝑓: Momentum relaxation times

𝛽: Thermal expansion coefficient (K1)𝛼: Thermal diffusivity, 𝑥-𝑦 direction

components (m2 s1).

Subscripts

𝑐: Cold wall𝑒: Equilibrium distribution functionℎ: Hot wall𝑖: Lattice velocity direction.

Conflict of Interests

The authors declare that there is no conflict of interestsregarding the publication of this paper.

Acknowledgments

The authors gratefully acknowledge the High ImpactResearch Grant UM.C/HIR/MOHE/ENG/23, UMRG GrantRP012C-13AET and the University of Malaya, Malaysia, forsupport in conducting this research work.

References

[1] F. S. Mirhashemi and S. H. Hashemabadi, “Experimental andCFD study ofwall effects on orderly stacked cylindrical particlesheat transfer in a tube channel,” International Communicationsin Heat and Mass Transfer, vol. 39, no. 3, pp. 449–455, 2012.

[2] C. Bellecci, P. Gaudio, I. Lupelli et al., “Loss of vacuumaccident (LOVA): comparison of computational fluid dynamics(CFD) flow velocities against experimental data for the model

Page 14: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

14 Abstract and Applied Analysis

validation,” Fusion Engineering and Design, vol. 86, no. 4-5, pp.330–340, 2011.

[3] M. Selmi, M. J. Al-Khawaja, and A. Marafia, “Validation ofCFD simulation for flat plate solar energy collector,” RenewableEnergy, vol. 33, no. 3, pp. 383–387, 2008.

[4] A. G. Dixon, G. Walls, H. Stanness, M. Nijemeisland, and E.H. Stitt, “Experimental validation of high Reynolds numberCFD simulations of heat transfer in a pilot-scale fixed bed tube,”Chemical Engineering Journal, vol. 200, pp. 344–356, 2012.

[5] Z. Zhang and X. Zhang, “Direct simulation of low-re flowaround a square cylinder by numerical manifold method forNavier-Stokes equations,” Journal of Applied Mathematics, vol.2012, Article ID 465972, 14 pages, 2012.

[6] J. Nordstrom, J. Gong, E. van derWeide, andM. Svard, “A stableand conservative high order multi-block method for the com-pressible Navier-Stokes equations,” Journal of ComputationalPhysics, vol. 228, no. 24, pp. 9020–9035, 2009.

[7] Z. Chen and L. Zhang, “A stabilized mixed finite elementmethod for single-phase compressible flow,” Journal of AppliedMathematics, vol. 2011, Article ID 129724, 2011.

[8] S. Boivin, F. Cayre, and J. Herard, “A finite volume methodto solve the Navier-Stokes equations for incompressible flowson unstructured meshes,” International Journal of ThermalSciences, vol. 39, no. 8, pp. 806–821, 2000.

[9] X. Liu, H. Liu, and Y. Liu, “Simulation of magnetorheologicalfluids based on Lattice Boltzmannmethodwith doublemeshes,”Journal of Applied Mathematics, vol. 2012, Article ID 567208, 16pages, 2012.

[10] A. A. Mohamad, Lattice Boltzmann Method: Fundamentals andEngineering Applications with Computer Codes, Springer, 2011.

[11] Y. Shi, T. S. Zhao, and Z. L. Guo, “Lattice Boltzmann methodfor incompressible flows with large pressure gradients,” PhysicalReview E, vol. 73, no. 2, Article ID 026704, 2006.

[12] A. Karimipour, A. H. Nezhad, A. D’Orazio, and E. Shirani, “Theeffects of inclination angle and prandtl number on the mixedconvection in the inclined lid driven cavity using lattice boltz-mann method,” Journal of Theoretical and Applied Mechanics,vol. 51, no. 2, pp. 447–462, 2013.

[13] A. Rouboa and E. Monteiro, “Heat transfer in multi-blockgrid during solidification: performance of finite differencesand finite volume methods,” Journal of Materials ProcessingTechnology, vol. 204, no. 1–3, pp. 451–458, 2008.

[14] A. Karimipour, M. Afrand, M. Akbari, andM. R. Safaei, “Simu-lation of fluid flow and heat transfer in the inclined enclosure,”in Proceedings of the World Academy of Science, Engineeringand Technology, World Academy of Science, Engineering andTechnology, 2012.

[15] F. Garoosi, G. Bagheri, and F. Talebi, “Numerical simulation ofnatural convection of nanofluids in a square cavity with severalpairs of heaters and coolers (HACs) inside,” InternationalJournal of Heat and Mass Transfer, vol. 67, pp. 362–376, 2013.

[16] H. Bararnia, K. Hooman, and D. D. Ganji, “Natural convectionin a nanofluids-filled portioned cavity: the lattice-boltzmannmethod,”Numerical Heat Transfer A, vol. 59, no. 6, pp. 487–502,2011.

[17] G. Imani, M. Maerefat, and K. Hooman, “Lattice Boltzmannsimulation of conjugate heat transfer from multiple heatedobstaclesmounted in awalled parallel plate channel,”NumericalHeat Transfer A, vol. 62, no. 10, pp. 798–821, 2012.

[18] Z. Tian, C. Zou, H. J. Liu, Z. H. Liu, Z. L. Guo, and C. G. Zheng,“Thermal lattice boltzmannmodel with viscous heat dissipation

in the incompressible limit,” International Journal of ModernPhysics C, vol. 17, no. 8, pp. 1131–1139, 2006.

[19] Q. Zou and X. He, “On pressure and velocity boundaryconditions for the lattice Boltzmann BGK model,” Physics ofFluids, vol. 9, no. 6, pp. 1591–1596, 1997.

[20] S. V. Patankar, Numerical Heat Transfer and Fluid Flow, Taylor& Francis, 1980.

[21] M. R. Safaei, B. Rahmanian, and M. Goodarzi, “Numericalstudy of laminar mixed convection heat transfer of power-lawnon-Newtonian fluids in square enclosures by finite volumemethod,” International Journal of Physical Sciences, vol. 6, no.33, pp. 7456–7470, 2011.

[22] M. R. Safaei, H. R. Goshayeshi, B. S. Razavi, and M. Goodarzi,“Numerical investigation of laminar and turbulent mixed con-vection in a shallowwater-filled enclosure by various turbulencemethods,” Scientific Research and Essays, vol. 6, no. 22, pp. 4826–4838, 2011.

[23] M. Goodarzi, M. R. Safaei, K. Vafai et al., “Investigationof nanofluid mixed convection in a shallow cavity using atwo-phase mixture model,” International Journal of ThermalSciences, vol. 75, pp. 204–220, 2014.

[24] S. S. Mousavi and K. Hooman, “Heat and fluid flow in entranceregion of a channel with staggered baffles,” Energy Conversionand Management, vol. 47, no. 15-16, pp. 2011–2019, 2006.

[25] W.Q. Tao, Y. L.He, Z. Y. Li, andZ.G.Qu, “Some recent advancesin finite volume approach and their applications in the studyof heat transfer enhancement,” International Journal ofThermalSciences, vol. 44, no. 7, pp. 623–643, 2005.

[26] P. Forooghi and K. Hooman, “Numerical study of turbulentconvection in inclined pipes with significant buoyancy influ-ence,” International Journal of Heat and Mass Transfer, vol. 61,no. 1, pp. 310–322, 2013.

[27] M. R. Safaei, M. Goodarzi, and M. Mohammadi, “Numericalmodeling of turbulence mixed convection heat transfer in airfilled enclosures by finite volumemethod,” International Journalof Multiphysics, vol. 5, no. 4, pp. 307–324, 2011.

[28] H. Goshayeshi, M. R. Safaei, and Y. Maghmoumi, “Numericalsimulation of unsteady turbulent and laminar mixed convec-tion in rectangular enclosure with hot upper moving wall byfinite volume method,” in Proceedings of the 6th InternationalChemical Engineering Congress and Exhibition (IChEC ’09),Kish Island, Iran, 2009.

[29] N. Lancial, F. Beaubert, S. Harmand, and G. Rolland, “Effectsof a turbulent wall jet on heat transfer over a non-confinedbackward-facing step,” International Journal of Heat and FluidFlow, vol. 44, pp. 336–347, 2013.

[30] S. Hou, Q. Zou, S. Chen, G. Doolen, and A. C. Cogley,“Simulation of cavity flow by the lattice Boltzmann method,”Journal of Computational Physics, vol. 118, no. 2, pp. 329–347,1995.

[31] A. D’Orazio, C. Arrighetti, and S. Succi,Kinetic Scheme for FluidFlows with Heat Transfer, University of Rome “La Sapienza”,Roma, Italy, 2003.

[32] R. Krane and J. Jessee, “Some detailed field measurements fora natural convection flow in a vertical square enclosure,” inProceedings of the 1st ASME-JSME Thermal Engineering JointConference, pp. 323–329, 1983.

[33] Y. Bakhshan and S. H. Emrani, “Investigating the behavior ofnanofluids in a rectangular enclosure in order to enhance theheat transfer coefficient,” Journal of Basic and Applied ScientificResearch and Essays, vol. 3, no. 1, pp. 976–986, 2013.

Page 15: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

Abstract and Applied Analysis 15

[34] K. Khanafer, K. Vafai, and M. Lightstone, “Buoyancy-drivenheat transfer enhancement in a two-dimensional enclosureutilizing nanofluids,” International Journal of Heat and MassTransfer, vol. 46, no. 19, pp. 3639–3653, 2003.

[35] H. F. Oztop and E. Abu-Nada, “Numerical study of naturalconvection in partially heated rectangular enclosures filled withnanofluids,” International Journal of Heat and Fluid Flow, vol.29, no. 5, pp. 1326–1336, 2008.

[36] J. M. Buick and C. A. Created, “Gravity in a lattice Boltzmannmodel,” Physical Review E, vol. 61, no. 5 A, pp. 5307–5320, 2000.

[37] X.He andL. Luo, “Lattice Boltzmannmodel for the incompress-ible Navier-Stokes equation,” Journal of Statistical Physics, vol.88, no. 3-4, pp. 927–944, 1997.

[38] W. Tao, Recent Advances in Computational Heat Transfer,Science Press, Beijing, China, 2000.

[39] G. Barakos, E. Mitsoulis, and D. Assimacopoulos, “Naturalconvection flow in a square cavity revisited: laminar andturbulent models with wall functions,” International Journal forNumerical Methods in Fluids, vol. 18, no. 7, pp. 695–719, 1994.

[40] N. C. Markatos and K. A. Pericleous, “Laminar and turbulentnatural convection in an enclosed cavity,” International Journalof Heat and Mass Transfer, vol. 27, no. 5, pp. 755–772, 1984.

[41] G. de Vahl Davis, “Natural convection of air in a square cavity:a bench mark numerical solution,” International Journal forNumerical Methods in Fluids, vol. 3, no. 3, pp. 249–264, 1983.

[42] T. Fusegi, J.M.Hyun, K. Kuwahara, andB. Farouk, “Anumericalstudy of three-dimensional natural convection in a differentiallyheated cubical enclosure,” International Journal of Heat andMass Transfer, vol. 34, no. 6, pp. 1543–1557, 1991.

[43] A. Karimipour, A. H. Nezhad, A. D’Orazio, and E. Shirani,“Investigation of the gravity effects on the mixed convec-tion heat transfer in a microchannel using lattice Boltzmannmethod,” International Journal of Thermal Sciences, vol. 54, pp.142–152, 2012.

Page 16: Research Article Comparison of the Finite Volume and ...downloads.hindawi.com/journals/aaa/2014/762184.pdf · Comparison of the Finite Volume and Lattice Boltzmann Methods for Solving

Submit your manuscripts athttp://www.hindawi.com

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

MathematicsJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Mathematical Problems in Engineering

Hindawi Publishing Corporationhttp://www.hindawi.com

Differential EquationsInternational Journal of

Volume 2014

Applied MathematicsJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Probability and StatisticsHindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Mathematical PhysicsAdvances in

Complex AnalysisJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

OptimizationJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

CombinatoricsHindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

International Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Operations ResearchAdvances in

Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Function Spaces

Abstract and Applied AnalysisHindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

International Journal of Mathematics and Mathematical Sciences

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

The Scientific World JournalHindawi Publishing Corporation http://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Algebra

Discrete Dynamics in Nature and Society

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Decision SciencesAdvances in

Discrete MathematicsJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com

Volume 2014 Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Stochastic AnalysisInternational Journal of