iconOpen Access

ARTICLE

Second-Law Analysis of Double Diffusive Convection of Casson Ternary Nanofluid in a Porous Enclosure with a T-Shaped Baffle

Sarna Soren1, Samrat Hansda1,*, Umair Khan2,3, Anuar Ishak4, Ahmed Kadhim Hussein5, Md Mamun Molla6,7

1 Department of Mathematics, Sidho-Kanho-Birsha University, Purulia, West Bengal, India
2 Department of Mathematics, School of Engineering, Saveetha Institute of Medical and Technical Sciences, Saveetha University, Chennai, Tamil Nadu, India
3 Department of Mathematics, Faculty of Science, Sakarya University, Serdivan/Sakarya, Turkey
4 Department of Mathematical Sciences, Faculty of Science and Technology, Universiti Kebangsaan Malaysia (UKM), Bangi, Selangor, Malaysia
5 Department of Mechanical Engineering, University of Babylon, Hilla, Iraq
6 Department of Mathematics & Physics, North South University, Dhaka, Bangladesh
7 Center for Applied and Computational Science (CACS), North South University, Dhaka, Bangladesh

* Corresponding Author: Samrat Hansda. Email: email

(This article belongs to the Special Issue: Computational Methods in Mono/hybrid nanofluids: Innovative Applications and Future Trends)

Computer Modeling in Engineering & Sciences 2026, 147(2), 25 https://doi.org/10.32604/cmes.2026.079635

Abstract

This study presents a numerical investigation of thermosolutal convection within a baffled porous cavity filled with a radiative Casson-based ternary aqueous nanofluid. The ternary hybrid nanofluid is formulated by dispersing three distinct nanoparticles into a water-based solution, aiming to enhance the thermal and solute transport characteristics. The cavity includes internal baffles that modulate convective flow and facilitate improved energy transport. The governing equations for momentum, energy, species concentration, and entropy generation are discretized and solved using a higher-order compact (HOC) finite difference scheme, ensuring superior numerical precision. The novelty of the present study lies in the irreversibility analysis of thermosolutal convection of a Casson ternary nanofluid in a porous wavy enclosure with a T-shaped baffle, highlighting the combined effects of non-Newtonian behavior, ternary nanoparticle interaction, and geometric modification on entropy generation and transport performance. The impacts of key physical parameters on solutal and thermal distributions, entropy generation, and the Bejan number are systematically examined. The study reveals that the combined influence of the non-Newtonian nature of the Casson fluid and thermal radiation significantly alters flow structure and transport rates. Enhanced heat transfer is observed with increasing radiation parameters, while solutal transport remains relatively less sensitive. The presence of internal baffles promotes localized vortices and thermal layering, contributing to complex thermo-solutal interactions. The outcomes also show that the inclusion of a T-shaped baffle within the container enhances overall convective transport characteristics and system performance. The findings provide valuable insights into the design of advanced energy systems involving non-Newtonian nanofluids in porous enclosures under radiative and geometric constraints.

Keywords

Thermosolutal convection; T-shaped baffle; Casson fluid; ternary hybrid nanofluid; entropy generation; thermal radiation; wavy enclosure

1  Introduction

In recent years, baffled enclosures have gained considerable attention in thermal management applications such as air conditioners, refrigerators, cooling fans, double-pipe, and air-cooled heat exchangers [1,2]. A growing area of interest within such systems is double-diffusive convection (DDC), where both temperature and concentration gradients drive fluid motion. In an H-shaped container with corrugated walls and a baffle, Eshaghi et al. [3] evaluated DDC and revealed that when increasing in buoyancy ratio, both the heat and mass transfer increased. In a curvy porous chamber of U-shaped with an inverse T-shaped baffle inside, Hansda et al. [4] exposed the analysis of radiative nanofluid magneto-thermogravitational convection. They noticed that the Bejan number and Nusselt number upgraded when the nanoparticle volume fraction (ϕhnf) improved, but the total entropy generation is inversely proportional to ϕhnf. In a wavy baffled porous geometry, Hansda et al. [5] evaluated the performance of the hydromagnetic and thermosolutal radiative hybrid nanofluid. They observed that as the Rayleigh number (Ra) improves from 104 to 106, both the heat and the mass transfer improve. Kouki et al. [6] analyzed thermosolutal buoyancy-driven flow of a suspension containing nano-encapsulated phase change materials. The investigation employed the finite element method in combination with an ANN-based multilayer perceptron (MLP) algorithm to predict transport behavior and optimize system performance. They found that as Ra increases, the phase change area grows. In a recent study, Alsedais and Aly [7] investigated DDC induced by an oscillating fin embedded within an asteroid-shaped cavity filled with nano-encapsulated phase change materials. Using the ISPH (Incompressible Smoothed Particle Hydrodynamics) method, they analyzed the coupled heat and mass transfer behavior and highlighted the significant influence of baffle oscillation and complex geometry on flow structure and thermal performance. Their findings provide valuable insight into the enhancement of convective transport in irregular enclosures containing advanced thermal storage materials. Ahmad et al. [8] numerically investigated DDC in a cavity with non-uniformly heated walls. The results demonstrated that both the Hartmann number and a wall heating configuration significantly influence the convective intensity and thermal performance inside the enclosure.

In the current era, growing interest has emerged in exploring irregular geometries with DDC, specifically wavy-walled cavities, because of their potential in improving thermal and solute transport via surface modulation. Unlike traditional rectangular domains, wavy enclosures bring out the transformation in concentration and temperature through the surface. These transformations help the fluid mix better, move faster, and impact how stable the flow is. Also, these geometries are particularly applicable in engineering systems where enhanced thermal behavior and desired mixing efficiency are needed. Inside a two-wavy-walled cavity, Jain et al. [9] examined the simulation of DDC using a power-law nanofluid. In the results, the rate of thermal and solute transport increased with increasing numbers of Ra. Hansda et al. [10] investigated the study of magnetically impacted DDC of radiative hybrid nanofluid in a porous chamber with wavy walls with nonuniform heating and stated that the average Nusselt number and the average Sherwood number increased by increasing the Rayleigh number and Darcy number. Parmar et al. [11] evaluated a study on DDC in a porous wavy-walled chamber with time-frictional impacts. They found that fractional parameter solute and heat transport greatly impact the early performance of temperature lines, streamlines, and concentration lines. Parmar et al. [12] investigated the algorithmic study of DDC in a nanofluid within a wavy-walled porous geometry using fractional order. Alomari et al. [13] presented a study of DDC in three fins inside a wavy geometry used by nanofluid. They noted that as nanoparticle volume fraction (ϕ), Rayleigh number (Ra), and heat source/sink (q) improve, thermal and solute transport are enhanced. In a non-uniform porous chamber, Chuhan et al. [14] exposed thermosolutal convection affected by an inclined magnetic field. Hansda et al. [15] analyzed irreversibility during double diffusion in a wavy porous geometry filled with a radiative hybrid ferrofluid, while in related work, they reported enhanced DDC performance using radiative ternary hybrid nanofluids compared to hybrid and mono nanofluids. In a baffled inside porous, curvy H-shaped chamber with nanoencapsulated PCMs and the influence of heat parameters, Irshad et al. [16] studied DDC and found that the buoyancy ratio (N) and the Rayleigh number (Ra) have a positive impact on convective species and energy transport. Tayebi et al. [17] evaluated energy management and DDC in a novel wavy I-shaped enclosure with nano-PCM, affected by Soret and Dufour. The entropy generation of thermal and solute transport increases as the flow becomes slow. In a wavy square geometry, Uddin et al. [18] examined the influence of hydromagnetic fields on the DDC of a Cu-H2O nanofluid. Investigations addressing DDC in wavy geometries are also available in [1922]. However, the aforementioned studies did not address the influence of Casson fluid on DDC.

Despite their real-world relevance, particularly in biomedical and industrial applications, DDC in Casson fluids, especially within porous cavities, remains underexplored [2326]. The majority of available studies emphasize Newtonian or conventional non-Newtonian fluids, while the distinctive yield stress and viscosity behavior of Casson fluids remains underexplored. This work addresses that gap by analyzing how these properties influence thermal and solute transport in a bounded domain, advancing thermal-fluid modeling for complex systems. Casson fluids, unlike Newtonian fluids, behave as solids until a yield stress is exceeded, after which they flow like viscous fluids. Examples include blood, toothpaste, paint, and chocolate. The Casson model finds widespread use in biological and industrial processes, where previous studies have examined its behavior in porous media and confined flows, emphasizing its role in thermal and solute transport. In this context, Alomari et al. [27] investigate double-diffusive transport and entropy generation of a Casson CuH2O nanofluid in a wavy cylindrical chamber with an inner heated core, including MHD and thermal radiation effects, and report how parameters such as Ra, Ha, the Casson parameter, radiation, and buoyancy ratio affect heat transfer and irreversibility in that geometry. Salho et al. [28] studied the entropy generation and thermo-fluid dynamics of CuH2O Casson fluid in an H-shaped cavity with corrugated cylinders, focusing on MHD, radiation, and transport effects over a wide parametric range, and provided insights relevant to enclosure design for thermal management. In a wavy-shaped geometry, Hussain et al. [29] studied the effect of MHD and irreversibility of non-Newtonian fluids (Casson fluids) on DDC. They noticed how rising Le from 0.1 to 10 decreased the total entropy generation. In square geometry, Aghighi et al. [30] evaluated the Casson fluid moving in the DDC. In a wavy top chamber, Rashid et al. [31] employed heat transport examinations of the flow under a magnetic field with DDC in a Casson material. Upon improvement of the Ha values, the heat and mass flux decreased. Within a hexagonal geometry, Shah et al. [32] performed the magnetically affected Casson fluid flow in the DDC. In a wavy geometry used by the Casson fluid, Chuhan et al. [33] evaluated the reduction of the magnetic field entropy of DDC. In a square porous geometry containing Casson fluid, Aneja and Sharma [34] researched energy and species transport due to DDC. Chuhan et al. [35] performed an angled magnetic field impact on DDC under a curvy cavity used by Casson fluid. The heat flux improves when the non-Newtonian parameters are increased, which was noticed by them. In a curvy geometry used by the Casson fluid and baffle, Hansda et al. [36] looked into the thermosolutal behavior of entropy generation and different heating approaches. They noticed that the Casson fluid parameter (γ) could enhance the kinetic energy, energy, and solutal transfer. Kathyayani and Venkata Ramudu [37] examined the magnetic field in the DDC of chemical reactions and thermal radiation in a triangular geometry filled with Casson fluid.

