Journal of Applied Mathematics

Volume 2011, Article ID 538637, 14 pages

http://dx.doi.org/10.1155/2011/538637

## Simulation of Thermomagnetic Convection in a Cavity Using the Lattice Boltzmann Model

^{1}Department of Mechanical Engineering, University of New Brunswick, Fredericton, NB, Canada E3B 5A3^{2}Department of Mechanical Engineering, University of Aveiro, Aveiro 3810-193, Portugal

Received 15 January 2011; Accepted 14 March 2011

Academic Editor: Shuyu Sun

Copyright © 2011 Mahshid Hadavand and Antonio C. M. Sousa. 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.

#### Abstract

Thermomagnetic convection in a differentially heated square cavity with an infinitely long third dimension is numerically simulated using the single relaxation time lattice Boltzmann method (LBM). This problem is of considerable interest when dealing with cooling of microelectronic devices, in situations where natural convection does not meet the cooling requirements, and forced convection is not viable due to the difficulties associated with pumping a ferrofluid. Therefore, circulation is achieved by imposing a magnetic field, which is created and controlled by placing a dipole at the bottom of the enclosure. The magnitude of the magnetic force is controlled by changing the electrical current through the dipole. In this study, the effects of combined natural convection and magnetic convection, which is commonly known as “thermomagnetic convection,” are analysed in terms of the flow modes and heat transfer characteristics of a magnetic fluid.

#### 1. Introduction

Natural convection in enclosures is of interest in many engineering applications, such as the cooling of electronic equipment and solar energy collection, and it has been extensively studied experimentally and numerically by several researchers [1–4]. The enhancement of convective heat transfer in these devices is an active area of research. For small length-scale applications, such as the cooling of microelectronic devices, thermomagnetic convection has been identified as a viable approach for augmenting and controlling the convective heat transfer. This involves controlling the motion of colloidal suspensions containing magnetic nanoparticles, known as ferrofluids, using external magnetic fields [5, 6].

The study of flow and heat transfer characteristics of natural convection of a magnetic fluid has received considerable attention lately. Finlayson [7] in 1970 explained how an external magnetic field imposed on a ferrofluid with varying magnetic susceptibility, for example, due to a temperature gradient, results in a nonuniform magnetic body force, which leads to thermomagnetic convection. This phenomenon is complex in nature, and so a thorough understanding of the relation between an applied magnetic field and the resulting heat transfer is necessary for the proper design and control of thermomagnetic devices [8].

The numerical studies of heat transfer with magnetic fluids reported in the literature are relatively scarce and invariably use as governing equations the Navier-Stokes and energy equations. In what follows, relevant work in the field is succinctly reviewed. Yamaguchi et al. [9] experimentally and numerically studied the heat transfer characteristics and flow behavior for natural convection of a magnetic fluid in a rectangular cavity under an imposed uniform vertical magnetic field. Al-Najem et al. [10] numerically calculated the flow and temperature fields under uniform magnetic field in a tilted square cavity with isothermal vertical walls and adiabatic horizontal walls at a low Prandtl number of 0.71 and demonstrated that the suppression effect of the magnetic field on convection currents and heat transfer is more significant for low inclination angles and high Rayleigh numbers. Krakov and Nikiforov [11] determined the influence of the angle between the direction of the temperature gradient and that of a uniform magnetic field on the convection structure and intensity of heat flux in a square cavity.

