Abstract
Optimization of the cooling processes by fluids in many industries such as power generation, transportation, machining, and electronics is very important. Heat transfer equipment to achieve higher efficiency, need to downsizing of the equipment, and increase the heat transfer rate per unit of surface. The aim of this paper is to investigate the effect of MHD mixed convection flow of Cu-water nanofluid in a trapezoidal lid-driven cavity with different tilt angles in a range of 0° to 60°. The cavity consists of the non-uniformly heated bottom wall, insulated top wall, and isothermal sidewalls. The governing equations of the flow by using the finite volume method and the SIMPLE algorithm have been numerically solved. The studies for the wide range of Richardson number (Ri) from 0.01 to 10, volume fraction of nanoparticles from 0.1% to 4% and Hartman number (Ha) from 0 to 40 in the steady-state have been done. Result in the form of streamline, vorticity and temperature contours for three geometry, local Nusselt number graphs for non-uniformly heated bottom surface and velocity profile on the vertical centerline of the cavity in different geometry have been investigated. The results show that the average Nusselt number on the non-uniformly heated bottom wall is dependent on dimensionless parameters and tilt angles. Also, applying a magnetic field, reduce the velocity profile changes, and using nanoparticles will cause increasing the Nusselt number.
Introduction
Magneto-hydrodynamics (MHD) is the study of the magnetic properties of electrically conducting fluids. The set of equations that describe MHD are a combination of the Navier–Stokes equations and Maxwell equation. A nanofluid is a fluid containing nanoparticles. These fluids are colloidal suspensions of nanoparticles in a base fluid. Several investigations have been carried out on convection especially with nanofluids and MHD [1–10].
Nemati et al. [11] investigated the effects of magnetic field on natural convection flow of a nanofluid in a rectangular cavity. They indicated that the averaged Nusselt number increases for nanofluids when increasing the volume fraction of nanoparticles, while, in the presence of a high magnetic field, this effect decreases. Sajjad Hossain and Abdul Alim [12] simulated the MHD free convection within the trapezoidal cavity with non-uniformly heated bottom wall. They found that the average and local Nusselt number at the non-uniform heating of the bottom wall of the cavity is depending on the dimensionless parameters and also tilts angles. Mejri and Mahmoudi [13] investigated MHD natural convection in a nanofluid-filled open enclosure with a sinusoidal boundary condition. They found that the heat transfer rate decreases with the increase of Hartmann number and increases with the rise of the Rayleigh number. Mahmoudi et al. [14] analyzed MHD natural convection of a nanofluid in a cavity with non-uniform boundary condition in the presence of uniform heat generation/absorption. They concluded that the effect of nanoparticles is more important for heat generation condition than absorption generation condition. Chamkha et al. [15] reviewed the recent developments in the study of MHD convection heat transfer using nanofluids in various geometries and applications. Selimefendigil and Öztop [16] analyzed MHD mixed convection in a flexible walled and nanofluids filled the lid-driven cavity with volumetric heat generation. They concluded that the local and averaged heat transfer enhances as the value of volume fraction of nanoparticles of the nanoparticle increases. Miroshnichenko et al. [17] investigated MHD natural convection in a partially open trapezoidal cavity filled with a nanofluid. They found that an increase in Hartmann number leads to the heat transfer reduction, while an increase in the nanoparticles volume fraction reflects the heat transfer enhancement. Hussain et al. [18] studied MHD mixed convection and entropy generation of water–alumina nanofluid flow in a double lid-driven cavity with discrete heating. They investigated the impacts of emerging parameters such as Reynolds number (Re), Richardson number (Ri), Hartman number (Ha), volume fraction of nanoparticles as well as the angles of inclined magnetic field on the flow. Sheremet et al. [19] investigated MHD natural convection of nanofluid flow in an inclined wavy cavity with corner heater. They found that an increase in the Hartmann number leads to a reduction of convective flow rate and heat transfer rate. Bakar et al. [20] investigated the effect of magnetic field on mixed convection heat transfer in a lid-driven square cavity. They found that the Ri and Ha significantly affect the heat transfer mechanism. Also, Heat transfer rate increases with the increase of Ri. Zhang et al. [21] analyzed MHD natural convection in a 2D cavity and 3D cavity with thermal radiation effects. Kefayati and Tang [22] simulated natural convection and entropy generation of MHD non-Newtonian nanofluid in a cavity. They found that an increase in Rayleigh number enhances heat and mass transfer for various power-law indexes. Sivaraj and Sheremet [23] studied MHD natural convection in an inclined square porous cavity with a heat-conducting solid block. Their results indicate that the inclusion of the magnetic field reduces the convective heat transfer rate in the cavity. Ghasemi and Siavashi [24] investigated MHD nanofluid free convection and entropy generation in porous enclosures with different conductivity ratios. They found that, depending on Ra and Ha values, use of nanofluid with porous media to enhance heat transfer can be either beneficial. Sheikholeslami and Shamlooei [25] investigated the convective flow of nanofluid inside a lid-driven porous cavity. They concluded that convective heat transfer improves with the increase of Darcy and Reynolds numbers while it decreases with the enhance of Ha. Shekar Balla et al. [26] studied MHD boundary layer flow and heat transfer in an inclined porous square cavity filled with nanofluids. They compared the present with the available results. Karimipour et al. [27] studied the effects of different nanoparticles of Al2O3 and Ag on the MHD nanofluid flow and heat transfer in a microchannel, including slip velocity and temperature jump. They observed that more slip coefficient corresponds to less Nusselt number and more slip velocity especially at larger Hartmann number. Öztop et al. [28] investigated mixed convection of MHD flow in a nanofluid filled and partially heated wavy walled lid-driven enclosure. They found that the rate of heat transfer decreases with increasing the Hartmann number.
The aim of this paper is to investigate the effect of MHD mixed convection flow of Cu-water nanofluid in a trapezoidal cavity with different tilt angles in a range of 0° to 60°. The cavity consists of the non-uniformly heated bottom wall, insulated top wall, and isothermal sidewalls. The studies for the wide range of Richardson number (Ri) from 0.01 to 10, the volume fraction of nanoparticles (φ) from 0.1% to 4% and Hartman number (Ha) from 0 to 40 in the steady-state have been done.
Solution method
Geometry of the problem
The effect of electrical conductivity of the nanofluid (Copper oxide-Water) was investigated in a trapezoidal cavity in the presence of a magnetic field. Figure 1 shows a cavity with an isothermal bottom wall (T h ), isothermal lateral walls (T c = 293 K), insulated and movable upper wall with a constant velocity of U ∞ and a tilt angle of θ. A magnetic field (B o ) was applied to the cavity along the horizontal direction. Values of governing parameters are given in the below:
Hartmann number: 0 ≤ Ha ≤ 40 Richardson number: 0.01 ≤ Ri ≤ 10 The tilt angle: 0°, 30° and 60° Volume fraction: 0.1, 0.55, 1, 2 and 4%.
The flow was also turbulent based on obtained parameters.