Despite significant progress in the study of double-diffusive convection (DDC) in wavy and irregular geometries, limited attention has been devoted to thermosolutal convection involving ternary hybrid nanofluids in baffled porous enclosures, particularly when coupled with non-Newtonian rheology and second-law analysis. In many practical applications—such as solar-assisted cavities, electronic cooling modules, compact heat exchangers, and thermal energy storage systems—non-uniform heating and internal obstructions (e.g., T-shaped baffles) are unavoidable and substantially influence heat and mass transport characteristics. Moreover, dispersing multiple nanoparticles into a non-Newtonian base fluid like a Casson fluid introduces additional complexity due to yield-stress behavior, viscosity variation, and enhanced effective thermal conductivity. The combined influence of these factors on thermodynamic irreversibility remains largely unexplored. To address these gaps, this work numerically examines thermosolutal convection and entropy generation in a porous wavy enclosure filled with a Casson-based ternary hybrid nanofluid in the presence of a centrally mounted T-shaped baffle. The ternary nanofluid utilized in this study combines magnetic oxide (Fe3O4), thermally and electrically conductive multi-walled carbon nanotubes (MWCNTs), and highly conductive Copper (Cu) nanoparticles, offering a unique blend of properties that enhance stability, heat transfer efficiency, and thermal conductivity. Such nanofluids are particularly suitable for applications in advanced heat exchangers, electronic cooling devices, solar thermal systems, nuclear cooling technologies, and magnetically assisted thermal management processes. The novelty of this work lies in the unified integration of Casson rheology, ternary nanoparticle suspension, thermosolutal buoyancy coupling, porous medium resistance, geometric waviness, and internal baffling within a comprehensive second-law framework. The coupled effects of the governing parameters on flow behavior, heat and mass transfer, entropy generation, and Bejan number are systematically examined to identify thermodynamically optimal conditions. The objective of the present study is to numerically investigate thermosolutal convection and entropy production in a porous wavy enclosure filled with a Casson-based trihybrid nanofluid in the presence of a centrally mounted T-shaped baffle. The study aims to elucidate the coupled effects of non-Newtonian Casson rheology, ternary nanoparticle dispersion, porous medium resistance, and thermosolutal buoyancy on flow behavior, heat and mass transfer, and thermodynamic irreversibility. Emphasis is placed on second-law analysis through the evaluation of entropy generation and Bejan number to identify optimal conditions that balance transport enhancement and irreversibility minimization, thereby providing useful design guidelines for high-efficiency thermal systems operating in geometrically complex porous enclosures. By simultaneously evaluating transport enhancement and irreversibility minimization, this study provides new physical insights and practical design guidelines for high-efficiency thermal management systems employing advanced non-Newtonian ternary nanofluids in geometrically complex porous domains.

2  The Problem and Governing Equations

The schematic diagram of this investigation is a two-dimensional wavy enclosure, as displayed in Fig. 1. The container consists of two curved vertical walls and two flat horizontal boundaries. The vertical wavy walls of the enclosure are bounded by the following curves [38]:

•   Left wall: f1(y)=(12λ)+λ[1cos(π2(1+4yA))]

•   Right wall: f2(y)=(12λ)λ[1cos(π2(1+4yA))]

images

Figure 1: Geometry and boundary of the physical model.

Here, A denotes the height of the cavity, while λ represents the amplitude of the vertical wavy walls of the enclosure. The domain is loaded with a ternary hybrid nanofluid based on a Casson-type non-Newtonian fluid, in which three different nanoparticles are suspended to improve its thermal and solutal transport properties (see Fig. 2). The fluid is influenced by radiation effects, and the enclosure is treated as a porous medium. Heating and concentration are imposed at the lower boundary, while the top boundary is adiabatic. The curved sidewalls are maintained at a uniform low temperature and zero concentration, thereby generating thermal and solutal gradients that drive convection. To further influence the flow inside the cavity, a T-shaped baffle (L is the height of the baffle and H is the length of the head of the baffle) is placed at the center of the lower wall. This baffle acts as an internal obstacle, altering circulation and promoting enhanced mixing. It is assumed that the flow of the trihybrid nanoliquid is two-dimensional, steady, laminar, and incompressible, taking into account viscous influences. The nanofluid is modeled as a non-Newtonian fluid, and it is assumed that the nanoparticles (MWCNT, Cu, and Fe3O4) are uniformly dispersed inside the base fluid (water) under local thermal equilibrium conditions, with no slip occurring between the solid and liquid phases. The transport mechanisms in the porous medium are characterized using the Darcy model extended by Brinkman, along with the local thermal equilibrium (LTE) approximation. The no-slip boundary condition is applied for all walls. The effect of thermal radiation is considered in the energy equation; however, Joule heating and viscous dissipation inside the porous medium are neglected. The Boussinesq approximation having opposite and compositional buoyancy forces is taken into account for the body force terms in the y momentum equations and written as ρ=ρ0[1(βθ)thnf(θθc)(βc)thnf(ccc)] where (βθ)thnf and (βc)thnf are the nanofluid volumetric coefficients of expansion for the thermal and concentration, respectively. It is assumed that all fluid properties are constant except density, which depends on temperature in the buoyancy force. The previously described physical system was simulated by formulating and solving the governing equations in dimensional [36]:

.v=0(1)

v.v=1ρthnfP+µthnfρthnf[1+1γ]2vµthnfρthnfkfv+F,(2)

v.θ=αthnf2θ1(ρCp)thnf[rrxx+rryy],(3)

v.c=Dthnf2c,(4)

where v = (u,v) are dimensional velocities along coordinate axes, F = (Fx, Fy) and Fx = σthnfρthnfB02 u, Fy = gρthnf[(ρβθ)thnf(θθc)(ρβc)thnf(ccc)]. In the above momentum Eq. (2), γ represents the Casson fluid parameter. In the energy Eq. (3), 1(ρCp)thnf[rrxx+rryy] is responsible for heat radiation, where, rrx and rry are written as follows [36,38]:

rrx=16σθc33βθθx,rry=16σθc33βθθy.(5)

images

Figure 2: Casson-based ternary hybrid nanofluid with three different nanoparticles.

To nondimensionalize the governing equations, the following dimensionless variables are introduced [36,38]:

X=xL,Y=yL,U=uLαf,V=vLαf,P=pL2ρthnfαf2,T=θθcθhθc,C=cccchcc.

.V=0(6)

V.V=P+νthnfαf[1+1γ]2VνthnfαfDaV+F,(7)

V.T=αthnfαf[1+43Rdkfkthnf]2T,(8)

V.C=DthnfDf1Le2C,(9)

where V = (U,V) are velocities along coordinate axes, F = (FX, FY) and FX = σthnfσfρfρthnfHa2Pr U, FY = (ρβθ)thnfρthnfβf Ra Pr (T + N C). The boundary conditions imposed on the governing mathematical model are given in Table 1.

images

Now, the system of Eqs. (6)(9) is expressed in terms of the streamfunction (ψ) and vorticity (ζ) variables

2ψ=ζ(10)

V.ζ=νthnfαf(1+1γ)2ζνthnfαfDaζ+(ρβθ)thnfρthnfβfRaPr(TX+NCX)+σthnfσfρfρthnfHa2PrUY(11)

V.T=αthnfαf(1+43Rdkfkthnf)2T,(12)

V.C=DthnfDf1Le2C,(13)

where,

U=ψY,V=ψX,ζ=VXUY,(14)

where the non-dimensional parameters are listed in Table 2.

images

2.1 Ternary Nanofluid Property Model

The ternary nanofluid utilized in this study combines thermally and electrically conductive multi-walled carbon nanotubes (MWCNTs), highly conductive Copper (Cu), and magnetic oxide (Fe3O4) nanoparticles, offering a unique blend of properties that enhance stability, heat transfer efficiency, and thermal conductivity. Table 3 summarizes the thermophysical properties of the base fluid and the nanoparticles (MWCNT, Cu, Fe3O4). In this work, the effective density, the effective viscosity, the specific heat capacitance, the thermal expansion coefficient, the thermal conductivity, the thermal diffusivity, and the solutal diffusivity of the ternary hybrid nanoliquids are obtained from the following relations [36]:

•   Density: ρthnf=(1ϕ3)[(1ϕ2){(1ϕ1)ρf+ϕ1ρs1}+ϕ2ρs2]+ϕ3ρs3

•   Viscosity: µthnfµf=(1ϕ1)2.5(1ϕ2)2.5(1ϕ3)2.5

•   Specific heat capacity: (ρcp)thnf=(1ϕ3)[(1ϕ2){(1ϕ1)(ρcp)f+ϕ1(ρcp)s1}+ϕ2(ρcp)s2]+ϕ3(ρcp)s3

•   Thermal expansion coefficient: (ρβ)thnf=(1ϕ3)[(1ϕ2){(1ϕ1)(ρβ)f+ϕ1(ρβ)s1}+ϕ2(ρβ)s2]+ϕ3(ρβ)s3

•   Thermal conductivity:

kthnfkhnf=ks3+2khnf+2ϕ3(ks3khnf)ks3+2khnfϕ3(ks3khnf), where, khnfknf=ks2+2knf+2ϕ2(ks2knf)ks2+2knfϕ2(ks2knf), and knfkf=ks1+2kf+2ϕ1(ks1kf)ks1+2kfϕ1(ks1kf)

•   Thermal diffusivity: αthnf=kthnf(ρCp)thnf

•   Electrical conductivity:

σthnfσhnf=σs2+2σhnf+2ϕ2(σs2σhnf)σs2+2σhnfϕ2(σs2σhnf), where, σhnfσnf=σs2+2σnf+2ϕ2(σs2σnf)σs2+2σnfϕ2(σs2σnf), and, σnfσf=σs1+2σf+2ϕ1(σs1σf)σs1+2σfϕ1(σs1σf)

•   Solutal diffusivity: Dthnf=(1ϕ1)(1ϕ2)(1ϕ3)Df

images

where the suffixes f, nf, and hnf denote base fluid, nanoliquid, and hybrid nanoliquid, respectively. Here ϕ1, ϕ2, and ϕ3 are volume fractions of MWCNTs (s1), Cu (s2), and Fe3O4 (s3) nanoparticles, respectively. In this study, the nanoparticle volume fractions are prescribed as ϕ1=0.01, ϕ2=0.02, and ϕ3=0.01, corresponding to 25%, 50%, and 25% of the total solid loading, respectively.

3  Thermal and Solutal Performance

In this study, the energy and species transport inside the cavity are calculated by the following equation:

Nuavg=kthnfkf(1+43Rdkfkthnf)01(TY)dX.Shavg=DthnfDf01(CY)dX.(15)

Using the Simpson 1/3 method, the numerical integration of Eq. (15) is carried out. These parameters (dimensionless) help to understand the behavior of the heat and solute transport within the container.

4  The Entropy Generation

In this research, entropy generation analysis is executed to assess the irreversibilities arising from mass diffusion, magnetic field effects, fluid friction, and thermal transport within the enclosure. The dimensional form of local entropy generation for this analysis is expressed as follows [36,38]:

kthnfθ02[(θx)2+(θy)2]Entropy generation due heat transfer(El.h.t)+(1+1γ)µthnfθ0[2(ux)2+2(vy)2+(uy+vx)2+1kf(u2+v2)]Entropy generation due fluid friction(El.f.f)

+ σthnfθ0u2Entropy generation due magnetic field(El.m.f)+RDthnfco[(cX)2+(cY)2]+RDthnfθ0[θxcx+θycy]Entropy generation due mass transfer(El.m.t)(16)

By employing (kfΔθ2θ02L2) as typical scales, the dimensionless form of local entropy generation numbers are written as follows:

Egen=kthnfkf[(TX)2+(TY)2]+φ1(1+1γ)µthnfµf[2(UX)2+2(VY)2+(UY+VX)2+1Da(U2+V2)]+φ1σthnfσfHa2U2+φ2DthnfDf[(CX)2+(CY)2]+φ3DthnfDf[TXCX+TYCY](17)

where, φ1=µfθ0kf[αfL(θhθc)]2,φ2=RDfkfc0(θ0chclθhθc)2andφ3=RDfkf(θ0chclθhθc). For this simulation, φ1=104, φ2=0.5 and φ3=102 are irreversibility ratio ([36,38]). In addition, the total entropy generation (ET) is measured by

ET=EHT+EFF+EMF+EMT,(18)

where, EHT=ΩElhtdΩ, EFF=ΩElffdΩ, EMF=ΩElmfdΩ, and EMT=ΩElmtdΩ. In addition, the Bejan number (Be) is defined as follows [36,38]:

Be=EHT+EMTET.(19)

It is noted that Be>0.5 and Be<0.5 indicate the dominance of thermal transport and fluid friction irreversibility, respectively.

5  Solution Procedure

Using an algebraic transformation, the transformation of a physical domain (x,y) into a computational domain (ξ,η) is attained. The transformation are constituted as

Y=ξ,X=F1(η)(2ξ+1),(20)

where, F1(η)=(12λ)+λ[1cos(π2(1+4ηA))]. Here, A denotes the cavity height, while λ represents the amplitude of the vertical wavy walls of the enclosure. The first- and second-order differential operators can be represented in compact matrix form as:

•   First order:

[xy]=1|J|[yηyξxηxξ][ξη],(21)

•   Second order:

[xxyy]=1|J|2A[ξη]+1|J|2B[ξξξηηη],(22)

where the coefficient matrices are outlined as

A=[yηyξ0000xξxη][yξηyξξyηηyξηxξηxξηxηηxξξ],(23)

B=[yη22yξyηyξ2xη22xξxηxξ2].(24)

The Jacobian of the transformation is given by:

J=xξyηxηyξ.(25)

The governing Eqs. (10)(13) are transformed into the following generalized form:

a2Φ^ξ2+g2Φ^ξη+b2Φ^η2+cΦ^ξ+dΦ^η+pΦ^=f,(26)

The central finite difference approximations are applied for spatial discretization, and their formulations are listed in Table 4.

images

The higher-order mixed derivative terms are evaluated using compact finite difference schemes, given by:

δξ2δη(Φ^ξ)i,j=12h2k[2(Φ^ξ)i,j12(Φ^ξ)i,j+1(Φ^ξ)i1,j1(Φ^ξ)i+1,j1+(Φ^ξ)i+1,j+1+(Φ^ξ)i1,j+1].(27)

δξδη2(Φ^η)i,j=12hk2[2(Φ^η)i1,j2(Φ^η)i+1,j(Φ^η)i1,j1+(Φ^η)i+1,j1+(Φ^η)i+1,j+1(Φ^η)i1,j+1].(28)

The first-order derivatives are approximated using a compact Padé finite difference scheme, given by:

16(Φ^ξ)i+1,j+46(Φ^ξ)i,j+16(Φ^ξ)i1,j=Φ^i+1,jΦ^i1,j2h.(29)

16(Φ^η)i,j+1+46(Φ^η)i,j+16(Φ^η)i,j1=Φ^i,j+1Φ^i,j12k.(30)

The governing Eqs. (10)(13) are spatially discretized using a recently developed higher-order compact (HOC) scheme, as proposed in [3942]. The resulting linear systems are solved using the BiCGStab algorithm [43]. The iteration ends when the difference in values between successive steps becomes very small and stays within a defined limit:

max|Υi,j(δ+1)Υi,j(δ)|<0.5×105,(31)

where the matrix Υ represents the discretized variables:

Υ=[ψi,jζi,jTi,jCi,j]T.(32)

This confirms that the numerical solutions for ψ, ζ and T have converged within the acceptable range of accuracy. The procedural outline is given in Table 5. This iterative cycle is repeated until the full set of coupled equations converges within the specified tolerance. The mathematical demonstration of the model and the flowchart of the solution algorithm are shown in Figs. 3 and 4, respectively. The number of iterations required for convergence for different values of Ra is displayed in Table 6.

images

images

Figure 3: Model simulation.

images

Figure 4: Flow chart for solution algorithm.

images

6  Code Validation and Grid-Independent Study

The in-house numerical code developed for this research has been validated against established literature, including both numerical and experimental results from reputed publications. Table 7 presents an analogy between the ψmin values from the results of Al-Amiri et al. [44] and those of our study. The data in the table shows that our code performs well and produces steady, correct results with previous studies. In addition, Table 8 displays an analogy of Shavg and Nuavg on the heated bottom wall, as Bettaibi et al. [45], for Le=1, Pr=1, Re=102 and Gr=102. An analogy shows that our custom-built code can correctly solve the double-diffusion behaviors. We reproduced the results of Sompong and Witayangkurn [46] for the flow field and temperature distributions, as illustrated in Fig. 5. The close agreement confirms that the present code accurately predicts transport phenomena in a wavy porous cavity. In Fig. 6, the present in-house code is validated against the results of Pandit et al. [47]. The streamline and isotherm contours show excellent agreement, confirming the accuracy and reliability of the numerical model for MHD flow in a wavy enclosure. An analogy of Nuavg for different concentrations of nanofluids (ϕ), Prandtl numbers (Prnf), and Rayleigh numbers (Ranf), in Table 9. The calculated values of Nuavg completely coincide with previous research [48,49], revealing that the system is reliable for understanding thermal transport. In the section, Fig. 7 shows an analogy of the flow structure and energy spread in a U-shaped container with a baffle, which is in strong correlation with the results stated by Ma et al. [50]. As shown in Fig. 8, the verification of the computational code was performed based on the findings of Arefmanesh et al. [51] for a cavity with a rectangular baffle. This correlation shows that the model can exactly capture baffle-related flow and thermal transport, which makes it reliable. Fig. 9 shows one more graph of entropy generation, which reveals a strong correlation with the results stated by Ilis et al. [52]. Our results are in good correlation with previous studies, which show that our computational approach is trustworthy and accurate. An analogy shows that our custom-built code can correctly solve thermal problems under different conditions. It regularly produces promising results and may be used for research and further analysis.

