Ferro-hydrodynamic induced convection flow and heat transfer of nanofluids in a corrugated wall enclosure

This study aims to improve heat transfer by utilizing Kelvin forces and inducing magnetic-induced convection in ferro-hydrodynamic convection, in conjunction with nanoparticle migrations. The fundamental equations governing the conservation of mass, momentum, energy, and nanoparticle mass were formulated as partial differential equations. As primary terms, the model incorporated the buoyancy, Lorenz, and Kelvin forces. In this context, temperature variations in the presence of a variable magnetic field generate a temperature-dependent body force. This can induce fluid circulation. Thus, even without gravitational force, magnetic force can stimulate convection heat transfer flows. The study thoroughly examined the impact of magnetic source placement on heat transfer. An increase in Ha from 0 to 100 reduced the average Nusselt number (NuAvg) by approximately 60% in all cases, regardless of the magnetic source position. However, the magnetic field number (Mnf) and its effect on NuAvg are dependent on the magnetic source's position.


Introduction
Heat energy transfer is used in a variety of industrial activities.Natural convection, which does not need external energy, is the most basic kind of convection heat transfer.Most industrial technology, from massive commercial equipment to microchip cooling, relies on heat transfer rate.Improving the heating or cooling of specific industrial processes may be very advantageous since it will save energy and reduce total expenses.Nanofluids, a novel type of working fluids, have been on exhibit for over 20 years.The ability to retain heat, magnetism, low thermal conductivity, and increased viscosity are all examples of these characteristics.The nanoparticles (NP) in nanofluids are disseminated evenly throughout the base fluid, making it an innovative heat transmission medium [1].Recent studies have investigated nanofluid convection heat transfer of single/hybrid nanofluid in enclosures [2,3], heat exchangers [4,5], and channels [6].For instance, Sheremet et al. [7] predicted the natural convection of nanofluids within 2D and 3D porous enclosures.Rates of convection and heat transfer of a nanofluid of alumina and water were investigated by Ibrahim et al. [8] in a 45°-angled square chamber.Based on the results, using nanoparticles enhanced thermal conductivity.The experiment by Paroncini et al. [9] involved the transfer of heat through natural convection in a cavity having a temperature difference between its sides and an insulated bottom and top.
By using an enclosure with double-sided lids, Sheikholeslami and Chamkha [10] studied the effects of MF variation on the fluid flow properties of nanofluids containing water and Fe 3 O 4 .They found that an increase in thermal transfer correlates negatively to the magnetic parameter and positively with the Reynolds and Hartmann numbers.Ghalambaz et al. [11] evaluated the heat and mass transfer of multiple nanofluids within a hexagonal cage subject to a MF.Also, Sami [12] looked at how the presence of an MF created by an element near the collector's intake affected the collector's thermal efficiency.Mokaddes Ali et al. [13] numerically evaluated heat transfer inside a nanofluid water-based container in an external MF.Sathiyamoorthy and Chamkha [14] studied MF's impact on free convection in an enclosure.It was found that the MF and its direction could significantly influence the transfer of heat and flow circulation.Magnetic flows considering Lorentz forces have been investigated in [15][16][17].The boundary layer flow and heat transfer of non-Newtonian fluids [18], micro-polar nanofluid [19], and various types of single/hybrid nanoparticles such as graphene oxide [20], Fe 2 O 3 -CuO [21], graphene oxide-Fe 3 O 4 [22], and MgO-Ag [23] also were explored.
Huang et al. [24] employed an MF to imitate the convective properties inside a corrugated triangular cavity containing an Al 2 O 3 -water fluid.Alsabery et al. [25] investigated the free convection of an aluminawater nanofluid in a two-dimensional container with wavy walls that were heated from the bottom without or with a noticeable heater at the bottom.Mahesh et al. [26] studied the chemical reaction on the flow pattern between two stretchy spinning dissipativeviscosity disks and the MF on unsteady hybrid nanobiofluids.
A nanofluid flow can reflect the characteristics of a transient MHD, a ferro-hydrodynamic (FHD) with constant magnetization, or both.The FHD effect results from the interaction between an MF and a magnetized fluid or the Kelvin force.Magnetic nanofluids, also known as ferrofluids, are conventional base liquids seeded with ferromagnetic particles.The magnetic behaviour of ferrofluids in a magnetic field is their most important advantage over other forms of nanofluids [27].Many researchers studied magnetic nanofluid convection heat transfer mathematically or experimentally.A ferrofluid's thermal conductivity can be improved with chains of magnetic NP bridges, as noted by Liu et al. [28] and Gan Jia Gui et al. [29].To account for the impacts of both MHD and FHD, Ren et al. [30] created a new technique using multiphase nano-MF in a changeable non-uniform MF.
The investigation of the convection behaviour of nanofluids within cavities has received a great deal of interest lately.Ashorynejad and Shahriari [31] investigated the free convection of a hybrid nanofluid through an enclosure containing a wavy heated wall.Szabo et al.'s [32] numerical analysis of the influence of natural convection on heat transfer in a magnetic nanofluid within a square cavity subjected to a permanent magnet's MF looked at how natural convection changed into thermomagnetic convection.Javed et al. [33] investigated MHD's effects on convection without ferrofluid in a square chamber with obstruction.Bahiraei et al. [34] studied heat transfer along a conduit in which permanent magnets impacted a magnetic nanofluid.Using multiphase mixture models, Mohammadpourfard et al. [35] analysed the impacts of MF on the entropy generation and convection of ferrofluids within cavities.It has been demonstrated that MF applied speeds up convective heat transfer and lowers entropy production.An investigation of the effect of MF on free convection in Fe 3 O 4 /water ferrofluid has been investigated Abdi et al. [36].Sheikholeslami et al. [37] looked at the effect of the nanoparticle form on the forced convection of nanofluids under a constant MF.Their findings demonstrated that nanofluid velocity rises with Reynolds and Darcy numbers.
Biswas et al. [38] demonstrated the effect of partially active magnetic fields on the improved thermal performance of a hybrid nanofluid (Cu-Al2O3-H2O) flow in an oblique porous enclosure.The research emphasizes the significance of complex undulating walls and partially active magnetic fields in heat transfer, with a potential improvement of up to 22.16 percent compared to a conventional vertical wall.It also reveals that a partially active magnetic field can control field variables with a smaller reduction in heat transfer (13.97%) than a magnetic field encompassing the entire domain.Mondal et al. [39] examined the thermal-fluid flow of Cu/Al2O3-water hybrid nanofluid in a porous enclosure influenced by a horizontal magnetic field using the Brinkman-Forchheimer-Darcy model and a finite volume approach.Findings revealed that heat transfer rate improved with increased frequency, modified Rayleigh number, and porosity but was reduced by nanoparticle addition and higher Darcy and Hartmann numbers.Optimal energy transport was achieved with a bottom-bottom cooler configuration, boosting heat transfer by about 370% compared to uniform heating.This information provides valuable insights for designing efficient thermal devices.Biswas et al. [40] investigated the natural convection flow of oxytactic bacteria subject to a uniform MF in a wavy wall enclosure.
Considering the natural convection heat transfer in a horizontal cylindrical cavity, Chatterjee et al. [41] explored the impact of an inclined magnetic field and discrete wall heating on heat transfer natural convection flows.Considering annuli with partial heating, Chatterjee et al. [42] investigated the magnetohydrothermal convective dynamics of a nanofluid in a partially cooled porous annuli cavity.Two parts of the outer cylinder were heated while two parts were cooled.An inclined uniform magnetic field was applied to the cylinder and the fluid inside the cavity.Various flow circulation patterns and heat transfer rates could be achieved depending on the arrangements of heated parts.Saha et al. [43] studied free convection in a horizontal cylindrical enclosure with no MF.The right curved wall was heated and left wall was cooled.A circular cavity could lead to a better heat transfer compared to a square cavity.
The topic of thermophoresis and Brownian motion, which lead to an unequal distribution of NPs in the free convection flow within restricted cavities, has recently received much attention.Nanoparticles in nanofluids mostly move through Brownian motion and thermophoresis [44]; nanofluids' free and mixed convection was examined by Garoosi et al. [45] in an adiabatic cage with many sets of heaters and coolers.Their twophase studies showed that the thermophoresis effects diminish for nanoparticles with high thermal conductivity.A Brownian motion is caused by unequal collisions between molecules, causing suspended NPs to move chaotically.The concentration gradient of the nanoparticles creates a net mean mass flow as they move about due to Brownian motion.The Brownian motion leads the nanoparticles to scatter equally throughout the liquid.The Brownian motion [46] refers to the random motion of nanoparticles induced by molecules interacting with them in the base fluid.
In conclusion, these studies highlight the significance of magnetic effects, geometry, and heating-cooling arrangements in determining the heat transfer and thermal performance of diverse systems.Whether for energy production, industrial processes, or biomedical applications, they provide valuable insights for designing more efficient thermal devices.
Thermophoresis is caused by a temperature gradient acting through a mixture of particles, which are isotopes or multi-components.Sheremet and Pop [47] computed non-dimensional Lewis and Rayleigh numbers for heat and mass transmission in nanofluids with consideration of the impact of thermophoresis and Brownian motion on NPs embedded in porous media.Soltanipour [48] investigated the effect of MFs nonuniformly affecting an FHD's heat transfer.Brownian, thermophoretic, and magnetophoretic effects are all considered in the two-phase simulation.The results demonstrated that the applied MFs generated a secondary flow with an amplitude several times greater than the input velocity.This research found a sweet spot for the number of magnetic fields that allow maximum heat transmission.Using a spinning disk, Dawar et al. [49] investigated the transfer of heat through 3D MHD nanofluid flows.They also accounted for the Arrhenius activation energy, Brownian motion, and thermophoresis.
Some recent studies examined the impact of a uniform magnetic field on the natural convection flow of nanofluids in horizontal cylindrical enclosures [41,42].This is while some of the other literature studies investigated the nanofluids by considering the non-uniform magnetic fields [10,11,50] using single-phase or twophase approaches.Based on the research review, it is evident that FHD forces depend on the local temperature.Hence, a fluid with a gradient of temperature and non-uniform magnetic fields can produce significant local Kelvin force (FHD), which can induce both convection and flow circulation effects.Convection caused by magnetic flow combined with free convection resulted in convection within an enclosed chamber.Moreover, the movement of heavy NPs caused by the Brownian and thermophoresis effect also induces buoyancy forces, which affect gravity-induced circulations.Thus, the current research is designed to utilize a two-phase model of nanofluids and study the impact of FHD forces and particle migrations on nanofluid convection heat transfer in a corrugated semi-cylindrical chamber for the first time.The impact of MF source location was also addressed.

