Introduction

Double-diffusive or thermosolutal convection (TC), arising from the simultaneous influence of thermal and solutal gradients has garnered considerable attention in fluid dynamics and energy transport. This phenomenon, commonly referred to as thermosolutal or double-diffusive convection (DDC), plays a pivotal role in various disciplines, including oceanography, astrophysics, biology, geology, engineering, and chemical processes1,2,3,4,5.

Recent advancements in nanofluid dynamics have provided deeper insights into the intricate interplay of thermal transport and magnetohydrodynamic (MHD) effects in complex systems. Baithalu et al.6 investigated CNT nanofluid flow over rotating discs using the Darcy-Forchheimer model, while Panda et al.7 explored slip velocity effects in radiative hybrid nanofluids. Furthermore, Baithalu et al.8 examined magnetic dissipation in radiative free convection, whereas Panda et al.9 analyzed the impact of inertial drag on chemically reactive polar nanofluids, elucidating the role of MHD forces in heat and mass transfer. Additionally, Mishra et al.10 leveraged machine learning techniques to predict transient CNT nanomaterial flow, demonstrating the potential of artificial intelligence in thermal analysis. Pattnaik et al.11 conducted an EMHD sensitivity analysis on hybrid nanofluids, emphasizing the influence of variable magnetization and heat generation on transport phenomena. In this context, one may find notable contributions in12,13,14,15,16,17,18,19,20,21, which further enrich the theoretical and computational framework of nanotechnology. These studies collectively underscore the critical role of hybrid nanofluids, radiative heat transfer, and computational modeling in advancing thermal management strategies and optimizing energy-efficient systems.

In recent decades, numerous studies on TC have been undertaken by researchers. For instance, Kumar et al.22 conducted a numerical study using the Lattice Boltzmann Method to examine species and thermal transport. Corcione et al.23 explored thermosolutal free convection induced by opposing horizontal species and energy gradients in a square cavity. Rashid et al.24 comprehensively investigated solutal and energy transfer in Magnetohydrodynamics (MHD) Casson fluid flow within a crown chamber, revealing the dual effect of manipulating the Casson parameter on thermal performance and species transfer. Highlighting the pivotal role played by Magnetohydrodynamics (MHD) convection, Aly et al.25 carried out a numerical investigation on TC within a baffled cavity loaded with nanoliquid. Their study revealed a diminishing thermosolutal performance as the Hartmann number (Ha) increased. By using Darcy-Brinkman-Forchheimer Model, Moderres et al.26 examined TC in a horizontal annulus filled with a porous medium. In their work, they have analyzed the behavior of flow topology, energy, and solutal transfer for various parameters. Aly et al.27 investigated the effect of a rotating circular cylinder with paddles on TC inside a square nanofluid chamber. They noticed that as \(\phi\) increases to 6%, \(|\psi |_{max}\) is diminished by 10.76% whereas \(|\psi |_{max}\) is reduced by 75.54% as Ha increases to 100. Using the incompressible smoothed particle hydrodynamics (ISPH) method, Aly and Mohamed28 analyzed DDC in a cavity loaded with cooper-water nanofluid. They showed that the buoyancy ratio (N) changes the directions of the solid particle’s diffusion within the system. In addition, Elshehabey et al.29 carried TC in an L-shaped enclosure with baffles by using the ISPH method and artificial intelligence. In a related exploration, Chamkha and Al-Naser30 delved into the realm of MHD TC inside a rectangular container. Their study highlighted a notable reduction in fluid circulation and energy transfer attributable to the presence of a magnetic field. In a study on double diffusion with a magnetic field, Teamah31 concluded that species and energy transfer remained unchanged for \(Ha>20\). Hansda and Pandit32 explored a comprehensive simulation on double diffusion inside a partially heated wavy container, revealing a noteworthy impact of Ha on reducing thermosolutal transfer rates. Notably, there is a gap in studies considering the impact of wavy walls on the optimum heat transfer of hybrid nanofluids in closed cavities. The existing research highlights a scarcity of studies on the double diffusive behavior of hybrid nanofluids aimed at finding the optimum heat transfer.

In an alternative domain, thermal radiation, an often overlooked yet the essential method of heat transfer in such contexts plays a leading role as a means of energy transportation through waves. As an illustration, Srinivasacharya and Ramana33 revealed heightened energy transfer within an inclined wavy nanoliquid enclosure with an augmented radiation parameter. Ibrahimi and Lemonnier34 investigated the dynamics of time-dependent DDC flow with radiation in a square chamber, highlighting the observation that radiation accelerated thermal performance within the chamber. In a related vein, Moufekkir et al.35 utilized simulations to explore the interplay of TC and volumetric radiation through the multiple relaxation time lattice Boltzmann (MRT-LBM) method, revealing modifications in thermosolutal distribution and flow topology induced by volumetric radiation. Examining the effects of radiative energy transfer on TC, Abidi et al.36 carried out investigations using a cubic cabinet subjected to differential heating. Similarly, Mohammadi and Nassab37 explored the influences of Soret-Dufour effects and radiation on TC. In the domain of TC, Rashad et al.38 studied an investigation delving into the intricate interplay between chemical reactions and the thermal radiation phenomenon. Simultaneously, there has been a noteworthy increase in the examination of baffles’ role inside various cavities, becoming a significant area of interest across scientific and engineering disciplines39,40. A noteworthy study by Chamkha et al.41 delves into TC within an inclined triangular porous cabinet featuring a fin. Their findings demonstrate that skillful manipulation of the heat absorption/generation parameter effectively enhances thermosolutal transfer within the system. Similarly, in a study conducted by Al-Farhany et al.42, MHD TC inside a curvilinear container loaded with \(\hbox {Fe}_{3}\) \(\hbox {O}_{4}\)-\(\hbox {H}_{2}\)O ferrofluid was explored. The incorporation of two baffles on inclined borders resulted in augmentations in thermosolutal transfer with increasing baffle presence. Additionally, Eshaghi et al.43 investigated DDC in a fined H-shaped cavity, revealing optimal energy transfer conditions for a fin at +\(60^{0}\) and higher soluatal transfer for a fin at -\(60^{0}\). DDC in a C-shaped container equipped with wavy fines has been examined by Nayak et al.44. They observed enhancements in streamlines as the amplitude of the wavy baffle increased. Investigating the impact of oscillating fines on DDC in nanoparticle-enhanced phase change materials (NEPCM) suspensions inside an asteroid-shaped chamber, Alsedais and Aly45 found that expanded inner baffles yielded higher values of \({\overline{Nu}}\) and \({\overline{Sh}}\).

In parallel, Irshad et al.46 scrutinized double diffusion in an H-shaped porous wavy container with two baffles, contributing additional dimensions to our understanding of the interplay between convective processes and baffles. Collectively, these research endeavor significantly to enrich the evolving field of convective mass and heat transfer. However, a notable gap remains in exploring the effects of wavy walls, diverse baffle types, and the application of both hybrid and double diffusive nanofluids, representing potential avenues for future investigations.

In scheming any thermodynamics system, the entropy generation (EG) plays a vital role which manifests the thermal energy losses in every system47. In 1982, Bejan discovered the concept of entropy generation (EG) which includes all types of heat and mass transport processes48. In this context, Zahor et al.49 conducted a review to study the roles of various parameters on entropy generation. In this context, using a single-phase nanofluid model, Sheremet et al.50 investigated EG and heat transfer inside a wavy container. They observed that the nanoparticle volume fraction (\(\phi\)) could increase the Bejan number. Utilizing, compact finite-difference lattice Boltzmann method (CFDLBM), KhakRah et al.51 surveyed the nanofluid flow and energy transfer performance of a wavy cavity. They noticed that \(Nu_{avg}\) augments with enlarging Ra and \(\phi\). In their study, they also found that \(\phi\) could increase EG. Inside trapezoidal chamber, Shirvan et al.52 analyzed a sensitivity analysis of free convection and EG of \(\hbox {Al}_{2}\) \(\hbox {O}_{3}\)-water nanofluid. Their results showed that \(Nu_{avg}\) and EG improve with Ra. Tayebi et al.53 scrutinized the impact of magnetic field and conducting wavy solid block on EG and natural convection within a hybrid nanofluid loaded enclosure. They indicated that the conductivity ratio of the wavy solid block and the magnetic field could significantly affect EG within the system. Ishak et al.54 explored the roles of finite wall thickness on EG and heat transfer inside \(\hbox {Al}_{2}\) \(\hbox {O}_{3}\)-water nanoliquid filled square container. They revealed that the thickness of the solid wall could control the Bejan number and heat transfer within the enclosure. Magherbi et al.55 carried out EG for TC and found that the values of EG escalated with the thermal Grashof number at lower Lewis numbers. Using Darcy-Brinkman formulation, Mchirgui et al.56 simulated EG for TC in a porous enclosure. Oueslati et al.57 have examined TC with EG within a partially active container. EG and TC in a solar dryer were investigated by Ghachem et al.58 and observed lower values of EG at \(N = 1\). Ababaei et al.59 have investigated EG of thermosolutal mixed convection in a right-angled trapezoidal cavity and noticed that the overall generated entropy increases dramatically when the heater moves toward the cold boundary. Hussain et al.60 carried out the thermosolutal forced and free convection in a cavity filled with nanoliquid. They noticed the effect of EG and controlling parameters on the species and energy transport efficiency.

The review of available literature spotlights the growing interest in thermosolutal convection with hybrid nanofluids, emphasizing its increasing importance. While there have been investigations into the thermosolutal performance of hybrid nanofluids within enclosed domains, addressing the increasing demand for efficient thermal systems, a comprehensive exploration of the energy transport phenomenon is essential. To impart a specific heating effect to a particular thermal system, a thorough examination of the enhancements in heat and mass transfer understanding is imperative. A notable gap persists in understanding and optimizing the complex dynamics of mass and heat transfer within complex cavities under the influence of various thermal boundary conditions. This prompts the recurring question: What category of heating strategy constitutes the optimal choice for a specific thermal system? Addressing this inquiry necessitates a vital step-an exhaustive comparative evaluation that considers uniform, linear, and nonuniform heating approaches. The combination of growing demand and a shortage of existing research propels our enthusiasm to explore the present work. Based on the literature review, the identified research gaps, the objectives of this study, and its novelties are outlined below:

Research gaps identified based on literature review