Schematic diagram of the physical system.
Laminar flow Continuum medium Nanofluid properties are assumed to be only a function of volume fraction of nanoparticles. Incompressible nanofluid Newtonian nanofluid Two-dimensional Cartesian system (x, y). Viscous dissipation is ignored. A no-slip boundary condition is applied to all cavity walls.
Governing equations
By taking into account the above assumptions, continuity equation, momentum equations and energy equation are given in the below [29],
Nanofluid properties are calculated using the following equations [31],
Thermophysical properties of pure water and Copper nanoparticles [34]
After determining the volume fraction, nanofluid properties are determined. Since volume fraction varies from 0.1% to 4%, five different volume fractions are considered in this problem. These values are shown in Table 2.
Properties of nanoluid
The following dimensionless parameters are used to rewrite the above equations in dimensionless form,
- Continuity equation
On the bottom wall: 0 ≤ X ≤ 1,
On the side walls: 0 ≤ Y ≤ 1, 𝛩 = 0, V = 0, U = 0
On the upper wall: − tan θ ≤ X ≤ (1 + tan θ),
Given the boundary condition on the bottom wall, local Nusselt numbers will be negative if X is not defined in the 0 < X <1 interval.
Other equations [35]
The local Nusselt number can be expressed as follows,
In this study, the mixed convection inside a trapezoidal cavity filled with CuO-water nanofluid was investigated. The upper wall of the cavity is insulated. The temperature at lateral walls is T c , and the temperature in the bottom wall is T h . A magnetic field (in the opposite direction of the flow) is applied to the cavity (Fig. 1)). The Streamlines, the temperature contour, and the Nusselt number are calculated. The problem was simulated using the given assumptions. To solve this problem, a pressure-based solver is used in a two-dimensional mode. The gravity acceleration is considered as g = 9.81 ms−2.
Verification
Figure 2 shows the comparison of Nusselt number obtained from numerical solution and Nusselt number obtained from Ref. [36]. Table 3 shows the comparison between results.
Comparison of the average Nusselt number in the present study and the Ref. [36] for 45° geometry
Comparison of the average Nusselt number in the present study and the Ref. [36] for 45° geometry

