Abstract

The effect of magnetic field on fluid flow and heat transfer in two-dimensional square cavity is analyzed numerically. The vertical walls are insulated; the top wall is maintained at cold temperature, while the bottom wall is maintained at hot temperature, where . The dimensionless governing equations are solved using finite volume method and SIMPLE algorithm. The streamlines and isotherm plots and the variation of Nusselt numbers on hot and cold walls are presented.

1. Introduction

Due to the effect on many engineering applications and nature phenomena, fundamental problem of combined free and forced convection has received considerable attention from researchers. Problem of heat transfer in low speed lid-driven cavity is treated as a mixed convection problem. A forced convection conditions is created by the movement by one or two walls of the cavity while the temperature difference across the cavity caused a buoyancy driven flow. Hence, complicated heat and mass transfer flow occur inside the cavity. There have been many investigations in the past on mixed convection flow in lid-driven cavity. Many different configurations and combinations of thermal boundary conditions have been considered by various investigators. One of the earliest investigations on mixed convection in lid-driven cavity was conducted by [1]. Later, [2] studied numerically the effect of the Prandtl () number, on the laminar mixed convection heat transfer in a lid-driven cavity. The numerical simulations showed that, for higher values of , the effect of thermal buoyancy force on the flow and heat transfer inside the cavity is more pronounced. Reference [3] investigated numerically mixed convection heat transfer in a driven cavity with a stable vertical temperature gradient. It was found that, for high values of the Richardson number, much of the fluid in both the middle and bottom portions of the cavity interior is stagnant. Also, results in [3] results showed that the flow features are similar to those of a conventional driven cavity of a nonstratified fluid for small values of the Richardson number. Meanwhile, [4] carried out experimental study on mixed convection heat transfer and fluid flow in a cavity where the upper lid was cooled and heated from bottom. Reference [5] examined numerically mixed convection flow in a lid-driven enclosure filled with a fluid-saturated porous medium and reported on the effects of the Darcy and Richardson numbers on the flow and heat transfer characteristics. Reference [5] observed that the Darcy number is most important parameter in convective flows. Moreover, the presence of internal heat generation provides an additional dynamic in overall convective flow system, which has significant influence on the features of isotherms and streamlines for small values of the Richardson number.

Subsequently, various investigations on mixed convection heat transfer in a lid-driven cavity are conducted. For instance, [6] investigated the mixed convection fluid flow and heat transfer in a square cavity with moving and differentially heated side walls. They found that the fluid flow and heat transfer in the cavity are affected by both, Richardson number and and the direction of moving walls. Reference [7] investigated mixed convection fluid flow in a square cavity with linearly heated left wall, uniformly cooled bottom wall, insulated on the top while the right wall is either heated linearly or cooled uniformly. Reference [7] showed that by increase in Grashof number the strength of convection increased. Later, [8] investigated a uniformly heated bottom wall with linearly heated left side wall. Reference [9] analyzed four cases of mixed convection in a square cavity. For the first and second cases, the top and bottom walls are either heated or cooled while both side walls are insulated. In the third and fourth cases, the top and bottom walls are adiabatic while the side walls are either heated or cooled. Reference [9] reported that both and direction of temperature gradient affect the flow pattern and heat transfer rate in the cavity. Mixed convection heat transfer and fluid flow in lid-driven cavities with different lengths of the heating portion and different location of it are studied by [10]. Reference [10] concluded that the heat transfer rate is enhanced on reducing the heating portion and when the portion is at the middle or top of the hot wall. Investigation of mixed convection fluid flow and heat transfer that combined linear and sinusoidal heating of different walls of a two-dimensional square cavity with a moving lid had been done by [11]. The effects of inclination angle, , and various aspects ratios on the flow and heat transfer in an air-filled cavity had been discussed by [12]. Reference [12] reported that, among the three aspects ratio investigated, the increase of inclination angle does not affect the flow structures and heat transfer when the flow is in a forced convection dominated regime.

Investigations on the significance of magnetic field on the fluid flow and performance of different systems have been growing through these past decades. Reference [13] studied the effects of magnetic field on free convection in a rectangular cavity. Then, [14] investigated the significance of transverse magnetic field in tilted enclosure numerically. Different thermal boundary conditions with the existence of magnetic field on natural convection are discussed by [15, 16]. Recently, [1719] investigated natural convection heat transfer and fluid flow in a cavity filled with nanofluid using the Lattice Boltzmann method. Reference [17] studied the effects of magnetic field to the natural convection flow in a rectangular cavity. Reference [18] investigated the MHD natural convection with sinusoidal temperature distribution on the right wall. Later, [19] extended the work by [18] when sinusoidal temperature distribution is applied on both side walls. Reference [20] examined the natural convection in a square enclosure that is filled with nanofluid and influenced by a magnetic field. Reference [20] reported that the values of Hartmann number and Rayleigh number influence the heat transfer performance for the increment of solid volume fraction. Very recently, [21] investigated the effects of magnetic field on natural convection of nanofluid in a three-dimensional cubic cavity that is heated from below. It is reported that the applied magnetic field results in opposite force to the flow direction which leads to dragging the flow and then reduces the convection by reducing the velocities.

