**Open Journal of Fluid Dynamics**

Vol.06 No.02(2016), Article ID:66160,13 pages

10.4236/ojfd.2016.62007

Numerical Study of Natural Convection in Square Cavity with Inner Bodies Using Finite Element Method

Renato José Pinto, Paulo Mohallem Guimarães, Genésio José Menon

Department of Mechanical Engineering, UNIFEI―Federal University of Itajubá, Itajubá, Brazil

Copyright © 2016 by authors and Scientific Research Publishing Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY).

Received 28 March 2016; accepted 26 April 2016; published 29 April 2016

ABSTRACT

A numerical study of heat transfer problem by natural convection of a fluid inside a square cavity with two inner bodies is presented. This subject is of great interest in the engineering area, mainly in applications involving development of heat exchangers and cooling or heating systems of bodies by natural convection mechanism. Two cases have been studied. The inner bodies are square in case 1 and circular in case 2. In both cases, the bodies are solid and thermally conductive, the cavity lower and upper horizontal surfaces are isothermal with high temperature T_{h} and low temperature T_{c}, respectively. Both vertical surfaces are adiabatic. A FORTRAN code using Finite Element Method (FEM) is developed to simulate the problem and solve the governing equations. The distributions of stream function, y, dimensionless temperature, θ, and vorticity, w, are determined. Heat transfer is evaluated by analyzing the behavior of the average Nusselt number. The Grashof number and thermal diffusivity ratio are considered in range from 2 × 10^{4} to 10^{5} and from 0.1 to 100, respectively. The fluid is air with Prandtl number fixed in 0.733.

**Keywords:**

Heat Transfer, Natural Convection, Square Cavity, Finite Element Method, Inner Body

1. Introduction

The natural convection study in cavities with inner bodies has been of great interest nowadays due to several engineering applications. It can be useful for heat exchangers companies, electronic components cooling, heating or cooling of food products, chemical process equipment, environment control systems and others. The advance- ment in knowledge of computational in fluid dynamics (CFD) capability has contributed for more sophisticated equipment development with highest performance levels [1] .

A numerical study of natural convection inside a square cavity with inner bodies is presented in this paper. A FORTRAN algorithm code has been developed to solve the governing equations using the finite element method (FEM). The unstructured mesh developed has triangular elements and the fluid flow is laminar, two-dimensional, in transient or steady regime. FEM is chosen for this study due to its capacity in solving governing equations for complex geometries domain with efficiency and easiness of use, which is considered a great advantage of this method.

Natural convection in cavities is of great interest in engineering applications, such as heat exchangers design, electronic equipment cooling, solar energy utilization, food processing and many others. There are many articles in literature involving this subject. A natural convection study [2] in closed square cavity is performed considering the cavity vertical surfaces partially isothermal and partially adiabatic and horizontal surfaces are adiabatics. The SIMPLEC method is applied and the results are presented for Rayleigh number from 10^{3} to 10^{7} and Prandtl number fixed in 0.71. A numerical investigation of natural convection in an enclosed rectangular cavity with a heated inner horizontal cylinder is presented in [3] . The cavity surfaces are adiabatics and the fluid is laminar and two-dimensional. The results for Nusselt number are compared with experimental references, and the fluid flow and thermal behavior are presented for different Rayleigh number range. Some studies present cavities with protruding bodies. Reference [4] presented a numerical solution for natural convection in square cavity with protruding bodies. Galerkin method is applied using FEM. The bodies are considered heat sources and their locations influence inside cavity is verified. Similar numerical study considering a square cavity with inner heat sources was performed in [5] by control volume method. The heat sources quantity and position influence are investigated for Rayleigh number 10^{3} to 10^{7} and Grashof number 10^{3} to 10^{6} and the results show a comparison between heat transfer by conduction and convection in the study domain. Natural convection in an air filled cavity with inner heat source mounted on the bottom wall is investigated in [6] . The remaining portion of the bottom wall and the top wall are insulated while the vertical walls are cooled. The finite volume method is applied and the results present the effects of source length and nonuniformity parameter for Grashof numbers 10^{6} to 10^{7}. A comprehensive bibliography on natural convection in cavities may be found in review articles [7] - [9] .

2. Problem Description

This paper aims with conjugate heat transfer study. Heat transfer by natural convection occurs in fluid air domain, W_{f}, and conduction in solid domain, W_{s}, in a square cavity with inner bodies of thermal conductivity K_{s}. The bottom wall is held at the uniform high temperature T_{h} and the top wall in uniform low temperature T_{c}. The initial condition is assumed with fluid and bodies kept in average temperature. The dimensionless schematic of the problem is shown in Figure 1 for both cases.