Comparison of the local Nusselt number obtained from the numerical method and the Ref. [36] for 45° geometry at Ra = 105.
Streamlines and vorticity contours
Figure 3 shows the streamline contours for different Hartmann numbers, Richardson numbers, and volume fractions of nanoparticles. When the cavity is under the influence of a horizontal magnetic field, the Lorentz force is applied to the nanofluid from the bottom wall while free convection heat transfer moves the fluid upwards. Therefore, the Lorentz force opposes with free convection. Free convection can be ignored, and forced convection can be considered in the case that Ri < 1. This is because the inertial force dominates the Buoyance force. Free convection cannot be ignored as the Richardson number increases since velocity decreases at the bottom wall [37–45]. Mixed convection occurs at Ri = 1. Therefore, no significant difference can be detected in streamlines as Hartmann number increases. Free convection moves the fluid upwards at Ri = 10 that leads to the formation of vortices in the streamline contours. Figure 4 shows vorticity contours for different Hartmann numbers, Richardson numbers and volume fraction of nanoparticles. The figure shows the largest vortex at the upper wall in all Richardson numbers. This is due to the movable upper wall. The vortex is also larger at Ri = 0.01 because the wall velocity is higher at this number compared to other Richardson numbers.

Streamline contours.

Vorticity contours.
Figure 5 shows the temperature contours for different Hartmann numbers, Richardson numbers, and volume fractions of nanoparticles. The figure shows that the temperature contours show a higher temperature near heated walls. The temperature decreases as the distance from the heated wall increase. The Buoyancy force increases, and the density of isothermal lines increases near the cooled walls with increasing the Richardson number in a constant Hartman number. Therefore, convection heat transfer enhances and consequently, Nusselt number increases by increasing the Richardson number in a constant Hartmann number. Temperature decreases at Ri = 0.01 because velocity increases compared to the two other Richardson numbers given that velocity and temperature are inversely related to each other. The temperature contour is more uniform at Ri = 0.01 and Ri = 1 because the forced convection dominates the free convection. However, the temperature contour is non-uniform at Ri = 10 with increasing the Hartmann number because the electromagnetic force increases, and consequently, the Buoyance force decreases. Therefore, convection heat transfer decreases.

Temperature contours.
Figure 6 shows the variations in the local Nusselt number at different Richardson numbers, Ha = 40 and φ = 1%. This figure shows a sinusoidal increase in the local Nusselt number at Ri = 0.01 since the velocity increases at the upper wall and consequently forced convection enhances. Therefore, the Nusselt number increases. As Richardson increases, the Nusselt number decreases until the Nuselt number minimizes at Ri = 10. Therefore, forced convection has a greater effect on heat transfer compared to free convection. Figure 7 shows variations in the local Nusselt number at different volume fractions, Ha = 40 and Ri = 1. This figure shows that the Nusselt number in the heated wall does not significantly change at the entrance and the end of the cavity as nanoparticle volume fraction increases. However, a significant change can be detected in the Nusselt number in the center of the cavity. Therefore, the Nusselt number increases in the heated wall by increasing the volume fraction. This is because of the thermal conductivity increases by adding nanoparticles to the base fluid. Figure 8 shows variations in the local Nusselt number at different Hartmann numbers, the Richardson number Ri = 0.01 and φ = 0. 1%. The figure shows that the Nusselt number decreases as the Hartman number increases. The Nusselt number is higher at Ha = 0 and Ha = 40 due to high velocity at the upper wall.