images

images

images images

Figure 5: Comparison of streamlines and isotherm contours inside a vertical wavy porous enclosure: (a) present (b) Sompong and Witayangkurn [46].

images

Figure 6: Streamline and temperature contours: (a) Present study, (b) Pandit et al. [47].

images

images

Figure 7: Compares (i) a result of Ma et al. [50] (a,b) with and (ii) present study (c,d) for ϕ=0.05,Ra=105,AR=0.6, Ha = 20.

images

Figure 8: Compares (a) an effect of the present study with (b) Arefmanesh et al. [51] study. It explores streamlines and isotherms within an enclosure containing a rectangular baffle.

images images

Figure 9: Compares (A) an effect of the present study with (B) a previous study [52]. It explores three aspects: (a) entropy generation due to thermal transport (b) entropy generation due to fluid friction and (c) total entropy generation number for an enclosure with a cold left and right walls with an adiabatic top and hot bottom walls at Ra=103 for Pr=6.2.

As illustrated in Table 10, a grid independence test was carried out using 31×31, 61×61, and 121×121 meshes. The results indicate that the variation in Nuavg and Shavg between the 61×61 and 121×121 grids is negligible, confirming that the 61×61 mesh provides sufficient accuracy with reasonable computational cost. Together with the validation study, this confirms the accuracy and reliability of the numerical code.

images

7  Results and Discussion

This part presents an in-depth analysis of the numerical results, highlighting the practical understanding gained from the study. Using a Casson-based MWCNT-Cu-Fe3O4-H2O (ternary hybrid nanofluid) nanofluid, this study examines how thermal and solute are transported within a cavity. The geometry has been made complex by placing a baffle (T-shaped) in the middle of the bottom wall. Additionally, this work examines how the combined effects of three different nanoparticles, a Casson fluid, and a specific thermal condition impact the system under various situations. The effects of various key parameters: Rayleigh number (104Ra106), Lewis number (1Le20), radiation parameter (1Rd5), buoyancy ratio (N=1), Darcy number (105Da103), and solid particle concentration (0.0ϕthnp0.04) on solutal and thermal distributions, entropy generation, and the Bejan number are thoroughly analyzed. These results indicate that the internal baffle and nanofluids help to enhance the thermal and solute transport inside the enclosure, which can be used for thermal regulation.

In Fig. 10, we provide a detailed analysis of flow pattern, thermal, and solutal performance between “without baffle” and “with baffle” for Ra = 106. In the absence of a T-shaped baffle, two rotating flow loops form within the enclosure. This happens due to the temperature difference. The ternary hybrid nanofluid increases from the heated lower boundary and moves downward along the cold vertical boundaries. This creates two vortices within the enclosure, one rotating clockwise and the other counterclockwise. When a T-shaped baffle is added, the downward flow near the cold boundaries is affected. The baffle divides and redirects the rising fluid, containing several smaller circulation vortices within the wavy enclosure. This different flow dynamic occurs because the T-shaped baffle obstructs the motion of the ternary hybrid nanofluid. The inclusion of a T-shaped baffle suppresses the flow, which reduces the thermal and solutal transport rates. The thermal line shows symmetry with respect to the vertical line, consistent with the symmetrical flow pattern. This symmetry occurs from the joint effects of viscous and buoyancy forces, which produce two primary vortices. Therefore, these results highlight the important role of the T-shaped baffle in altering the isotherm and concentration contours, thus modifying the heat and solutal transport performance of the wavy enclosure.

images

Figure 10: Streamline, temperature, and concentration contours for Le=1, Rd=1, Da=103, Ha=10: (a) without baffle (b) with baffle.

In Table 11, a quantitative comparison of Nuavg, Shavg, ET, and Be is presented for configurations with and without a T-shaped baffle over a range of Rayleigh numbers (Ra). The results indicate that heat transfer, mass transport, and ET increase with increasing Ra in both cases, whereas the Bejan number decreases. Furthermore, the configuration incorporating the T-shaped baffle consistently exhibits superior thermal and solutal performance compared to the cavity without a baffle. Therefore, the inclusion of a T-shaped baffle within the enclosure enhances overall convective transport characteristics and system performance.

images

As demonstrated in Fig. 11, the variation of (i) the average Nusselt number Nuavg and (ii) the average Sherwood number Shavg with the volume fraction of nanoparticles (ϕ) is presented for mono nanofluid, hybrid nanofluid and ternary hybrid nanofluid. An increase in ϕ leads to an increase and decrease in Nuavg and Shavg, respectively, as shown in Fig. 11. However, both Nuavg and Shavg are consistently higher in the presence of a ternary hybrid nanofluid than in mono- and hybrid nanofluids for a fixed ϕ. Therefore, it can be concluded that the incorporation of ternary hybrid nanofluid significantly enhances thermal and solutal transport performance compared to mono and hybrid nanofluids. The ternary hybrid nanofluid significantly reduces the solutal transport performance compared to mono and hybrid nanofluids as ϕ increases. In general, this analysis highlights the significant role of the ternary hybrid nanofluid in enhancing the values of Nuavg and Shavg, thus improving the thermal and species characteristics within the system.

images

Figure 11: Comparison of (i) average Nusselt number (Nuavg) and (ii) average Sherwood number (Shavg) for single nanofluid, hybrid nanofluid, and ternary hybrid nanofluid cases.

Fig. 12 presents the impact of the Rayleigh number on streamline, temperature, and concentration contours inside a wavy baffled enclosure. The ascent of hot fluid from the heated bottom wall is restricted by the T-shaped fin, leading to complex multicellular flow patterns near the bottom surface (Fig. 12a). Furthermore, two weak secondary eddies are found in the vicinity of the upper portion of the baffle, indicating localized recirculation zones. At lower Ra, the flow circulations are notably weak due to reduced buoyancy effects. As Ra rises, the thermal buoyancy forces become more dominant, leading to a notable improvement in fluid motion. This results in the development of stronger eddies and more vigorous convective circulation within the cavity. Fig. 12b illustrates the isotherm patterns, revealing the intricate thermal behavior inside the cavity. Heated fluid initially rises but cools as it approaches the sidewalls, subsequently descending along these cooler boundaries. The adiabatic nature of the top wall alters this flow path, redirecting the motion and contributing to the accumulation of tightly spaced isotherms near the bottom region. This clustering highlights regions of intense thermal gradients, especially adjacent to the heated lower wall, where the large temperature differential enhances buoyancy-driven convection. The T-shaped fin significantly alters the thermal field by obstructing and redirecting heat flow, resulting in complex isotherm patterns and localized thermal gradients. It disrupts the direct upward movement of hot fluid, promoting lateral heat spreading and improved thermal mixing. At higher Rayleigh numbers, the fin improves boundary layer thickening and uniform temperature distribution by interfering with buoyancy-driven flow. Overall, the fin plays a key role in optimizing heat transfer through its interaction with thermal gradients and convective motion. In Fig. 12c, the solutal lines depict solute dispersion inside the enclosure at Le=5, Rd=1, Da=103, and Ha=10, highlighting detailed species transport dynamics. Their higher density compared to the energy contours indicates a higher rate of species transfer than thermal diffusion. We observe that as Ra increases from 104 to 106, the concentration distribution changes noticeably. The movement of fluid is stronger due to natural convection as the Rayleigh number increases. This motion helps to expand nanoparticles better.

images

Figure 12: The effect of the Rayleigh number on (a) flow distribution, (b) isotherms, and (c) iso-solutal lines at Le=5, Rd=1, Da=103, Ha=10.

Fig. 13a displays the influence of Le on the streamline contours. Physically, it determines the relative thickness of the thermal and concentration boundary layers in thermosolutal convection. The increasing hot fluid is obstructed, and the obstacle is redirected, near the obstacle, various small circular flows are developing. This exchange creates four main circulating regions and some weaker vortices inside the pot-shaped cavity. As the hot fluid flows downward through the cool side walls, the baffle slows part of its upward flow, leading to more circular flows appearing in the system. The flow distribution is basically changed in terms of the pattern as the Lewis number. Fig. 13b displays how thermal expansion occurs within the pot-shaped container. The temperature contours are very close to each other near the hot horizontal wall (bottom wall), which means there is strong thermal transport in that region. When the Lewis number increases, there is not much temperature change. Fig. 13c observed that the iso-concentration contours are significantly changed as the values of Le. It is also observed that for higher values of Le, the temperature boundary layer becomes thicker than the mass boundary layer. Therefore, the thermal resistance is lower than the species resistance, and hence the mass transport is higher than the heat transport.