(a) (b)

Figure 1. Dimensionless schematical cavities for both cases; (a) case 1 with square inner bodies, (b) case 2 with circular inner bodies.

3. Mathematical Formulation and Boundary Conditions

The finite element method is applied to solve the conservation equations for both fluid and solid domain. The air flow of this study is taken as two-dimensional, laminar, incompressible and under unsteady regime. The physical properties for fluid and solid are constant with exception of density in the body term of momentum equation for fluid and the Boussinesq approximation is invoked for fluid properties to relate density changes to temperature changes. There is not internal heat generation in the system. The governing equations for mass, momentum and energy are defined in dimensionless form. The dimensionless variables used in equations are introduced as follow:

(1)

The governing equations for fluid domain are defined in dimensionless form as follow:

(2)

(3)

(4)

(5)

where Prandtl and Grashof numbers are defined by:

; (6)

For solid domain the energy equation is:

(7)

where D is thermal diffusivity ratio of solid to fluid defined by:

(8)

and thermal diffusivities are:

; (9)

The terms y, q and w are introduced in this formulation resulting in partial differential equations (PDE) valid for fluid and solid domain written as:

(10)

(11)

(12)

Detailed mathematical procedure to achieve these PDE is described in [10] .

For Equations (10) to (12) are considered:

(13)

(14)

The initial and boundary conditions for Equations (10) to (12) in dimensionless form are given as:

a) For

(15)

b) For

(16)

(17)

(18)

(19)

(20)

(21)

For Equations (16) to (21) S_{1}, S_{2}, S_{3} and S_{4} are surfaces of boundary in domain Ω (see Figure 1).

The average and local Nusselt number are defined by following relations, respectively:

(22)

(23)

where S can be S_{1} or S_{2} surface.

All the symbols and alphabetical letters used in the above equations are defined in the nomenclature chart.

4. Numerical Procedure

The numerical solution of PDE is obtained by FEM approach using Galerkin method [11] . The results of the computational code are validated by comparison with results found in literature given in Table 1. The cavity used for code validation is a standard square cavity presented in dimensional and dimensionless forms with boundary conditions shown in Figure 2.

Table 1 presents the results comparison for average Nusselt number in cold surface, Nu_{c}, with fixed Grashof and Prandtl numbers. Table 2 presents similar comparison but with some different values for Grashof number keeping fixed Prandtl number.

Table 1. Average Nusselt number in cold surface, Nu_{c}, for Gr = 20000 and Pr = 0.733.

Figure 2. Schematical square cavity for computational code test: (a) dimensional form, (b) dimensionless form.

Table 2. Average Nusselt number in cold surface, Nu_{c}, for Pr = 0.733 and a number of Gr.

According with deviation values for both tables it is noted that they are higher in Table 1 but in general, the results can be considered acceptable for code validation.

Figure 3 shows the result for grid independence study for both cases 1 and 2. The average Nusselt number at cold surface for steady state, Nu_{c}, versus grid elements number, NE, is presented. Three different non-uniform grid systems are examined for each case. Four values for Grashof number are considered (Gr = 2 × 10^{4} to 10^{5}) and diffusivity ratio, D, and Prandtl number, Pr, are kept in 10 and 0.733 respectively.

Regarding case 1, the numbers of elements for examined grids are: 2546, 4056 and 4674. For low Grashof number 2 × 10^{4} the average Nusselt number convergence is observed for all set of grids but for higher Grashof numbers the convergence occur for grids more refined with 4056 and 4674 elements. Considering only these two more refined grids, the maximum difference in Nusselt number values is 0.367% for all Grashof number range.

Different situation is observed for case 2, where convergence occur in practically all set of grids, independent of Grashof number. The numbers of elements for examined grids are: 1464, 2190 and 3508. In the same way, if considered only two more refined grids, the maximum difference in Nusselt number values is 0.778% for all Grashof number range.

In both cases, for the rest of calculation in this study, the non-uniform grid with 4674 and 3508 elements were chosen for case 1 and case 2, respectively, for better accuracy in the results.

5. Results and Discussion

The numerical solution was performed in transient and steady regime. The results of heat transfer by natural convection for both cases are showed in follow items. The Prandtl number is fixed in 0.733 for every numerical

