Comparative Analysis of Unsteady Natural Convection and Thermal Performance in Rectangular and Square Cavities Filled with Stratified Air
Abstract
1. Introduction
2. Physical Model
3. Numerical Approach, Grid Test, and Validation Test
3.1. Methodology
3.2. Mesh and Time Step Dependent Tests
3.3. Validation Test
4. Results and Discussion
4.1. Development of Flow
4.2. Development of Symmetrical to Asymmetrical Flow
4.3. Development of Unsteady Flow
5. Heat Transfer
6. Thermal Performance Analysis for Square and Rectangular Cavities
7. Conclusions
- •
- The flow transition from a symmetric to an asymmetric state between Ra = 3 × 104 and 4 × 104, identified as a pitchfork bifurcation.
- •
- The transitions from an asymmetrical steady to a periodic state between Ra = 3 × 106 and 4 × 106, referred to as a Hopf bifurcation.
- •
- A further transition occurs between Ra = 9 × 107 and 2 × 108 and evolves into chaotic flow.
- •
- At Ra = 2 × 108 the RVW of the rectangular enclosure exhibits higher HT compared to other boundaries.
- •
- At Ra = 108, the square cavity achieves 17.72% higher HT than the rectangular enclosure along the bottom wall, whereas at the LVW the rectangular enclosure shows 52.79% higher HT than the LVW of the square cavity.
- •
- Overall, at Ra = 108, the rectangular cavity provides 29.84% higher HT than the square cavity.
- •
- At Ra ≤ 106, entropy production was dominated by HT irreversibility, with negligible FF effects.
- •
- At Ra ≥ 107, FF irreversibility became increasingly dominant, leading to higher total EG.
- •
- At Ra = 108, the Savg of the rectangular cavity is 39.32% higher than the square cavity, indicating greater irreversibilities; in contrast, the lower Savg in the square cavity reflects a more thermodynamically optimized design.
- •
- At Ra = 108, the ECOP of the square cavity is 13.52% higher than that of the rectangular cavity. These findings reveal that the HT performance of the square cavity improves more prominently than that of the rectangular configuration.
8. Limitations and Future Works
Declaration of Generative AI and AI-Assisted Technologies in the Manuscript Preparation Process
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Nomenclature
| Bel | local Bejan number | U, V | velocity components (m/s) |
| Cp | specific heat (J/kg·K) | u, v | dimensionless velocity components |
| Sf | entropy generation due to fluid friction | X, Y | coordinates |
| EG | entropy generation | x, y | dimensionless coordinates |
| Sθ | entropy generation due to heat transfer | Greek symbols | |
| St | local entropy generation | α | thermal diffusivity (m2/s) |
| g | gravitational force (m/s2) | θ | dimensionless temperature |
| L, H | length and height of the cavity (m) | ν | kinematic viscosity (m2/s) |
| k | thermal conductivity (W/(m·K)) | φ | irreversibility distribution ratio |
| P | pressure (N/m2) | ψ | inclination angle |
| p | dimensionless pressure | ρ | density (kg/m3) |
| Pr | Prandtl number | τ | dimensionless time |
| Ra | Rayleigh number, gβ(Th − Tc)H3/ακ | Δτ | dimensionless time step |
| t | time (s) | θh | dimensionless temperature of the bottom wall |
| T | temperature (K) | ||
| Tc | temperature of the top wall (K) | θi | dimensionless temperature of the vertical walls |
| Th | temperature of the bottom wall (K) | ||
| Ti | temperature of the vertical walls (K) | θc | dimensionless temperature of the top wall |
| T∞ | environmental temperature (K) | ||
| Nuavg | average Nusselt number | ||
References
- Bergman, T.L. Fundamentals of Heat and Mass Transfer; John Wiley & Sons: Hoboken, NJ, USA, 2011. [Google Scholar]
- Bejan, A. Convection Heat Transfer; John Wiley & Sons: Hoboken, NJ, USA, 2013. [Google Scholar]
- Rahman, M.M.; Hye, M.A.; Rahman, M.M.; Rahaman, M.M. Numerical simulation on MHD free convection mass and heat transfer fluid flow over a vertical porous plate in a rotating system with induced magnetic field. Ann. Pure Appl. Math. 2014, 7, 35–44. [Google Scholar]
- Cesini, G.; Paroncini, M.; Cortella, G.; Manzan, M. Natural convection from a horizontal cylinder in a rectangular cavity. Int. J. Heat Mass Transf. 1999, 42, 1801–1811. [Google Scholar] [CrossRef] [Scilit]
- Zoubir, A.; El Otmani, R.; Bouferra, R.; Essaleh, L. Effects of thermal stratification on natural convection in a symmetrically heated channel: Comparison of characteristic quantities between air and water. Case Stud. Therm. Eng. 2023, 45, 102950. [Google Scholar] [CrossRef] [Scilit]
- Patterson, J.; Imberger, J. Unsteady natural convection in a rectangular cavity. J. Fluid Mech. 1980, 100, 65–86. [Google Scholar] [CrossRef] [Scilit]
- Lei, C.; Armfield, S.W.; Patterson, J.C. Unsteady natural convection in a water-filled isosceles triangular enclosure heated from below. Int. J. Heat Mass Transf. 2008, 51, 2637–2650. [Google Scholar] [CrossRef] [Scilit]
- Rahaman, M.M.; Titab, R.; Bhowmick, S.; Mondal, R.N.; Saha, S.C. Unsteady 2D flow in an initially stratified air-filled trapezoid. Jagannath Univ. J. Sci. 2022, 8, 1–6. [Google Scholar]
- Rahaman, M.M.; Bhowmick, S.; Mondal, R.N.; Saha, S.C. Unsteady natural convection in an initially stratified air-filled trapezoidal enclosure heated from below. Processes 2022, 10, 1383. [Google Scholar] [CrossRef] [Scilit]
- Rahaman, M.M.; Bhowmick, S.; Ghosh, B.P.; Xu, F.; Mondal, R.N.; Saha, S.C. Transient natural convection flows and heat transfer in a thermally stratified air-filled trapezoidal cavity. Therm. Sci. Eng. Prog. 2024, 47, 102377. [Google Scholar] [CrossRef] [Scilit]
- Bouafia, M.; Daube, O. Natural convection for large temperature gradients around a square solid body within a rectangular cavity. Int. J. Heat Mass Transf. 2007, 50, 3599–3615. [Google Scholar] [CrossRef] [Scilit]
- Roshani, H.; Jalili, B.; Mirzaei, A.; Jalili, P.; Ganji, D.D. The effect of buoyancy force on natural convection heat transfer of nanofluid flow in triangular cavity with different barriers. Heliyon 2024, 10, e35690. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Das, D.; Basak, T. Role of distributed/discrete solar heaters during natural convection in the square and triangular cavities: CFD and heatline simulations. Sol. Energy 2016, 135, 130–153. [Google Scholar] [CrossRef] [Scilit]
- Karatas, H.; Derbentli, T. Natural convection in differentially heated rectangular cavities with time periodic boundary condition on one side. Int. J. Heat Mass Transf. 2019, 129, 224–237. [Google Scholar] [CrossRef] [Scilit]
- Charles, N.A.G.; Otieno, A.K.; Stephen, K.M. Turbulent Natural Convection in A Rectangular Enclosure. Ger. J. Adv. Sci. Res. 2020, 3, 73. [Google Scholar]
- Berdnikov, V.S.; Grishkov, V.A.; Shumilov, N.A. Development of unsteady convection in a rectangular cavity with sudden heating of a vertical wall. Thermophys. Aeromech 2020, 16 27, 529–537. [Google Scholar] [CrossRef] [Scilit]
- Fichera, A.; Marcoux, M.; Pagano, A.; Volpe, R. An analytical model for natural convection in a rectangular enclosure with differentially heated vertical walls. Energies 2020, 13, 3220. [Google Scholar] [CrossRef] [Scilit]
- Farahani, S.D.; Farahani, A.D.; Öztop, H.F. Natural convection in a rectangular tall cavity in the presence of an oscillating and rotating cylinder. Colloids Surf. A Physicochem. Eng. Asp. 2022, 647, 129027. [Google Scholar] [CrossRef] [Scilit]
- Islam, M.J.; Ali, M.M.; Miah, M.M.; Munshi, M.J.H. Numerical Study of Magnetohydrodynamic Free Convection in a Rectangular Cavity with Corner Heater Having a Triangular Obstacle. J. Sci. Res. 2024, 16, 493–505. [Google Scholar] [CrossRef] [Scilit]
- de Vahl Davis, G. Natural convection of air in a square cavity: A bench mark numerical solution. Int. J. Numer. Methods Fluids 1983, 3, 249–264. [Google Scholar] [CrossRef] [Scilit]
- Pesso, T.; Piva, S. Laminar natural convection in a square cavity: Low Prandtl numbers and large density differences. Int. J. Heat Mass Transf. 2009, 52, 1036–1043. [Google Scholar] [CrossRef] [Scilit]
- Hakeem, A.A.; Saravanan, S.; Kandaswamy, P. Natural convection in a square cavity due to thermally active plates for different boundary conditions. Comput. Math. Appl. 2011, 62, 491–496. [Google Scholar] [CrossRef] [Scilit]
- Choi, S.K.; Kim, S.O. Comparative analysis of thermal models in the lattice boltzmann method for the simulation of natural convection in a square cavity. Numer. Heat Transf. Part B Fundam. 2011, 23 60, 135–145. [Google Scholar] [CrossRef] [Scilit]
- Butler, C.; Newport, D.; Geron, M. Natural convection experiments on a heated horizontal cylinder in a differentially heated square cavity. Exp. Therm. Fluid Sci. 2013, 24 44, 199–208. [Google Scholar] [CrossRef] [Scilit]
- Saravanan, S. Natural convection in square cavity with heat generating baffles. Appl. Math. Comput. 2014, 244, 1–9. [Google Scholar] [CrossRef] [Scilit]
- Dalal, A.; Das, M.K. Natural convection in a rectangular cavity heated from below and uniformly cooled from the top and both sides. Numer. Heat Transf. Part A Appl. 2006, 49, 301–322. [Google Scholar] [CrossRef] [Scilit]
- Nithyadevi, N.; Kandaswamy, P.; Lee, J. Natural convection in a rectangular cavity with partially active side walls. Int. J. Heat Mass Transf. 2007, 50, 4688–4697. [Google Scholar] [CrossRef] [Scilit]
- Khezzar, L.; Siginer, D.; Vinogradov, I. Natural convection in inclined two dimensional rectangular cavities. Heat Mass Transf. 2012, 48, 227–239. [Google Scholar] [CrossRef] [Scilit]
- Hatami, M. Numerical study of nanofluids natural convection in a rectangular cavity including heated fins. J. Mol. Liq. 2017, 233, 1–8. [Google Scholar] [CrossRef] [Scilit]
- Miroshnichenko, I.V.; Sheremet, M.A. Turbulent natural convection heat transfer in rectangular enclosures using experimental and numerical approaches: A review. Renew. Sustain. Energy Rev. 2018, 82, 40–59. [Google Scholar] [CrossRef] [Scilit]
- Jobby, A.; Khatamifar, M.; Lin, W. A Comprehensive Review on the Natural Convection Heat Transfer in Horizontal and Inclined Closed Rectangular Enclosures with Internal Objects at Various Heating Conditions. Energies 2025, 18, 19961073. [Google Scholar] [CrossRef] [Scilit]
- Bejan, A. Entropy generation minimization: The new thermodynamics of finite-size devices and finite-time processes. J. Appl. Phys. 1996, 79, 1191–1218. [Google Scholar] [CrossRef] [Scilit]
- Shuja, S.Z.; Yilbas, B.S.; Budair, M.O. Natural convection in a square cavity with a heat generating body: Entropy consideration. Heat Mass Transf. 2000, 36, 343–350. [Google Scholar] [CrossRef] [Scilit]
- Ilis, G.G.; 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, 696–703. [Google Scholar] [CrossRef] [Scilit]
- Varol, Y.; Oztop, H.F.; Koca, A. Entropy generation due to conjugate natural convection in enclosures bounded by vertical solid walls with different thicknesses. Int. Commun. Heat Mass Transf. 2008, 35, 648–656. [Google Scholar] [CrossRef] [Scilit]
- Oliveski, R.D.C.; Macagnan, M.H.; Copetti, J.B. Entropy generation and natural convection in rectangular cavities. Appl. Therm. Eng. 2009, 29, 1417–1425. [Google Scholar] [CrossRef] [Scilit]
- Bouabid, M.; Magherbi, M.; Hidouri, N.; Brahim, A.B. Entropy generation at natural convection in an inclined rectangular cavity. Entropy 2011, 13, 1020–1033. [Google Scholar] [CrossRef] [Scilit]
- Singh, A.K.; Roy, S.; Basak, T. Analysis of entropy generation due to natural convection in tilted square cavities. Ind. Eng. Chem. Res. 2012, 51, 13300–13318. [Google Scholar] [CrossRef] [Scilit]
- Shavik, S.M.; Hassan, M.N.; Morshed, A.M.; Islam, M.Q. Natural convection and entropy generation in a square inclined cavity with differentially heated vertical walls. Procedia Eng. 2014, 90, 557–562. [Google Scholar] [CrossRef] [Scilit]
- Salari, M.; Rezvani, A.; Mohammadtabar, A.; Mohammadtabar, M. Numerical study of entropy generation for natural convection in rectangular cavity with circular corners. Heat Transf. Eng. 2015, 36, 186–199. [Google Scholar] [CrossRef] [Scilit]
- Sheremet, M.A.; Grosan, T.; Pop, I. Natural convection and entropy generation in a square cavity with variable temperature side walls filled with a nanofluid: Buongiorno’s mathematical model. Entropy 2017, 19, 337. [Google Scholar] [CrossRef] [Scilit]
- Rahaman, M.M.; Bhowmick, S.; Saha, G.; Xu, F.; Saha, S.C. Transition to chaotic flow, bifurcation, and entropy generation analysis inside a stratified trapezoidal enclosure for varying aspect ratio. Chin. J. Phys. 2024, 91, 867–882. [Google Scholar] [CrossRef] [Scilit]
- Rahaman, M.M.; Bhowmick, S.; Saha, S.C. Thermal performance and entropy generation of unsteady natural convection in a trapezoid-shaped cavity. Processes 2025, 13, 921. [Google Scholar] [CrossRef] [Scilit]
- Hossain, M.N.; Shaon, S.M.H.; Rahaman, M.M. Transient Natural Convection and Entropy Generation Analysis in a Stratified Square Enclosure. AUT J. Mech. Eng 2025. [Google Scholar] [CrossRef]
- Rahaman, M.M.; Bhowmick, S.; Mondal, R.N.; Saha, S.C. A computational study of chaotic flow and heat transfer within a trapezoidal cavity. Energies 2023, 16, 5031. [Google Scholar] [CrossRef] [Scilit]
- Rahaman, M.M.; Bhowmick, S.; Saha, S.C. Unsteady Natural Convection and Entropy Generation in Thermally Stratified Trapezoidal Cavities: A Comparative Study. Processes 2025, 13, 1908. [Google Scholar] [CrossRef] [Scilit]
- Shaon, S.M.H.; Rahaman, M.M. Unsteady natural convection and heat transfer analysis within a thermally stratified air-filled square enclosure. Math. Mech. Complex Syst. 2025, 14, 37–57. [Google Scholar] [CrossRef] [Scilit]
- Bawazeer, S.A.; Alsoufi, M.S. Natural Convection in a Square Cavity: Effects of Rayleigh and Prandtl Numbers on Heat Transfer and Flow Patterns. Case Stud. Therm. Eng. 2025, 73, 106680. [Google Scholar] [CrossRef] [Scilit]
- Basak, T.; Roy, S.; Balakrishnan, A.R. Effects of thermal boundary conditions on natural convection flows within a square cavity. Int. J. Heat Mass Transf. 2006, 49, 4525–4535. [Google Scholar] [CrossRef] [Scilit]
- Jiménez, J. Transition to turbulence in two-dimensional Poiseuille flow. J. Fluid Mech. 1990, 218, 265–297. [Google Scholar] [CrossRef] [Scilit]