images

Figure 13: The effect of Lewis number on (a) flow distribution, (b) isotherms, and (c) iso-solutal at Da=103, Ha=15, Rd=1, Ra=105.

Fig. 14a shows the influence of the Darcy number (Da) on the streamline in a cold T-shaped baffle inside the wavy cavity. The improving hot fluid is obstructed, and the obstacle is redirected, near the obstacle, various small circular flows develop. As Da increases from 105 to 103, there is a change in the flow distribution. Fig. 14b shows how thermal expansion occurs within the cavity. When Da increases, there is no change in temperature. Fig. 14c displays how the concentration distribution occurs inside the container. When Da increases from 105 to 104, there is no change in the concentration distribution. However, increasing Da from 104 to 103, there are huge changes in the concentration distribution.

images

Figure 14: The effect of Darcy number on (a) flow distribution, (b) isotherms, and (c) iso-solutal at Le=1, Ha=10, Rd=1, Ra=105.

7.1 Thermosolual Activity and Entropy Production

This section presents a detailed discussion of the thermosolutal behavior and entropy generation characteristics of the system under the influence of different controlling parameters.

Fig. 15 illustrates the variation of Nuavg and Shavg with different Rayleigh numbers and Casson fluid parameters. An upward trend is observed in both quantities, signifying improved heat and mass transport as these governing parameters increase. These observations indicate the effect of Ra on the thermal and species transfer characteristics inside the wavy enclosure. The intensity of buoyancy-driven flow is quantified by Ra, indicating stronger convection currents for higher values of Ra. When Ra increases, viscous forces become less influential than buoyancy-driven forces, leading to enhanced fluid movement and more effective thermal and species transport. The significant increases in Nuavg and Shavg with increasing Ra highlight the transition from a conduction-dominated to a convection-dominated regime. For fixed γ, when Ra rises from 104 to 106, then both Nuavg and Shavg increase by 16.99% and 135.54%, respectively. For Ra=106, Nuavg and Shavg both increase by 30.20% and 91.21%, respectively, as γ increases from 0.1 to 10. In addition, the optimum values of Nuavg and Shavg are observed in Ra =106 and γ=10 with values 39.121 and 44.277, respectively.

images

Figure 15: Effect of Rayleigh number (Ra) and Casson fluid parameters on (i) average Nusselt number (Nuavg) and (ii) Sherwood number (Shavg) for Le=5, Rd=1, Da=103, Ha=10.

The total entropy generation increases as Ra increases, due to stronger buoyancy-driven convection that improves thermal gradients and irreversibilities. In contrast, the Bejan number deteriorates because energy transfer irreversibility dominates over fluid friction irreversibility at higher Rayleigh numbers (see Table 12). For fixed Ra = 106, the total entropy generation decreases 25.208% by increasing γ from 0.1 to 10, while the Bejan number increases by 86.666%. For fixed γ, the total entropy generation increases by 6204.930% when Ra improves from 104 to 106, while the Bejan number decreases by 97.168%.

images

Fig. 16 presents the effects of different Le and γ on Nuavg and Shavg. These numbers improve as γ increases. When Le increases, the mass diffusivity decreases relative to the thermal diffusivity. This reduces species diffusion in the bulk, steepens concentration gradients near the walls, and increases Shavg. At the same time, the weakened solutal buoyancy contribution slightly suppresses convective strength, leading to a reduction in Nuavg. For a particular value γ, Nuavg decreases as Le increases, while Shavg increases. Nuavg and Shavg increase by 1.406% and 69.31% respectively, as increasing value of γ from 0.1 to 10. For a particular value of γ, Nuavg decreases by 2.05% as Le increases from 1 to 20, while Shavg increases 120.49%. In Fig. 17, we have demonstrated ET and Be for different Le and for different γ. Entropy generation decreases with increasing Lewis number (Le) because higher Le implies weaker mass diffusivity relative to thermal diffusivity, which reduces concentration gradients and associated solutal irreversibility. However, the Bejan number increases with Le, indicating that heat-transfer irreversibility becomes more dominant compared to fluid-friction and mass-diffusion irreversibilities in ET. For fixed γ, Be increases as the value of Le, while ET decreases. For a particular value of γ, ET decreases by 27.19% as Le varies from 1 to 20, while the Bejan number increases by 77.37%.

images

Figure 16: Effect of Lewis number and Casson fluid parameter on (i) average Nusselt number (Nuavg) and (ii) Sherwood number (Shavg) at Da=103, Ha=15, Rd=1, Ra=105.

images

Figure 17: Effect of Lewis number and Casson fluid parameter on (i) Total entropy generation (ET) and (ii) Bejan number (Be) at Da=103, Ha=15, Rd=1, Ra=105.

Table 13 demonstrates the variation of Nuavg and Shavg with different Darcy numbers and Casson fluid parameters. The permeability increased at higher Da, indicating fluid moves freely inside the enclosure. The enhancement of Nuavg to improve fluid movement amplifies convection thermal transfer. Resulting in a higher Shavg permeability facilitates more effective mass transport. These observations indicate the balance between permeability and convection transport characteristics inside the wavy enclosure at higher Da. For fixed γ, both Nuavg and Shavg increase 0.311% and 2.410%, respectively, by increasing Da from 105 to 103. For fixed Darcy number 103, both Nuavg and Shavg increase by 4.557% and 20.426%, respectively, to increase γ from 0.1 to 10. In Table 14 shows the change of ET and Be with different Darcy numbers and Casson fluid parameters. As the Darcy number (Da) increases, entropy generation increases because a higher Da corresponds to greater permeability of the porous medium, allowing stronger fluid motion and larger velocity gradients, which intensify fluid-friction irreversibility. However, the Bejan number decreases with increasing Da, indicating that fluid-friction irreversibility becomes more dominant relative to heat-transfer irreversibility in the total entropy generation. The generation of entropy increases by 89.287% for Da=105 to 103, while the Bejan number decreases by 47.001%.

images

images

In Fig. 18, we have shown Nuavg and Shavg for various values ϕthnp and for different γ. The inclusion of nanoparticles enhances heat transfer within the system due to improved effective thermal conductivity and intensified thermal diffusion, while it reduces solutal transfer because the presence of solid particles suppresses mass diffusivity and weakens concentration gradients. It is observed that for a fixed γ, Nuavg increases with increasing values of ϕthnp while Shavg decreases. For fixed ϕthnp, Nuavg and Shavg both increase with increasing values of γ. Nuavg increases by 4.31% as the value of ϕthnp increases, while Shavg decreases by 0.95%. Both Nuavg and Shavg increase by 31.41% and 45.95%, respectively, as enhancing the value of γ. In Fig. 19, we have shown ET and Be for various values ϕthnp and for different γ. It is observed that for a fixed ϕthnp, ET decreases as the values of γ increase, whereas Be increases. The addition of nanoparticles increases entropy generation due to stronger thermal gradients and higher viscous dissipation. However, the Bejan number decreases because the irreversibility of fluid friction becomes dominant over heat transfer irreversibility. For a fixed γ, these values are increase and decrease, respectively, as the volume of ϕthnp. Moreover, ET and Be increase and decrease by 19.06% and 7.14%, respectively, as ϕthnp increases. In addition, ET decreases by 33.58% as γ increases, while the Bejan number increases by 90%.

images

Figure 18: Effect of nanoparticles volume friction (ϕthnf) and Casson fluid parameter (γ) on (i) average Nusselt number (Nuavg) and (ii) Shewrood number (Shavg) for Le=1, Da=103, Ha=20, Rd=1, Ra=106.

images

Figure 19: Effect of nanoparticles volume friction (ϕthnf) and Casson fluid parameter (γ) on (i) total entropy generation (ET) and (ii) Bejan number (Be) for Le=1, Da=103, Ha=20, Rd=1, Ra=106.

In Fig. 20, we have shown Nuavg and Shavg for various values Ha and for different γ. Higher values of Ha enhance the Lorentz force, which suppresses fluid motion and weakens convective transport, thereby reducing the Nusselt and Sherwood numbers. We find that increasing γ improves both quantities for a fixed Ha. Conversely, for a fixed γ, increasing Ha reduces both quantities. Nuavg and Shavg increase by 2.49% and 13.36%, respectively, for γ value increases from 0.1 to 10. In addition, these numbers also decrease by 2.08% and 6.44% as Ha varies from 0 to 100. From Fig. 21, we have shown ET and Be for different values of Ha and γ. For fixed γ, ET boosts as Ha increases. For fixed γ=0.1, the Bejan number increases when improving Ha. For γ1, Be decreases as Ha rises. ET and Be decrease and increase by 4.86% and 4.93%, respectively, for γ=0.1, while the entropy generation increased by 9.21% for γ=1, 29.05% for γ=10, and the Bejan number decreased by 10.14% for γ=1, 24.55% for γ=10 as the value of Ha increases. In addition, ET increases by 77.61% as γ increases, while the Bejan number decreases by 41.56%.

images

Figure 20: Effect of Hartmann number (Ha) and Casson fluid parameter (γ) on (i) mean Nusselt number (Nuavg) and (ii) Shewrood number (Shavg) for various values for Le=1, Da=103, Rd=1, Ra=105.

images

