Introduction

Literature review

Entropy generation, as a measure of irreversibility and disorder in thermodynamic systems, is a key factor in energy transfer efficiency. It has been extensively investigated in various applications, including electronics, solar systems, and heat exchangers. Bejan1,2,3 introduced the idea of entropy optimization in the context of mass and heat transfer phenomena. Razaq et al.4 examined entropy optimization in Reiner-Rivlin nanomaterial fluid flow caused by a stretchable cylinder underlying MHD and chemical reactions. Sahoo and Nandkeolyar5 studied MHD flow of Casson nanofluid with entropy, chemical reactions, activation energy, and Hall current over a stretchable surface in porous media. Khan et al.6 scrutinized a thermally conductive nanofluid flow across a curved stretchable sheet with the Darcy-Forchheimer relation.

The dusty fluid flow occurs when solid particles are distributed in the fluid. The dusty fluid flow is utilized in paint spraying, gas-freezing systems, nuclear reactor cooling, and dust collection. Saffman7 presented the basic concept of dusty fluids and derived constitutive equations based on Stokes’ law of drag forces. His research demonstrated that the thermal transmission rate is enhanced by suspending dusty particles. Ezzat et al.8 investigated free-convective thermal transfer in a dusty fluid flow caused by a vertically positioned plate in a permeable medium under an applied magnetic field. Abbas et al.9 provided analytical and numerical solutions for a magnetized dusty fluid flow across a stretched permeable sheet, considering slip conditions. Dey and Chutia10 studied the bioconvective dusty nanofluid flow over a vertically stretched flat surface. Sharif et al.11 employed a numerical method, bvp4c, to probe a dusty trihybrid Ellis nanofluid flow across an expanding Riga plate.

Alfvén12, a Nobel laureate, investigated the magnetic properties of electrically conducting fluids in the presence of a steady magnetic field. He demonstrated how fluid movement induces an electromotive force, generating an electric current. Given their potential uses in cosmology, astronomy, medicine, engineering, and industry, MHD fluids have garnered special scientific attention. Hayat et al.13 investigated the MHD flow and heat transfer characteristics of permeable stretched sheets, taking into account slip effects. Kumar et al.14 investigated numerically the MHD dusty fluid flow across an stretched sheet using fluid-particle suspension. MHD dusty Casson fluid flow over a stretching sheet has been demonstrated by Gireesha et al.15 by applying Fourier law along with Cattaneo-Christov heat flux law. Ali et al.16 investigated incompressible MHD dusty Casson nanofluid flow between two plates using the perturbation method.

Choi and Eastman17 introduced the concept of dispersing nanoparticles in a base fluid. Nanofluids have better thermal performance than traditional fluids18. Common base fluids include water, oil, and biofluids, while nanoparticles can be metals, oxides, or carbides. Nanofluids are used in a wide range of industries, including biomedical fields like drug delivery, cancer hyperthermia, monitoring heart function, and blood temperature control19; industrial processes like lubrication, chemical processing, and MHD pumping; energy systems including solar collectors, nuclear reactors, and geothermal reservoirs for improved heat extraction; electronics cooling for microprocessors, sensors, and power devices; and automobile engines for enhanced efficiency20. Studies on nanofluid convection using the lattice Boltzmann method include Alinejad and Esfahani21 in D3Q19 enclosures, Araban et al.22 for CuO-water nanofluids, and Sahebi et al.23 on nanofluid flow over cylinders.

Many theoretical calculations and experiments have been conducted to determine the mechanisms that enhance the thermal conductivity of nanofluids. This enhancement is attributed to the characteristics of the base fluid and the nanoparticles. Key characteristics of nanofluids include nanoparticle radius, friction factor, and nanoparticle concentration. Timofeeva et al.24 highlighted nanoparticle radius as one of the most critical factors in improving heat transmission. Nanoparticle radius variation alters the inherent magnetic properties, impacting fluid behavior. Specifically, superparamagnetic behavior changes with a change in nanoparticle radius. The effect of particle size variation on oil transmission in pipelines using the D2Q9 lattice Boltzmann method was reported by Madani et al.25. Hussain et al.26 emphasized the significance of nanoparticle radius variation in nanofluid flow past a stretched surface.

Significance of the study

Understanding entropy generation in dusty fluid and nanofluid flows is vital for increasing energy efficiency and thermal control in engineering systems. Nanoparticles enhance heat conductivity, while dust particles facilitate heat and momentum exchange, making dusty nanofluids attractive for applications such as electronic cooling, heat exchangers, and energy storage. When combined with magnetohydrodynamics (MHD), their relevance extends to metallurgical processes, nuclear reactors, and biological systems, where efficient heat transfer with minimal irreversibility is vital.

Research gap