A few other researchers have considered spatially nonuniform magnetic fields for the experimental or numerical investigations but did not fully describe the variations in those fields [12–15]. For example, Sawada et al. [12] and Kikura et al. [13] experimentally investigated the influence of a varying magnetic field in a cubical enclosure and in concentric horizontal annuli, respectively, but the field gradient was only measured in a single direction. Moreover, the orientation of the magnetic field was not described. Hadavand et al. [16] simulated thermomagnetic convection in a cavity which was in close proximity to a line dipole. The imposed nonuniform magnetic field was considered only in one direction and the effect of temperature on the magnetic susceptibility was ignored. Ganguly et al. [8] performed a study to simulate thermomagnetic convection in a square enclosure by introducing a line dipole using a Navier-Stokes solver. The effect of temperature on the magnetic susceptibility was considered; because they used a very strong nonuniform magnetic field, the buoyancy was neglected in their simulation. They found that the average Nusselt number on the wall increases with increasing the magnetic dipole strength and temperature but decreases by increasing the fluid viscosity.

The magnetic control has enabled numerous developments dealing with technical and medical applications, and these suspensions are already being considered the next generation heat transfer fluids as they offer the possibility of achieving heat transfer rates much higher than those of conventional heat transfer fluids and fluids containing microsized metallic particles [17].

In the present work, the objective is to numerically study the effects of combined natural convection and magnetic convection in a square enclosure using the lattice Boltzmann method. The square enclosure is under the influence of an imposed nonuniform two-dimensional magnetic field that satisfies Maxwell’s equations. The variation of the ferrofluid susceptibility with the temperature difference is considered in this study.

#### 2. Physical Model

In the absence of an external magnetic field, the nanoparticles are oriented randomly in the ferrofluid; once the external magnetic field is applied, the nanoparticles align with the applied magnetic field. The generated force between the magnetic field and the homogenously distributed magnetic nanoparticles enables the manipulation of the ferrofluid by adjusting the applied external magnetic field. This uniformly distributed magnetic force manifests itself as a body force analogous to the gravity field. These suspensions, in general, exhibit normal liquid behavior coupled with super paramagnetic properties. This leads to the possibility of controlling the properties and the flow of these liquids with relatively moderate magnetic field strengths. Each solid magnetic nanoparticle in the ferrofluid is covered with a dispersant material in order to keep the particles separated, and, in this way, preventing agglomeration of the particles due to gravity, coagulation, or an external magnetic field.

Figure 1 presents a schematic of the enclosure used for the numerical simulation, which has height *D* and its vertical walls are at constant, but different, temperatures. The third dimension is considered to be infinite; therefore, the flow in this configuration can be assumed to be two-dimensional. The left and right vertical walls are at constant high temperature, *T _{h}*, and constant low temperature,

*T*, respectively. The upper and lower walls are adiabatic. A line dipole, which provides the external magnetic field, is placed adjacent to the lower adiabatic wall at a distance

_{c}*d*. The magnetic field is governed by the Maxwell relations in static form [18], as follows: where is the magnetic field inside the ferrofluid due to the line dipole which can be expressed as follows [8]: where and are related through the following equation: where is the magnetic permeability of free space, ;

*m*denotes the magnetic dipole moment of the electromagnet coil (having two parallel counter-conductors separated by a distance and carrying current ) per unit length (). The magnetic fluid susceptibility, , varies with temperature as follows: where is the reference temperature and is the magnetic field susceptibility at reference temperature.

The magnetization of the ferrofluid occurs when it becomes polarized in the presence of an external magnetic field. Consequently, attractive forces acting on each particle are produced due to the interaction of the ferrofluid polarization and the external magnetic field. The attractive force acting on the particles can then be treated as a body force acting on the ferrofluid, which is dealt with as a homogenous medium. The attractive force on the ferrofluid per unit volume is where is the magnetization vector and is related to by . The magnetic field strength diminishes with increasing distance from the dipole. The Kelvin body force, see (2.5), can be written as follows:

The first term on the right-hand side of (2.6) has a same nature as the pressure term in the momentum equation. The second term becomes important when there is a spatial gradient in the fluid susceptibility. In the absence of a temperature gradient, this term is zero. The Kelvin body force is simplified in another study [19] to the following format by defining an effective pressure as and it yields

In this work, the single relaxation time lattice Boltzmann method is used to simulate the thermomagnetic convection in a two-dimensional square enclosure.