Despite significant advancements in the study of thermosolutal convection, several critical research gaps remain unaddressed. A comprehensive exploration of energy transport phenomena in thermosolutal convection involving hybrid nanofluids within complex geometries is still lacking. The intricate dynamics of heat and mass transfer within complex cavities, particularly under varying thermal boundary conditions in the presence of a T-shaped baffle has not been thoroughly investigated. Additionally, there is an absence of comparative evaluations of different heating strategies-such as uniform, linear, and nonuniform heating-to determine the most efficient approach for specific thermal applications. Moreover, limited research exists on double-diffusive natural convection (DDNC) involving hybrid Cu-Al\(_2\)O\(_3\)/water nanoliquids in wavy (convex) enclosures, particularly in the presence of a T-shaped baffle. This gap underscores the need for further exploration into how geometric modifications and nanofluid compositions influence thermosolutal performance. Addressing these research gaps is crucial for optimizing thermal management systems in engineering applications.

To bridge these gaps, the present study investigates the thermosolutal behavior of radiative hybrid nanofluids within a convex enclosure embedded in porous media. Particular attention is given to the role of a T-shaped cold fin and its impact on energy and mass transport. By analyzing these factors, this research aims to provide deeper insights into the optimization of heat transfer in complex enclosures.

Objectives of the study

This study aims to analyze comprehensively the interplay between a T-shaped baffle, a wavy enclosure, and radiative hybrid nanofluids to understand their collective influence on thermosolutal performance. A key focus is on entropy generation, which serves as a metric for assessing the efficiency of heat and mass transfer processes. Furthermore, the study conducts a comparative evaluation of different heating strategies namely uniform, linear, and nonuniform to identify the optimal thermal management approach. By leveraging detailed simulations and theoretical analysis, the research seeks to recommend the best configuration for superior energy efficiency across various engineering applications.

Novel contributions of the study

This research presents several novel contributions to the field of thermal sciences. It provides a pioneering investigation into the combined effects of a T-shaped baffle, a wavy (convex) cavity, and radiative hybrid nanofluids on double-diffusive natural convection. By integrating entropy generation analysis, the study offers valuable insights into optimizing heat and mass transfer mechanisms within complex geometries under different heating strategies. Additionally, the role of the T-shaped baffle in modifying nanofluid dynamics within a complex enclosure is explored in depth, revealing its potential to enhance thermal performance. By bridging existing research gaps, this study contributes to a more comprehensive understanding of hybrid nanofluids in intricate enclosures, offering valuable implications for real-world applications such as drying processes, solar collectors, electronics cooling, advanced heat exchangers, and renewable energy systems.

Problem formulations and mathematical modelings

Table 1 Thermophysical properties of \(\hbox {H}_{2}\)O, Cu, \(\hbox {Al}_{2}\)\(\hbox {O}_{3}\)78.
Table 2 Physical attributes of Cu-\(\hbox {Al}_{2}\)\(\hbox {O}_{3}\)/\(\hbox {H}_{2}\)O hybrid nanoliquid32,79,80,81,82.

Problem configuration

The visual representation of the problem configuration in this investigation is shown in Fig. 1. In this setup, a porous container with a wavy structure (of convex nature) is completely saturated with radiative copper (Cu) and aluminum oxide (\(\hbox {Al}_2\) \(\hbox {O}_3\)) nanoparticles. The lower boundary of the container is subjected to heating and solute injection, while the side walls are kept at cold and low concentration. The upper boundary of the enclosure is treated as adiabatic. All four boundaries of the enclosure remain stationary. Additionally, a T-shaped cold fin is located in the middle of the chamber. An external magnetic field is enforced parallel to gravity. The thermophysical attributes of the primary fluid, copper (Cu) nanoparticles, and aluminum oxide (\(\hbox {Al}_2\) \(\hbox {O}_3\)) nanoparticles are extensively outlined in Table 1. Additionally, Table 2 offers a detailed compilation of the inherent properties of the hybrid nanofluid composed of Cu, \(\hbox {Al}_2\) \(\hbox {O}_3\), and water. The configuration-specific shape factors (m) for distinct nanoparticles are provided in Table 3.

Fig. 1
Fig. 1
Full size image

Physical configurations for the problem.

Table 3 Shape factor for different nanoparticles81.

Fundamental equations

This investigation is centered on the exploration of a laminar, steady, Newtonian, viscous, and incompressible flow inside a 2D container. The fluid under investigation is a hybrid nanofluid consisting of Cu-\(\hbox {Al}_2\) \(\hbox {O}_3\). Introducing the steady thermosolutal natural convection in this system, the governing equations can be succinctly expressed as follows81,83:

$$\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}=-\frac{1}{\rho _{hnf}}\frac{\partial p}{\partial x}+\frac{\mu _{hnf}}{\rho _{hnf}}\bigg [\bigg (\frac{\partial ^{2} u}{\partial x^{2}}+\frac{\partial ^{2} u}{\partial y^{2}}\bigg )-\frac{u}{k^{*}}\bigg ]\nonumber \ -\frac{\sigma _{hnf}}{\rho _{hnf}} B^{2}_{0}u, \end{aligned}$$
(2)
$$\begin{aligned} u\frac{\partial v}{\partial x}+v\frac{\partial v}{\partial y}=-\frac{1}{\rho _{hnf}}\frac{\partial p}{\partial y}+\frac{\mu _{hnf}}{\rho _{hnf}}\bigg [\bigg (\frac{\partial ^{2} v}{\partial x^{2}}+\frac{\partial ^{2} v}{\partial y^{2}}\bigg )-\frac{v}{k^{*}}\bigg ]\nonumber \\ +\frac{g}{\rho _{hnf}}\bigg [(\rho \beta _{\theta })_{hnf}(\theta -\theta _{c})-(\rho \beta _{c})_{hnf}(c-c_{c})\bigg ], \end{aligned}$$
(3)
$$\begin{aligned} u\frac{\partial \theta }{\partial x}+v\frac{\partial \theta }{\partial y}=\alpha _{hnf}\bigg [\frac{\partial ^{2} \theta }{\partial x^{2}}+\frac{\partial ^{2} \theta }{\partial y^{2}}\bigg ]-\frac{1}{(\rho C_{p})_{hnf}}\bigg [\frac{\partial r_{rx}}{\partial x}+\frac{\partial r_{ry}}{\partial y} \bigg ], \end{aligned}$$
(4)
$$\begin{aligned} u\frac{\partial c}{\partial x}+v\frac{\partial c}{\partial y}=D_{hnf}\bigg [\frac{\partial ^{2} c}{\partial x^{2}}+\frac{\partial ^{2} c}{\partial y^{2}}\bigg ]. \end{aligned}$$
(5)

In equation (4), the term \(\displaystyle {-\frac{1}{(\rho C_{p})_{hnf}}\bigg [\frac{\partial r_{rx}}{\partial x}+\frac{\partial r_{ry}}{\partial y} \bigg ]}\) is responsible for radiation effect. \(r_{rx}\) and \(r_{ry}\) can be written by employing Rosseland approximation81,83 as follows:

$$\begin{aligned} r_{rx}=-\frac{16\sigma ^{*}\theta ^{3}_{c}}{3\beta _{\theta }}\frac{\partial \theta }{\partial x}, \hspace{0.25cm} r_{ry}=-\frac{16\sigma ^{*}\theta ^{3}_{c}}{3\beta _{\theta }}\frac{\partial \theta }{\partial y}. \end{aligned}$$
(6)

The system of equations (1)-(5) are transformed into non-dimensional form and are written as follows

$$\begin{aligned} & \frac{\partial U}{\partial X}+\frac{\partial V}{\partial Y}=0, \end{aligned}$$
(7)
$$\begin{aligned} & U\frac{\partial U}{\partial X}+V\frac{\partial U}{\partial Y}=-\frac{\partial P}{\partial X}+\frac{\mu _{hnf}}{\rho _{hnf}\alpha _{f}}\bigg [\bigg (\frac{\partial ^{2} U}{\partial X^{2}}+\frac{\partial ^{2} U}{\partial Y^{2}}\bigg )-\frac{U}{Da}\bigg ]\nonumber \\ & -\frac{\sigma _{hnf}}{\sigma _{f}}\frac{\rho _{f}}{\rho _{hnf}}Ha^{2}PrU, \end{aligned}$$
(8)
$$\begin{aligned} & U\frac{\partial V}{\partial X}+V\frac{\partial V}{\partial Y}=-\frac{\partial P}{\partial Y}+\frac{\mu _{hnf}}{\rho _{hnf}\alpha _{f}}\bigg [\bigg (\frac{\partial ^{2} V}{\partial X^{2}}+\frac{\partial ^{2} V}{\partial Y^{2}}\bigg )-\frac{V}{Da}\bigg ]\nonumber \\ & +\frac{(\rho \beta _{\theta })_{hnf}}{\rho _{hnf}\beta _{f}}RaPr\bigg (T+NC\bigg ), \end{aligned}$$
(9)
$$\begin{aligned} U\frac{\partial T}{\partial X}+V\frac{\partial T}{\partial Y}=\frac{\alpha _{hnf}}{\alpha _{f}}\bigg (1+\frac{4}{3}Rd\frac{k_{f}}{k_{hnf}}\bigg )\bigg [\frac{\partial ^{2} T}{\partial X^{2}}+\frac{\partial ^{2} T}{\partial Y^{2}}\bigg ], \end{aligned}$$
(10)
$$\begin{aligned} U\frac{\partial C}{\partial X}+V\frac{\partial C}{\partial Y}=\frac{D_{hnf}}{D_{f}}\frac{1}{Le} \bigg (\frac{\partial ^{2} C}{\partial X^{2}}+\frac{\partial ^{2} C}{\partial Y^{2}}\bigg ), \end{aligned}$$
(11)