Despite extensive progress, most studies have investigated entropy either in MHD dusty flows or traditional nanofluids. The influence of essential factors, nanoparticle radius and inter-particle spacing, which directly control thermal conductivity, dust–fluid interaction, and entropy production, has received little attention. Table 1 summarizes existing contributions and highlights the overlooked dimension. To fill this gap, the current study focuses on these nanoscale parameters while numerically investigating entropy generation in MHD Maxwell dusty nanofluid flow over an inclined stretching sheet.

Table 1 Existing research gap and contributions of the current study.

Novelty and contributions

This study advances the field by systematically quantifying the role of nanoparticle radius and inter-particle spacing on the flow, entropy production, and thermal efficiency in dusty nanofluids. The study focuses on reducing energy loss and improving heat transfer across a wide range of applications, including cooling technologies, energy systems, and manufacturing processes. The key novelties of the study include:

  • Development of Maxwell dusty nanofluid model integrating both dust particles and nanoparticles.

  • Systematic evaluation of nanoparticle radius and inter-particle spacing on thermal conductivity, flow dynamics, and entropy.

  • Extension of fluid-particle interaction models by including MHD effects across an inclined stretching sheet.

  • Inclusion of viscous dissipation and thermal buoyancy to simulate realistic transport phenomena.

By offering new insights into the characteristics of nanoscale particles that govern thermal conductivity, this framework enables the creation of more effective thermal systems that lose less energy.

Flow analysis

Mathematical model

A mathematical formulation is developed to investigate fluid dynamics, heat transfer, and entropy optimization in a steady, two-dimensional dusty nanofluid flow across an inclined, stretched surface. The flow assumptions are as follows:

  • Dust and nanoparticles are dispersed in the Maxwell fluid.

  • The stretching sheet is inclined at an angle \(\alpha\) to the vertical.

  • Dust particles are spherical, evenly sized, and equally dispersed in Maxwell nanofluid.

  • The density of dust particles and nanoparticles remains constant throughout the incompressible steady fluid flow.

  • Agglomeration or accumulation of nanoparticles is neglected.

  • A uniform magnetic field strength \(B_0\) is applied normally to the stretched sheet.

  • Ohmic dissipation, ion-slip effects, and Hall current are ignored due to a weak magnetic field26.

  • The sheet surface stretches with velocity \(u_w=ax\) along the x-axis.

The flow configuration is illustrated in Fig. 1. Following26,32,33,34, the governing equations for the present flow are:

$$\begin{aligned} \frac{\partial u}{\partial x}+\frac{\partial v}{\partial y}=0, \end{aligned}$$
(1)
$$\begin{aligned} u\frac{\partial u}{\partial x}+v\frac{\partial u}{\partial y}+\lambda _1 \left( u^2 \frac{\partial ^2 u}{\partial x^2}+v^2 \frac{\partial ^2 u}{\partial y^2}+2uv\frac{\partial ^2 u}{\partial x \partial y}\right) =\frac{\mu _{nf}}{\rho _{nf}}\frac{\partial ^2 u}{\partial y^2}\nonumber \\+g\frac{(\check{\beta }_0\rho )_{nf}}{\rho _{nf}}(T-T_\infty )cos\alpha -\frac{\sigma _{nf} B_0^2u}{\rho _{nf}}+\frac{KN}{\rho _{nf}}(u_p-u), \end{aligned}$$
(2)
$$\begin{aligned} (\rho c_p)_{nf}\left[ u\frac{\partial T}{\partial x}+v\frac{\partial T}{\partial y}\right] =k_{nf}\frac{\partial ^2 T}{\partial y^2}+\mu _{nf} \left( \frac{\partial u}{\partial y} \right) ^2+\frac{C_p \rho _p }{ \tau _T}(T_p-T). \end{aligned}$$
(3)

For dust particle flow:

$$\begin{aligned} \frac{\partial u_p}{\partial x}+\frac{\partial v_p}{\partial y}=0, \end{aligned}$$
(4)
$$\begin{aligned} u_p\frac{\partial u_p}{\partial x}+v_p\frac{\partial u_p}{\partial y}=\frac{KN}{\rho}(u-u_p), \end{aligned}$$
(5)
$$\begin{aligned} u_p\frac{\partial T_p}{\partial x}+v_p\frac{\partial T_p}{\partial y}=\frac{c_p}{c_m \tau _T}(T-T_p). \end{aligned}$$
(6)
Fig. 1
figure 1

Schematic flow configuration.

Here, u and v denote velocity components along \(x-\) and \(y-\)axes, while \(u_p\) and \(v_p\) represent the corresponding components of dust phase velocity. \(T_w\) and \(T_\infty\) indicate the boundary and ambient temperatures, respectively; g is the gravitational acceleration; N the dust particle number density; and \(B_0\) the applied magnetic field strength. The nanofluid properties are characterized by viscosity \(\mu _{nf}\) and density \(\rho _{nf}\). \(T_p\) and \(c_m\) correspond to the temperature and specific heat of dusty fluid, respectively, while K represents the Stokes’ drag constant.