Figure 21: Effect of Hartmann number (Ha) and Casson fluid parameter (γ) on (i) Total entropy generation (ET) and (ii) Bejan number (Be) for Le=1, Da=103, Rd=1, Ra=105.

In Fig. 22, we have shown Nuavg and Shavg for various values Rd and for different γ. For a fixed Rd, these values improve as γ increases. For a fixed γ, Nuavg increases as Rd increases, while Shavg decreases. With an improvement in the radiation parameter, Nuavg has increased by 216.71% and Shavg has decreased by 0.24%. With an increase in γ, Nuavg has increased by 0.33% and Shavg by 17.51%. In Fig. 23, we have observed these numbers for different values and for various γ. For a particular value γ, ET diminishes with an increasing value of Rd while the Bejan number boosts. As Rd increases, entropy generation is reduced by 13.43%, while the Bejan number exhibits an increase of 12.59%.

images

Figure 22: Effect of radiation parameter (Rd) and Casson fluid parameter (γ) on (i) average Nusselt number (Nuavg) and (ii) average Sherwood number (Shavg) for Le=1, Ha=15, Da=103, Ra=105.

images

Figure 23: Effect of radiation parameter (Rd) and Casson fluid parameter (γ) on (i) Total entropy generation (ET) and (ii) Bejan number (Be) for Le=1, Ha=15, Da=103, Ra=105.

Entropy generation enhances with growing Ra and Da due to intensified buoyancy forces and higher porous medium permeability, which strengthen fluid circulation, thin boundary layers, and amplify velocity and thermal gradients, thereby enhancing both thermal and viscous irreversibilities. Similarly, the inclusion of nanoparticles and a stronger magnetic field further upgrade entropy production through augmented thermal gradients, Lorentz force-induced flow resistance, and increased viscous dissipation. In contrast, entropy generation reduces with rising Le because diminished solutal diffusivity weakens concentration gradients and associated solutal irreversibility. Regarding the Bejan number, it dwindles with increasing Ra,Da,ϕthnp, and Ha, indicating the growing dominance of fluid-friction irreversibility, whereas it increases with Le, reflecting the relative predominance of energy transport irreversibility in the overall entropy generation. The maximum value of the entropy generation is recorded at Ra=106, Da=103, Le=1, ϕthnp=0.04, Ha=100, Rd=1, whereas the optimum Bejan number is attained at Ra=104, Da=105, Le=20, ϕthnp = 0.00, Ha=100, Rd=5.

The Casson fluid parameter (γ) represents the relative effect of the yield stress on the fluid behavior. Low γ indicates a strong yield stress and higher hydrodynamic resistance, high γ reduces the effects of yield stress and lowers the apparent viscosity, making the fluid more Newtonian. For fixed parameters (Ra, Le, ϕ, Ha, and Rd), increasing γ reduces the yield stress and apparent viscosity, leading to stronger convection and free fluid flow. This thins the thermal and concentration boundary layers, leading to higher thermal and mass transport, thus Nuavg and Shavg increase (Figs. 15, 16, 18, 20 and 22). As shown in Fig. 19, for fixed ϕ, increasing γ reduces yield strength and apparent viscosity. This reduces viscous (frictional) entropy generation, thereby decreasing ET. Concurrently, thermal irreversibility becomes relatively increasingly dominant, so Be increases.

8  Conclusions

In this study, we carried out a numerical simulation of thermosolutal convection of a radiative Casson-based ternary aqueous nanofluid in a baffled porous cabinet. The enclosure is packed with a radiative MWCNT-Cu-Fe3O4/water ternary nanofluid, responsible for a complex interplay of entropy generation behaviors, solute, and thermal. We have explored the influences of key parameters, including the radiation number, Darcy number, Rayleigh number, Hartmann number, Lewis number, nanoparticle volume friction, Prandtl number, Casson fluid parameter, and buoyancy ratio. The analysis carried out has induced the following key results:

1.   The improved thermosolutal efficiency and fluid circulation improved the transfer and flow mechanisms within the porous enclosure as a result of the existence of a cooled T-shaped baffle.

2.   As Da increases, thermal transport, solute transport, and entropy production increase. This improvement intensifies convection thermal transport, more effective mass transport, and fluid friction irreversibility.

3.   Increasing Ra from 104 to 106, also improves Nuavg and Shavg. Resulted in an improvement of Nuavg and Shavg, and thus improved the behavior of thermal and solute transport.

4.   When the Lewis number increases from 0 to 20, resulting in a reduction in Nuavg, the temperature gradient near the hot wall is reduced, while increasing Shavg and improving the transport of solutes when an element spreads slowly, the concentration gradient near the wall increases.

5.   When Ra increases, buoyancy-driven forces become more influential than viscous forces, resulting in enhanced fluid movement and more effective energy and mass transfer.

6.   Increasing Ha from 0 to 100, resulting in a decrease in both the Nuavg and Shavg concentration and temperature gradients on the walls. Increasing Ha strengthens magnetic damping, which suppresses fluid movement and increases ET due to higher magnetic and frictional irreversibilities. The Bejan number Be decreases as thermal irreversibility becomes less dominant. At Ha=0, weak magnetic effects allow stronger convection, giving a higher Be.

7.   When the radiation parameter (Rd) is such that Nuavg increases, while Shavg decreases, indicating stronger thermal transport and less solutal diffusion. Increasing Rd improves radiative thermal transport, thus smoothing temperature profiles and reducing the total entropy generation (ET). The Bejan number (Be) increases as thermal irreversibility becomes relatively more dominant.

The present findings offer practical guidance for the design of advanced thermal systems involving porous media and non-Newtonian nanofluids. The ability to modulate convection through magnetic control provides a viable strategy for stabilizing heat transfer in electronic cooling devices and compact heat exchangers. Although stronger buoyancy enhances thermal and solutal transport, it also increases entropy generation, indicating that optimal system performance requires balancing heat transfer augmentation with thermodynamic efficiency. The use of Casson ternary nanofluids can significantly improve effective thermal conductivity in solar collectors, thermal energy storage units, and process heat systems, but nanoparticle loading must be optimized to limit irreversibility. Furthermore, permeability tuning and strategic baffle placement offer additional design parameters for controlling flow structure and minimizing energy losses in porous reactors, geothermal installations, and filtration-based thermal systems.

Acknowledgement: This work was supported by the DST-FIST, Govt of India (File No.: SR/FST/MS-I/2022/123). The first author (Sarna Soren) is also grateful to UGC for her financial assistance UGC-JRF (D.O. No. 24D/03/01131). The authors also extend their appreciation for the support received from Universiti Kebangsaan Malaysia.

Funding Statement: The authors would like to express their appreciation for the support provided by Universiti Kebangsaan Malaysia through grant number GP-K017380.

Author Contributions: Sarna Soren: conceptualization, methodology, investigation, formal analysis, writing—original draft. Samrat Hansda: investigation, visualization, validation, writing—original draft. Umair Khan: conceptualization, writing—review & editing. Anuar Ishak: supervision, writing—review & editing. Ahmed Kadhim Hussein: data curation, visualization, investigation, methodology, writing—original draft. Md Mamun Molla: conceptualization, methodology, investigation, supervision, writing—review & editing. All authors reviewed and approved the final version of the manuscript.

Availability of Data and Materials: The data that support the findings of this study are available from the corresponding author, [Samrat Hansda], upon reasonable request.

Ethics Approval: Not applicable.

Conflicts of Interest: The authors declare no conflicts of interest.

Nomenclature

Pr Prandtl number
A Height of the cavity
Ra Rayleigh number
Da Darcy number
Ha Hartmann number
B0 Magnetic effect (Amp m1)
Rd Radiation parameter
Le Lewis number, Le=αD
N Buoyancy ratio parameter
Q Volumetric heat source/sink coefficient
g Gravitational acceleration (ms2)
k Thermal conductivity (Wm1K1)
p Dimensional pressure (Nm2)
P Dimensionless pressure
T Dimensionless temperature
kf Permeability of the porous medium
Cp Specific heat (J Kg1K1)
x,y Dimensional Cartesian coordinates (m)
X, Y Dimensionless Cartesian coordinates
u,v Dimensional velocities in x,y directions respectively (ms1)
U, V Dimensionless velocities in X, Y directions respectively
ξ, η Dimensionless coordinate in computational plane
Nuavg Average Nusselt number
Shavg Average Sherwood number
El.h.t Local entropy generation due to heat transfer
El.f.f Local entropy generation due to fluid friction
El.m.f Local entropy generation due to magnetic field
El.m.t Local entropy generation due to mass transfer
ET Total entropy generation
Be Bejan number
Greek letters
α Thermal diffusivity (m2s1)
β Thermal expansion coefficient (K1)
ϕ Volume fraction of the hybrid nanoparticles
ρ Hybrid nanofluid density(Kg m3)
ν Kinematic viscosity (m2s1)
µ Dynamic viscosity (Pa s)
ψ Stream function
ζ Vorticity
σ Electrical conductivity (µ S cm1)
θ Dimensional temperature
γ Casson fluid parameter
φ1, φ2, φ3 Irreversibility coefficient ratio
Subscripts
i,j Cell faces
f Fluid
nf Nanofluid
hnf Hybrid nanofluid
hnp Hybrid nanoparticles
thnf Ternary hybrid fluid
thnp Ternary hybrid nanoparticles