Variations of the local Nusselt number at the bottom wall in different Richardson numbers (Ha = 40 and φ = 1%).

Variations of the local Nusselt number at the bottom wall in different volume fractions (Ha = 40 and Ri = 1).

Variations in the local Nusselt number at the bottom wall in different Hartman numbers (Ri = 0.01 and φ = 0. 1%).
Figure 9 shows the velocity profile in the central vertical line of the cavity in different Richardson numbers, Ha = 40 and φ = 1%. This figure shows that the velocity profile decreases as the Richards number increases. This is because velocity decreases at the upper wall as the Richardson number increases. The velocity profile is more uniform at Richardson number Ri = 10. The range of variations in the velocity profile widens by decreasing the Richardson number and vortices appear in the cavity. Figure 10 shows the velocity profile in the central vertical line of the cavity in different Hartmann numbers, Ri = 10 and φ = 1%. The figure shows that the range of variations in the velocity profile narrows as the Hartman number increases.

The velocity profile in the central vertical line of the cavity in different Richardson numbers (Ha = 40 and = φ = 1%).

The velocity profile in the central vertical line of the cavity in different Hartmann numbers (Ri = 10 and φ = 1%).
Streamline and vorticity contours
Figure 11 shows the streamline contours for different Hartmann numbers, Richardson numbers and volume fractions of nanoparticles. This figure shows that formation of a small vortex on the left side of the cavity at Ri = 0.01. This indicates enhancement in forced convection. Larger vortices are formed in the cavity as Richardson increases. This is because the velocity decreases at bottom wall of the cavity, forced convection is ignored, and free convection is considered. Free convection heat transfer moves the fluid upwards at Ri = 10. The Lorentz force opposes the free convection at Ha = 40, which decreases the velocity of displacement of flow lines in the cavity. Figure 12 shows the vorticity contours at different Hartmann numbers, Richardson numbers and volume fractions of nanoparticles. Similar to square geometry, vortex lines are gathered on the upper wall. This is because the upper wall is movable. On the contrary, small vortices are formed at Ri = 10 because the velocity decreases at the upper wall and the upper wall in this geometry is larger than the square geometry.

Streamline contours.

Vorticity contours.
Figure 13 shows the temperature contours for different Hartmann numbers, Richardson numbers, and volume fractions of nanoparticles. Similar to square geometry, the temperature contour shows a higher temperature at the heated wall. The temperature decreases as the distance from this wall increases. The electromagnetic force increases by increasing the Hartmann number at Ri = 0.01, which consequently decreases the Buoyance force. Therefore, convection heat transfer is expected to decrease. Mixed convection occurs at Ri = 1. In this case-scenario, the density of isothermal lines (i.e., temperature gradient) in the heated source decreases by increasing the Hartmann number. Free convection occurs in the temperature contour at Ri = 10 as the Richardson number increases and the density of isothermal lines decreases in the heated wall as the Hartmann number increases.

Temperature contours.
Figure 14 shows the variations in the local Nusselt number in different Richardson numbers, Ha = 40 and φ = 1%. This figure shows that the Nusselt numerical value does not exceed 70, and the Nusselt number has decreased slightly in this geometry compared to square geometry at Ri = 0.01. This is because the upper wall is enlarged in 30-degree geometry and the upper wall is larger than the square geometry. In this case, the Nusselt number decreases by increasing the number of Richardson. This is due to the reduction in inertial forces, which decreases the Nusselt number.