Term-wise interpretation of equations

The governing equations characterize the coupled transport phenomena in incompressible dusty nanofluid flow. The continuity equation (1) enforces mass conservation in the carrier-particle mixture32. In Eq. (2), the left-hand side accounts for the convective acceleration of base fluid together with the viscoelastic stresses introduced by the Maxwell fluid model. On the right-hand side, the first term represents viscous momentum diffusion within the boundary layer35, while the second term captures buoyancy-driven natural convection arising from density gradients38. The third term, associated with the Lorentz force, expresses magnetic damping of motion in line with classical MHD theories36,37. The final term establishes fluid-particle coupling, representing drag exerted by the dust phase on the carrier fluid15. The energy equation (3) represents the thermal energy balance in the dusty nanofluid system. The left-hand side describes how heat is carried by the moving nanofluid, which is essentially the transport of energy via convection as the fluid flows35. The first term on the right-hand side represents the conduction of heat within the fluid, which is further enhanced by the nanoparticles’ addition in the effective thermal conductivity26. The following term illustrates how heat is generated internally by the fluid’s motion; viscous dissipation is the process by which fluid layers slide past one another, and frictional forces convert kinetic energy into thermal energy39. The final term refers to the direct heat exchange between dust particles and fluid15. This interaction is essential because it permits the particulate phase to affect the thermal field. Equations (46) are governing equations for the flow of dusty phase26. Equation (4) ensures conservation of dust particle mass within the flow field. Equation (5) represents the momentum balance for dust particles, which is determined by drag attraction with the surrounding fluid. Equation (6) describes the energy balance of dust particles, emphasizing the heat exchange between the particle and fluid phases.

Boundary conditions

The present model focuses on the combined effects of dust particles, nanoparticles, thermal buoyancy, magnetic fields, and viscous dissipation on flow dynamics, entropy generation, and heat transfer in a Maxwell dusty nanofluid flow over an inclined stretching sheet. The following boundary conditions represent the physical constraints of boundary layer fluid flow26,35:

$$\begin{aligned} {\left\{ \begin{array}{ll} u=u_w=ax,\quad v=0,\quad T=T_w, \quad \text {as} \quad y=0,\\ u\rightarrow 0,\quad v=v_p \rightarrow 0,\quad T \rightarrow T_\infty , \quad u_p \rightarrow 0,\quad T_p \rightarrow T_\infty , \quad \text {as} \quad y\rightarrow \infty . \end{array}\right. } \end{aligned}$$
(7)

Thermophysical properties of nanofluid

The effective properties of nanofluid are expressed in Table 2 as stated by35,40,41.

Table 2 Effective properties of nanofluid35,40,41.

Here, \(\phi\) is the solid volume fraction, while subscripts f and s correspond to the base fluid and nanoparticles, respectively. The radius of the nanoparticle and the inter-particle spacing are represented by \(d_p\) and \(h_p\), respectively.

Similarity variables

Similarity variables are introduced as42,43,44:

$$\begin{aligned} {\left\{ \begin{array}{ll} \eta =\sqrt{\frac{a}{\nu _f}}y,~~~~v=-\sqrt{a\nu _f}f(\eta ),~~~~u=axf'(\eta ),~~~~\theta (\eta )=\frac{T-T_\infty }{T_w-T_\infty },\\ u_p=axf_p'(\eta ),~~~~~~~~~~~~v_p=-\sqrt{a\nu }f_p(\eta ),~~~~~~~~~~\theta _p(\eta )=\frac{T_p-T_\infty }{T_w-T_\infty }. \end{array}\right. } \end{aligned}$$
(8)

Dimensionless system

Using Eq. (8), Eqs. (1) and (4) are satisfied automatically. Other equations reduce to:

$$\begin{aligned} \frac{A_1}{A_2}f'''-f'^2+ff''+\beta (2f''f'f-f^2f''')+\frac{A_6}{A_2}\lambda \theta cos\alpha +\frac{\Gamma _v\beta _v}{A_2}\left( f'_p-f'\right) -\frac{A_3}{A_2}Mf'=0, \end{aligned}$$
(9)
$$\begin{aligned} \frac{A_4}{A_5}\theta ''+Prf\theta ' +\frac{1}{A_5}Pr\gamma _t\beta _t\left( \theta _p-\theta \right) +PrE_cf''^2=0, \end{aligned}$$
(10)
$$\begin{aligned} {f'_p}^2+\beta _v\Gamma _v\left( f'_p-f'\right) -f_p f''_p=0, \end{aligned}$$
(11)
$$\begin{aligned} f_p\theta '_p+\beta _t\gamma _t\left( \theta -\theta _p\right) =0, \end{aligned}$$
(12)

while the boundary constraints take the form:

$$\begin{aligned} {\left\{ \begin{array}{ll} f(0)=0,,~~~~~~f'(0)=1,~~~~~~~~\theta (0)=1,\\ f'_p(\infty )\rightarrow 0,~~~~f'(\infty )\rightarrow 0,~~~~f_p(\infty )= f(\infty )\rightarrow 0,~~~~\theta _p(\infty )\rightarrow 0, ~~~~\theta (\infty )\rightarrow 0. \end{array}\right. } \end{aligned}$$
(13)

Dimensionless parameters

Here, Pr is the Prandtl number, \(\lambda\) the thermal buoyancy parameter, and \(E_c\) the Eckert number. Fluid-temperature interaction, specific heat ratio, the mass concentration of dusty granules, and fluid particle interaction for velocity are expressed by \(\beta _t\), \(\gamma _t\), \(\Gamma _v\), and \(\beta _v\), respectively. These dimensionless numbers are mathematically defined as:

$$\begin{aligned} {\left\{ \begin{array}{ll} A_1=\frac{\mu _{nf}}{\mu _f}=1+2.5\phi +4.5\left[ \frac{1}{\frac{h_p}{d_p}(2+\frac{h_p}{d_p})(1+\frac{h_p}{d_p})^2}\right] ,~\lambda =\frac{g\beta _T^* x\left( T_w-T_\infty \right) }{u_w^2},\\ \Gamma _v=\frac{Nm}{\rho },~~~~\beta =a\lambda _1,~~~~\beta _v=\frac{1}{a\tau _v},~~~~~\beta _t=\frac{1}{a\tau _t},~~~~E_c=\frac{u_w^2}{\left( T_w-T_\infty \right) C_p},\\ A_4=\frac{k_{nf}}{k_f}=\frac{k_s+2k_f-2\phi (k_f-k_s)}{k_s+2k_f+\phi (k_f-k_s)},~~~~~~~~~~~~~~~~~A_2=\frac{\rho _{nf}}{\rho _f}=1-\phi +\phi \frac{\rho _s}{\rho _f},~\\ \gamma _t=\frac{c_p}{c_m},~~~~~~~Pr=\frac{\mu _f C_p}{k_f},~~~~~~~~ A_3=\frac{\sigma _{nf}}{\sigma _f}=1+\frac{3\left( \frac{\sigma _s}{\sigma _f}-1\right) \phi }{\left( \frac{\sigma _s}{\sigma _f}+2\right) -\left( \frac{\sigma _s}{\sigma _f}-1\right) \phi },\\ M=\frac{\sigma _f B_0^2}{a \rho _f}, ~~~~~A_6=\frac{(\check{\beta }_0\rho )_{nf}}{(\check{\beta }_0\rho )_f},~~~~~~~~A_5=\frac{(\rho C_p)_{nf}}{(\rho C_p)_s}=1-\phi +\phi \frac{(\rho C_p)_{s}}{(\rho C_p)_{n_f}}. \end{array}\right. } \end{aligned}$$
(14)

To improve clarity, Table 3 summarizes the definitions, physical significance, and potential uses of the essential dimensionless parameters employed in this work.

Table 3 Interpretation and applications of key dimensionless parameters.

Engineering quantities

The local skin friction coefficient \(Cf_x\) and Nusselt number \(Nu_x\) are given as26,43:

$$\begin{aligned} Cf_x=\frac{\tau _w}{\rho _f(u_w)^2},\qquad Nu_x=\frac{xq_w}{k_f \left( T_w-T_\infty \right) }. \end{aligned}$$
(15)

Wall shear stress is \(\tau _w= \mu _{nf}\frac{\partial {u}}{\partial {y}}\bigg |_{y=0}\) and the wall heat flux is \(q_w =-k_{nf}\frac{\partial {T}}{\partial {y}}\bigg |_{y=0}\).

In dimensionless form, the local skin friction coefficient and Nusselt number are expressed as:

$$\begin{aligned} \sqrt{Re_x} Cf_x=A_1 f''(0),\qquad \frac{1}{\sqrt{Re_x}}Nu_x=-A_4\theta '(0), \end{aligned}$$
(16)

where \(Re_x=\frac{u_w x}{\nu _f}\) shows local Reynolds number.

Solution procedure

The governing PDEs (16) along with boundary conditions (7) are first transformed into a set of nonlinear ODEs (912) with corresponding transformed constraints (13) using the similarity transformation defined in Eq. (8). These resulting ODEs are highly nonlinear, making exact solutions intractable. Therefore, a numerical technique is adopted. Numerical methods provide adaptability and flexibility, enabling the practical solution of complicated problems. Ensuring high numerical accuracy is critical to guarantee that the computed results closely approximate the actual physical behavior. Among different methods, MATLAB’s bvp4c solver is selected due to its robust handling of boundary value problems. The bvp4c solver combines the shooting method, collocation, and adaptive mesh refinement.

To employ bvp4c, the following fresh variables are defined to express the nonlinear system (912) as first-order ODEs:

$$\begin{aligned} {f=s_1, f'=s_2, f''=s_3, \theta =s_4,} {\theta '=s_5, f_p=s_6, f_p'=s_7,\,\text {and} \,\theta _p=s_8.} \end{aligned}$$

This introduction reduces the system of ODEs to

$$\begin{aligned} ss1=\frac{A_2 \big [-s_1s_3+{s_2}^2-2\beta s_1s_2s_3-s_4\lambda \frac{A_6}{A_2}cos\alpha -\frac{\Gamma _v\beta _v}{A_2}(s_7-s_2)+\frac{A_3}{A_2}Ms_2\big ]}{A_1-A_2\beta {s_1}^2} , \end{aligned}$$
(17)
$$\begin{aligned} ss2=-\frac{A_5}{A_4}Pr\big [s_1s_5+\frac{\gamma _t\beta _t}{A_5}(s_8-s_4)+E_c{s_3}^2\big ], \end{aligned}$$
(18)
$$\begin{aligned} ss3=\frac{1}{s_6}\big [{s_7^2+\beta _v\Gamma _v(s_7-s_2)}\big ], \end{aligned}$$
(19)
$$\begin{aligned} ss4=\frac{\beta _t\gamma _t(s_8-s_4)}{s_6}. \end{aligned}$$
(20)

The transformed dimensionless boundary constraints are written as:

$$\begin{aligned} {\left\{ \begin{array}{ll} s_1=0,\quad s_2=1,\quad s_4=1,\quad \text {as}\quad \eta =0,\\ s_7\rightarrow 0,\quad s_2\rightarrow 0,\quad s_8\rightarrow 0,\quad s_6=s_1\rightarrow 0,\quad s_4\rightarrow 0,\quad \text {as}\quad \eta \rightarrow \infty . \end{array}\right. } \end{aligned}$$
(21)

By progressively modifying missing initial estimations at \(\eta =0\) to meet the far-field conditions at a sufficiently large but finite \(\eta _{\text {max}}\), the bvp4c solver efficiently handles these boundary conditions. To ensure convergence within the boundary layer, the computational domain \([0, \eta _{\text {max}}]\) is selected so that any increments in \(\eta _{\text {max}}\) do not substantially alter the solution. The stopping criterion is defined as:

$$\begin{aligned} \max \left\{ |s_2(\eta _{\text {max}}) - 0|, |s_1(\eta _{\text {max}}) - 0|, |s_4(\eta _{\text {max}}) - 0|, |s_7(\eta _{\text {max}}) - 0|, |s_8(\eta _{\text {max}}) - 0|, |s_6(\eta _{\text {max}}) - 0|\right\} < \chi , \end{aligned}$$

where \(\chi =10^{-6}\) ensures high precision convergence. This method preserves stability and numerical precision while enabling the methodical study of parameter effects such as magnetic field strength, viscous dissipation, and nanoparticle radius.

Irreversibility analysis

Entropy generation is linked to energy waste, so our primary goal is to minimize entropy production. Measuring entropy generation can help us understand the reasons behind potential system failures. It is analogous to discovering faults in a process or design, allowing us to improve overall performance once these areas are identified. Many industrial and technological sectors strive to improve efficiency by minimizing the generation of entropy. The depletion of global energy resources has prompted experts to examine energy generation designs, conversion, and application. The entropy generation rate per unit volume \(S_{gen}'''\) within the context of a magnetic field being present is calculated as follows39:

$$\begin{aligned} S_{gen}'''=\frac{k_{nf}}{T_\infty ^2}(\nabla T)^2+\frac{1}{T_\infty }\left[ ({\textbf {J}}-{\textbf {QV}})\times ({\textbf {E}}+{\textbf {V}}\times {\textbf {B}})\right] +\frac{\mu _{nf}}{T_\infty }\Phi . \end{aligned}$$
(22)

\(\Phi\), \(\nabla\), and \({\textbf {J}}\) stand for viscous dissipation, Del operator, and current density, respectively. Assuming negligible effects of \({\textbf {QV}}\) and \({\textbf {E}}\) compared to magnetic term \({\textbf {V}} \times {\textbf {B}}\), and applying boundary layer approximation, this reduces to

$$\begin{aligned} S_{gen}'''=\frac{\mu _{nf}}{T_\infty }\left( \frac{\partial u}{\partial y}\right) ^2+\frac{k_{nf}}{T_\infty ^2}\left( \frac{\partial T}{\partial y}\right) ^2+\frac{1}{T_\infty }\left( B_0^2 \sigma _{nf} u^2 \right) . \end{aligned}$$
(23)

Three different causes of entropy creation can be seen in this equation. First is heat transmission, which results from the temperature gradient of the problem. Viscous dissipation is the second source arising from fluid friction. Lastly, the most important source is the magnetic force, which results in irreversible Joule dissipation. The volumetric entropy generation rate is represented by entropy generation number Ns, defined as the ratio of \(S_{gen}'''\) and characteristic entropy generation, \(S_{0}'''\). From the use of similarity variables, Eq. (23) becomes

$$\begin{aligned} Ns=\frac{S_{gen}'''}{S_{0}'''}=A_4\theta '^2 +{Pr E_c\Omega }A_1f''^2+A_3 M Pr E_c\Omega f'^2, \end{aligned}$$
(24)

where \(\Omega =\frac{T_\infty }{T_w-T_\infty }\) is dimensionless temperature parameter, and \(S_{0}'''=\frac{k_f a}{\Omega ^2 \nu _f}\) is characteristic entropy generation. Bejan number is defined as:

$$\begin{aligned} Be=\frac{\text {Heat transfer irreversibility}}{\text {Total irreversibility}}. \end{aligned}$$
(25)

By using Eq. (8), we get

$$\begin{aligned} Be= \frac{A_4 \theta '^2}{Ns} \end{aligned}.$$
(26)

Results and discussion

This research investigates thermal management and entropy generation in MHD Maxwell dusty nanofluid flow over an inclined stretching surface, focusing on the effects of nanoparticle radius, inter-particle spacing, viscous dissipation, and thermal buoyancy forces. The governing PDEs are converted to nonlinear ODEs using similarity variables and solved numerically via MATLAB’s bvp4c solver. Numerical results are validated against published research for limiting cases. The impacts of key significant parameters on the velocity, temperature, Bejan number, and entropy generation are analyzed. Default values of utilized parameters are: \(M=3\), \(\beta =0.5\), \(E_c=0.2\), \(\alpha =45^\circ\), \(\lambda =1.0\), \(\beta _v=0.2\), \(\beta _t=0.1\), \(\gamma _t=0.1\), \(\Gamma _v=0.2\), \(h_p=0.5\), and \(d_p=2.5\).

Numerical validation

Analytical solutions are unavailable due to the coupled nonlinear nature of the equations. Therefore, a numerical validation is needed to establish reliability. The present approach is validated against existing benchmark research in the literature. Tables 4 and 5 compare our results to those given by Jalil et al.45, Rahman et al.46, and Afridi et al.39. The agreement is excellent, with minimal deviations for different parameters.

Table 4 Comparing the skin friction coefficient with Jalil et al.45 and Rahman et al.46 for different values of \(\beta _v\) and M while ignoring all other parameters.
Table 5 Comparing Nusselt number with Afridi et al.39 for different values of \(\lambda\) and Pr.

Velocity fields

Figure 2 illustrates that raising the Maxwell parameter (\(\beta\)) and magnetic parameter (M) reduces the velocities in both fluid and dust phases. Mechanistically, stronger magnetic fields induce Lorentz forces that oppose the flow, while increased elasticity (larger \(\beta\)) increases internal fluid resistance, slowing momentum transmission. Figure 3 reveals that increasing nanoparticle radius \(d_p\) exerts a decisive influence on momentum transport by modulating the effective viscosity. While smaller particles and shorter inter-particle distances exacerbate agglomeration, increase microstructural interactions, and obstruct flow, larger nanoparticles reduce viscous resistance and promote smoother fluid motion. Quantitatively, enlarging the nanoparticle radius from 2.0 nm to 3.0 nm at a fixed spacing of \(h_p=0.5\) results in an approximately 18% increase in the peak velocity of both the fluid and dust phases, confirming the direct link between viscosity reduction, particle radius, and flow acceleration. This behavior highlights the importance of nanoparticle radius and spacing in controlling rheological properties, as higher flow speeds and momentum transfer within the carrier fluid are directly correlated with decreased effective viscosity, with implications for pipeline and microfluidic cooling applications.

Fig. 2
figure 2

Response of \(f_p(\eta )\) and \(f'(\eta )\) for fluctuating \(\beta\) and M.

Fig. 3
figure 3

Response of \(f_p(\eta )\) and \(f'(\eta )\) for fluctuating \(h_p\) and \(d_p\).

Temperature fields

Figures 4, 5, 6 depict the impact of \(\beta\), M, \(\beta _t\), \(E_c\), nanoparticle radius (\(d_p\)), and inter-particle spacing (\(h_p\)) on temperature fields of fluid and dust phases. Figure 4 shows that increased M thickens the thermal boundary layer due to Lorentz force-induced Joule heating. Figure 5 illustrates how the size of nanoparticle radius and inter-particle spacing significantly influence the properties of thermal transport. Due to their lower surface-area-to-volume ratios, larger nanoparticles attenuate temperature gradients within the fluid and reduce the effective thermal conductivity by suppressing heat exchange. Smaller inter-particle spacing, on the other hand, increases phonon scattering, micro-convective interactions, and particle clustering, all of which support localized heat retention. Larger \(d_p\) improves hydrodynamic performance, but this is offset by thermal inefficiency: according to the thermophysical mathematical models, an increase in \(d_p\) from 2.0 nm to 3.0 nm reduces the effective thermal conductivity by approximately 12%. Figure 6 highlights the effects of thermal dusty parameter \(\beta _t\) and Eckert number \(E_c\) on \(\theta\) and \(\theta _p\). Higher \(\beta _t\) slows fluid motion and elevates dust-phase temperature due to enhanced thermal resistance. Elevated \(E_c\) represents viscous dissipation, directly raising both fluid and dust temperatures. These mechanistic interpretations guarantee significant insight by relating numerical results to physical processes.

Fig. 4
figure 4

Response of \(\theta (\eta )\) and \(\theta _p(\eta )\) for fluctuation of M and \(\beta\).

Fig. 5
figure 5

Response of \(\theta _p(\eta )\) and \(\theta (\eta )\) for fluctuating \(h_p\) and \(d_p\).

Fig. 6
figure 6

Response of \(\theta _p(\eta )\) and \(\theta (\eta )\) for fluctuating \(E_c\) and \(\beta _t\).

Entropy generation and Bejan number

Entropy generation measures the degree of disorder, while the Bejan number distinguishes the entropy generated by heat transfer from the total entropy within a system. The second law of thermodynamics asserts that the entropy of an isolated system cannot decrease; hence, entropy generation is always non-negative. Figure 7(a) demonstrates that stronger magnetic fields enhance resistive heating and viscous dissipation, thereby increasing entropy generation. Conversely, decreasing the magnetic parameter reduces this resistive contribution, lowering total entropy generation. This reduction brings the system closer to its minimum irreversibility, which is fully in accordance with the second law of thermodynamics. Quantitatively, when the parameter M is raised from 1 to 5, the maximum entropy generation Ns at the wall increases by nearly 45%. An increase in Maxwell parameter \(\beta\) enhances Ns, as a higher relaxation time increases fluid-particle friction and heat loss. Quantitatively, increasing the Maxwell parameter \(\beta\) from 0.2 to 1 results in a nearly 40% increase in Ns. It highlights the role of viscoelastic relaxation time in amplifying heat loss and fluid-particle friction. Figure 7(b) further highlights that higher values of M and \(\beta\) lower the Bejan number Be, indicating a dominance of viscous dissipation over heat transfer. This trend shows a shift in the dominant source of irreversibility. At \(\eta =1.0\), the value of Be reduces from 0.85 to 0.45 as the magnetic parameter is elevated from 1 to 5, indicating a shift from heat-transfer-dominated irreversibility to a regime where viscous and magnetic effects contribute more than half of total entropy production.

Figure 8(a) visualizes that Ns increases with nanoparticle radius \(d_p\) but decreases with \(h_p\). Larger particles impede conductive pathways and increase entropy, while smaller particles improve interfacial heat transfer, decrease irreversibility, and increase system efficiency due to their higher surface-area-to-volume ratios. Quantitatively, increasing \(d_p\) from 1.5 nm to 3.5 nm produces nearly a 30% rise in Ns. A key result of entropy minimization is that reducing \(d_p\) from 3.6 nm to 1.6 nm (a 2 nm decrease) under standard conditions (\(\beta =0.5\), \(h_p=0.5\), \(M=3\)) reduces total entropy generation about 20%, confirming nanoparticle radius is a decisive parameter in controlling thermodynamic irreversibility. Increasing \(h_p\) reduces collisions, viscosity, and flow blockage, thereby enhancing convective heat transport and decreasing entropy. Quantitatively, reducing \(h_p\) from 1.0 to 0.2 nearly doubles entropy due to viscous dissipation and enhanced clustering. Figure 8(b) shows that Be diminishes with \(h_p\) as convection becomes dominant, while larger \(d_p\) increases the Bejan number due to enhanced heat conduction. For \(d_p= 1.5~\text {nm}\), Be remains above 0.8, confirming thermal transmission as the main irreversibility, whereas for \(d_p= 3.5~\text {nm}\), it drops to about 0.6, indicating balanced contributions from other sources too. Optimizing \(h_p\) in material design enhances flow, heat transmission, and long-term performance. Pumps, pipelines, microelectronics, solar cooling, and other applications benefit from improved nanofluid stability, less friction, and increased energy efficiency when inter-particle spacing (\(h_p\)) is adjusted.

Figure 9(a) illustrates that entropy creation Ns grows with Eckert number \(E_c\), reflecting the influence of viscous dissipation, while the thermal dusty parameter \(\beta _t\) enhances Ns by intensifying thermal resistance between the dust and fluid phases. Quantitatively, raising \(E_c\) from 0.1 to 0.5 increases maximum entropy generation by nearly 50%, underscoring its significant influence on system inefficiency. Figure 9(b) shows that Be decreases with \(E_c\), falling to around 0.3 at \(E_c=0.5\), which indicates that 70% of the entropy arises from magnetic and viscous dissipation. In contrast, higher values of \(\beta _t\) increase Be, since stronger temperature gradients reinforce heat-transfer-dominated irreversibility. The findings emphasize on the role of \(E_c\) and \(\beta _t\) on improving energy efficiency and flow stability, with practical implications for the design of microelectronics, pipelines, and solar cooling systems.

Fig. 7
figure 7

Response of Ns and Be for fluctuating M and \(\beta\).

Fig. 8
figure 8

Response of Ns and Be for fluctuating \(h_p\) and \(d_p\).

Fig. 9
figure 9

Response of Ns and Be for fluctuating \(E_c\) and \(\beta _t\).

Physical insights and applications

The numerical findings, though theoretical, carry direct industrial relevance. Clear mechanistic reasoning explains the observed trends: optimal inter-particle spacing minimizes clustering and viscous resistance, controlled magnetic fields improve flow stability, and viscous dissipation increases entropy. Smaller nanoparticles increase heat conduction by increasing surface-to-volume ratios, while proper interparticle spacing reduces flow resistance and clustering. Controlled magnetic fields enhance heat management and mitigate instabilities, but viscous dissipation increases entropy and reduces efficiency. The findings provide practical design recommendations for microelectronics, MHD power systems, solar collectors, and advanced cooling loops. They provide instructions for experimentalists and system designers pursuing energy-efficient and thermally stable solutions by connecting nanoscale particle attributes to macroscopic heat transfer efficiency and flow stability.

Conclusion

This study numerically examined entropy generation in magnetohydrodynamic Maxwell dusty nanofluid flow across an inclined stretching sheet, with particular focus on the impacts of nanoparticle radius and inter-particle spacing. Unlike previous studies that largely overlooked these microstructural factors, our analysis highlights their role in entropy generation, dust-fluid interaction, and thermal conductivity. The governing equations were modified using similarity transformations and solved using MATLAB’s bvp4c solver, revealing new insights into flow management, irreversibility, and thermal efficiency enhancement.

Key findings

  • Intensified magnetic fields Lorentz forces, reducing velocities in both phases while increasing temperatures. This behavior applies to electromagnetic flow control devices and MHD pumps.

  • Entropy generation and Bejan number rise with thermal dusty parameter \(\beta _t\) but have an inverse relationship with inter-particle spacing \(h_p\), which affects cooling loops and pipeline design, where thermal efficiency is crucial.

  • The Maxwell parameter improves flow resistance and energy dissipation while lowering the Bejan number, directly informing the design of viscoelastic nanofluids for cooling systems and solar collectors.

  • Larger inter-particle spacing enhances thermal conduction while reducing velocity due to weaker particle interaction, providing design direction for nanofluids used in thermal exchangers.

  • Fluid-dust momentum was increased by over 18% by nanoparticles larger than 2.5 nm, although thermal conductivity was lost by around 12%. This trade-off is especially important for microelectronics cooling, where flow must be sustained while minimizing heat loss.

  • Entropy generation was suppressed by reducing the radius of the nanoparticle from 3.6 nm to 1.6 nm, which resulted in a reduction of irreversibilities of almost one-fifth. It shows a significant potential for energy-efficient working fluids in pipeline transport and solar cooling.

  • A higher Eckert number raises temperature and entropy by increasing viscous dissipation but lowers the Bejan number, offering insights for high-speed fluid transport systems.

Limitations and future work

While this study gives valuable mechanistic insights, it depends on several simplifying assumptions. We investigated laminar flow with uniformly scattered nanoparticles, assuming that particle agglomeration is negligible, which may not accurately reflect real experimental situations. The findings are based on computational simulations rather than direct experimental validation; however, their dependability was validated through comparison with limiting cases. Furthermore, effects such as radiation, turbulence, and chemical reactions were excluded, even though they may be essential in large-scale industrial systems. Future research should address these challenges and incorporate experimental studies to support the current results.