References

1. Ye L, Zheng T, Wang X, Liang X, Liu C. Evaluating the heat transfer characteristics of mesh-fed slot cooling configuration: influence of slot height and pin-fin arrangement. Appl Therma Eng. 2025;271(5):126304. doi:10.1016/j.applthermaleng.2025.126304. [Google Scholar] [CrossRef]

2. Tang K, Lin G, Huang K, Qiao T, Guo Y. Visualized flow boiling regime evolution and diverging flow paths enhancement in manifold microchannel heat sinks. Int J Heat Mass Transf. 2026;259:128334. doi:10.1016/j.ijheatmasstransfer.2026.128334. [Google Scholar] [CrossRef]

3. Eshaghi S, Izadpanah F, Dogonchi AS, Chamkha AJ, Hamida MBB, Alhumade H. The optimum double diffusive natural convection heat transfer in h-shaped cavity with a baffle inside and a corrugated wall. Case Stud Therm Eng. 2021;28(11):101541. doi:10.1016/j.csite.2021.101541. [Google Scholar] [CrossRef]

4. Hansda S, Chattopadhyay A, Pandit SK, Sheremet MA. Irreversibility analysis of magneto-thermogravitational convection of radiative hybrid nanofluid in a U-shaped curvilinear porous container with a T-shaped baffle. J Therm Anal Calorim. 2024;149(22):13375–96. doi:10.1007/s10973-024-13607-5. [Google Scholar] [CrossRef]

5. Hansda S, Chattopadhyay A, Pandit SK. Thermosolutal and hydromagnetic performance of radiative hybrid nanofluid in a wavy porous enclosure with a plus-shaped baffle. J Mol Liq. 2024 15;404(1):124880. doi:10.1016/j.molliq.2024.124880. [Google Scholar] [CrossRef]

6. Kouki M, Nayak M, Irshad K, Al Mesfer MK, Danish M, Pasha AA, et al. Analysis of thermosolutal buoyancy-driven suspension comprising nano-encapsulated phase change materials using finite element method and ANN-based MLP algorithm. J Taiwan Ins Chemic Eng. 2025;168(7):105912. doi:10.1016/j.jtice.2024.105912. [Google Scholar] [CrossRef]

7. Alsedais N, Aly AM. Double-diffusive convection from an oscillating baffle embedded in an astroid-shaped cavity suspended by nano-encapsulated phage change materials: ISPH simulations. Waves Random Complex Media. 2024;34(5):4533–52. doi:10.1080/17455030.2021.1994168. [Google Scholar] [CrossRef]

8. Ahmad S, Liu D, Waqas H, Munir S. Numerical simulation of magnetohydrodynamics double-diffusive natural convection in a cavity with non-uniform heated walls. Appl Therm Eng. 2024;253(17):123778. doi:10.1016/j.applthermaleng.2024.123778. [Google Scholar] [CrossRef]

9. Jain S, Nishad S, Bhargava R. Numerical simulation on double diffusion natural convection of a power-law nanofluid within double wavy cavity. Phy Fluids. 2021;33(7):507. doi:10.1063/5.0057309. [Google Scholar] [CrossRef]

10. Hansda S, Majhi D, Hussein AK, Al-Sharify ZT, Abdulameer SF. Magento-double diffusive natural convection in a partially heated wavy porous cavity filled with a radiative hybrid nanofluid. J Therm Anal Calor. 2025;150(13):10489–512. doi:10.1007/s10973-025-14398-z. [Google Scholar] [CrossRef]

11. Parmar D, Rathish Kumar B, Krishna Murthy S. Numerical study of time-fractional double diffusive convective flow in a wavy porous cavity. In: Mathematical theory and simulation of scientific problems. Berlin/Heidelberg, Germany: Springer; 2025. p. 11–20. [Google Scholar]

12. Parmar D, Murthy SK, Kumar BR, Kumar S. Numerical simulation of fractional order double diffusive convective nanofluid flow in a wavy porous enclosure. Int J Heat Fluid Flow. 2025;112(10):109749. doi:10.1016/j.ijheatfluidflow.2025.109749. [Google Scholar] [CrossRef]

13. Alomari MA, Al-Farhany K, Al-Salami QH, Alyousuf FQ, Ali I, Biswas N. Numerical analysis of double-diffusive free convection in a curvilinear cavity filled with nanofluid and triple fins attached to the hot walls. Eur Phys J Plus. 2024;139(2):149. doi:10.1140/epjp/s13360-024-04941-6. [Google Scholar] [CrossRef]

14. Chuhan IS, Li J, Ahmed MS, Samuilik I, Aslam MA, Manan MA. Numerical investigation of double-diffusive convection in an irregular porous cavity subjected to inclined magnetic field using finite element method. Mathematics. 2024;12(6):808. doi:10.3390/math12060808. [Google Scholar] [CrossRef]

15. Hansda S, Chattopadhyay A, Pandit SK. Optimizing thermosolutal and hydrothermal performance of radiative hybrid ferrofluid and entropy generation in a wavy porous enclosure. J Magn Magn Mater. 2024;592(10):171774. doi:10.1016/j.jmmm.2024.171774. [Google Scholar] [CrossRef]

16. Irshad K, Pasha AA, Al Mesfer MK, Danish M, Nayak M, Chamkha AJ, et al. Hydrothermal behavior and entropy analysis of double-diffusive nano-encapsulated phase change materials in a porous wavy h-shaped cavity with baffles: effect of thermal parameters. J Energy Storage. 2023;72(3):108250. doi:10.1016/j.est.2023.108250. [Google Scholar] [CrossRef]

17. Tayebi T, El-Sapa S, Karimi N, Dogonchi AS, Chamkha AJ, Galal AM. Double-diffusive natural convection with Soret/Dufour effects and energy optimization of nano-encapsulated phase change material in a novel form of a wavy-walled I-shaped domain. J Taiwan Inst Chemic Eng. 2023;148(2):104873. doi:10.1016/j.jtice.2023.104873. [Google Scholar] [CrossRef]

18. Uddin M, Rasel S, Adewole JK, Al Kalbani KS. Finite element simulation on the convective double diffusive water-based copper oxide nanofluid flow in a square cavity having vertical wavy surfaces in presence of hydro-magnetic field. Res Eng. 2022;13(9):100364. doi:10.1016/j.rineng.2022.100364. [Google Scholar] [CrossRef]

19. Aly AM, Raizah Z, El-Sapa S, Oztop HF, Abu-Hamdeh N. Thermal diffusion upon magnetic field convection of nano-enhanced phase change materials in a permeable wavy cavity with crescent-shaped partitions. Case Stud Therm Eng. 2022;31(2):101855. doi:10.1016/j.csite.2022.101855. [Google Scholar] [CrossRef]

20. Omara A, Touiker M, Bourouis A. Thermosolutal natural convection in a partly porous cavity with sinusoidal wall heating and cooling. Int J Numer Methods Heat Fluid Flow. 2022;32(3):1115–44. doi:10.1108/HFF-01-2021-0062. [Google Scholar] [CrossRef]

21. Mansour MA, Ahmed SE, Mohamed EF, Ismaeel AM. Heat generation effects on MHD double diffusive of TiO2-cu/water hybrid nanofluids in a lid-driven wavy porous cavity using LTNE condition. Sci Iran. 2025;32(3). doi:10.24200/sci.2023.61512.7353. [Google Scholar] [CrossRef]

22. Mansour M, Bakier M. Magnetohydrodynamic mixed convection of TiO2–Cu/water between the double lid-driven cavity and a central heat source surrounding by a wavy tilted domain of porous medium under local thermal non-equilibrium. SN Appl Sci. 2023;5(2):51. doi:10.1007/s42452-022-05260-0. [Google Scholar] [CrossRef]

23. Hansda S, Soren S. Entropy generation and thermosolutal convection in a radiative porous chamber filled with a Casson-based ternary hybrid nanofluid and a cold square obstacle. Phys Fluids. 2025;37(8):082058. doi:10.1063/5.0281788. [Google Scholar] [CrossRef]

24. Shahzad H, Ain QU, Pasha AA, Irshad K, Shah IA, Ghaffari A, et al. Double-diffusive natural convection energy transfer in magnetically influenced Casson fluid flow in trapezoidal enclosure with fillets. Int Commu Heat Mass Transf. 2022;137(1):106236. doi:10.1016/j.icheatmasstransfer.2022.106236. [Google Scholar] [CrossRef]

25. El Hamma M, Elattari L, Nouari S. Double diffusion mixed convection in a porous cylindrical cavity filled with a Casson nanofluid driven by a lid, taking into account the Soret and Dufour effects. J Heat Mass Transf Res. 2025;12(1):81–90. doi:10.17654/0973576324026. [Google Scholar] [CrossRef]

26. Chattopadhyay A. Hydromagnetic thermosolutal transient forced convection of radiative ternary hybrid ferrofluid with Casson fluid in a channel with a cavity and cylindrical obstacle. Phys Fluids. 2025;37(4):043115. doi:10.1063/5.0270468. [Google Scholar] [CrossRef]

27. Alomari MA, Hassan AM, Alajmi A, Salho AK, Sadeq AM, Alqurashi F, et al. Analysis of double-diffusive transport and entropy generation in a wavy cylindrical enclosure with inner heated core: effects of MHD and radiation on Casson Cu-H2O nanofluid. Energy Sci Eng. 2025;13(6):2810–41. doi:10.1002/ese3.70069. [Google Scholar] [CrossRef]