Reference [22] investigated combined convection flow in a two-dimensional square cavity filled with an electrically conducting fluid. Reference [22] also studied the effects of magnetic field and internal heat generation or absorption to the opposing and aiding flow. It was found that the presence of magnetic field strongly affected the heat transfer and flow behaviors. Very recently, the significance of both internal heating or absorption and magnetic field to the fluid flow and heat transfer rate in a lid-driven cavity is studied by [23]. Reference [23] showed that, by increasing the strength of magnetic field, the average Nusselt number dropped significantly. In addition, the effect of heat generation or absorption became insignificant for forced convection region. Then, [24] reported on the conjugate effect of Joule heating and magnetic field in an obstructed lid-driven cavity to the flow and heat transfer characteristics. It is found that the obstacle strongly affected the thermal field at forced convection regime and the flow field at mixed convection regime.

References [25, 26] studied the effects of different heating locations with the presence of magnetic field in a lid-driven cavity to the flow and heat transfer rate. They reported that heating location and existence of magnetic field have significant role in the heat transfer rate and fluid flow behavior. Hydromagnetic effects on mixed convection in a lid-driven cavity are studied by [27, 28]. Reference [27] investigated the effects with sinusoidal temperature on both side walls while [28] investigated them with sinusoidal corrugated bottom surface cavity. Both studies reported that magnetic field plays important role in the convection heat transfer rate and fluid flow behaviors. Later, [29] extended the work of [27] and studied the effects of both magnetic field and inclination angle on the mixed convection heat transfer and flow behaviors. The results showed that heat transfer rate is enhanced by increasing either the Hartmann number or inclination angle. References [30, 31] studied magnetohydrodynamic mixed convection in a lid-driven cavity with linearly heated wall. Very recently, [32] investigated the effects of magnetohydrodynamic mixed convection over an isothermal circular cylinder in the presence of an aligned magnetic field. The problems of mixed convection of a nanofluid in a differentially heated lid-driven cavity with the presence of magnetic field is investigated by [33, 34]. Using different type of nanofluid, both researches reported that the heat transfer rate increased with an increase of the Reynolds number but it decreased with an increase of the Hartmann number. Then, [35] executed a numerical investigation of mixed convection in a nanofluid-filled cavity under the influence of magnetic field. Reference [35] compared the results obtained from the Maxwell method and modified Maxwell method. The results showed that heat transfer is higher based on the modified Maxwell method and the heat transfer mechanism is strongly dependent on the strength of magnetic field. Recently, [36] reported on mixed convection heat transfer of nanofluid flow in a vertical channel with sinusoidal walls under magnetic field effect. It is found that the average Nusselt number and Poiseuille number increased with an increase of the Hartman number. Numerical investigation of magnetic field on mixed convection and entropy generation of nanofluid in a trapezoidal enclosure was done by [37]. The results showed that, with imposing the magnetic field and enhancing it, the nanofluid convection and the strength of flow decrease and the flow tend toward natural convection and finally toward pure conduction. Thus, for all of the considered Reynolds numbers and volume fractions, the average Nusselt number decreased with an increase of the Hartmann number.

Based on the literature review, no work has been dealt on mixed convection flow and heat transfer in a lid-driven square cavity with the presence of magnetic field. Thus, the main objective of present work is to examine the influence of Hartmann number and the Richardson number on the characteristics of mixed convection flow inside a square cavity having the top lid moving with uniform speed.

2. Mathematical Modelling