| Property (Unit) | Stratified Fluid (Air) |
|---|---|
| ρ (kg/m3) | 1.117 |
| Cp (J/kg·K) | 1012 |
| μ (kg/ms) | 0.000018 |
| κ (W/m·K) | 0.0257887 |
| Mesh and Time Steps | Average Velocity | Relative Difference |
|---|---|---|
| 300 × 400 and ∆τ = 0.001 | 0.06059 | 0.85% |
| 350 × 450 and ∆τ = 0.001 | 0.06111 | - |
| 350 × 450 and ∆τ = 0.0005 | 0.06126 | 0.25% |
| 400 × 500 and ∆τ = 0.001 | 0.06133 | 0.36% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Shaon, S.M.H.; Rahaman, M.M.; Saha, S.C.; Bhowmick, S. Comparative Analysis of Unsteady Natural Convection and Thermal Performance in Rectangular and Square Cavities Filled with Stratified Air. Fluids 2026, 11, 33. https://doi.org/10.3390/fluids11020033
Shaon SMH, Rahaman MM, Saha SC, Bhowmick S. Comparative Analysis of Unsteady Natural Convection and Thermal Performance in Rectangular and Square Cavities Filled with Stratified Air. Fluids. 2026; 11(2):33. https://doi.org/10.3390/fluids11020033
Chicago/Turabian StyleShaon, Syed Mehedi Hassan, Md. Mahafujur Rahaman, Suvash C. Saha, and Sidhartha Bhowmick. 2026. "Comparative Analysis of Unsteady Natural Convection and Thermal Performance in Rectangular and Square Cavities Filled with Stratified Air" Fluids 11, no. 2: 33. https://doi.org/10.3390/fluids11020033
APA StyleShaon, S. M. H., Rahaman, M. M., Saha, S. C., & Bhowmick, S. (2026). Comparative Analysis of Unsteady Natural Convection and Thermal Performance in Rectangular and Square Cavities Filled with Stratified Air. Fluids, 11(2), 33. https://doi.org/10.3390/fluids11020033