where, \(P=\displaystyle {\frac{pL^{2}}{\rho _{hnf}\alpha _{f}^{2}}}\), \(X=\displaystyle {\frac{x}{L}}\), \(Y=\displaystyle {\frac{y}{L}}\), \(U=\displaystyle {\frac{uL}{\alpha _{f}}}\), \(V=\displaystyle {\frac{vL}{\alpha _{f}}}\), \(T=\displaystyle {\frac{\theta -\theta _{c}}{\theta _{h}-\theta _{c}}}\), \(C=\displaystyle {\frac{c-c_{c}}{c_{h}-c_{c}}}\), \(Le=\displaystyle {\frac{\alpha _{f}}{D_{f}}}\), \(Ha=B_{0}L\displaystyle {\sqrt{\frac{\sigma _{f}}{\rho _{f}\nu _{f}}}}\), \(Da=\displaystyle {\frac{k^{*}}{L^{2}}}\), \(Pr=\displaystyle {\frac{\nu _{f}}{\alpha _{f}}}\), \(Rd=\displaystyle {\frac{4\sigma ^{*}\theta ^{3}_{c}}{k_{f}\beta _{\theta }}}\), \(Ra=\displaystyle {\frac{g\beta _{f}(\theta _{h}-\theta _{c})L^{3}}{\alpha _{f}\nu _{f}}}\) and \(N=\displaystyle {\frac{(\beta _{c})_{hnf}(c_{h}-c_{c})}{(\beta _{\theta })_{hnf}(\theta _{h}-\theta _{c})}}\).

In order to remove the pressure term, we have employed the streamfunction (\(\psi\)) and vorticity (\(\zeta\)) formulation and equations (7)-(11) are written as follows

$$\begin{aligned} & -\frac{\partial ^{2}\psi }{\partial X^{2}}-\frac{\partial ^{2}\psi }{\partial Y^{2}}=\zeta , \end{aligned}$$
(12)
$$\begin{aligned} & -\frac{\mu _{hnf}}{\rho _{hnf}\alpha _{f}}\bigg (\frac{\partial ^{2}\zeta }{\partial X^{2}}+\frac{\partial ^{2}\zeta }{\partial Y^{2}}\bigg )+U \frac{\partial \zeta }{\partial X}+V \frac{\partial \zeta }{\partial Y}+\frac{\mu _{hnf}}{\rho _{hnf}\alpha _{f}} \frac{1}{Da}\zeta \nonumber \\ & =\frac{(\rho \beta _{\theta })_{hnf}}{\rho _{hnf}\beta _{f}}RaPr\bigg (\frac{\partial T}{\partial X}+N\frac{\partial C}{\partial X}\bigg )-\frac{\sigma _{hnf}}{\sigma _{f}}\frac{\rho _{f}}{\rho _{hnf}}\frac{\partial U}{\partial Y}, \end{aligned}$$
(13)
$$\begin{aligned} & -\frac{\alpha _{hnf}}{\alpha _{f}}\bigg (1+\frac{4}{3}Rd\frac{k_{f}}{k_{hnf}}\bigg )\bigg [\frac{\partial ^{2}T}{\partial X^{2}}+\frac{\partial ^{2}T}{\partial Y^{2}}\bigg ]+U \frac{\partial T}{\partial X}+V \frac{\partial T}{\partial Y}=0, \end{aligned}$$
(14)
$$\begin{aligned} -\frac{D_{hnf}}{D_{f}}\frac{1}{Le}\bigg (\frac{\partial ^{2}C}{\partial X^{2}} +\frac{\partial ^{2}C}{\partial Y^{2}}\bigg )+U\frac{\partial C}{\partial X}+V\frac{\partial C}{\partial Y}=0, \end{aligned}$$
(15)

where,

$$\begin{aligned} U=\frac{\partial \psi }{\partial Y}, \hspace{0.35 cm} V=-\frac{\partial \psi }{\partial X}, \hspace{0.35 cm} \zeta =\frac{\partial V}{\partial X}-\frac{\partial U}{\partial Y}. \end{aligned}$$
(16)

Boundary conditions

The dimensionless boundary conditions for this study are displayed in Table 4

Table 4 The non-dimensional boundary conditions for the considered problem.

Thermal and species transfer activity

In this investigation, The average Nusselt (\({\overline{Nu}}\)) and Sherwood number (\({\overline{Sh}}\)) are evaluated by the following relations81,83:

$$\begin{aligned} & {\overline{Nu}}=\frac{k_{hnf}}{k_{f}}\bigg (1+\frac{4}{3}Rd\frac{k_{f}}{k_{hnf}}\bigg )\int _{0}^{1}\left( -\frac{\partial T}{\partial Y}\right) dX. \end{aligned}$$
(17)
$$\begin{aligned} & {\overline{Sh}}=\frac{D_{hnf}}{D_{f}}\int _{0}^{1}\left( -\frac{\partial C}{\partial Y}\right) dX. \end{aligned}$$
(18)

Analysis of entropy production

A thorough examination of entropy generation is included in the discussion of the problem. The dimensional representation of the entropy generation number is formulated in accordance with prior research findings2,61:

$$\begin{aligned} E_{gen}=\frac{k_{hnf}}{\theta _0^2}\left[ \left( \frac{\partial \theta }{\partial x}\right) ^2+\left( \frac{\partial \theta }{\partial y}\right) ^2\right] +\frac{\mu _{hnf}}{\theta _0}\bigg [2\left( \frac{\partial u}{\partial x}\right) ^2+2\left( \frac{\partial v}{\partial y}\right) ^2+\left( \frac{\partial u}{\partial y}+\frac{\partial v}{\partial x}\right) ^2\bigg ] \\ +\frac{\mu _{hnf}}{k^{*}\theta _0}\bigg [u^{2}+v^{2}\bigg ]+\frac{\sigma _{hnf}}{\theta _0}B^{2}_{0}u^{2}+\frac{RD_{hnf}}{c_0}\left[ \left( \frac{\partial c}{\partial x}\right) ^2+\left( \frac{\partial c}{\partial y}\right) ^2\right] \end{aligned}$$
$$\begin{aligned} +\frac{RD_{hnf}}{\theta _0}\left[ \left( \frac{\partial \theta }{\partial x}\right) \left( \frac{\partial c}{\partial x}\right) +\left( \frac{\partial \theta }{\partial y}\right) \left( \frac{\partial c}{\partial y}\right) \right] . \end{aligned}$$
(19)

By employing \(\bigg (\displaystyle {\frac{k_{f} \Delta \theta ^{2}}{\theta _{0}^{2}L^{2}}}\bigg )\) as typical scales, the dimensionless form of local entropy generation numbers are written as follows:

  • Heat transfer

    $$\begin{aligned} E_{lht}=\frac{k_{hnf}}{k_{f}}\left[ \left( \frac{\partial T}{\partial X}\right) ^2+\left( \frac{\partial T}{\partial Y}\right) ^2\right] , \end{aligned}$$
  • Fluid friction

    $$\begin{aligned} E_{lff}=\varphi _{1}\frac{\mu _{hnf}}{\mu _{f}}\left[ 2 \left( \frac{\partial U}{\partial X}\right) ^2+2 \left( \frac{\partial V}{\partial Y}\right) ^2+\left( \frac{\partial U}{\partial Y}+\frac{\partial V}{\partial X}\right) ^{2}+\frac{1}{Da}\bigg (U^{2}+V^{2}\bigg )\right] , \end{aligned}$$
  • Magnetic field:

    $$\begin{aligned} E_{lmf}=\varphi _{1}\frac{\sigma _{hnf}}{\sigma _{f}} Ha^{2} U^{2} \end{aligned}$$
  • Mass transfer

    $$\begin{aligned} E_{lmt}=\frac{D_{hnf}}{D_{f}}\bigg \{\varphi _{2}\left[ \left( \frac{\partial C}{\partial X}\right) ^2+\left( \frac{\partial C}{\partial Y}\right) ^2\right] +\varphi _{3}\left[ \left( \frac{\partial T}{\partial X}\right) \left( \frac{\partial C}{\partial X}\right) +\left( \frac{\partial T}{\partial Y}\right) \left( \frac{\partial C}{\partial Y}\right) \right] \bigg \}, \end{aligned}$$
    (20)

where, \(\varphi _{1}=\frac{\mu _{f} \theta _{0}}{k_{f}}\bigg [\frac{\alpha _{f}}{L(\theta _{h}-\theta _{c})}\bigg ]^{2},\hspace{0.15cm} \varphi _{2}=\frac{RD_{f}}{k_{f}c_{0}}\bigg (\theta _{0}\frac{c_{h}-c_{l}}{\theta _{h}-\theta _{c}}\bigg )^{2} \hspace{0.15cm}\text{ and }\hspace{0.15cm} \varphi _{3}=\frac{RD_{f}}{k_{f}}\bigg (\theta _{0}\frac{c_{h}-c_{l}}{\theta _{h}-\theta _{c}}\bigg )\). For this simulation, \(\varphi _{1} = 10^{-4}\), \(\varphi _{2} = 0.5\) and \(\varphi _{3} = 10^{-2}\) (2,61). In addition, the total entropy generation (\(E_{T}\)) is evaluated by

$$\begin{aligned} E_{T}=E_{HT}+E_{FF}+E_{MF}+E_{MT}, \end{aligned}$$
(21)

where, \(E_{HT}=\int _\Omega E_{lht} \hspace{0.15cm}d\Omega\), \(E_{FF}=\int _\Omega E_{lff} \hspace{0.15cm}d\Omega\), \(E_{MF}=\int _\Omega E_{lmf} \hspace{0.15cm}d\Omega\), and \(E_{MT}=\int _\Omega E_{lmt} \hspace{0.15cm}d\Omega\). Also, the Bejan number (Be) is defined as follows

$$\begin{aligned} Be=\frac{E_{HT}+E_{MT}}{E_{T}}. \end{aligned}$$
(22)

The physical significance of the Bejan number (Be) is limited by its numerical values, \(Be>0.5\) implies dominance of heat transfer irreversibility and \(Be<0.5\) indicates dominance of fluid friction irreversibility.

Discretization and numerical procedure

The non-dimensional equations (12)-(15) can be written under the same umbrella of the 2D general second degree equation

$$\begin{aligned} & a(x,y)\frac{\partial ^{2}\Phi }{\partial x^{2}}+b(x,y)\frac{\partial ^{2}\Phi }{\partial y^{2}}+c(x,y)\frac{\partial \Phi }{\partial x}+d(x,y)\frac{\partial \Phi }{\partial y}\nonumber \\ & +p(x,y)\Phi =\chi \bigg (x,y,\frac{\partial \theta _{1}}{\partial x},\frac{\partial \theta _{1}}{\partial y},\frac{\partial \theta _{2}}{\partial x},\frac{\partial \theta _{2}}{\partial y}\bigg ), \end{aligned}$$
(23)