Figure 3. Average Nusselt number at cold surface, Nu_{c}, versus grid elements number, NE: (a) case 1 and (b) case 2.

solution presented in this study.

Figure 4 presents the average Nusselt number at cold surface, Nu_{c}, versus Grashof number, Gr. The influence of parameter diffusivity ratio, D, is analyzed for four distinct values: 0.1, 1, 10 and 100. The result is presented for steady state regime and in this situation, the average Nusselt number at cold surface is equal the average Nusselt number at hot surface. For both cases is noted that for a specific Grashof number, increasing the value of D increases the average Nusselt number. For smaller values of D (0.1 and 1) the difference in average Nusselt number is more expressive than for higher values of D (10 and 100). For a fixed value of Grashof, the results have no significant variation with utilization of high values of D. Analyzing in Figure 4 the Grashof number influence for both cases, as expected, increasing Grashof number increases the average Nusselt number. The increasing in Grashof number results in higher velocities in fluid flow and more efficient heat exchange between fluid and cavity surface. Consequently, this situation improves the conductive heat transfer coefficient and increase average Nusselt number at cavity surface.

There is a good approximation in Nusselt values for case 1 and case 2, except for Gr = 5 × 10^{4} where the difference is more notable with little advantage for case 2. These values approximation show that the difference in solid bodies geometry (square and circular) has no significant influence in final results for average Nusselt number, according with the cavity configuration (size and bodies position) and thermal parameters involved in this study.

Figure 5 presents the average Nusselt number at cold surface, Nu_{c}, versus dimensionless time, τ. The average Nusselt number behavior with the time is presented for Grashof numbers 2 × 10^{4}, 5 × 10^{4}, 7.5 × 10^{4} and 10^{5} with D kept in value 10. The average Nusselt number is higher at initial dimensionless time due to high temperature gradients between fluid and cold surface. It decreases drastically in the beginning and following reach the steady regime.

In case 1, for Gr = 2 × 10^{4} and τ > 1 the average Nusselt number tends to stabilization and steady regime. For Gr = 50 × 10^{4} the average Nusselt number presents a stabilization in time 1 to 6, increases the value in time 6 to 8 and finally reach the steady regime. This increase observed between time 6 and 8 is due to the modification in fluid flow pattern, which presents four convective cells and change to two big ones. This situation occurs in a minor time value for higher Grashof numbers (5 × 10^{4} and 10^{5}). This fluid flow behavior is illustrated with more detail in Figure 9 and Figure 10.

The main differences between results for case 1 and 2 in Figure 5 are: 1) case 2 presents result for average Nusselt number practically equal case 1 for Grashof number 2 × 10^{4} but they are greater for Grashof number 5 × 10^{4} to 10^{5} and 2) in despite of the general behavior of average Nusselt number for case 2 is similar of case 1, the transition in fluid flow pattern from four to two convective cells occur in different values of t.

At fixed value of Grashof number equal 7.5 × 10^{4}, Figure 6 presents the average Nusselt number at cold surface, Nu_{c}, versus dimensionless time, τ. The average Nusselt number behavior with the time is presented for diffusivity ratio values 0.1, 1, 10 and 100. For both cases 1 and 2 the curves stabilization is noted in time around 4.5, following to steady regime. It is noted that increase in D values do not represent expressive changes in behavior of average Nusselt number with time. Comparing Figure 5 and Figure 6, it is noted in steady regime that

Figure 4. Average Nusselt number at cold surface, Nu_{c}, versus Grashof number, Gr: (a) case 1 and (b) case 2.

Figure 5. Average Nusselt number at cold surface, Nu_{c}, versus dimensionless time, τ: (a) case 1 and (b) case 2.

Figure 6. Average Nusselt number at cold surface, Nu_{c}, versus dimensionless time, τ: (a) case 1 and (b) case 2.

average Nusselt number is more affected by Grashof number variation than by diffusivities ratio variation.

The distribution of dimensionless temperature, q, and stream function, Y, in steady regime, is shown in Figure 7. Three values of Grashof number (2 × 10^{4}, 5 × 10^{4} and 10^{5}) are considered and D value is fixed in 10. For low

Figure 7. Distribution of dimensionless temperature, q, and stream function, y, for case 1 in steady regime.