Two-dimensional square cavity is illustrated in Figure 1. The width and height of the cavity are denoted as . Both of the vertical walls are insulated while the bottom and top walls are maintained at constant and different temperature, and , respectively, such that . Furthermore, the top lid is assumed to have a constant speed that slides in the positive direction of -axis. A uniform magnetic field of strength is applied in the horizontal direction normal to the adiabatic wall. The induced magnetic field due to the motion of the electrically conducting fluid is neglected in comparison to the external magnetic field. Moreover, the imposed and induced electrical fields are assumed to be negligible. The Joule heating of the fluid and the effect of viscous dissipation are also negligible. The working fluid is assumed to be Newtonian, incompressible, unsteady, and laminar flow. The gravitational force acts vertically downward. It is assumed that the thermophysical properties of the fluid are constant except the density in the body force term of the momentum equations which varies according to the Boussinesq approximation. Hence, based on the aforementioned assumptions, the dimensional forms of the continuity, momentum, and energy equations are as follows [25]:where and are the coordinate directions and is the time. The variables ,  ,  , and are the velocity components of the fluid in the - and -directions, the pressure, and the temperature, respectively. The parameters ,  ,  ,  , and are the fluid thermal expansion coefficient, the gravity, the electrical conductivity, the kinematic viscosity, and the density, respectively. Parameter is the thermal diffusivity, is the thermal conductivity, is the specific heat capacity, and is the magnetic induction coefficient. The initial and boundary conditions of the problem are as follows:

Then, (1) are transformed to dimensionless equations using the following variables: where , , and are the nondimensional temperature, the time, and the pressure, respectively. Parameters , , Pr, and are the Grashof number, the Reynolds number, the Prandtl number, and the Hartmann number, respectively. Substituting the variables into the governing equations, we obtain the following dimensionless equations:The dimensionless boundary conditions can be written as

3. Numerical Method

The finite volume method [38] is used to solve the governing equations (4) subject to the boundary conditions (5). The convection and diffusion terms are discretized by the power law. The resulting set of algebraic equations are solved iteratively using tridiagonal matrix algorithm (TDMA). In order to couple the pressure and velocity field in the momentum equations, the SIMPLE algorithm is adopted. The numerical solutions are obtained by choosing a staggered grid system, such that the velocity components are stored halfway between the scalar storage locations. Then, the unknown ,  , and are calculated iteratively until the following convergence criterion is fulfilled: where is the tolerance; and are the number grid points in - and -directions, respectively; is any of the computed field variables; and is the iteration number. The heat transfer rate is obtained using the Nusselt number. The local Nusselt number along the hot wall is defined as and the average Nusselt number is expressed as follows:

To find the field variables grid-independency solutions, the grid sensitivity tests are conducted. The test is performed for , , and in a top cooled moving lid, bottom heated, and vertically insulated cavity. The Nusselt numbers along the hot bottom wall are compared for the grid sizes from to . Based on the results presented in Table 1, a grid size is enough to solve the system of equations.

The present code using the Fortan 90 programming language is validated against published work of [3, 5, 31]. Streamlines and isotherms are plotted in Figure 2 for , , , and the lid moves from left to right. From Figure 2, it is clear that the plots between the two numerical results are in good agreement. Furthermore, the present code is validated against published works in the literature on convective flow in lid-driven cavities [3, 5]. The results are compared in Table 2 and show a good agreement.

4. Results and Discussion

The mixed convection heat transfer and fluid flow for a lid-driven square cavity with the presence of magnetic field are numerically investigated. Both vertical walls are perfectly insulated while the bottom and top walls are maintained at different temperature. In the present analysis, water is chosen as the working fluid with Pr = 6.2. The controlling parameters are Richardson number, , and Hartmann number (). Reynolds number is kept fixed at and Grashof number is varied in the range from to . The values of magnetic field parameter analyzed are = 0, 10, 30, and 60. The results are presented in streamlines and isotherms plot at three different regimes that are forced convection (), mixed convection (), and natural convection ().

The streamlines and isotherms for different values of Ha for are presented in Figure 3. In the absence of magnetic field, streamline plot indicated that the shear effect is dominant. This is due to the movement of the top lid. A primary clockwise recirculating eddy characterized the fluid flow with such that the flow is driven by the movement of top lid and is forced to move downward. The primary recirculating eddy then tends to move closer to the moving wall by adding the strength of magnetic field such that . As increases to , a counter-clockwise recirculating eddy is developed along the bottom wall. Another clockwise recirculating eddy developed by increasing to 60. The temperature contours illustrated a steep temperature gradient along the center of top wall and right wall in the absence of magnetic field. This is due to domination of force convection and shear force of the top lid. As magnetic field strength increases, the temperature gradient mentioned earlier is diminished. The isotherms show that the fluid is horizontally stratified at the bottom wall at . The temperature gradient is parallel to the horizontal wall at . This implies that the heat is transferred by conduction.

For the mixed convection regime with , the streamlines and isotherms plots are presented in Figure 4. The streamlines show that a primary clockwise recirculating eddy occupied most of the cavity while a secondary counter-clockwise eddy exists at the right bottom corner. By increasing the magnetic field strength, the secondary eddy gradually became bigger and the primary eddy became smaller. The isotherms show that the effect of magnetic field is suppressing the convective heat transfer mechanism. This is due to uniformly distributed isotherms in the cavity especially at the bottom.

