1. Introduction
Particles with micrometer size were traditionally added to fluids to increase their thermal conductivity coefficient. However, these particles did not have the required stability in the suspension and was quickly deposited, leading to the blockage of the fluid passageway. In comparison, nano-sized particles form a much more stable suspension and the problem of channel chocking and blocking is minimized due to lower sedimentation rates. Generally, nanoparticles are produced for the size range of 1 nm to 100 nm, depending on the type of operation. Nanoparticles can play a significant role in improving the environment and reducing environmental pollutants. Nanofluids were first prepared by Choi in 1995 [
1]. Since then, they have been considered by many researchers in engineering and heat transfer applications owing to their improving heat transfer properties [
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17]. For the stable distribution of nanoparticles in the closed chambers, energy transport can be essentially improved compared to the absence of nanoparticles (i.e., base fluid only). It should be noted that nanofluids are used in different engineering applications such electronics cooling, solar collectors, heat exchangers, building insulation systems, and so on [
18,
19,
20]. Khanafer et al. [
21] are the first who numerically simulated the thermal transmission of the nanoliquid within the square-shaped chamber. They used the Wasp’s and Brinkman correlations for thermal conductivity and viscosity, respectively. Their results indicated that the energy transport rises with a growth of the nanoparticles concentration. Ganvir et al. [
22] presented a review article of previous studies about heat transfer properties of different nanofluids and concluded that, in all cases, the thermal conductivity of nanoliquids was more than the host liquid. Kalidasan and Rajesh [
23] examined the use of nanofluids of multi-wall carbon nanotubes (MWCNTs) and water in increasing the natural convection within a closed chamber. They observed that thermal transmission can be intensified due to a growth of the Rayleigh number and concentration of nanotubes. Hasanuzzaman et al. [
24] examined the influence of the magnetic field on thermogravitational convection inside a trapezoidal chamber. They sloped the walls of the chamber and fixed the temperature of the lower wall. Additionally, the upper wall was adiabatic and the temperature of the lower wall was considered to be greater than that of the steep wall. By examining the effects of various characteristics such as Rayleigh and Hartmann numbers, and angle of dip of the chamber wall on the energy transport, it was revealed that the thermal transmission decreases for various Rayleigh numbers by raising the nanoparticles concentration and magnetic field intensity. Sheremet et al. [
25] investigated thermogravitational convection within a partially heated irregular chamber filled with porous medium saturated by the nanofluid in the presence of the Brownian diffusion and thermophoresis effects. Authors found that waviness has an essential influence on the liquid circulation and energy transport patterns.
Kasaeipoor et al. [
26] investigated the energy transport of nanoliquid in a T-shaped chamber under a magnetic field influence and ascertained that the thermal transmission enhances with a growth of Richardson number and the nanoparticles concentration. Rudraiah et al. [
27] examined computationally the impact of applying a constant magnetic field on the circulation of transition free convection in a square chamber with side borders of constant temperature and thermally isolated horizontal borders. They demonstrated that with increasing of magnetic field strength the convection current is lost and the heat transfer intensity is declined. Makulati et al. [
28] examined the natural convection of nanofluid of water-alumina in a chamber under the influence of a magnetic field. They simulated the processes within the chamber by the conservation laws and examined the effects of Hartmann and Rayleigh numbers, nanoparticle volume fraction, chamber inclination angle, and chamber geometrical parameter. Based on their data, the thermal transmission intensity is raised with a growth of the nanoparticles concentration and the chamber inclination angle. Sidik et al. [
29] analyzed the latest research on the use of hybrid nanoliquids in thermal transfer applications. They found that the thermal transfer characteristics of hybrid nanoliquids are better than the base fluids and nanofluids containing one type of nanoparticles. Sundar et al. [
30] examined the improvement of convective energy transport and friction factor for the hybrid nanoliquids of multi-wall carbon nanotubes and iron oxide (III, II) in a water base fluid under the turbulent flow conditions. This research was conducted in the case of a fully developed circulation through a pipe whose surface was considered to be at a constant heat flux. The obtained data revealed that the Nusselt number for the hybrid nanoliquids was 31.1% higher than the host liquid for the Rayleigh number of 22,000. Suresh et al. [
31] experimentally investigated the influence of hybrid nanofluids of copper-aluminum oxide in the water on the thermal transmission. The experiment was carried out in a tube with a circular cross-section whos surface temperature was assumed to be constant. The flow was considered at developed regime. Additionally, the pressure drop along the pipe was investigated. Overall, it was found that, for Rayleigh number of 1730, the Nusselt number increases by 13.56% relative to the base fluid. In addition, the friction factor in hybrid nanofluids of copper-aluminum oxide/water with a volume fraction of 0.1% was clearly higher than that of the aluminum oxide/H
2O nanofluids with the same concentration of nanoparticles.
Rahimpour and Moraveji [
32] examined the heat transfer of MHD free convection in a C-shaped chamber filled with Fe
3O
4/water nanofluids. They examined the impact of Hartmann and Rayleigh numbers, chamber tilted angle, nanoparticles concentration, and chamber geometrical parameter on thermal performance and fluid flow structures. In addition, they used an ANN model to model the Nusselt number and showed that the effect of Rayleigh number and chamber geometrical parameter on the thermal transmission intensity is higher than that of other variables. Islamoglu and Kurt [
33] developed an ANN for analyzing heat transfer in ripple channels using experimental data. For this purpose, they used an error back propagation algorithm, which is one of the most common training algorithms in ANNs. Network inputs were the channel wave angles, the distance between the two peaks, the hydraulic diameter, and the Reynolds number and its output was the heat transfer rate. C++ programming code was also used to run the network. Finally, the accuracy of the obtained results was estimated at 4% relative to the experimental results using the mean absolute relative error. Esfe et al. [
34] performed the modelling of thermal conductivity of magnesium oxide-ethylene glycol nanofluid using results from experiments and ANN. The influence of nanoparticles concentration, nanoparticles size, and temperature on the thermal conductivity of the nanofluid was measured and studied using the ANN based on the measured results. The results demonstrated that the impact of particles size and concentration of nanoparticles is higher than the influence of temperature factor on thermal conductivity of nanoparticles. Ahmadi et al. [
35] modeled thermal conductivity and dynamic viscosity of Fe
2O
3/water nanoliquid using different artificial neural network techniques. Authors showed that the highest
R-squared values belonged to GA-RBF (Genetic Algorithm–Radial Basis Function) method.
While different machine learning methods have been studied so far for predicting the Nusselt number, it is still unclear which method has the best performance, because the performance of each method varies depending on various factors such as the number and range of changes in the dataset and other parameters. In this research, a novel ANN-PSO network was created to model the energy transport rate. In this method, the weight and bias parameters of the ANN are optimized using the PSO algorithm and are determined in such a way that the mean squared error obtained from the observed values is less than the values predicted using the ANN. We introduce the ANN and the PSO algorithm in the following.
4. Governing Equations
To better understand the problem, first, the governing equations of pure fluid in the closed chamber are examined. To simplify physical and mathematical equations, the following assumptions are considered:
- -
host liquid (pure water) and nano-sized particles Fe3O4-MWCNT are in thermal equilibrium;
- -
nanoliquid is an incompressible and Newtonian liquid;
- -
the liquid circulation is considered to be stable and 2D;
- -
thermal transmission is done by thermogravitational convection and the radiation influence is assumed negligible.
- -
According to these assumptions mentioned in the physical modelling, three equations of fluid conservation, namely, conservation of mass, momentum conservation in the horizontal and vertical directions, and energy conservation are shown as follows [
10,
14,
40]:
where
x,
y,
u, and
v represent the horizontal and the vertical component of the location, and the velocity along the horizontal and vertical directions, respectively. Also, the temperature, pressure, density, dynamic viscosity, thermal expansion coefficient, effective electrical conductivity, magnetic field strength, gravitational acceleration, and thermal diffusivity are denoted with
T,
p,
ρhnf,
µhnf,
βhnf,
σhnf,
B0,
g,
αhnf, respectively.
It should be noted that the third and fourth terms in the right part of Equations (6) and (7) describe the influence of the inclined magnetic field (the third term is an inclined magnetic field effect, where the magnetic field inclination angle is α) and inclined gravity force (the forth term characterizes an effect of the cavity inclination, where the cavity inclination angle is α).
Given the modelling problem, boundary conditions for Equations (5)–(8) are written as follows:
T = Th, u = v = 0 on the walls of BC and AB;
, u = v = 0 on the walls of DE and AJ;
T = Tc, u = v = 0 on the walls of GJ, FG, and EF;
, u = v = 0 on the walls of CD.
The following equations are used to remove the dimension of considered control equations:
The dimensionless numbers of
Ra, Rayleigh,
Ha, Hartmann, and
Pr, Prandtl numbers, are defined as:
To solve the above equations, we need the thermophysical properties of the nanoliquids. Density, specific heat, volumetric expansion coefficient, and electrical conductivity were calculated through the relations presented in
Table 2 [
18,
19,
20,
38,
39].
Taking into account that the value of electrical conductivity of carbon nanotube particles is order of (O(10−7)) and it is not comparable with that of Fe3O4 nanoparticles where one can find the following order (O(104)). Therefore, σnp is assumed to equal the electrical conductivity of ferric oxide nanoparticles.
Effective viscosity and thermal conductivity of single nanofluid (Fe
3O
4/water) are as follows [
41]:
Additionally, the effective viscosity and thermal conductivity of hybrid nanofluid (MWCNT-Fe
3O
4/water) have been measured using experimental data shown in
Table 3 [
42].
After removing the dimension of Equations (5)–(8), the final form of these equations are obtained as follows:
The most important characteristic in energy transport is the Nusselt number. The local Nusselt number is calculated at the hot walls of the chamber, i.e., the orders AB, BC, and CD, as follows:
After obtaining the local Nusselt numbers, the average Nusselt number is calculated as follows:
6. Network Independence Analysis
The effect of meshing on the value of Nusselt numbers in different network sizes was investigated to provide that the research data are not dependent on the size of the solution network and to select the network that can ensure the validity of the results. Clearly, in a network with tighter meshing, the issue can be analyzed more accurately, but it needs more processing power to solve the problem.
Therefore, the solution grid should be chosen in such a way as to establish the equilibrium between these two important things, the accuracy of the results and the calculation burden. In order to find an appropriate network in the solving process, the Nusselt number was examined in six different standard network types. The results of examining the sizes of these networks are shown in
Table 5. One can find, the Nusselt number decreases with a decrease in the size of mesh networks and it eventually remains constant. In general, the Nusselt number remains almost unchanged for the three types of Fine, Finer, and Extra Fine mesh networks. Hence, the finer mesh grid was selected. This network has 1038 domain elements and 98 border elements with high quality (see
Figure 3).
8. ANN Error Analysis
The accuracy of the model in the forecasting process was calculated using the correlation coefficient according to the below Equation (19), respectively. In these equations,
Yactual is the observed value of the function,
Ypredicted is the estimated value, and
is the mean of the actual values. The mean squared error must be close to 0 for an optimal value and the
R2 coefficient must be maximum and close to 1.
The results of comparing the output obtained from the ANN and the ANN-PSO show that the optimization algorithm partially improved the results of ANN. The SME values of the ANN and ANN-PSO models are 0.35 and 0.22, respectively.
Figure 5 presents the linear regression between actual outputs and ANN outputs optimized for training data sets. This figure displays the prediction of network based on input data and compares it with the real data. The dispersion of the values predicted for the Nusselt number shows a close relationship between the CFD results and the results obtained in the ANN-PSO. Regarding the correlation coefficient
R2 = 0.999, the error value is minimal. In this method, the Nusselt number was predicted accurately using an optimized ANN, indicating its high ability to provide reliable predictions.
9. Results and Discussion
In this section, the results of the obtained governing equations are presented in the form of charts and tables. Initially, the heat transfer within a chamber was modeled using COMSOL software and the Nusselt number was obtained using output data.
The magnetic field has an essential influence on the motion field and temperature due to the Lorentz force. The impact of the magnetic field on the energy transport intensity has been investigated in the form of Hartmann number change in the range of 0 ≤ Ha ≤ 80. For this purpose, other parameters are considered constant (i.e., φ = 0.05, AR = 0.5, and α = 0). At the same time, the effect of gravity force in the case of vertical cavity is significant taking into account the presence of heat sources and heat sinks with constant high and low temperatures. This influence is described by the Rayleigh number variation.
As presented in
Figure 6, the ANN-PSO data are in good agreement with the values obtained using the CFD. For Rayleigh number values between 10
2 and 10
4, the variation of
Nu with growing of
Ha is negligible and almost is constant. It can also be seen that for higher Rayleigh number values,
Nu reduces linearly with a rising of
Ha and a large drop in
Nu occurs, especially for
Ha that is equal to 80, which is due to Lorentz force overlying the flotation by increasing the magnetic field.
Figure 7 shows the dependency of
Nu on the chamber inclination angle. For this purpose, other parameters are considered constant (i.e.,
φ = 0.05,
Ha = 0, and
Ra = 10
6). According to the curves of
Figure 7,
Nu enhances with a raise of the chamber tilted angle. However, for smaller aspect ratios (
AR), the increment of
Nu is greater with rising of the inclination angle of the chamber. Here, the highest Nusselt number value was also recorded at a chamber inclination angle of 90°.
Figure 8 presents the effect of changes of nanoparticles concetration, flow behavior for various Rayleigh numbers, and
φ changes in the range of 0 ≤
φ ≤ 0.1. Comparison of the curves of this figure demonstrates that with the increasing of the nano-sized particles concentration, the Nusselt number increases for low and high Rayleigh numbers and the increase level in the lower Rayleigh numbers is higher, especially for Rayleigh number of 10
4. According to the obtained results, it can be concluded that the increase in nanoparticles concentration raises the conductivity of the hybrid nanoliquid and thus enhances the energy transport.
In order to provide the quality of the results obtained by the hybrid nanoliquid, and also to demonstrate the great effect of using hybrid nanoliquid compared to the mono nanofluid, two types of nanofluids Fe
3O
4/H
2O and Al
2O
3/H
2O relative to hybrid nanofluid MWCNT-Fe
3O
4/H
2O were studied at constant operating conditions and the same geometry. In all three studies, the parameters are considered constant (i.e.,
φ = 0.05,
Ha = 0,
AR = 0.5, and
α = 0). According to
Figure 9, the highest Nusselt number is obtained for hybrid nanofluid at both low and high Rayleigh numbers. Especially, Nusselt number was recorded 6.2 for Rayleigh number of 10
6, indicating the superiority of the hybrid nanofluid to nanofluid.