Model formulation and description
The present study aims to model and simulate nanofluids' mixed convection heat transfer due to the gravity and FHD effects.Here, Figure 1(a) presents a physical representation of the proposed design.As it is known, the inhomogeneous nanofluid is placed inside a closed cylindrical chamber.Therefore, thermophoresis (movement of nanoparticles due to thermal gradients) and Brownian (random movement of nanoparticles) forces are considered inside the closed chamber [51].The curved walls on the right and left sides throughout the chamber have a low temperature (T C ) and high temperature (T H ), respectively.The four sides of the cylinder, with a diameter of d, have corrugated walls.The angle between every two corrugations is 90 degrees.A conductive wire can be placed in any of these four positions.Thus, the magnetic field with variable strength in space represents the magnetic field induced by a current caring wire.The magnetic field next to the wire is strong, and its intensity reduces by distance from the wire.The corrugated section of the wall allows a place to fit the wire.The mentioned wire affects the inhomogeneous nanofluid's heat transfer and mass transfer rate at the respective positions.Nanofluid is affected by Kelvin and magnetocaloric forces.Furthermore, the MF can affect the nanofluid's heat transfer and flow rate.Therefore, the Joule-heating and Lorentz forces are also taken into account.The flow is stable and in the laminar regime, while the free convection heat transfer within the chamber will prevail.
Heat transfer and flow can be explained by partial differential equations as follows [11,52,53]: where F is the body force, including the buoyancy force (F B ), the Lorenz force (F L ), and the Kelvin force (F K ): Schematic illustration of the model's physical characteristics.
where the buoyancy force includes the change of density due to the migration of nanoparticles.The energy equation for nanofluid includes the impact of nanoparticles migration (Q F ), magnetically induced heat (Q M ), and Joule-heating (Q M ), which can be explained as [54]: where The term with D T coefficient represents the thermophoresis force, which tends to move the nanoparticles from hot to cold.The viscous dissipations were ignored since the velocities are very small in a laminar natural convection flow.The nanoparticles migration is governed by the Brownian and thermophoresis forces and is explained as A magnetic point source (H * ) is located at the coordinates of x 0 and y 0 at one of the four potential positions, indicated in Figure 1.The x and y distance of the source from the origin is d.The magnetic field due to the source can be explained as [53,55,56]: In which (9b) where δ is the MF intensity at the source location.Flow, temperature, and mass transfer boundary conditions associated with the physical schematic (Figure 1) are mathematically described as follows: on the curved left wall: on the curved right wall: on the other walls:

Data reduction
Scaled parameters can reduce boundary conditions and governing equations to a non-dimensional form.Here the following scaled parameters are used: in which H * 0 = δ/(2π L).By using the above-scaled parameters, the governing equations can be expressed in the following non-dimensional form: The term containing Ha shows the Lorentz force, while M nf denotes the term related to the Kelvin force.
In magnetohydrodynamic (MHD) fluxes, the Lorentz and Kelvin forces are essential.The interaction between an electric current and a magnetic field generates the Lorentz force, which directs charged particles and influences plasma behaviour.In MHD systems, the Kelvin force, a magnetostatic force resulting from varying magnetic field intensity in a conductive fluid, influences fluid flow motion and stability.Both forces, resulting from the interaction of magnetic fields, electric currents, and fluid dynamics, play significant roles in the management of MHD flows.The term containing Nr shows the change of buoyancy force due to the migration of heavy nanoparticles.Here is the equation of energy for nanofluid: The boundary conditions are also transformed to the following non-dimensional form: on the curved left wall (∂ 1 ): on the curved right wall (∂ 2 ): on the other walls (∂ 3 ): The enclosure is initially filled by a nanofluid with a non-dimensional concentration of φ = 1.Moreover, the following constraints were applied to keep the average concentration of nanoparticles constant: Over the domain of solution ( ): A pressure point constrained with a zero relative pressure was to the enclosure's bottom corner for the uniqueness of the pressure distribution and overall solution as: Over the bottom corner point ( ):