#### 3. Numerical Model

The lattice Boltzmann method (LBM) is a discrete particle-based mesoscopic approach for viscous fluid flow simulation. The LBM has been shown to be an efficient tool for flow simulation in complex geometries, when compared with conventional fluid dynamics approaches [20]. In this method, finite volumes of fluid are presented as discrete particles and the fluid dynamics is obtained based on a probability distribution function of the particles and a discrete set of prescribed velocities.

The thermal lattice Boltzmann model, which is employed in the present work, is a double-distribution-function thermal model. Two distinct distribution functions for the flow and temperature fields are and , respectively, where is the density (or fluid particles) distribution function and is the temperature distribution function. This present thermal lattice Boltzmann model uses the BGK approximation [21] and it is based on the work of He et al. [22] and Shi et al. [23]:
where and are the lattice grid spacing and the lattice time step, respectively. These two are related to each other through the streaming speed, , as . However, in most of the LBM simulations on a uniform lattice, including those of the present work, and for simplicity are considered to be equal to one, and is the buoyant body force term, which is formulated by using the Boussinesq approximation [24], namely:
where * β* is the thermal expansion coefficient, is the acceleration of gravity acting in the -direction of the lattice links, and is the

*y*-component of

*c*. The terms and

_{i}*T*are the local density and temperature and are calculated at each lattice site. is the average temperature of hot and cold wall. The Kelvin body force, , is the force that a magnetic fluid experiences in nonuniform magnetic field that can be calculated based on (2.5).

The most common two-dimensional lattice is the D2Q9 lattice, which is used in this study, where “2” denotes the number of space dimensions and “9” refers to the discrete set of nine velocities as proposed by Qian et al. [25]. The D2Q9 lattice and its labelling for the lattice directions are shown in Figure 2. For the D2Q9 lattice, the discrete velocity set is formulated as follows:

The corresponding equilibrium distribution functions for the density and temperature distribution functions are and , respectively. These two parameters are in the form of a second-order truncated expansion of the Maxwell-Boltzmann equilibrium function:
where *c _{s}* is the lattice sound speed and is equal to for a two-dimensional lattice with 9 velocities (D2Q9). is the weighting factor and is defined as follows for the D2Q9 lattice:

The macroscopic density , pressure , velocity , and temperature on each lattice site are calculated as follows:

The kinematic viscosity and the thermal diffusivity are given by

The no-slip solid-wall boundary condition is set for the vertical and horizontal walls of the enclosure by using the bounce back method. As mentioned before, the top and bottom walls are adiabatic, and the vertical walls are isothermal, with the left wall at higher temperature than that of the right wall.

#### 4. Results and Discussion

The physical domain considered in this study is a two-dimensional square cavity. The parameters *D* and *d* are depicted in Figure 1, where *D* is set to 2 mm and *d* is equal to . The density and dynamic viscosity of the ferrofluid at 300 K were set equal to 1180 kg/m^{3} and kg/ms, respectively. The Prandtl number, Pr, and fluid compressibility, , are taken as 5.5 and , respectively.

A uniform lattice system is employed for the simulations. The numerical solution should be independent of the lattice size, and to this purpose, three different lattice sizes of , , and were examined; results with a lattice density of lattice units were found to be adequate to establish lattice-independent solutions for the range of the parameters used in the present study. In order to validate the thermal LBM predictions, laminar natural convection of air, , in a cavity was simulated for Rayleigh numbers of 10^{4} and 10^{5}. The predicted natural convection results with the grid system for and 10^{5}, respectively, were in excellent agreement with the benchmark steady flow patterns and temperature fields reported by de Vahl Davis [26]. In Table 1, the predicted average Nusselt numbers on the hot wall are compared against the values reported by de Vahl Davis [26] for the same conditions and, as it can be observed, are in excellent agreement.