where, a(xy), b(xy) are the diffusion coefficients, c(xy) and d(xy) are the convection coefficients, p(xy) is the coefficient in the reaction term and r.h.s of (23) is the source term containing derivatives. Now, we have adopted the transformation technique and discretization procedure as given in Pandit and Chattopadhyay62. As such, we have considered the following co-ordinate transformation function

$$\begin{aligned} y= & \xi ,\\ x= & 1-\xi +A(2\xi -1)+B\bigg [2\eta \cos (2 \pi \eta )-\cos (2 \pi \eta )\bigg ]. \end{aligned}$$

The first and second order differential operators are given as follows:

$$\begin{aligned}\left[ \begin{array}{c} \partial _{x}\\ \partial _{y} \\ \end{array} \right] =\frac{1}{|J|}\left[ \begin{array}{cc} y_{\eta } & -y_{\xi } \\ -x_{\eta } & x_{\xi } \\ \end{array} \right] \left[ \begin{array}{c} \partial _\xi \\ \partial _\eta \\ \end{array} \right] ,\end{aligned}$$
$$\begin{aligned}\left[ \begin{array}{c} \partial _{xx}\\ \partial _{yy} \\ \end{array} \right] &=\frac{1}{|J|^{2}}\left( \left[ \begin{array}{cccc} y_{\eta } & -y_{\xi } & 0 & 0 \\ 0 & 0 & x_{\xi } & x_{\eta }\\ \end{array} \right] \left[ \begin{array}{cc} y_{{\xi \eta }} & - y_{{\xi \xi }}\\ y_{{\eta \eta }} & - y_{{\xi \eta }}\\ x_{{\xi \eta }} & x_{{\xi \eta }}\\ x_{{\eta \eta }} & - x_{{\xi \xi }}\\ \end{array} \right] \right) \left[ \begin{array}{c} \partial _\xi \\ \partial _\eta \\ \end{array} \right] \\& \ \frac{1}{|J|^{3}}\left( \left( \left[ \begin{array}{cccc} y_{\eta } & -y_{\xi } & 0 & 0 \\ 0 & 0 & x_{\xi } & 0\\ \end{array} \right] \left[ \begin{array}{cccc} y_{{\eta }} & - y_{{\xi }} & 0 & 0\\ 0 & 0 & y_{{\eta }} & - y_{{\xi }}\\ x_{{\xi }} & x_{{\xi }} & 0 & 0\\ 0 & 0 & x_{{\eta }} & - x_{{\xi }}\\ \end{array} \right] \right) \left[ \begin{array}{cc} J_\xi & 0\\ J_\eta & 0\\ 0 & J_\xi \\ 0 & J_\eta \\ \end{array} \right] \right) \left[ \begin{array}{c} \partial _\xi \\ \partial _\eta \\ \end{array} \right] \\& +\frac{1}{|J|^{2}}\left[ \begin{array}{ccc} y^{2}_{\eta } & -2y_{\xi }y_{\eta } & y^{2}_{\xi } \\ x^{2}_{\eta } & -2x_{\xi }x_{\eta } & x^{2}_{\xi } \\ \end{array} \right] \left[ \begin{array}{c} \partial _{\xi \xi } \\ \partial _{\xi \eta } \\ \partial _{\eta \eta } \\ \end{array} \right] \end{aligned}$$

where J is the Jacobian matrix given by \(J=\bigg [x_{\xi }y_{\eta }-x_{\eta }y_{\xi }\bigg ]\).

As in62, the fourth order accurate compact scheme for the equation (23) in the computational \(\xi\)-\(\eta\) plane is