28. Salho AK, Hassan AM, Alajmi A, Alomari MA, Sadeq AM, Alqurashi F, et al. Thermo-fluid dynamics of Cu-H2O casson fluid in an H-shaped enclosure with Corrugated cylinders: a study of entropy generation, MHD, and radiation effects. Res Eng. 2025;25(6):104346. doi:10.1016/j.rineng.2025.104346. [Google Scholar] [CrossRef]

29. Hussain S, Shoeibi S, Armaghani T. Impact of magnetic field and entropy generation of Casson fluid on double diffusive natural convection in staggered cavity. Int Commu Heat Mass Transf. 2021;127:105520. doi:10.1016/j.icheatmasstransfer.2021.105520. [Google Scholar] [CrossRef]

30. Aghighi M, Ammar A, Masoumi H. Double-diffusive natural convection of Casson fluids in an enclosure. Int J Mech Sci. 2022;236(1):107754. doi:10.1016/j.ijmecsci.2022.107754. [Google Scholar] [CrossRef]

31. Rashid U, Shahzad H, Lu D, Wang X, Majeed AH. Non-Newtonian MHD double diffusive natural convection flow and heat transfer in a crown enclosure. Case Stud Therm Eng. 2023;41:102541. doi:10.1016/j.csite.2022.102541. [Google Scholar] [CrossRef]

32. Shah IA, Bilal S, Noeiaghdam S, Fernandez-Gamiz U, Shahzad H. Thermosolutal natural convection energy transfer in magnetically influenced Casson fluid flow in hexagonal enclosure with fillets. Res Eng. 2022;15(1):100584. doi:10.1016/j.rineng.2022.100584. [Google Scholar] [CrossRef]

33. Chuhan IS, Li J, Guo Z, Shahzad H, Yaqub M. Entropy optimization of MHD non-Newtonian fluid in a wavy enclosure with double diffusive natural convection. Numer Heat Transf Part A Appl. 2024;85(16):2703–23. doi:10.1080/10407782.2023.2228482. [Google Scholar] [CrossRef]

34. Aneja M, Sharma S. Heat and mass transfer due to double-diffusion convection in a square porous enclosure occupied by Casson fluid. In: Advances in fluid mechanics and solid mechanics. Berlin/Heidelberg, Germany: Springer; 2020. p. 91–9. [Google Scholar]

35. Chuhan IS, Li J, Zhao H, Guo Z, Yaqub M, Aslam MA. Impact of inclined magnetic field of Casson fluid on double diffusive natural convection in a curvilinear enclosure. J Phys. 2023;2599(1):012018. doi:10.1088/1742-6596/2599/1/012018. [Google Scholar] [CrossRef]

36. Hansda S, Chattopadhyay A, Pandit SK, Sheremet MA. Thermosolutal performance of a non-Newtonian Casson fluid in a curvilinear porous baffled chamber with irreversibility and various heating strategies. Phys Fluids. 2025;37(2):023104. doi:10.1063/5.0251126. [Google Scholar] [CrossRef]

37. Kathyayani G, Venkata Ramudu G. Mhd double-diffusive convection of Casson fluid in a triangular enclosure with thermal radiation and chemical reactions. Multiscale Multidiscip Model Exper Des. 2025;8(6):1–20. doi:10.1007/s41939-025-00874-4. [Google Scholar] [CrossRef]

38. Hansda S, Chattopadhyay A, Pandit SK, Sheremet MA. Thermodynamics second law analysis for thermosolutal convection of a ternary aqueous suspension within a novel shaped porous container under an influence of Lorentz force and local heater. J Mol Liq. 2025;428(8):127488. doi:10.1016/j.molliq.2025.127488. [Google Scholar] [CrossRef]

39. Pandit SK, Chattopadhyay A. A robust higher order compact scheme for solving general second order partial differential equation with derivative source terms on nonuniform curvilinear meshes. Comput Math Appl. 2017;74(6):1414–34. doi:10.1016/j.camwa.2017.06.031. [Google Scholar] [CrossRef]

40. Pandit SK, Kalita JC, Dalal D. A fourth-order accurate compact scheme for the solution of steady Navier–Stokes equations on non-uniform grids. Comput Fluids. 2008;37(2):121–34. doi:10.1016/j.compfluid.2007.04.002. [Google Scholar] [CrossRef]

41. Pandit SK, Chattopadhyay A, Oztop HF. A fourth order compact scheme for heat transfer problem in porous media. Comput Math Appl. 2016;71(3):805–32. doi:10.1016/j.camwa.2015.12.037. [Google Scholar] [CrossRef]

42. Lele SK. Compact finite difference schemes with spectral-like resolution. J Computa Phys. 1992;103(1):16–42. doi:10.1016/0021-9991(92)90324-R. [Google Scholar] [CrossRef]

43. van der Vorst HA. Bi-CGStab: a fast and smoothly converging variant of bi-CG for the solution of nonsymmetric linear systems. SIAM J Sci Stat Comput. 1992;13(2):631–44. doi:10.1137/0913035. [Google Scholar] [CrossRef]

44. Al-Amiri AM, Khanafer KM, Pop I. Numerical simulation of combined thermal and mass transport in a square lid-driven cavity. Int J Therm Sci. 2007;46(7):662–71. doi:10.1016/j.ijthermalsci.2006.10.003. [Google Scholar] [CrossRef]

45. Bettaibi S, Kuznik F, Sediki E. Hybrid LBM-MRT model coupled with finite difference method for double-diffusive mixed convection in rectangular enclosure with insulated moving lid. Phys A Stat Mech Its Appl. 2016;444(2):311–26. doi:10.1016/j.physa.2015.10.029. [Google Scholar] [CrossRef]

46. Sompong P, Witayangkurn S. Simulation of natural convection in a complicated enclosure with two wavy vertical walls. Appl Math Sci. 2012;6(57–60):2833–42. doi:10.1155/2014/853231. [Google Scholar] [CrossRef]

47. Pandit SK, Goswami KD, Chattopadhyay A, Öztop HF. On the analysis of magnetohydrodynamics and magnetic field-dependent viscosity effects on thermogravitational convection of hybrid nanofluid in an enclosure with curved walls. Phys Fluids. 2021;33(10):102010. doi:10.1063/5.0061451. [Google Scholar] [CrossRef]

48. Ho C, Liu W, Chang Y, Lin C. Natural convection heat transfer of alumina-water nanofluid in vertical square enclosures: an experimental study. Int J Therm Sci. 2010;49(8):1345–53. doi:10.1016/j.ijthermalsci.2010.02.013. [Google Scholar] [CrossRef]

49. Saghir MZ, Ahadi A, Mohamad A, Srinivasan S. Water aluminum oxide nanofluid benchmark model. Int J Therm Sci. 2016;109(9):148–58. doi:10.1016/j.ijthermalsci.2016.06.002. [Google Scholar] [CrossRef]

50. Ma Y, Mohebbi R, Rashidi M, Yang Z, Sheremet MA. Numerical study of MHD nanofluid natural convection in a baffled U-shaped enclosure. Int J Heat Mass Transf. 2019;130(5):123–34. doi:10.1016/j.ijheatmasstransfer.2018.10.072. [Google Scholar] [CrossRef]

51. Arefmanesh A, Najafi M, Musavi S. Buoyancy-driven fluid flow and heat transfer in a square cavity with a wavy baffle—meshless numerical analysis. Eng Anal Boundary Elements. 2013;37(2):366–82. doi:10.1016/j.enganabound.2012.11.004. [Google Scholar] [CrossRef]

52. Ilis GG, Mobedi M, Sunden B. Effect of aspect ratio on entropy generation in a rectangular cavity with differentially heated vertical walls. Int Commun Heat Mass Transf. 2008;35(6):696–703. doi:10.1016/j.icheatmasstransfer.2008.02.002. [Google Scholar] [CrossRef]


Cite This Article

APA Style
Soren, S., Hansda, S., Khan, U., Ishak, A., Hussein, A.K. et al. (2026). Second-Law Analysis of Double Diffusive Convection of Casson Ternary Nanofluid in a Porous Enclosure with a T-Shaped Baffle. Computer Modeling in Engineering & Sciences, 147(2), 25. https://doi.org/10.32604/cmes.2026.079635
Vancouver Style
Soren S, Hansda S, Khan U, Ishak A, Hussein AK, Molla MM. Second-Law Analysis of Double Diffusive Convection of Casson Ternary Nanofluid in a Porous Enclosure with a T-Shaped Baffle. Comput Model Eng Sci. 2026;147(2):25. https://doi.org/10.32604/cmes.2026.079635
IEEE Style
S. Soren, S. Hansda, U. Khan, A. Ishak, A. K. Hussein, and M. M. Molla, “Second-Law Analysis of Double Diffusive Convection of Casson Ternary Nanofluid in a Porous Enclosure with a T-Shaped Baffle,” Comput. Model. Eng. Sci., vol. 147, no. 2, pp. 25, 2026. https://doi.org/10.32604/cmes.2026.079635


cc Copyright © 2026 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 404

    View

  • 102

    Download

  • 0

    Like

Share Link