Characteristic parameters
A local Nusselt number is used to analyse heat transfer across heated walls as: In addition, Nusselt's average number was calculated by integrating over the heated wall: where S refers to the heated wall's nondimensional length.Furthermore, a nondimensional average velocity was calculated as follows: where |V| is the non-dimensional velocity magnitude computed as (U 2 + V 2 ) 0.5 .
According to the FEM, equations were converted into a weak form and then integrated over discretized elements.Quadratic shape functions were adopted as the weights.Each of the field variables U, V, P, θ, and C was introduced using a basis function ξ as: The basic form of field variables, Equation (21), is plugged into weak forms of the governing equations in order to obtain the discretized algebraic equations as follows The continuity equation: R 1 i : X-Momentum: Along a pressure point constraint as For the heat equation: where λ 1 and λ 2 represent the unknown heat fluxes to be determined at the isotherm boundaries (cold and hot walls) of domains ∂ .
For the concentration of nanoparticles: along with the following constrain.
the whole domain of the solution.
The momentum and heat equations were subject to second-order discretization.The residual equations were then addressed utilizing the Newton method, employing a fully coupled scheme to determine the unknown fields across the solution domain.To ensure solution accuracy within a relative error of 10E-4, an automatic step control was utilized.Subsequent sections discuss grid validation and method verification.More details about the numerical method can be found in [59][60][61].