Variations in the local Nusselt number at the bottom wall in different Richardson numbers (Ha = 40 and φ = 1%).
Figure 15 shows the variation in the local Nusselt number in different volume fraction of nanoparticles, Ha = 40, and Ri = 1. This figure shows that the Nusselt number increases in the heated wall by increasing the volume fraction of nanoparticles. The results indicated that adding nanoparticles to the base fluid in the presence of a magnetic field decreases the convection heat transfer.

Variations in the local Nusselt number at the bottom wall in different volume fractions (Ha = 40 and Ri = 1).
Figure 16 shows the variations in the local Nusselt number in different Hartmann numbers, Ri = 0.01 and φ = 0. 1%. This figure shows that the Nusselt number increases by increasing the Hartman number. This is because the Lorentz force applied to the flow field has decreased; the Hartmann number has increased in this Richardson number. These issues enhance heat transfer. According to momentum equations, Buoyancy force opposes the Lorentz force. Therefore, forced convection heat transfer occurs at Ri = 0.01, which increased the intensity of the magnetic field and consequently increased the local Nusselt number. On the other hand, forced convection heat transfer dominates at lower Richardson numbers. As a result, the intensity of the magnetic field increases, which strengthens the flow near the walls. Therefore, the heat transfer enhances and consequently the local Nesselt number increases. In other words, the Buoyance force decreases at lower and average Richardson numbers. Therefore, the Lorentz forces increase that strengthens the flow near the heated walls and enhances the heat transfer. Therefore, higher Hartmann number does not have a great effect on the heat transfer. In other words, the strengthened magnetic field has a great effect on the heat transfer at a certain threshold. If the intensity of the magnetic field exceeds this threshold, heat transfer is not enhanced much. Also, it is not cost-effective to increase the intensity of the magnetic field more than this threshold.

Variations in the local Nusselt number at the bottom wall in different Hartman numbers (Ri = 0.01 and φ = 0. 1%).
Figure 17 shows the velocity profile in the central vertical line of the cavity in different Richardson numbers, Ha = 0 and φ = 1%. This figure shows that the velocity profile decreases as the Richardson number increases. The velocity profile is also not symmetrical at Ri = 0.01 compared to square geometry. This is due to the trapezoidal shape of the cavity and asymmetrical upper and bottom walls. The velocity profile is more uniform as the Richardson number increases. This is due to the formation of vortices in the cavity. Figure 18 shows the velocity profile in the central vertical line of the cavity in different Hartmann numbers, Ri = 10 and φ = 1%. Figure 18 shows high fluctuations in the velocity profile due to the trapezoidal shape of the cavity. The velocity profile decreases in the center of the cavity at Ha = 0 due to larger and asymmetrical 30-degree geometry compared to square geometry.

The velocity profile in the central vertical line of the cavity in different Richardson numbers (Ha = 40 and = φ = 1%).

The velocity profile in the central vertical line of the cavity in different Hartmann numbers (Ri = 10 and φ = 1%).
Streamline and vorticity contours
Figure 19 shows the Streamline contours for different Hartmann numbers, Richardson numbers, and volume fraction of nanoparticles. This figure shows no significant difference in the contour of flow lines as Hartmann number increases at Ri = 0.01, but the Streamlines accumulate at the upper wall. Several vortices are formed on the left side of the cavity at Ri = 1, but the vortices disappear, and a large vortex is formed in the cavity as the Richardson number increases and the Buoyance force increases. The Streamlines are compressed together at Ri = 10 in the absence of a magnetic field. The Streamline aligns as parallel lines with cavity walls as the magnetic field is intensified. Figure 20 shows the vorticity contours for different Hartmann numbers, Richardson numbers, and volume fraction of nanoparticles. The figure shows more visible vortices in the cavity compared to 30-degree geometry due to the larger upper wall in the 60-degree geometry. The vortices in the cavity become asymmetrical by increasing the Richardson number and decreasing the velocity at the upper wall. The vortices accumulated on the upper wall will disperse throughout the cavity at Ri = 10.

Streamline contours.

