A Fourth-Order Compact Difference Algorithm for Numerical Solution of Natural Convection in an Inclined Square Enclosure

Xian Liang,Haiyan Zhang,Zhenfu Tian
DOI: https://doi.org/10.1080/10407782.2021.1940065
2021-01-01
Abstract:In this work, a fourth-order compact finite difference (ED) algorithm on the nine-point 2-D stencil is proposed to simulate numerically natural convection in an inclined square enclosure using the vorticity-stream function form of the Naiver-Stokes equations. The key feature of the proposed algorithm is that for all Rayleigh numbers Ra of physical interest, the point-successive overrelaxation or point-successive underrelaxation (SOR) iteration can be used. The numerical capability of the presented algorithm is demonstrated by the application to natural convection in an inclined square enclosure. The angle of inclination of the cavity is varied from -90 degrees (heated from above) to 90 degrees (heated from below) in steps of 15 degrees. Computations are performed for Rayleigh numbers equal to 10(3), 10(4), 10(5), 10(6) and 10(7) while the Prandtl number is kept constant (Pr= 0.71). Test results, which are presented in terms of streamlines, isotherms, isovorticities and local and average Nusselt number, indicate that the present algorithm could predict the benchmark results for temperature and flow fields on relatively coarser grids.
What problem does this paper attempt to address?