Grashof number 2 × 10^{4}, there are four convective cells with low values of Y, indicating that the fluid has low velocity and small recirculations, which cause small deformations in the temperature field. As can be seen, the isotherms lines are almost horizontal lines, indicating characteristic situation of pure conduction. On the other hand, for Grashof numbers 5 × 10^{4} and 10^{5} there are two major convective cells, with the cell situated on right side rotating in clockwise direction and the cell on left side rotating in counterclockwise direction. The higher the Grashof number, there are higher speeds and higher fluid flow recirculation resulting in greater deformation in temperature field and thus higher heat transfer hate.

For Figure 8 the considerations are the same made for Figure 7. However, it appears in case 2 greater fluid recirculation in comparison with case 1, resulting in a higher heat exchange, as evidenced by the slightly greater results of average Nusselt number for this case. This fluid recirculation is higher in case 2 due to circular geometry of inner bodies, that is more favorable for fluid recirculation between the cylinders and walls than for case 2, with square bodies.

Figure 8. Distribution of dimensionless temperature, q, and stream function, y, for case 2 in steady regime.

Different of the Figure 7 and Figure 8 where only steady regime is shown for different values of Grashof number, the Figure 9 and Figure 10 present the distribution of dimensionless temperature, q, and stream function, Y, in function of dimensionless time, τ, for case 1 and for case 2, respectively. For these analysis are considered Gr = 10^{5} and D = 10. The main purpose of these figures is to show the evolution in time of the temperature field and the structures of fluid flow field. It is observed in these figures a stabilization of the velocity field and fluid temperature from the dimensionless time τ = 5 where steady regime is reached. For τ = 0.5 there is the formation of eight convective cells. In the time interval 0.5 to 1.2, the four cells formed between the bodies reduce their size and intensity. Following the top two cells become more intense and reduce the effects on the two cells below. In the steady regime there are pratically two predominant major cells and two small recir- culations in the cavity top.

6. Conclusions

This study numerically investigated the heat transfer problem by natural convection in a square cavity with two

Figure 9. Distribution of dimensionless temperature, q, and stream function, y, in dimensionless time, τ, for case 1.

Figure 10. Distribution of dimensionless temperature, q, and stream function, y, in dimensionless time, τ, for case 2.

inner bodies. Two cases have been studied: one of them with square inner bodies (case 1) and the other with circular inner bodies (case 2). For both cases, the bodies are solid and thermally conductive and the cavity lower and upper horizontal surfaces are isothermal with high temperature T_{h} and T_{c}, respectively. Both vertical surfaces are adiabatic. A FORTRAN code using FEM is developed to solve the governing equations. The fluid is air with Prandtl number fixed in 0.733.

The results show for both cases that increasing the value of diffusivity ratio, D, increases the average Nusselt number. This difference in average Nusselt number is more expressive for variation in low values of D (0.1 to 1) than for variation in higher values of D (10 and 100).

The Grashof number has significative influence in both cases. Increasing Grashof number increases the average Nusselt number. The increasing in Grashof number results in higher velocities in fluid flow and more efficient heat exchange between fluid and cavity surface, resulting in higher average Nusselt numbers. It is noted in steady regime that average Nusselt number is more affected by Grashof number variation than by diffusivities ratio variation.

In despite of the results for average Nusselt number is near similar for both cases, it is noted that case 2 has a little advantage due its bodies with circular geometry. This circular condition is more favorable for fluid recirculation between the cylinders and walls than for fluid recirculation in case 1, with square bodies.

The distribution of dimensionless temperature, q, and stream function, Y, in function of dimensionless time, τ, are presented for both cases in this study. The parameters used are Gr = 10^{5} and D = 10. The evolution in time of the temperature field and the structures of fluid flow field are presented. The results show that in dimensionless time τ = 5 pratically steady regime is stablished with two predominant major cells, one on cavity left side and other on right side. The cell on left presents recirculation on counterclowise direction and the cell on right side presents recirculation on clockwise direction.

Acknowledgements

The authors thank FAPEMIG for its financial support.

Cite this paper

Renato José Pinto,Paulo Mohallem Guimarães,Genésio José Menon, (2016) Numerical Study of Natural Convection in Square Cavity with Inner Bodies Using Finite Element Method. *Open Journal of Fluid Dynamics*,**06**,75-87. doi: 10.4236/ojfd.2016.62007

References

- 1. Maliska, C.R. (2014) Transferência de Calor e Mecânica dos Fluidos Computacional. 2nd Edition, LTC—Livros Técnicos e Científicos Editora Ltda, Rio de Janeiro.
- 2. Valencia, A. and Frederick, R.L. (1989) Heat Transfer in Square Cavities with Partially Active Vertical Walls. International Journal of Heat and Mass Transfer, 32, 1567-1574.