Vorticity contours.
Figure 21 shows the temperature contours for different Hartmann numbers, Richardson numbers, and volume fraction of nanoparticles. This figure shows that the convection heat transfer decreases by increasing the Hartmann number at all Richardson numbers and various volume fractions. The temperature contours accumulate near the heated wall as the Richardson number increases and the heat transfer enhances. A vortex is formed on the right side of the cavity at Ha = 0 by increasing the Richardson number. This is due to enhancement in increase free convection heat transfer in contrast to forced convection.

Temperature contours.
Figure 22 shows variations in local Nessult number in different Richardson numbers, Ha = 40, and φ = 1%. Similar to previous case-scenarios, the local Nusselt number decreases as the Richardson number increases. The number of Nusselt number does not exceed 40 at Ri = 0.01. This Nusselt number is lower than other geometries. This is because the fluid should pass through a lager bottom wall to increase the Nusselt number. The geometry of the two previous geometries is less. Therefore, the Nusselt number is lower on the bottom wall compared to previous geometries. The two graphs align at Ri = 1 and Ri = 10 to L = 0.4 m but the two graphs largely separate from each other at Ri = 1. This is due to a reduction in the inertial force and decreased Nusselt number.

Variations in the local Nusselt number at the bottom wall in different Richardson numbers (Ha = 40 and φ = 1%).
Figure 23 shows the variations in the local Nusselt number in different volume fractions, Ha = 40 and Ri = 1. This figure shows that the Nusselt number increases by increasing the volume fraction. This is due to increased thermal conductivity by adding nanoparticles to the base fluid. In this case, the upper wall is larger than the previous two geometries, and the fluid should pass through a larger space to increase the local Nusselt number at the on the bottom wall at different volume fractions. Figure 24 shows variation in the local Nusselt number in different Hartmann numbers, Ri = 0.01 and φ = 0.1%. This figure shows that the Nusselt number increases as the Hartmann number increases. As previously mentioned, heat transfer enhances by decreasing the Lorentz force applied to the flow field and increasing the Hartmann number in this Richardson number.

Variations in the local Nusselt number at the bottom wall in different volume fractions (Ha = 40 and Ri = 1).

Variations in the local Nusselt number at the bottom wall in different Hartman numbers (Ri = 0.01 and φ = 0. 1%).
Figure 25 shows the velocity profile in the central vertical line of the cavity in different Richardson number, Ha = 0, and φ = 1%. This figure shows that the velocity profile has decreased by 0.05 at Ri = 0.01 compared to 30-degree geometry. This is due to larger 60-degree geometry compared to 30-degree geometry. Figure 26 shows the velocity profile in the central vertical line of the cavity at different Hartmann numbers, Ri = 10, and φ = 1%. The graph is similar to the previous section, but the velocity of the fluid is higher at Ha = 40 and L = 0.4 m compared to Ha = 0. This is due to the strengthened magnetic field and Lorentz force. The velocity profile has also increased in this geometry compared to other geometries. This can be due to a lower velocity at the upper wall, which is larger compared to the previous two geometries.

The velocity profile in the central vertical line of the cavity in different Richardson numbers (Ha = 40 and = φ = 1%).

The velocity profile in the central vertical line of the cavity in different Hartmann numbers (Ri = 10 and φ = 1%).
In this study, we investigated the effect of MHD mixed convection flow of Cu-water nanofluid in a trapezoidal cavity with different tilt angles in a range of 0° to 60°. The studies for the wide range of Richardson number, the volume fraction of nanoparticles and Hartman number have been done. The following results can be deduced from this study:
The average Nusselt number on the bottom wall is dependent on dimensionless parameters and tilt angles. Also, applying a magnetic field, reduce the velocity profile changes. Using nanoparticles will cause increasing the Nusselt number.
Compliance with ethical standards
Disclosure of potential conflicts of interest: Not applicable Research involving Human Participants and/or Animals: : Not applicable Informed consent: : Not applicable
Footnotes
Acknowledgements
This article is part of a research project sponsored by the Young Researchers and Elite Club.