$$\begin{aligned} & A'_{i,j}\delta ^{2}_{ \xi }{\widehat{\phi }}_{ij} +G'_{i,j}\delta _{ \xi }\delta _ \eta {\widehat{\phi }}_{i,j}+ B'_{i,j}\delta ^{2}_ \eta {\widehat{\phi }}_{i,j} +C'_{i,j}\delta _{ \xi }{\widehat{\phi }}_{i,j}+D'_{i,j}\delta _{\eta }{\widehat{\phi }}_{i,j} +H'_{i,j}{\widehat{\phi }}_{i,j}\nonumber \\ + & \frac{1}{12}\bigg [X'_{i,j}\delta ^{2}_{ \xi } \delta ^{2}_{ \eta }{\widehat{\phi }}_{i,j}+Y'_{i,j}\delta ^{2}_{\xi }\delta _{ \eta }{\widehat{\phi }}_{i,j}+Z'_{i,j} \delta _{\xi }\delta ^{2}_{\eta } {\widehat{\phi }}_{i,j}\bigg ]=F'_{i,j}\nonumber \\ + & \frac{g_{i,j}}{24}\bigg [\frac{1}{k} \bigg \{2({\widehat{\phi }}_{\xi })_{i,j-1}-2({\widehat{\phi }}_{\xi })_{i,j+1}- ({\widehat{\phi }}_{\xi })_{i-1,j-1}-({\widehat{\phi }}_{\xi })_{i+1,j-1}+({\widehat{\phi }}_{\xi })_{i+1,j+1} +({\widehat{\phi }}_{\xi })_{i-1,j+1}\bigg \}\nonumber \\ + & \frac{1}{h} \bigg \{2({\widehat{\phi }}_{\eta })_{i-1,j}-2({\widehat{\phi }}_{\eta })_{i+1,j}-({\widehat{\phi }}_{\eta })_{i-1,j-1} +({\widehat{\phi }}_{\eta })_{i+1,j-1}+({\widehat{\phi }}_{\eta })_{i+1,j+1}-({\widehat{\phi }}_{\eta })_{i-1,j+1}\bigg \}\bigg ]\nonumber \\ + & O(h^{4},k^{4}), \end{aligned}$$
(24)

where, h and k are the steps along \(\xi\)- and \(\eta\)- directions respectively and the coefficients \(A', B', C', D', G', H', X', Y', Z'\) can be found in63,64,65. In the same process, we can obtain \(F'\) for the present problem. The gradients \({\widehat{\phi }}_{\xi }\) and \({\widehat{\phi }}_{\eta }\), appeared in equations (24) are approximated compactly as tridiagonal system:

$$\begin{aligned} {\widehat{\phi }}_{\xi i,j}=\left( \delta _{\xi }{\widehat{\phi }}_{i,j}-\frac{h^2}{6}\delta _{\xi }^2{\widehat{\phi }}_{\xi i,j}\right) +O(h^4) \end{aligned}$$
(25)

or

$$\begin{aligned} \frac{1}{6}{\widehat{\phi }}_{\xi i+1,j}+\frac{4}{6}{\widehat{\phi }}_{\xi i,j}+\frac{1}{6}{\widehat{\phi }}_{\xi i-1,j}=\frac{{\widehat{\phi }}_{i+1,j}-{\widehat{\phi }}_{i-1,j}}{2h} \end{aligned}$$
(26)

and

$$\begin{aligned} {\widehat{\phi }}_{\eta i,j }=\left( \delta _{\eta }{\widehat{\phi }}_{i,j}-\frac{k^2}{6}\delta _{\eta }^2{\widehat{\phi }}_{\eta i,j}\right) +O(k^4) \end{aligned}$$
(27)

or

$$\begin{aligned} \frac{1}{6}{\widehat{\phi }}_{\eta i,j+1}+\frac{4}{6}{\widehat{\phi }}_{\eta i,j}+\frac{1}{6}{\widehat{\phi }}_{\eta i,j-1}=\frac{{\widehat{\phi }}_{i,j+1}-{\widehat{\phi }}_{i,j-1}}{2k} \end{aligned}$$
(28)

Interest readers may also look into the detailed formulations63,64,65. The coefficient matrix resulting from the transformed equations is nonsymmetric and solved iteratively by the BiCGStab method66. Our computed steady-state results are accumulated by fulfilling the following convergence criterion:

$$\begin{aligned} \max \mid \Omega ^{(\gamma +1)}_{i,j}-\Omega ^{(\gamma )}_{i,j}\mid <0.5\times 10^{-5}, \end{aligned}$$
(29)

where, \(\Omega ^{(\gamma )}_{i,j}\) denotes numerical values at \(\gamma ^{\text {th}}\) iteration representing the numerical values of \(\psi _{i,j}\), \(\zeta _{i,j}\), \(T_{i,j}\) and \(C_{i,j}\). To compute the steady solution of Navier-Stokes equations, we have employed an outer-inner iteration procedure with the following numerical algorithm

  1. 1.

    \(\gamma ^{\text {th}}\) iteration: Initialize \(\psi , \zeta , T, C, u, v\).

  2. 2.

    \((\gamma +1)^{\text {th}}\) iteration:

     (a) Set the boundary condition for \(\psi _{\xi }\), \(\psi _{\eta }\), \(\zeta _{\xi }\), \(\zeta _{\eta }\), \(T_{\xi }\), \(T_{\eta }\), \(C_{\xi }\), \(C_{\eta }\), \(u_{\xi }\), \(u_{\eta }\), \(v_{\xi }\), \(v_{\eta }\).

    (b) Compute \(\psi _{\xi }\), \(\psi _{\eta }\), \(\zeta _{\xi }\), \(\zeta _{\eta }\), \(T_{\xi }\), \(T_{\eta }\), \(C_{\xi }\), \(C_{\eta }\), \(u_{\xi }\), \(u_{\eta }\), \(v_{\xi }\), \(v_{\eta }\) at all points inside the domain by BiCGStab method.

  3. 3.

    (a) Solve for \(T^{\gamma +1}\) using \(u^{\gamma }\), \(v^{\gamma }\), \(T^{\gamma +1}_{\xi }\), \(T^{\gamma +1}_{\eta }\). (b) Solve for \(C^{\gamma +1}\) using \(u^{\gamma }\), \(v^{\gamma }\), \(C^{\gamma +1}_{\xi }\), \(C^{\gamma +1}_{\eta }\). (c) Solve for \(\zeta ^{\gamma +1}\) using \(u^{\gamma }\), \(v^{\gamma }\), \(T^{\gamma +1}_{\xi }\), \(T^{\gamma +1}_{\eta }\), \(\zeta ^{\gamma +1}_{\xi }\), \(\zeta ^{\gamma +1}_{\eta }\), \(C^{\gamma +1}_{\xi }\), \(C^{\gamma +1}_{\eta }\). (d) Solve for \(\psi ^{\gamma +1}\) using \(\psi ^{\gamma +1}_{\xi }\), \(\psi ^{\gamma +1}_{\eta }\), \(\psi ^{\gamma +1}\). (e) Compute \(u^{\gamma +1}\) and \(v^{\gamma +1}\) using \(\psi ^{\gamma +1}_{\xi }\), \(\psi ^{\gamma +1}_{\eta }\).

  4. 4.

    Verify convergence of \(\chi\) i.e. \(\max \mid \chi ^{(\gamma +1)}_{i,j}-\chi ^{(\gamma )}_{i,j}\mid \le\) Tol where, \(\chi\) stands for \(\psi\), \(\zeta\), T and C and Tol stands for tolerance limit.

This constitute one outer iteration cycle. Repeat steps 2, 3 until convergence. The flow chart of the solution algorithm is given in Fig. 2. It is mentioned here that all the computations in this study have been performed on an Intel quad-core processor-based PC with 8 GB RAM using C language. For this work, Tecplot software is used for graph presentation.

Fig. 2
Fig. 2
Full size image

Flow chart for solution algorithm.

Validation of computational code and sensitivity analysis on grid resolution

Fig. 3
Fig. 3
Full size image

Comparison of isoconcentrations, streamlines and isotherms contours (a) Present (b) Al-Amiri et al.67.

In this subsection, the accuracy of our in-house computing code is assessed by reproducing the results of Al-Amiri et al.67 in a square geometry constituting a single moving lid with uniform but different values of temperature and concentration for the bottom and top walls. As per their problem demonstration, the side walls are treated as impermeable, and in adiabatic conditions while the top lid is in motion toward the right. In Fig. 3, we have displayed the contours of streamline, temperature and concentration for \(Pr = 1, Le = 10, Re=10^{2}\) and \(Ri = 10^{-2}\). It is seen that our results agreed well with those in Al-Amiri et al.67. Qualitatively, we have also reproduced numerical results for streamlines and isotherms as shown in Fig. 4 for the case of free convection inside a wavy enclosure presented by Mahmud et al.68. From the results, we have observed an excellent agreement between the results of Mahmud et al.68 and our results.

Fig. 4
Fig. 4
Full size image

Comparison of streamlines and isotherms contours (a) Present (b) Mahmud et al.68.

We have also reproduced the problem investigated by Sompong et al.69 inside an vertical wavy porous enclosure, as depicted in Fig. 5, and achieved excellent agreement.

Fig. 5
Fig. 5
Full size image

Comparison of streamlines and isotherms contours (A) Present (B) Sompong et al.69.

A further validation involved a comparative study with Ma et al.’s work70, specifically exploring parameters such as \(Ra=10^5\), \(Ha=20\), \(Pr=6.2\) \(\phi =0.05\) and \(AR=0.6\). Fig. 6 visually presents this analysis, showcasing flow and energy distributions inside a U-shaped cabinet. The compelling agreement observed between our outcomes and those in Ma et al.’s study underscores the code’s proficiency in faithfully capturing flow and temperature distributions.

Fig. 6
Fig. 6
Full size image

Comparison of streamlines and isotherms between (i)70 (a, b) and (ii) present work (c, d) for \(Ra=10^5, Ha=20, AR=0.6, \phi =0.05\).

Fig. 7
Fig. 7
Full size image

Comparison of isotherms at different Ra and \(\delta =0.3\): (a) experimental results of Corvaro and Paroncini71 and (b) Present study.

Fig. 7 provides a comparison of thermal distributions between our results and experimental results71 and obtained vigorous agreements between experimental data and our simulations.

Fig. 8
Fig. 8
Full size image

Comparison of contours in (A) present work and (B) a numerical work of Ilis et al.72 for (a) local entropy generation due to heat transfer (b) local entropy generation due to fluid friction and (c) local entropy generation number for a cavity with a hot left wall and cold right wall with adiabatic top and bottom walls at \(Ra=10^3\) for \(Pr=0.7\).

Additionally, within Figure 8, we have reproduced the outcomes of entropy generation as investigated by Ilis et al.72. The confirmation underscores a substantial alignment between the findings of Ilis et al. and our simulation results, underscoring the precision of our code in forecasting entropy generation patterns. Through these validation exercises and comparative assessments, we collectively substantiate the strength and trustworthiness of our proprietary computational code in modelling intricate scenarios of fluid dynamics.

Table 5 Comparison of minimum values of streamfunction (\(\psi _{min}\)) for different values of N with \(Re=100\), \(Ri=0.01\), \(Le=1\) and \(Pr=1\) between Al-Amiri et al.67 and present study.

Moreover, Table 5 provides a contrast in the \(\psi _{\min }\) values between the findings of Al-Amiri et al.67 and the outcomes from our ongoing research. The tabular data accentuates the adeptness of our computing code, affirming its capability to produce results that align consistently with established literature.

Table 6 Comparison of average Nusselt and Sherwood numbers at the hot bottom wall between the Bettaibi et al.73 and present study for \(Gr=100\), \(Re=100\), \(Pr=1\) and \(Le=1.\).

In Table 6, we have compared the values of \({\overline{Nu}}\) and \({\overline{Sh}}\) for the problem investigated by Bettaibi et al.73 using our commutating in-house code. These results further validate the reliability and precision of our code in capturing key fluid dynamics parameters.

Table 7 Comparison of the average Nusselt numbers at top wall for different values of \(\phi\) with \(Gr=100\) and \(Ri=5\) between Nada et al.74 and present study.

Table 7 provides a comparison of \({\overline{Nu}}\) for various \(\phi\) values between Nada et al.74 and our simulation. The agreement in these tabular results reaffirms the accuracy of our in-house code across varying parameters.

Table 8 Comparison of average Nusselt number (\({\overline{Nu}}\)) and\(|\psi |_{max}\)among the present solution and Ghasemi et al77 for\(\hbox {Al}_{2}\)\(\hbox {O}_{3}\) -water nanofluid at various Ha and with\(Ra = 10^{5}\).

Additionally, our results are cross-referenced with experimental observations by Ho et al.75 and computational outcomes presented by Saghir et al.76 in Table 8. The observed good agreement further attests to the capability of our code in accurately reproducing complex fluid dynamics scenarios.

Table 9 Comparison of \({\overline{Nu}}\) between the experimental results, various numerical techniques and the present work for various \(\phi\), \(Ra_{nf}\) and \(Pr_{nf}.\).

Furthermore, in Table 9, a contrast is drawn between our values of \({\overline{Nu}}\) and \(|\psi |_{\max }\) and those shown by Ghasemi et al.77 across different Ha values. The consistency observed between results of77 and our findings underscores the precision and dependability of our proprietary code.

In summary, the exhaustive validations and comparative assessments illustrated in the presented tables and figures collectively validate the precision, dependability, and adaptability of our proprietary code. Its consistent delivery of accurate results across a diverse range of scenarios underscores its effectiveness in computational simulations.

Table 10 Grid independence study of the problem for Max\(|\psi |\), \({\overline{Nu}}\) and \({\overline{Sh}}\) on the grids at \(\phi _{hnp}=0.04\), \(m=3.0\), \(Ra=10^{5}\), \(Da=10^{-4}\), \(Ha=25\), \(Le=5\), \(N=1\) and \(Rd=1\).

In Table 10, we have summarized the grid sensitivity results for three different grid resolutions: \(31\times 31\), \(61\times 61\), and \(121\times 121\). The results indicate that the \(61\times 61\) grid yields accurate and reliable outcomes for the considered problem.

Results and discussion

In this section, we analyze and present the outcomes from our study, offering a detailed demonstration of their physical significance. The computed outcomes are shown through visualizations of streamlines, isotherms, iso-concentrations, \({\overline{Nu}}\) and \({\overline{Sh}}\), offering a comprehensive portrayal of thermosolutal phenomena under various physical parameters. This comprehensive exploration aims to contribute to a deeper understanding of the complex dynamics within the porous wavy cabinet loaded with a radiative hybrid nanofluid.

Fig. 9
Fig. 9
Full size image

Streamlines representing the fluid flow path within the baffled enclosure for different cases and Rayleigh number (Ra) with \(\phi _{hnp}=0.04\), \(Ha=25\), \(Le=1\), \(Da=10^{-3}\), \(N=1\) and \(Rd=1\). Max\(|\psi |\) represents the maximum value of streamfunction.

In Fig. 9, we delve into a comprehensive examination of how the Rayleigh number (Ra) intricately influences the behavior of a hybrid nanoliquid inside a wavy cabinet containing a T-shaped baffle under various heating strategies. The streamline contours for lower value Ra number are depicted in Figure 9(a), revealing a multi-cellular flow inside the porous cavity for all cases. In Case-1 (uniform heating) and Case-3 (non-uniform heating), two symmetric primary eddies form near the heated border. Conversely, Case-2 (linear heating) displays two asymmetrical primary vortices, with the left eddy occupying a smaller portion of the cavity due to linear heating being applied on the lower border. Secondary eddies also emerge and attach to the T-shaped cold baffle in all three cases. The warm fluid rises from the bottom of the cavity, moves toward the vertical sidewalls, and is deflected by the attached baffle, resulting in a total of six eddies inside the system. As Ra increases, the buoyancy forces become more pronounced, strengthening these primary circulations. Secondary eddies merge for higher Ra in all cases, and the magnitudes of the stream function increase with Ra. Specifically, modifying Ra from \(10^4\) to \(10^6\) results in a significant increase in Max\(|\psi |\): 6962.31% for Case-1, 11693.46% for Case-2 and 6718.18% for Case-3. The corresponding isotherm lines in Fig. 10 offer insights into the thermal landscape. The warm fluid rises from the bottom of the cavity, moves toward the vertical sidewalls, and the adiabatic top surface redirects this flow, causing temperature lines to congest near the lower border. Steep energy gradients are observed, with higher temperature gradients near the hot lower border. The distinct temperature distributions for different heating strategies (Case-1, Case-2 and Case-3) are a result of the applied heating strategies. For example, Case-1 exhibits higher temperature at the bottom due to uniform heating, while Case-2 shows elevated temperatures on the left of the bottom border due to linear heating. Case-3, with non-uniform heating, displays higher temperatures at the midpoint of the bottom border. The T-shaped baffle plays a crucial role in reducing the expanse of the hot zone by obstructing and diverting the energy distribution within the enclosure. This reduction is a manifestation of the baffle’s ability to alter the flow patterns and enhance thermal mixing. Figure 11 illustrates the species concentration profiles for \(Le=1\), revealing a strong correlation with the thermal distribution depicted in Fig. 10. This alignment arises due to the comparable diffusivities of heat and solute within the system, leading to analogous transport characteristics. The intricate coupling between flow topology, thermal convection, and species transport is governed by the imposed heating strategies and the obstructive influence of the T-shaped baffle, which modulates convective currents and diffusion pathways, thereby shaping the overall thermosolutal distribution.

Fig. 10
Fig. 10
Full size image

Isotherms representing the heat flow path within the baffled enclosure for different cases and Rayleigh number (Ra) with \(\phi _{hnp}=0.04\), \(Ha=25\), \(Le=1\), \(Da=10^{-3}\), \(N=1\) and \(Rd=1\).

Fig. 11
Fig. 11
Full size image

Iso-solutal lines representing the mass (species) flow path within the baffled enclosure for different cases and Rayleigh number (Ra) with \(\phi _{hnp}=0.04\), \(Ha=25\), \(Le=1\), \(Da=10^{-3}\), \(N=1\) and \(Rd=1\).

Fig. 12
Fig. 12
Full size image

Streamlines representing the fluid flow path within the baffled enclosure for different cases and Darcy number (Da) with \(\phi _{hnp}=0.04\), \(Ra=10^{5}\), \(Ha=25\), \(Le=5\), \(N=1\) and \(Rd=1\). Max\(|\psi |\) represents the maximum value of streamfunction.

In Fig. 12, we explore the effect of the Darcy number (Da) on flow distributions within the enclosure. For lower Da values, a multicellular flow pattern is observed, distinguished by the arrangement of symmetric eddies for Case-1 and Case-3. In Case-2, with linear heating of the lower border, two weak asymmetric primary eddies are generated. This behavior is attributed to the dominance of viscous forces over buoyancy forces at low Da. As Da increases, the magnitudes of the stream function in every case also increase. The change in Da from \(10^{-4}\) to \(10^{-2}\) results in a significant boost in Max\(|\psi |\): 6962.31% for Case-1, 11693.46% for Case-2 and 6718.18% for Case-3. Fig. 13 presents the corresponding thermal distribution for various Da within the system. Isotherms are congested near the heated border, indicating a steep thermal gradient near the hot border. The presence of steep temperature gradients near the heated boundary is evident, signifying regions of intense thermal transport. Notably, the energy concentration varies across different heating configurations: in Case-1, maximum thermal energy accumulates along the heated boundary of the chamber; in Case-2, it is concentrated on the left segment of the lower wall; whereas in Case-3, the peak temperature region is localized at the central portion of the lower boundary. The introduction of the T-shaped fin significantly alters the thermal field by acting as a thermal barrier, constraining heat propagation, and redistributing convective currents, thereby reducing the spatial extent of the high-temperature region within the chamber.

Fig. 13
Fig. 13
Full size image

Isotherms representing the heat flow path within the baffled enclosure for different cases and Darcy number (Da) with \(\phi _{hnp}=0.04\), \(Ra=10^{5}\), \(Ha=25\), \(Le=5\), \(N=1\) and \(Rd=1\).

Fig. 14
Fig. 14
Full size image

Iso-solutal lines representing the mass (species) flow path within the baffled enclosure for different cases and Darcy number (Da) with \(\phi _{hnp}=0.04\), \(Ra=10^{5}\), \(Ha=25\), \(Le=5\), \(N=1\) and \(Rd=1.\).

Fig. 15
Fig. 15
Full size image

Streamlines representing the fluid flow path within the baffled enclosure for different cases and Lewis number (Le) with \(Ra=10^{5}\), \(\phi _{hnp}=0.04\), \(Da=10^{-3}\), \(Ha=30\), \(N=1\) and \(Rd=1\). Max\(|\psi |\) represents the maximum value of streamfunction.

In Fig. 14, solutal lines are presented, providing insights into solute dispersion inside the enclosure. It is observed that the species lines are more crowded compared to the energy lines. The observed higher species transfer than energy transport inside the system signifies the complex interplay between mass and heat transfer phenomena. Thus, the observed flow patterns, thermal distributions, and solute dispersion are intricately linked to the variation in Da. The dominance of viscous forces, the influence of heating strategies, and the role of the T-shaped fin collectively contribute to the thermal behavior and complex fluid dynamics within the wavy enclosure.

In Fig. 15, we delve into the nuanced interplay between the Lewis number (Le) and various facets of the system’s behavior, exploring how Le influences the flow topology, thermal characteristics, and solute transport inside the container. The observed multi-cellular flow pattern within the container is characterized by two symmetric primary vortices. Additionally, for Case-1 and Case-3, four secondary cells intimately attach to the cold T-shaped fin, while Case-2 exhibits two primary eddies within the chamber along with a small secondary vortex attached to the fin. Notably, while Le does not significantly alter the flow structure inside the cavity, an increase in Le from 1 to 10 leads to a reduction in Max\(|\psi |\) by 42.15% in Case-1, 50.19% in Case-2, and 47.45% in Case-3, indicating a diminishing convective flow intensity. The corresponding isotherm lines in Figure 16 visually narrate the temperature distribution within the enclosure. The clustering of isothermal contours near the heated boundary signifies intense convective heat transport in this region, driven by buoyancy-induced flow. The interaction between the thermal field and the T-shaped cold fin introduces a complex interplay between geometric constraints and thermally induced fluid motion. Notably, the thermal gradient exhibits a higher magnitude in the lower half of the enclosure compared to the upper region, indicating asymmetric thermal diffusion influenced by convective currents. Interestingly, the Lewis number (Le) exerts a negligible influence on the overall thermal distribution within the enclosure, suggesting that thermal transport remains primarily governed by convective and conductive mechanisms rather than species diffusivity. Fig. 17 presents solutal lines for different Le, revealing the presence of vigorous convective solutal transfer near the lower wall. As Le rises, a significant modification is found in concentration contours close to the lower wall. The species transport becomes higher compared to that of the energy inside the container. The interplay between thermal and solute dynamics underscores the complex nature of mass and heat transfer phenomena within the wavy enclosure.

Fig. 16
Fig. 16
Full size image

Isotherms representing the heat flow path within the baffled enclosure for different cases and Lewis number (Le) with \(Ra=10^{5}\), \(\phi _{hnp}=0.04\), \(Da=10^{-3}\), \(Ha=30\), \(N=1\) and \(Rd=1\).

Fig. 17
Fig. 17
Full size image

Iso-solutal lines representing the mass (species) flow path within the baffled enclosure for different cases and Lewis number (Le) with \(Ra=10^{5}\), \(\phi _{hnp}=0.04\), \(Da=10^{-3}\), \(Ha=30\), \(N=1\) and \(Rd=1.\).

Fig. 18
Fig. 18
Full size image

The bar chart represents variation of average Nusselt number (\({\overline{Nu}}\)) and average Sherwood number (\({\overline{Sh}}\)) with solid volume fraction (\(\phi _{hnp}\)) for different cases and \(Ra=10^{5}\), \(Da=10^{-3}\), \(Ha=25\), \(Le=2\), \(N=1\) and \(Rd=1\).

Thermal assessment: Average Nusselt (\({\overline{Nu}}\)) and Sherwood number (\({\overline{Sh}}\)):

In Figure 18, we delve into an insightful exploration of the influence of varying nanoparticle volume fraction (\(\phi _{hnp}\)) on \({\overline{Nu}}\) and \({\overline{Sh}}\) in three distinct cases, each characterized by \(m=3.0\), \(Ra=10^{5}\), \(Da=10^{-3}\), \(Ha=25\), \(Le=2\), \(N=1\) and \(Rd=1\). Throughout this analysis, we observe a consistent upward trajectory in \({\overline{Nu}}\) as \(\phi _{hnp}\) increases, which indicates improved energy transfer capability of nanofluids. Specifically, with an increase in \(\phi _{hnp}\) from 0.0 to 0.04, \({\overline{Nu}}\) experiences significant enhancements of 3.50%, 4.21%, and 1.18% in Case-1, Case-2 and Case-3, respectively. In contrast, the behavior of \({\overline{Sh}}\) illustrates a contrasting downward trend with growing \(\phi _{hnp}\). The decline in \({\overline{Sh}}\) is noteworthy, with respective reductions of 7.10%, 5.84% and 6.72% in Case-1, Case-2, and Case-3 when \(\phi _{hnp}\) is elevated from 0.0 to 0.04. Additionally, it is noteworthy that the optimal conditions for both energy and species transfer occur at \(\phi _{hnp}=0.04\). This particular nanoparticle volume fraction yields the maximum energy transfer efficiency and the minimum species transfer, indicating a delicate balance between the two processes. Among the three cases considered, Case-1, characterized by uniform heating, emerges with the maximum mean Nusselt number. This is followed by Case-2 with linear heating, and Case-3 with non-uniform heating, for all values of nanoparticle volume fraction (\(\phi _{hnp}\)). This ranking implies that the configuration featuring uniform heating (Case-1) provides the most efficient species and energy transfer dynamics in this study.

In Figure 19, we display a comprehensive examination of the variations in \({\overline{Nu}}\) and \({\overline{Sh}}\) for different Rayleigh numbers (Ra) across all three cases, where \(m=3.0\), \(\phi _{hnp}=0.04\), \(Ha=25\), \(Da=10^{-3}\), \(N=1\), \(Le=1\) and \(Rd=1\). The investigation reveals intriguing insights into the solutal and energy transfer characteristics as Ra undergoes systematic increments. As Ra increases, both \({\overline{Nu}}\)) and \({\overline{Sh}}\) demonstrate noteworthy enhancements. Specifically, with a transition from \(Ra=10^{4}\) to \(Ra=10^{6}\), \({\overline{Nu}}\) experiences substantial improvements of 65.16%, 66.69% and an impressive 207.11% in Case-1, Case-2 and Case-3, respectively. The results indicate that an increase in the Rayleigh number (Ra) enhances thermal buoyancy-driven convection, leading to significantly more efficient heat transport across all considered cases. Concurrently, the mass transfer efficiency, characterized by the average Sherwood number (\({\overline{Sh}}\)), exhibits substantial augmentation with increasing Ra. Specifically, a variation in Ra from \(10^{4}\) to \(10^{6}\) yields enhancements of 131.50%, 132.38%, and an exceptional 385.60% in Case-1, Case-2, and Case-3, respectively. This highlights the pivotal role of thermal buoyancy in modulating solutal transport mechanisms within the nanofluid medium. Moreover, it is particularly noteworthy that the maximal rates of both heat and species transport are attained at \(Ra = 10^{6}\) in Case-1, suggests that, under uniform heating conditions, the upper bound of Ra corresponds to the most favorable regime for coupled thermosolutal convection.