Grid testing
Simulating heat transfer in an enclosure using several mesh sizes was investigated to determine the effect of mesh size on calculation accuracy.The computations were repeated for a case with Ra = 5 × 10 5 , ϕ = 0.05, Ha = 50 M nf = 3000, and Pr = 7.Five meshes with 7126; 15,616; 33,278; 51,702; and 88,396 elements were utilized.For a more accurate representation of the velocity, temperature, and mass transfer gradients, the mesh density is higher near the walls.The mesh is coarse and far from the walls to reduce computational costs.Table 1 reports the results of calculating the average Nusselt number for the selected mesh sizes.As seen,   a mesh with 33,278 elements provides a tiny error.Thus, this mesh size was adopted for the computations.
Figure 2 shows a view of the adopted mesh.

Model verification
A comparison between the present paper's findings and Sathiyamoorthy and Chamkha's results [14] was performed in Figure 3.In addition, the isotherms obtained in this study were compared with those obtained by Paroncini et al. [9] in Figure 4.Both cases show excellent agreement with the literature studies.

Results and discussion
The range of governing variables is M nf = 0-4 × 10 4 , while other parameters are considered to be constant so that Ra = 5 × 10 5 , ϕ = 5%, and Pr = 7.The nanofluids typically have a low volume fraction of nanoparticles [62,63].The volume concentration of nanofluids up to 5% for the two-phase Buongiorno model has been suggested by Buongiorno [51].Hartmann number is adopted in the range Ha = 0-100, which agrees with the 0-100 [64,65] and 30 [66] adopted in the literature.It should be noted that reaching large Ha numbers     is difficult and requires strong magnetic fields.Thus, a fair value of Ha number much smaller than 100 should be adopted.However, since the present study is a nondimensional investigation focusing on the trend of the physical results, a large value of Ha was adopted to better show the physical trends.Table 2 shows that if d 1 * and d 2 * are changed to a different sign, the local magnetic source formed by the conducting wire can be moved to a different situation, as shown.
The positioning of the conductive magnetic source can vary considerably, as detailed in Table 3.The location of this magnetic source can exert a substantial influence on the heat and mass transfer rate within a homogeneous nanofluid.Given the likelihood of nondimensional parameters being governed by multiple variables, the Nusselt number, along with the velocity of the nanofluid, will be provided for these variables.The research findings indicate that the maximum rates of heat and mass transfer are achieved in situation II, while the minimum rates are observed in situation IV.Conversely, the peak and trough average velocity values are recorded in situations IV and III, respectively.
It's critical to note that an increase in the velocity of the nanofluid within the enclosure doesn't necessarily result in a corresponding enhancement of heat and mass transfer mechanisms.This observation adds a layer of complexity to the understanding of fluid dynamics and heat transfer in such systems and invites further investigation.
As seen in Figure 5, the isotherms of the MF are affected by the Ha and the location of the magnetic source.At Ha = 0, the Kelvin force is the only force arising from the magnetic field, and it is linked to the variable nature of the applied magnetic field.Since the intensity of the applied magnetic source changes by the distance from the source, it induces a Kelvin body force.This force is a function of the magnetic field and its gradient.Clearly, the Kelvin force can notably impact the isotherms next to the walls where the magnetic field and its gradients are strong.On the other hand, changing the locality of the magnetic source can increase the flow strength when Ha = 0, while the non-zero values of the Hartmann number reduce the velocity.It is evident from the figure that the increase in the flow strength is the highest for RB.
Furthermore, when Ha = 0, the Lorenz force is also applied to the fluid domain.Lorentz's resistance force is more potent than Kelvin's.This force is always perpendicular to the nanofluid's velocity and the magnetic field's direction.Therefore, increasing the Ha decreases the nanofluid velocity.Additionally, an increase in Ha thickens the thermal boundary layers.In Figure 6, the streamlines delineate the trajectory of the nanofluid within the enclosure under different Hartmann numbers.The data in this figure underscores the significant effect of the magnetic source on the streamlines in its immediate vicinity.The magnetic source exerts a potent resistive force on the nearby nanofluid, leading to a localized decrease in the fluid's velocity.As a result, a distinct separation is observed in the streamlines near the magnetic source.As the distance from the magnetic source increases, the nanofluid's velocity picks up to offset the decreased flow velocity near the magnetic source, thus ensuring the continuity of the overall flow circulation within the enclosure.
Figure 7 displays the local concentration of nanoparticles inside the enclosure for various values of Hartmann number.The thermophoresis force tends to move nanoparticles away from the hot wall.The Brownian motion uniforms the nanoparticles by moving them from a high concentration area to a low concentration area.The Lorentz and Kelvin forces can indirectly impact the nanoparticle's distribution through velocity and temperature fields.As seen, the presence of a magnetic source induces non-symmetric effects for nanoparticle concentrations.The increase of Ha number boosts the impact of magnetic source location on the concentration patterns.This is because a large Ha more intensively impacts the flow and temperature fields and, consequently, the nanoparticle distributions.
Figure 8 illustrates how the isotherms depend on the location of the magnetic source and M nf .M nf controls the strength of Kelvin forces, and an increase in M nf parameter increases the strength of Kelvin forces.Attention to the cases M nf = 0 and M nf = 1 × 10 4 shows that the presence of magnetic source notably impacts the local temperature distribution.For example, Kelvin force has shifted the temperature line θ = 0.25 from left to the middle for LB case when M nf = 1 × 10 4 .As seen, the change of isotherm patterns is mostly limited to the bottom left area of the enclosure where the magnetic source is located.Further increase of M nf , impacts more temperature levels.For instance, the isotherms θ = 0.35 and θ = 0.45 have also been shifted towards the middle, and θ = 0.25 has been pushed to the right when M nf = 4 × 10 4 .Placing the magnetic source at the top induces minor shifts in isotherms.However, when M nf increases to 4 × 10 4 , the local change of isotherms is obvious.For the case of LB, the increase of Mnf compacts the isotherms next to cold and hot walls leading to the rise of temperature gradients and consequently a better heat transfer rate (higher Nusselt number).The Kelvin force is a temperature-dependent body force that can contribute to the buoyancy force and boost the natural convection circulations or acts against it and weakens the free convection circulations, depending on the location of the magnetic source.
The dependency of streamlines on M nf for different situations of magnetic source has shown in Figure 9.The results show that when M nf = 0, the streamlines are still under the influence of magnetic source locations due to the presence of Lorentz forces (Ha = 50).The streamlines create strong circulation patterns in an opposite location to the placement of the magnetic source.Indeed, the magnetic source locally suppresses the fluid flow next to its location due to the Lorentz force.However, the Kelvin force tends to boost the flow circulation by inducing a non-uniform local body force on the nanofluid.As seen, the distance between streamlines increases next to each magnetic source, indicating a reduction in the fluid velocity and circulation strength.Figure 10 illustrates the impact of M nf on the nanoparticle concentration distributions.Interestingly, the LB case leads to the most uniform distribution of nanoparticles in the enclosure.The maximum change in nanoparticle concentration can be observed to be 1.01, which occurs in the RB case and at the  highest value of M nf .The grey area shows the regions with a nanoparticle concentration below the average nanoparticle concentration φ = 1.
Table 4 explores the relationship between the average Nusselt number (Nuavg) and the Ha, considering various positions of the magnetic source.Even when Ha is zero, the magnetic source's location significantly influences Nu avg due to the effects of the Kelvin force.Indeed, when Ha = 0, the only force induced by the MF refers to the Kelvin force, which contributes to the reinforcement of the nanofluid movement.The highest recorded Nu avg , standing at 4.92, is observed in the LB case when Ha is at zero.This is corroborated by the isotherms, which indicate that situating the magnetic source at the left bottom generates a pronounced temperature gradient at the hot and cold walls, thereby amplifying the rate of heat transfer.For a Hartmann number of zero, the order of cases from highest to lowest Nu avg are as follows: RT, LT, and RB.The increase of Hartmann number boosts the resistive force against the  magnetic sources.LB, LT, RB, and RT represent the four corners of the enclosure where the magnetic source can be placed.Since the Kelvin force induces a temperaturedependent body force, it can boost or deteriorate the natural convection flows.Nu avg values range from 3.46 at the LT to 3.17 at RT when M nf = 0 (indicating no Kelvin force).This suggests that placing the magnetic source at the upper left corner leads to a better heat transfer when only Lorentz force is available (Ha = 50).As M nf increases from 0 to 4 × 10 4 , Nu avg increases from 3.31 to 3.53 on the left (LB) and from 3.40 to 3.84 on the right (RB).Thus, for RB case, the Kelvin force improved the average Nusselt number by 11.5% when M nf increases from zero to its maximum value.Similarly, it is estimated that Nu avg has increased by 6.2% for the LB case.Thus, the increase of M nf is favourable when the magnetic source is placed at the bottom.On the contrary, Nu avg decreases with increasing M nf at the apex (both left and right).As M nf increases from 0 to 4 × 10 4 , the Nu avg falls from 3.46 to 2.66 for LT and from 3.17 to 2.79 for RT.Thus, the increase of M nf reduced the average Nusselt number by 23.1% and 12% for LT and RT cases, respectively.Therefore, the placement location of the magnetic source is a crucial design parameter that can enhance or deteriorates the convection heat transfer rate.