http://dx.doi.org/10.1016/0017-9310(89)90078-1 - 3. Ghaddar, N.K. (1992) Natural Convection Heat Transfer between a Uniformly Heated Cylindrical Element and Its Rectangular Enclosure. International Journal of Heat and Mass Transfer, 35, 2327-2334.

http://dx.doi.org/10.1016/0017-9310(92)90075-4 - 4. Kurokawa, F.Y., Zaparoli, E.L. and Andrade, C.R. (2005) Conjugate Natural Convection Applied to the Electronic Component Cooling. Proceedings of the 18th International Congress of Mechanical Engineering, Ouro Preto, 6-11 November 2005, 1-8.
- 5. Jaikrishna, C.R., Rathan, R.B., Aswatha and Seetharamu, K.N. (2010) Effect of Discrete Heat Sources on Natural Convection in a Square Cavity. Proceedings of the 37th National & 4th International Conference on Fluid Mechanics and Fluid Power, Chennai, 16-18 December, 1-10.
- 6. Saravanan, S. and Sivaraj, C. (2011) Natural Convection in an Enclosure with a Localized Nonuniform Heat Source on the Bottom Wall. International Journal of Heat and Mass Transfer, 54, 2820-2828.

http://dx.doi.org/10.1016/j.ijheatmasstransfer.2011.02.058 - 7. Goldstein, R.J., et al. (2010) Heat Transfer—A Review of 2004 Literature. International Journal of Heat and Mass Transfer, 53, 4343-4396.

http://dx.doi.org/10.1016/j.ijheatmasstransfer.2010.05.004 - 8. Goldstein, R.J., et al. (2010) Heat Transfer—A Review of 2005 Literature. International Journal of Heat and Mass Transfer, 53, 4397-4447.

http://dx.doi.org/10.1016/j.ijheatmasstransfer.2010.05.005 - 9. Siddique, M., Khaled, A.R.A., Abdulhafiz, N.I. and Boukhary, A.Y. (2010) Recent Advances in Heat Transfer Enhancements: A Review Report. International Journal of Chemical Engineering, 2010, 1-28.

http://dx.doi.org/10.1155/2010/106461 - 10. Pinto, R.J. (2007) Análise Numérica da Convecção Natural em Cavidade Quadrada com Corpos Internos Utilizando o Método de Elementos Finitos. M.S. Thesis, Federal University of Itajubá, Itajubá.
- 11. Segerlind, L.J. (1984) Applied Finite Element Analysis. 2nd Edition, John Wiley & Sons Inc., New York.
- 12. Menon, G.J. (1984) Convecção Natural no Interior de Coletores Solares Concentradores de Parábolas Compostas. Ph. D. Thesis, Technological Institute of Aeronautics, São José dos Campos.
- 13. Ozoe, H., Yamamoto, K., Sayama, H. and Churchill, S.W. (1974) Natural Circulation in an Inclined Rectangular Channel Heated on One Side and Cooled on the Opposing Side. International Journal of Heat and Mass Transfer, 17, 1209-1217.

http://dx.doi.org/10.1016/0017-9310(74)90121-5 - 14. Tabarrok, B. and Lin, R.C. (1977) Finite Element Analysis of Free Convection Flows. International Journal of Heat and Mass Transfer, 20, 945-952.

http://dx.doi.org/10.1016/0017-9310(77)90065-5 - 15. Figueredo, J.R., Ganzarolli, M.M. and Almeida, P.I.F. (1986) Convecção Natural em Cavidades Retangulares – Solução Numérica. II Congresso Latino-Americano de Transferência de Calor e Matéria, São Paulo, 5-10 October 1986, 62-73.
- 16. Wong, H.H. and Raithby, G.D. (1979) Improved Finite-Difference Methods Based on a Critical Evaluation of the Approximation Errors. Numerical Heat Transfer, 2, 139-163.

http://dx.doi.org/10.1080/10407787908913404 - 17. Souza, J.J. (2006) Simulação Numérica da Transferência de Calor por Convecção Forçada, Natural e Mista numa Cavidade Retangular. M. S. Thesis, Federal University of Itajubá, Itajubá.
- 18. Brito, R.F. (1999) Simulação Numérica da Transferência de Calor e do Escoamento de Fluidos. M. S. Thesis, Federal University of Itajubá, Itajubá.