In Figure 20, we conduct a thorough exploration of the variations in \({\overline{Nu}}\) and \({\overline{Sh}}\) with different Darcy number (Da). As Da increases, both \({\overline{Nu}}\) and \({\overline{Sh}}\) consistently show improvements. Specifically, transitioning from \(Da=10^{-4}\) to \(Da=10^{-2}\) yields enhancements of 14.80% and 11.40% in Case-1, 13.80% and a substantial 123.28% in Case-2 and 61.79% and an impressive 258.95% in Case-3, respectively. The observed upgrades in \({\overline{Nu}}\) and \({\overline{Sh}}\) with increasing Da can be attributed to the influence of permeability on fluid flow within the porous medium. As Da increases, the flow resistance decreases, leading to enhanced convective species and energy transfer. The more pronounced impact on \({\overline{Sh}}\) in Case-3 suggests that the non-uniform heating configuration is particularly sensitive to changes in Da.

Fig. 19
Fig. 19
Full size image

The bar chart represents variation of average Nusselt number (\({\overline{Nu}}\)) and average Sherwood number (\({\overline{Sh}}\)) with Rayleigh number (Ra) for different cases and \(\phi _{hnp}=0.04\), \(Ha=25\), \(Le=1\), \(Da=10^{-3}\), \(N=1\) and \(Rd=1\).