Conclusion
The present study addresses Lorentz and Kelvin's forces and their effect on the convection heat transfer and flow of a non-homogeneous nanofluid.A point source MF could be placed at four locations around the enclosure.Modelling of a non-homogeneous nanofluid was applied to consider the influence of particle migration and buoyancy forces due to the mass transfer effects.The finite element method was applied to solve the coupled governing equations.The nanoparticle distribution, isotherms, and streamlines were plotted.Besides, the heat transfer rate was characterized by the average Nusselt number and reported in tables.The results showed that the Kelvin force could influence the streamlines even in the absence of the Lorentz effects.The principal conclusions drawn from the research are as follows: • The strategic location of the magnetic source plays a pivotal role in influencing the heat transfer rate (Nuavg).The research found that when the magnetic source is positioned at the bottom (both left and right), it enhances Nuavg as the magnetic field number (Mnf) escalates.Conversely, placing the magnetic source at the top leads to a decrease in Nuavg as Mnf grows.This observation underscores the importance of the magnetic source's location as a critical design parameter, as it can induce body forces that either assist or undermine the buoyancy forces.A decline in heat transfer rates was noted, attributable to the Lorentz force diminishing the flow circulations.• When the magnetic source is situated at the bottom right of the enclosure, a maximum Kelvin force results in a Nuavg of 3.84.In contrast, without the presence of the Kelvin force, the Nuavg dips to 3.40.This finding suggests that the Kelvin force can enhance the average Nusselt number by 11.5%.• An interesting outcome of the study is that the heat transfer rate can be reduced by 23.1% by positioning the magnetic source at the left top (LT).This finding provides crucial insights for design considerations in heat transfer systems.

Figure 2 .
Figure 2. The mesh pattern in the geometry.As far as velocity, temperature, and mass gradients are concerned, the mesh is fine next to the walls.

Figure 3 .
Figure 3.Comparison between the present numerical results and those of Sathiyamoorthy and Chamkha [14] for enclosure heat transfer with MHD effects.(a) The local average Nusselt number for two cases of the MF in x and y directions.(b) The isotherms when the magnetic field is applied along the y direction and Hartmann number, Ha = 50.

Figure 4 .
Figure 4. Comparison of the experimental measurements made by Paroncini et al. [9] with the present calculation when Ra = 2.28 × 10 5 (with permission from Elsevier).

Table 2 .
Magnetic source changes in the situation.
selt number, from highest to lowest, was changed as follows: RB, LB and RT (which are equal), and finally, LT.As Ha increases from zero to 100, Nu Avg decreases by approximately 60% for all cases.Table5illustrates the relationship between the average Nusselt number and M nf for various locations of