The average Nusselt number on the side walls is determined from the following relation:

The two dimensionless parameters which characterize the natural convective flow, Rayleigh number (Ra) and the Prandtl number (Pr), are defined as follows:
where *g _{y}*,

*,*

*β**T*, and

*D*are the gravitational acceleration, working fluid thermal expansion coefficient, temperature difference between the two vertical walls, and the characteristic length (equal to the width of the cavity), respectively.

Presenting the magnetic dipole will disturb the flow motion in the cavity; consequently, the temperature distribution will be affected along with the heat transfer rate at the walls of the cavity. The isotherms for three different values of *m *equal to 0.0, 0.05, and 0.1 Am, are shown in Figures 3(a)–3(c) for (). The influence of the induced magnetic field on the temperature distributions is apparent. If the magnetic field magnitude is relatively weak, the buoyancy effect is dominant and the isotherms and streamlines are similar to those of pure natural convection in the absence of a magnetic field. For a stronger magnetic field the isotherm stratification in the core will change, as shown in Figure 3(c); this is due to the suppression of the free convective flow by the magnetic field. By increasing the magnetic field strength, the effect of the natural convection is eventually eliminated and the flow motion of the ferrofluid is governed by the strength of the magnetic field.

Figures 4(a)–4(c) report the isotherms at () for , 0.05, and 0.1 Am. From these figures, it can be observed that for large values of , the effect of increasing the magnetic strength on the temperature distribution in the enclosure is more prominent compared to that in the case of a smaller (, Figure 3). This is because the magnetic susceptibility depends on temperature and influences the motion of the ferrofluid in the cavity. In these circumstances, the colder fluid close to the lower temperature wall moves down towards the region of larger field strength due to its higher magnetic susceptibility, while the warmer fluid with lower susceptibility is displaced away from the line dipole and is pushed upward along the hot wall.

For sufficiently large values of , the natural convection is suppressed and the magnetic field effect is the dominant factor. As a result, the isotherms will be almost independent of Ra number for a relatively high magnetic field strength. The streamlines for the thermomagnetic flow in the square cavity for and and for different values of , 0.0, 0.05, and 0.1 Am, are presented in Figures 5(a)–5(c) and 6(a)–6(c), respectively.

Figure 7 shows the predicted values of the average Nusselt number on the hot wall for a range of temperature difference, , , and . It can be observed that the average Nusselt number increases with both magnetic field strength and temperature difference. The average Nusselt number increases more than double for compared to the Nusselt number for free convection only.

To show the effect of magnetic field strength on heat transfer enhancement, the buoyancy force was turned off and the average Nusselt numbers on the hot wall were compared with those from the combination of buoyancy and magnetic force. In Figure 8, the average Nusselt numbers are presented for different magnetic field strengths and a range of temperature difference. For magnetic field moment, , lower than 0.1 Am the buoyancy force has a noticeable effect on the Nusselt number, but with increasing magnetic field strength the effect of the buoyancy force is reduced and the Nusselt number can be calculated by considering only the magnetic force for larger than 0.15 Am.

#### 5. Conclusion

Simulations for thermomagnetic convection were conducted for a range of Rayleigh numbers and magnetic field strengths in the laminar regime. The effects of these parameters on the heat transfer characteristics were analyzed; the numerical results showed that with the application of an external magnetic field, the temperature and velocity fields were significantly modified.

For weak magnetic fields, both buoyancy force and magnetic force have effects on the heat transfer. However, for sufficiently high magnetic field strength, the magnetic convection is suppressed for all the examined values of the Rayleigh number. This study shows that even for relatively weak magnetic fields, the increase in heat transfer for small scale devices is considerable.

#### Nomenclature

: | Particle discrete velocity set |

: | Speed of sound |

: | Distance between dipole and enclosure |

: | Enclosure height |

: | Distribution function for the flow field |

: | Distribution function for the temperature field |

: | Acceleration of gravity in the -direction |