Fig. 20
Fig. 20
Full size image

The bar chart represents variation of average Nusselt number (\({\overline{Nu}}\)) and average Sherwood number (\({\overline{Sh}}\)) with Darcy number (Da) for different cases and \(\phi _{hnp}=0.04\), \(Ra=10^{5}\), \(Ha=25\), \(Le=5\), \(N=1\) and \(Rd=1\).

Fig. 21
Fig. 21
Full size image

The bar chart represents variation of average Nusselt number (\({\overline{Nu}}\)) and average Sherwood number (\({\overline{Sh}}\)) with Hartmann number (Ha) for different cases and \(\phi _{hnp}=0.04\), \(Ra=10^{5}\), \(Da=10^{-3}\), \(Le=1\), \(N=1\) and \(Rd=1\).

Figure 21 visually presents the variations in \({\overline{Nu}}\) and \({\overline{Sh}}\) with different Hartmann numbers (Ha), showcasing significant reductions in both parameters as Ha increases. The key observation is the pronounced restraining effect exerted by the Lorentz force on the fluid’s motion inside the domain, resulting in noteworthy consequences for species and energy transfer dynamics. It is crucial to underscore the role of the Lorentz force, produced by the magnetic field, as it overwhelmingly diminishes thermosolutal transfer rates. This dominance of the Lorentz force becomes apparent in the substantial reductions observed in both \({\overline{Nu}}\) and \({\overline{Sh}}\) as Ha is increased. The restraining effect on fluid motion contributes to an intricate interplay between magnetic fields and convective transport processes. Specifically, at \(Ha=60\), \({\overline{Nu}}\) and \({\overline{Sh}}\) experience reductions of 0.65% and 1.94%, respectively, in Case-1. In Case-2, the reductions are slightly more pronounced, with \({\overline{Nu}}\) diminishing by 0.82% and \({\overline{Sh}}\) by 2.85%. Case-3 exhibits the most substantial reductions, with \({\overline{Nu}}\) and \({\overline{Sh}}\) diminishing by 4.53% and 9.48%, respectively, relative to their values at \(Ha=0\).

In Figure 22, we delve into a detailed investigation of the impacts of the buoyancy parameter (N) on thermal and species transfer, considering parameters such as \(m=3.0\), \(\phi _{hnp}=0.04\), \(Ra=10^{5}\), \(Da=10^{-3}\), \(Le=1\), \(Ha=25\) and \(Rd=1\). The significance of the buoyancy parameter, denoted as N, becomes evident as a key indicator of the complex interaction between buoyancy forces resulting from species and energy gradients inside a medium. This interaction significantly impacts the dynamics of energy and species transfer. Our exploration unveils noteworthy patterns as the buoyancy parameter N experiences changes. With increasing values of N, both \({\overline{Nu}}\) and \({\overline{Sh}}\) exhibit consistent and significant improvements. Specifically, changing from \(N=0\) to \(N=10\), we notice remarkable enhancements of 58.22% and 120.66% for Case-1, 36.75% and 86.29% for Case-2, and 110.71% and 214.44% for Case-3 in \({\overline{Nu}}\) and \({\overline{Sh}}\), respectively. The buoyancy parameter N acts as a quantifiable measure of the impact of buoyancy forces on the fluid motion and transport processes. The observed improvements in both \({\overline{Nu}}\) and \({\overline{Sh}}\) underscore the pivotal role of buoyancy in enhancing convective heat and mass transfer. Higher values of N indicate stronger buoyancy effects, leading to more efficient transport of heat and species within the nanofluid.

Figure 23 illustrates the influences of the Lewis number (Le) on \({\overline{Nu}}\) and \({\overline{Sh}}\) for conditions characterized by \(Ra=10^{5}\), \(\phi _{hnp}=0.04\), \(m=3.0\), \(Da=10^{-3}\), \(Ha=30\), \(N=1\) and \(Rd=1\). The noticed patterns in species and energy transfer present intriguing insights into the intricate balance of diffusive processes within the nanofluid system. As the Lewis number (Le) increases, a distinctive phenomenon unfolds: energy transfer diminishes while solutal transfer is enhanced. This behavior is rooted in the fundamental physics of diffusive processes, where modifications in Le directly influence the competition between thermal and solutal transport. Specifically, with a change in Le from 1 to 10, we observe a reduction in \({\overline{Nu}}\) by up to 1.30% in Case-1, 0.96% in Case-2, and a more pronounced 9.25% in Case-3. This reduction in \({\overline{Nu}}\) indicates that as Le increases, thermal diffusion becomes less efficient, leading to a decrease in overall energy transfer rates. Conversely, \({\overline{Sh}}\) experiences significant enhancements with increasing Le. The solutal transfer is boosted by 119.49%, 101.07%, and 166.32% in Case-1, Case-2 and Case-3, respectively, when transitioning from \(Le=1\) to \(Le=10\). This emphasizes that higher Lewis numbers favor solutal diffusion, resulting in more efficient solutal transport inside the nanofluid system.

Fig. 22
Fig. 22
Full size image

The bar chart represents variation of average Nusselt number (\({\overline{Nu}}\)) and average Sherwood number (\({\overline{Sh}}\)) with buoyancy ratio number (N) for different cases and \(\phi _{hnp}=0.04\), \(Ra=10^{5}\), \(Da=10^{-3}\), \(Le=1\), \(Ha=25\) and \(Rd=1\).

Fig. 23
Fig. 23
Full size image

The bar chart represents variation of average Nusselt number (\({\overline{Nu}}\)) and average Sherwood number (\({\overline{Sh}}\)) with Lewis number (Le) for different cases and \(Ra=10^{5}\), \(\phi _{hnp}=0.04\), \(Da=10^{-3}\), \(Ha=30\), \(N=1\) and \(Rd=1.\).

Fig. 24
Fig. 24
Full size image

The bar chart represents variation of average Nusselt number (\({\overline{Nu}}\)) and average Sherwood number (\({\overline{Sh}}\)) with radiation parameter (Rd) for different cases and \(Ra=10^{5}\), \(\phi _{hnp}=0.04\), \(Da=10^{-3}\), \(Ha=25\), \(N=1\) and \(Le=1\).

In Figure 24, we explore the influence of the radiation parameter (Rd) on \({\overline{Nu}}\) and \({\overline{Sh}}\) for conditions characterized by \(m=3.0\), \(Ra=10^{5}\), \(\phi _{hnp}=0.04\), \(Da=10^{-3}\), \(Ha=25\), \(N=1\) and \(Le=1\). The observed trends highlight the significant effect of radiative heat transfer mechanisms on the species and energy transport dynamics within the nanofluid. As Rd increases, a distinct phenomenon unfolds: \({\overline{Nu}}\) experiences remarkable enhancements, while \({\overline{Sh}}\) undergoes reductions. This behavior underscores the crucial role played by radiative heat transfer mechanisms in modulating the overall performance of heat and mass transfer processes. Notably, as Rd increases from 1 to 10, \({\overline{Nu}}\) undergoes substantial enhancements of up to 467.12% in Case-1, 470.98% in Case-2 and 387.78% in Case-3. This remarkable increase in \({\overline{Nu}}\) suggests that radiative heat transfer becomes increasingly dominant, leading to more efficient thermal transport within the nanofluid. Conversely, \({\overline{Sh}}\) experiences reductions with increasing Rd. The solutal transfer diminishes by 3.09%, 2.05%, and 6.07% in Case-1, Case-2 and Case-3, respectively, as Rd transitions from 1 to 10. This indicates that the dominance of radiative heat transfer mechanisms hinders solutal diffusion, resulting in a decrease in overall mass transfer efficiency. In a general sense, the optimum thermal performance is observed at \(Rd=10\) for Case-1.

Examining Figure 25 provides an in-depth analysis of how the nanoparticle shape factors (m) and solid volume fraction (\(\phi _{hnp}\)) exert influence on \({\overline{Nu}}\) and \({\overline{Sh}}\), under specific conditions: \(Ra=10^{5}\), \(Da=10^{-3}\), \(Ha=25\), \(N=1\) and \(Le=1\). The observed trends reveal intricate relationships between nanoparticle characteristics and thermosolutal transfer in the nanofluid. For fixed values of m, it is noted that energy transfer, represented by \({\overline{Nu}}\), improves while species transfer, represented by \({\overline{Sh}}\), diminishes. Similarly, for fixed \(\phi _{hnp}\), \({\overline{Nu}}\) enriches, and \({\overline{Sh}}\) reduces. These trends highlight the nuanced impact of both shape factors and solid volume fraction on the thermal and species transfer dynamics inside the nanofluid. Specifically, in Case-1, with \(\phi _{hnp}=0.04\), \({\overline{Nu}}\) is upgraded by 3.50%, 4.60%, 6.31%, 7.71% and 12.21% with respect to \(\phi _{hnp}=0.0\) for \(m=3.0, 3.7, 4.8, 5.7, 8.6\), respectively. Simultaneously, \({\overline{Sh}}\) is shortened by 7.10%, 7.15%, 7.32%, 7.44% and 7.84%, respectively. Parallel patterns are discernible in both Case-2 and Case-3. The attainment of optimal species and energy transfer is notably observed in the context of blade-shaped nanoparticles (\(m=8.6\)).