Figure 5 shows the streamlines and isotherms for natural convection regime. There are three recirculating eddies which appear when there is no magnetic field presence for . However, only two major recirculating eddies occupied the cavity. The minor eddy located at the left bottom corner is attached to the major clockwise recirculating eddy at top while the eddy at the right bottom wall is recirculating in counter-clockwise direction. Increasing the Hartmann number causes the major recirculating eddy at the top wall gradually to become larger and occupy the cavity. The flow strength is weakening as the magnetic field is strengthening. From Figure 5, the variations of Hartmann numbers made big impact on the isotherms. At higher Hartmann number, the isotherms are almost vertical to the adiabatic walls and stratified at the bottom of the cavity. This indicates that convective flow is weaker and less heat transfer occurs.

Figure 6 shows the velocity profile along the vertical direction at the midaxis in -direction at different Hartmann numbers. Figure 6(a) presents that the velocity magnitude decreases with an increase of Hartmann number for . In similar manner, Figure 6(b) shows that the velocity profile decreases with an increase of Hartmann number, with . Minimum and maximum points are observed due to clockwise and counter-clockwise flows. Again, a decreasing effect of velocity magnitude is observed in Figure 6(c) for . It is clearly seen that magnetic field retards the velocity and the trend of velocity changes with Hartmann number and Richardson number. The effects of Hartmann number on local Nusselt number at the bottom wall have been studied as seen in Figure 7. The results are showing that the maximum local Nusselt number increases as the Richardson number increases. It decreases as the Hartmann number increases due to the suppression of the convective flow.

The effects of Richardson number and the Hartmann number on the average Nusselt number are presented in Figure 8. Overall, the average Nusselt number decreases with the increase of the Hartmann number. The main characteristics of flow and temperature in the cavity for , , or are compared to Figures 35 to elucidate the cause of heat transfer drop. A main clockwise recirculating vortex occupies the cavity and a minor counter-clockwise recirculating vortex appears at the bottom corner and at right bottom corner of the cavity for , , and , respectively. As the magnetic field strength increases, the minor vortex starts to grow bigger and the primary recirculating vortex tends to move closer to the moving wall. In addition, the effect of magnetic field is suppressing the convective heat transfer mechanism that the isotherms become more parallel to the moving wall indicating a quasi-conduction regime. This illustrates the average heat transfer decreases as the magnetic field increases as shown in Figure 8. This is due to the negative effect of magnetic field on the buoyancy force. By increasing the magnetic field strength, the effect of convection is decreased. Hence, the flow motion reduces resulting conduction as the dominant heat transfer mechanism.

5. Conclusions

In the present study, mixed convection in a lid-driven cavity filled with water in the presence of magnetic field is studied numerically by employing the finite volume method. The left and right walls are perfectly insulated. The top lid is moving uniformly from left to right while the bottom wall is heated with constant temperature. The effects of and on the fluid flow and heat transfer behavior are investigated. The following are concluded from the obtained results:(i)The and significantly affect the heat transfer mechanism. Heat transfer rate increases with the increase of . However, the convective flows become weaker and therefore the heat transfer rate decreases as increases.(ii)The recirculation eddy in the cavity is reduced with the existence of magnetic field, as the magnetic field strength increases with the decrease of the convection heat transfer. Subsequently, conduction heat transfer is dominant.

Nomenclature

:Specific heat capacity, J/kg K
:Gravitational acceleration, m/s2
:Grashof number
:Height of the cavity, m
:Hartmann number
:Thermal conductivity of fluid, W/m K
:Average Nusselt number
:Local Nusselt number
:Pressure,
:Dimensionless pressure
Pr:Prandtl number
:Reynolds number
:Richardson number
:Time
:Temperature at cold wall, °C
:Temperature at hot wall, °C
:Velocities in the - and -directions, respectively
:Dimensionless velocity in - and -directions, respectively
:Lid velocity, m/s
:Cartesian coordinates
:Dimensionless Cartesian coordinates.
Greek Symbols
:Thermal diffusivity, m2/s
:Coefficient of thermal expansion of fluid, K−1
:Dimensionless temperature
:Kinematic viscosity, m2/s
:Dynamic viscosity, kg/ms
:Fluid density, kg/m3
:Inclination angle, degree
:Dimensionless time.

Competing Interests

The authors declare that they have no competing interests.

Acknowledgments

The authors would like to acknowledge the financial support received from the Universiti Tun Hussein Onn Malaysia (Grant nos. FRGS/1434 and GIPS/1201).