: | Defined in (2.3) |

: | Magnetic field moment |

: | Magnetization |

: | Nusselt number |

: | Prandtl number |

: | Rayleigh number |

: | Time |

: | Temperature |

, : | Cartesian coordinate |

: | Velocity component. |

#### Greek Letters

: | Thermal diffusivity |

: | Fluid compressibility |

: | Magnetic susceptibility |

: | Viscosity |

: | Magnetic permeability |

: | Density |

: | Lattice relaxation time |

: | Fluid kinematic viscosity |

: | Lattice weighting factor. |

#### Acknowledgments

The authors acknowledge the support received from Natural Sciences and Engineering Research Council of Canada (NSERC) Discovery Grant 12875 (ACMS) and Foundation for Science and Technology-Portugal (FCT) Grant PTDC/EME-MFE/105031/2008 (ACMS). M. Hadavand would like to thank Dr. R. Ganguly for helpful discussions.

#### References

- A. E. Gill, “The boundary-layer regime for convection in a rectangular cavity,”
*Journal of Fluid Mechanics*, vol. 26, pp. 515–536, 1966. View at Google Scholar - S. Ostrach, “Natural convection in enclosures,”
*Journal of Heat Transfer*, vol. 110, no. 4, pp. 1175–1190, 1988. View at Google Scholar · View at Scopus - V. Mariani and I. Moura Belo, “Numerical studies of natural convection in a square cavity,”
*Thermal Engineering*, vol. 5, pp. 68–72, 2006. View at Google Scholar - X. Shi and J. M. Khodadadi, “Laminar natural convection heat transfer in a differentially heated square cavity due to a thin fin on the hot wall,”
*Journal of Heat Transfer*, vol. 125, no. 4, pp. 624–634, 2003. View at Publisher · View at Google Scholar · View at Scopus - S. Odenbach, “Recent progress in magnetic fluid research,”
*Journal of Physics Condensed Matter*, vol. 16, no. 32, pp. R1135–R1150, 2004. View at Publisher · View at Google Scholar - K. Raj and R. Moskowitz, “Commercial applications of ferrofluids,”
*Journal of Magnetism and Magnetic Materials*, vol. 85, no. 1–3, pp. 233–245, 1990. View at Google Scholar · View at Scopus - B. A. Finlayson, “Convective instability of ferromagnetic fluids,”
*Journal of Fluid Mechanics*, vol. 40, no. 4, pp. 753–767, 1970. View at Google Scholar · View at Scopus - R. Ganguly, S. Sen, and I. K. Puri, “Thermomagnetic convection in a square enclosure using a line dipole,”
*Physics of Fluids*, vol. 16, no. 7, pp. 2228–2236, 2004. View at Publisher · View at Google Scholar - H. Yamaguchi, I. Kobori, Y. Uehata, and K. Shimada, “Natural convection of magnetic fluid in a rectangular box,”
*Journal of Magnetism and Magnetic Materials*, vol. 201, no. 1–3, pp. 264–267, 1999. View at Google Scholar · View at Scopus - N. M. Al-Najem, K. M. Khanafer, and M. M. El-Refaee, “Numerical study of laminar natural convection in tilted cavity with transverse magnetic field,”
*International Journal of Numerical Methods for Heat & Fluid Flow*, vol. 8, pp. 651–672, 1998. View at Google Scholar - M. S. Krakov and I. V. Nikiforov, “To the influence of uniform magnetic field on thermomagnetic convection in square cavity,”
*Journal of Magnetism and Magnetic Materials*, vol. 252, no. 1–3, pp. 209–211, 2002. View at Publisher · View at Google Scholar · View at Scopus - T. Sawada, H. Kikura, A. Saito, and T. Tanahashi, “Natural convection of a magnetic fluid in concentric horizontal annuli under nonuniform magnetic fields,”
*Experimental Thermal and Fluid Science*, vol. 7, no. 3, pp. 212–220, 1993. View at Google Scholar · View at Scopus - H. Kikura, T. Sawada, and T. Tanahashi, “Natural convection of a magnetic fluid in a cubic enclosure,”
*Journal of Magnetism and Magnetic Materials*, vol. 122, no. 1–3, pp. 315–318, 1993. View at Google Scholar · View at Scopus - K. Nakatsuka, B. Jeyadevan, S. Neveu, and H. Koganezawa, “The magnetic fluid for heat transfer applications,”
*Journal of Magnetism and Magnetic Materials*, vol. 252, no. 1–3, pp. 360–362, 2002. View at Publisher · View at Google Scholar · View at Scopus - S. M. Snyder, T. Cader, and B. A. Finlayson, “Finite element model of magnetoconvection of a ferrofluid,”
*Journal of Magnetism and Magnetic Materials*, vol. 262, no. 2, pp. 269–279, 2003. View at Publisher · View at Google Scholar - M. Hadavand, A. Nabovati, and A. C. M. Sousa, “Numerical simulation of thermomagnetic convection in an enclosure using the Lattice Boltzmann Method,” in
*Proceedings of the 8th International Conference on Nanochannels, Micorchannels and Minichannels (FEDSM-ICNMM '10)*, Montreal, Canada, 2010. - X. Q. Wang and A. S. Mujumdar, “Heat transfer characteristics of nanofluids: a review,”
*International Journal of Thermal Sciences*, vol. 46, no. 1, pp. 1–19, 2007. View at Publisher · View at Google Scholar · View at Scopus - D. J. Griffiths,
*Introduction to Electrodynamics*, Prentice Hall, 3rd edition, 2002. - A. Mukhopadhyay, R. Ganguly, S. Sen, and I. K. Puri, “A scaling analysis to characterize thermomagnetic convection,”
*International Journal of Heat and Mass Transfer*, vol. 48, no. 17, pp. 3485–3492, 2005. View at Publisher · View at Google Scholar · View at Scopus - A. Nabovati,
*Pore level simulation of single and two phase flow in porous media using Lattice Boltzmann method*, Ph.D. dissertation, University of New Brunswick, New Brunswick, NJ, USA, 2009. - P. L. Bhatnagar, E. P. Gross, and M. Krook, “A model for collision processes in gases. I. Small amplitude processes in charged and neutral one-component systems,”
*Physical Review*, vol. 94, no. 3, pp. 511–525, 1954. View at Publisher · View at Google Scholar · View at Scopus - X. He, S. Chen, and G. D. Doolen, “A novel thermal model for the Lattice Boltzmann method in incompressible limit,”
*Journal of Computational Physics*, vol. 146, no. 1, pp. 282–300, 1998. View at Publisher · View at Google Scholar · View at Scopus - Y. Shi, T. S. Zhao, and Z. L. Guo, “Thermal lattice Bhatnagar-Gross-Krook model for flows with viscous heat dissipation in the incompressible limit,”
*Physical Review E*, vol. 70, no. 6, Article ID 066310, 2004. View at Publisher · View at Google Scholar · View at Scopus - P. H. Kao and R. J. Yang, “Simulating oscillatory flows in Raleigh-Bénard convection using the lattice Boltzmann method,”
*International Journal of Heat and Mass Transfer*, vol. 50, pp. 3315–3328, 2008. View at Google Scholar - Y. H. Qian, D. d’Humieres, and P. Lallemand, “Lattice BGK model for Navier-Stokes equation,”
*Europhysics Letters*, vol. 17, no. 6, pp. 479–484, 1992. View at Google Scholar - G. de Vahl Davis, “Natural convection of air in a square cavity: a benchmark numerical solution,”
*International Journal for Numerical Methods in Fluids*, vol. 3, no. 3, pp. 249–264, 1983. View at Google Scholar · View at Scopus