Analysis of entropy generation

Table 11 Variation of \(E_{HT}\), \(E_{MT}\), \(E_{MF}\), \(E_{FF}\), \(E_{T}\), and Be for different Ra with \(\phi _{hnp}=0.04\), \(Ha=25\), \(Le=1\), \(Da=10^{-3}\), \(N=1\) and \(Rd=1\).

Table 11 and Figure 26 (a) showcases a discernible escalation in entropy production values as Ra experiences enhancement. This phenomenon finds its roots in the augmented rates of species and energy transport. The intensification of convective heat transfer with improving Ra leads to a concurrent elevation in entropy generation. Notably, the impact of mass transfer becomes increasingly evident, notably contributing to higher entropy production, particularly in cases such as \(E_{MT}\) and \(E_{MF}\). A noteworthy observation is the attainment of optimal values for entropy production metrics at \(Ra = 10^{6}\), indicative of a delicate equilibrium between heightened species and energy transfer processes. Conversely, the diminishing trend observed in Be as Ra improves is explained by the prevalence of heat transfer effects. At lower Ra values, fluid friction effects are more pronounced, resulting in higher Be. However, with the ascent of Ra, the influence of heat transfer becomes more pronounced, causing a subsequent reduction in Be.

Fig. 25
Fig. 25
Full size image

The bar chart represents variation of average Nusselt number (\({\overline{Nu}}\)) and average Sherwood number (\({\overline{Sh}}\)) with the nanoparticle shape factors (m) and solid volume fraction (\(\phi _{hnp}=0.04\)) for different cases and \(Ra=10^{5}\), \(\phi _{hnp}=0.04\), \(Da=10^{-3}\), \(Ha=25\), \(N=1\) and \(Le=1\).

Fig. 26
Fig. 26
Full size image

Variation of total entropy generation (\(E_{T}\)) and Bejan number (Be) for different cases (a) different Rayleigh number (Ra) with \(\phi _{hnp}=0.04\), \(Ha=25\), \(Le=1\), \(Da=10^{-3}\), \(N=1\) and \(Rd=1\) (b) different Darcy number (Da) with \(\phi _{hnp}=0.04\), \(Ra=10^{5}\), \(Ha=25\), \(Le=5\), \(N=1\) and \(Rd=1\) and (c) different Hartmann number (Ha) with \(\phi _{hnp}=0.04\), \(Ra=10^{5}\), \(Da=10^{-3}\), \(Le=1\), \(N=1\) and \(Rd=1\).

Table 12 Variation of \(E_{HT}\), \(E_{MT}\), \(E_{MF}\), \(E_{FF}\), \(E_{T}\), and Be for different N with \(\phi _{hnp}=0.04\), \(Ra=10^{5}\), \(Da=10^{-3}\), \(Le=1\), \(Ha=25\) and \(Rd=1\).

In Table 12, the influence of N on entropy productions and the Bejan number is unveiled. The observed increase in entropy production values as N enriches can be linked to heightened buoyancy-driven phenomena. As N increases, buoyancy effects become more pronounced, leading to intensified species and energy transport rates. This, in turn, contributes to an escalation in entropy generation. Simultaneously, the decrease in Be reflects the dominance of buoyancy-induced heat transfer effects over fluid friction, particularly noticeable at \(N=10\), where optimal conditions are achieved.

Table 13 Variation of \(E_{HT}\), \(E_{MT}\), \(E_{MF}\), \(E_{FF}\), \(E_{T}\), and Be for different Da with \(\phi _{hnp}=0.04\), \(Ra=10^{5}\), \(Ha=25\), \(Le=5\), \(N=1\) and \(Rd=1\).

Examining the role of Da in Table 13 and Figure 26 (b), the correlation between Da and entropy production components becomes apparent. The increase in entropy production values as Da grows is associated with the gradual enhancement of fluid flow within the system. Higher Da values indicate a more permeable medium, allowing for increased convective heat and mass transfer. The decline in Be at higher Da values signifies a shift in irreversibility sources, with fluid friction playing a more dominant role.

Table 14 Variation of \(E_{HT}\), \(E_{MT}\), \(E_{MF}\), \(E_{FF}\), \(E_{T}\), and Be for different Ha with \(\phi _{hnp}=0.04\), \(Ra=10^{5}\), \(Da=10^{-3}\), \(Le=1\), \(N=1\) and \(Rd=1\).

Moving on to Table 14 and Figure 26 (c), the impact of Ha on entropy productions and the Bejan number is explored. The observed decreasing trend in \(E_{HT}\), \(E_{MT}\), \(E_{FF}\) and Be as Ha increases can be attributed to the suppression of electromagnetic forces. A higher Ha implies stronger magnetic fields, limiting the convective species and energy transport, thus reducing entropy production. Conversely, the increasing trend in \(E_{MF}\) and \(E_{T}\) suggests a heightened influence of mechanical friction under stronger magnetic fields. The optimal conditions at \(Ha = 60\) indicate a delicate balance where electromagnetic effects are minimized.

Table 15 Variation of \(E_{HT}\), \(E_{MT}\), \(E_{MF}\), \(E_{FF}\), \(E_{T}\), and Be for different Le with \(Ra=10^{5}\), \(\phi _{hnp}=0.04\), \(Da=10^{-3}\), \(Ha=30\), \(N=1\) and \(Rd=1\).

Finally, in Table 15, the interplay between Le and entropy production components is discussed. The reduction in \(E_{HT}\), \(E_{MF}\), \(E_{FF}\) and \(E_{T}\) with increasing Le signifies a shift towards a more dominant role of species transfer over heat transfer. Higher Le values imply slower diffusion of heat compared to species, leading to decreased entropy production in heat-dominated processes. On the other hand, the improvement in \(E_{MT}\) and Be suggests that mass transfer becomes more efficient relative to heat transfer with increasing Le. This delicate balance between energy and species transfer mechanisms unveils the intricate physics governing entropy generation within the studied cases.

Conclusion

In this work, we have performed a numerical simulation of thermosolutal hydromagnetic convection inside a porous container spotlighting a T-shaped cold. The fluid consists of a hybrid nanofluid with Cu and \(\hbox {Al}_{2}\) \(\hbox {O}_{3}\) nanoparticles. The chamber is made up of two vertical curved walls as well as two horizontal plane borders. The lower boundary of the container is subjected to heating and solute injection, while the side walls are kept at cold and low concentration. The upper boundary of the enclosure is treated as adiabatic. All four boundaries of the enclosure remain stationary. Additionally, a T-shaped cold fin is located in the middle of the chamber. An external magnetic field is enforced parallel to gravity. We have considered three distinct heating scenarios: uniform heating and soluting of the bottom wall (Case-1), linear heating and soluting (Case-2), and non-uniform heating and soluting (Case-3). We have validated our in-house code for all the computations with the experimental and numerical results available in the literature. We have studied the effects of the Rayleigh numbers, the Hartmann numbers, the Darcy numbers, the Buoyancy numbers, the Lewis number, the volume concentration of the hybrid nanoparticles, and the radiation parameters on fluid flow topologies, energy, and concentration distributions within the curved walled porous chamber. Some of the important findings of the present study are listed below:

  1. a.

    The presence of a T-shaped fin coupled with varied thermal profiles, intricately shapes the flow topology and thermosolutal performance within the porous container.

  2. b.

    Our findings highlight the superior effectiveness of uniform heating (Case-1) compared to linear heating (Case-2) and non-uniform heating (Case-3) in terms of both entropy production and double-diffusion phenomena.

  3. c.

    The optimal thermosolutal performance is achieved with blade-shaped nanoparticles (\(m=8.6\)), whereas spherical nanoparticles (\(m=3.0\)) exhibit the least favorable performance across all considered aspects.

  4. d.

    The Lewis number (Le) enhances species transfer while diminishing energy transfer within the cabinet. Specifically, an increase in Le from 1 to 10 leads to a significant rise in species transfer by 119.49%, 101.07%, and 166.32% in Case-1, Case-2, and Case-3, respectively. However, this improvement in species transfer comes at the cost of thermal performance, which declines by 1.30%, 0.96%, and 9.25% in the corresponding cases.

  5. e.

    The thermodynamic behavior of the system is strongly governed by the buoyancy ratio number (N), Darcy number (Da), and Rayleigh number (Ra), which control the balance between thermal and solutal convection, permeability effects, and buoyancy-driven instabilities. Increasing N, Da, and Ra enhances convective transport, leading to higher \({\overline{Nu}}\), \({\overline{Sh}}\), and entropy generation (\(E_{T}\)). The optimal transport performance occurs at \(N=10\), \(Da=10^{-1}\), and \(Ra=10^{6}\) in all cases, highlighting the dominance of buoyancy-induced flow structures.

  6. f.

    Radiative heat transfer significantly impacts thermal transport by intensifying radiative energy exchange and amplifying temperature gradients. As Rd increases, \({\overline{Nu}}\) rises, marking a transition toward radiation-dominated heat transfer. Notably, for Rd increasing from 1 to 10, \({\overline{Nu}}\) surges by 467.12%, 470.98%, and 387.78% in Case-1, Case-2, and Case-3, respectively, underscoring the growing influence of radiative mechanisms.

This study presents a comprehensive investigation of thermosolutal hydromagnetic convection within a porous wavy container featuring a T-shaped cold zone. Future research could extend this work by examining the thermosolutal behavior of non-Newtonian nanofluids in such cavities, particularly under the influence of external factors such as an inclined magnetic field or thermal radiation. This would provide a deeper understanding of their performance under complex conditions. Furthermore, exploring the effects of varying porosity and different nanofluids on heat and mass transfer efficiency could offer valuable insights for optimizing energy systems.