Abstract
In the previous researches about the benchmark solutions in the irregular regions, there are some obvious shortcomings, such as small number of computational grids, simple computational domain, small characteristic number, and lack of mixed convection benchmark solution. In order to improve this situation, this article deeply studied the benchmark solutions for two-dimensional fluid flow and heat transfer problems in the irregular regions under the body-fitted coordinate system. Taking the lid-driven flow, natural convection, and mixed convection problems as the research objects and considering the influence of boundary configurations of the computational domains, Reynolds number, Prandtl number, and Grashof number, this article designed three groups of test cases. The program code is first verified through employing the nonlinear multigrid method based on the collocated finite volume method and then the numerical solutions of three test cases with 1024 × 1024 grids and convergence criterion of 10−14 are obtained to get the benchmark solutions estimated by the Richardson extrapolation method.
Keywords
Introduction
The fluid flow and heat transfer phenomena in practice always happen in the irregular regions, so how to achieve the accurate and efficient calculations of fluid flow and heat transfer problems in the irregular regions is no doubt of great importance. Currently, many articles published in the international academic journals are related to the numerical simulations of the fluid flow and heat transfer problems in the irregular regions. Thus, in order to verify the calculation results and provide references for different algorithms, it is quite necessary to study the benchmark solutions of fluid flow and heat transfer problems defined in the irregular regions. As one of the popular methods to discretize the irregular regions, the body-fitted coordinate grids have been widely used due to its good applicability and desirable ability to follow the boundaries, 1 which is mainly applied to internal flows over smoothly varying irregular boundaries. Therefore, this article aims to research on the benchmark solutions of fluid flow and heat transfer problems in the two-dimensional (2D) irregular regions with the body-fitted coordinate grids.
As a basic research topic, the benchmark solutions have been studied and reported systematically by researchers all over the world, especially the lid-driven flow2,3 and natural convection4,5 in a square cavity, and the calculated benchmark solutions have already been verified and proved. For the benchmark solutions in the irregular regions, the cases in the literature usually can be solved by utilizing the cylindrical coordinate system 6 or polar coordinate system, 7 but the method using the body-fitted coordinate system is rarely proposed. The limited literatures involving these issues are as follows: in the literature, Demirdzic et al. 8 showed the benchmark solutions of the lid-driven flow in an inclined square cavity with the angles of 30° and 45°, natural convection in a 45° inclined square cavity, and a cylinder which is enclosed by a square duct. The Reynolds number is set to be 100 and 1000, respectively, in the case of lid-driven flow; the Prandtl number is set to be 0.1 and 10, respectively, while Rayleigh number is 106 in the case of natural convection. In that article, the multigrid (MG) method based on the collocated finite volume method (FVM) is used and coupling between pressure and velocity is treated by SIMPLE algorithm. And the benchmark solutions with 320 × 320 grids are given. Besides, Oosterlee et al. 9 tested the correctness of the algorithm through comparing the results in the literature 8 and presented the benchmark solutions of L-shaped lid-driven cavity flow with 256 × 256 grids and Reynolds number of 100 and 1000. Different from the literature, 8 Oosterlee et al. 9 employed the symmetric coupled alternating lines (SCAL) to deal with the coupling between pressure and velocity and solved the discretized equations by the means of nonlinear MG method based on the staggered FVM.
Although the literature8,9 has studied the benchmark solutions of 2D lid-driven cavity flow and natural convection in the irregular regions, there is still some room for improvement. For example, the maximum number of grids in the literature 8 is only 320 × 320 in which case the numerical results may still be affected by the discretization error. And the maximum Reynolds number in the literature8,9 is only 1000 and there is no research regarding the problems with high Reynolds number. In addition, the configurations in previous researches are relatively simple to indicate the influence of boundary shape on the accuracy and robustness of the numerical simulation. To the best knowledge of the authors, there are also no such literatures studying the benchmark solutions of mixed convection problems under the body-fitted coordinate system. Therefore, in order to improve this situation, this article aims to research on the benchmark solutions for 2D fluid flow and heat transfer problems in the irregular regions under the body-fitted coordinate system using MG method.
The layout of this article is organized as follows. In section “Test cases,” the reasons and purposes to design the test cases are explained in detail, and the dimensionless general governing equations as well as the calculation conditions are given in this section. In section “Numerical methods,” we mainly focus on the numerical methods for solving the test cases. In section “Program testing,” the correctness of algorithms is tested through comparing the calculation results of lid-driven flow and natural convection with those in the literature. 8 On this basis, section “Benchmark solutions” shows the benchmark solutions of different test cases under various calculation conditions. In the final section, the most important findings of this study are summarized.
Test cases
Description of test cases
This article takes three typical cases of fluid flow and heat transfer problems, lid-driven flow, natural convection, and mixed convection, to be the research objects, noting them as test cases 1–3, respectively. The computational domains of the three test cases all contain the irregular configurations shown in Figure 1 where l = 1 m. The reasons and purposes of designing the three test cases are as follows:
Because previous literature did not discuss the benchmark solutions of the mixed convection problem under the body-fitted coordinate system, this article designs this kind of case to expand the application scope of the benchmark solutions.
The boundary shapes in the literature8,9 are relatively simple. To investigate the influence of the boundary shape on the numerical accuracy, this article designs the regions with non-parallel east–west boundaries as shown in Figure 1(b) and (c). The function of the west boundary shape in Figure 1(c) is

Sketch map of the irregular computational domains: (a) parallelogram cavity, (b) trapezoid cavity, and (c) sine-type cavity.
To guarantee the reliability of the benchmark solutions, this article first compared the numerical results of lid-driven flow on the domain shown in Figure 1(a) with the reference results in the literature 8 to verify the reliability and accuracy of the present algorithms and code and then utilizes the solid program to carry out the subsequent numerical calculations.
Dimensionless general governing equations and calculation conditions
Different from the literature,8,9 this article first applies the dimensionless method to the governing equations of the physical problems in test cases 1–3. The dimensionless treatment can not only make the numerical results more universal but also cover the magnitude gap between different physical variables to enhance the numerical accuracy and reduce the constant calculations in the governing equations. For the sake of concision, the details of dimensionless method are not provided.
In the physical plane x–y, the 2D dimensionless unsteady convection–diffusion equation of the incompressible fluid is given as
where
Since the computational domains in Figure 1 are all irregular regions, this article transforms the dimensionless governing equation (1) in the physical plane x–y into the computational plane
As shown in Tables 1 and 2, when
Parameters of the continuity equation and energy equation.
Parameters of the momentum equations.
Dimensionless boundary conditions and calculation conditions of test cases 1–3.
Numerical methods
In order to guarantee the conservation of the dimensionless governing equation (2), this article applies the FVM to solve the three physical problems. The second-order central difference scheme is employed to discretize the convection term and diffusion term. The deferred correction technology is used for the discretization of the convection term to better meet the diagonal dominant condition of coefficient matrix of the discretized equations. To further satisfy the conservation of flux, the coupling between pressure and velocity is treated by the SIMPLE algorithm on collocated grids, where the dimensionless contravariant U* and V* are selected as the velocity components of the continuity equation in the computational plane and dimensionless U and V are selected as the velocity components of the momentum equations. The cross-derivative terms in the continuity equation and momentum equations caused by the non-orthogonality of grids are treated as the source terms. To make the programming easier, this article utilizes the additional source term method to deal with the boundary conditions of the governing equation.
To obtain the high-resolution numerical solutions and reduce the influence of discretization errors on the numerical results, the computational domain in computational plane is divided into 1024 × 1024 uniform grids. And the convergence criterion is strictly set as the absolute residuals of the continuity equation less than 10−14. The governing equations hold high nonlinearity because the lid-driven flow, natural convection, and mixed convection are all the multi-variable coupling problems. Besides, the number of computational grids is also large for 1024 × 1024 grids adopted. As a result, the above factors would lead to the slow convergence rate of the computation process. To speed up computation, this article adopts the nonlinear MG method based on collocated FVM for the solution where the full approximation scheme (FAS) is chosen as the nonlinear version of the MG method. In FAS, V-cycle is adopted and strong implicit procedure (SIP) method is employed to solve the discretized equations. It is not necessary to obtain the precise solutions on coarse grid when MG method is adopted. Thus, the convergence criterion is only set on the finest mesh, while on other grid levels the number of smoothing is given. On the coarse grid, the numbers of pre-smoothing and post-smoothing for solving the momentum equations and energy equation are both set as 4, and set as 12 for solving the pressure correction equation. In the calculation, grid levels are determined by the coarsest grid number, which is set as 16 × 16 in lid-driven flow and natural convection and 64 × 64 in mixed convection, respectively. The under-relaxation factors for different test cases are as follows: the velocity and pressure under-relaxation factors in the case of lid-driven flow are 0.7 and 0.2, respectively; the velocity, pressure, and temperature under-relaxation factors in the cases of natural convection and mixed convection are 0.4, 0.1, and 0.5, respectively.
To prove the computational efficiency of MG method, a set of numerical results such as computational cost, convergence rate, and convergence ratio in the computation of lid-driven flow in parallelogram cavity with Re = 100 on 1024 × 1024 grids are provided in Tables 4 and 5. Table 4 shows the computational cost for solving U-momentum equation, V-momentum equation, and P-correction equation, respectively, in a V-cycle of MG method. In Table 5, the convergence rate and convergence ratio are provided. The convergence rate is the maximum residual after each V-cycle, and the convergence ratio gives the ratio of residual of successive V-cycles. From the results, it can be seen that MG method is a wise choice in the present computation.
Computational cost of a V-cycle (
WU: work unit.
Convergence rate and ratio.
Program testing
In this section, the numerical results of lid-driven flow and natural convection are first given, and then the comparisons between the present numerical results and the reference results in the literature 8 are conducted to verify the accuracy and reliability of the algorithms in this article, as shown in Tables 6 and 7 and Figure 2.
Comparison between the numerical results of the lid-driven flow in this article with the reference results in the literature. 8
Comparison between the numerical results of the natural convection in this article with the reference results in the literature. 8

Comparison between the velocity profiles along centerlines CL1 and CL2 for the lid-driven flow in this article with the reference results in the literature: 8 (a) U and (b) V.
From Table 6, Figure 2, and Table 7, it can be clearly seen that the numerical results in this article meet very well with the reference results in the literature, 8 and the numerical accuracy of the maximum Nusselt number and stream function values is higher than that in the literature. 8 In addition, the curves of U and V velocity profiles all go through the 15 selected points of the previous benchmark solutions in the literature. 8 Through the above comparisons, it can be reasonably concluded that the proposed algorithms are reliable and accurate to ensure the subsequent numerical calculations.
Benchmark solutions
In section “Program testing,” the algorithm in this article has been verified by the lid-driven flow and natural convection in the parallelogram cavity. In the following text, the benchmark solutions of the lid-driven flow, natural convection, and mixed convection will be calculated on the computational domains with 1024 × 1024 grids. The detailed calculation conditions are presented in Table 3 of section “Test cases.”
Lid-driven flow
The numerical results of lid-driven flow with Reynolds number of 100 and 5000 are given below. Figure 3 is the streamlines for the lid-driven flow. It can be clearly seen that there is substantial difference between the contour map of Re = 5000 with that of Re = 100. To be specific, the first vortex of Re = 5000 is much smaller than that of Re = 100 and it is concentrated on the top right corner of the computational domain. However, the second vortex of Re = 5000 is bigger than that of Re = 100 and it fills about three-fourths of the whole cavity. The reason for this result is that the driving force increases along with the Reynolds number and the fluid movement also becomes more intense. Thus, when the first vortex gets smaller, the second vortex has larger development space and the more intense fluid flow further enhances the full development of the second vortex. It can also be observed that the number of vortex increases with Reynolds number: when Re = 100, there is only one main vortex and it fills almost the whole cavity; but when Re = 5000, there are three to five vortexes which means the fluid flow has been fully developed. Figure 3(a)–(c) shows different development trends of the vortexes and the reason is the different computational domains and boundary shapes, leading to the vortex development in different spaces. Figure 3 presents the fourth and fifth vortexes of the streamline which also suggests the high accuracy of this algorithm.

Streamlines for the lid-driven flow when Re = 100 and Re = 5000: (a) parallelogram cavity, (b) trapezoid cavity, and (c) sine-type cavity.
Table 8 presents the minimum and maximum stream function values in vortex center and their position for the lid-driven flow on 1024 × 1024 grids. And Figure 4 shows the V velocity profile at the centerline CL1 for the sake of qualitative comparison. Table 9 lists the selected values estimated by the Richardson extrapolation method for quantitative description of the V velocity profiles in Figure 4.
Minimum and maximum stream function values in vortex center and their position for the lid-driven flow on 1024 × 1024 grids.

V velocity profile for the lid-driven flow along the centerline CL1: (a) parallelogram cavity, (b) trapezoid cavity, and (c) sine-type cavity.
Selected values of the velocity profiles in Figure 4.
Natural convection
This section shows the numerical results of natural convection with Pr = 10, Pr = 0.1, and Ra = 106. Figure 5 is the streamlines for the natural convection. We can see that there is only one main vortex when the Prandtl number is set to be 10 and 0.1, filling almost the whole computational domain with slight difference for the same area. The more intense flow when Pr = 0.1 than that when Pr = 10 leads to the full development of the main vortex. It is obvious that Prandtl number has great influence on the shape of main vortex. Table 10 shows the minimum and maximum stream function values in vortex center and their position on 1024 × 1024 grids in Figure 5.

Streamlines for the natural convection when Ra = 106: (a) parallelogram cavity, (b) trapezoid cavity, and (c) sine-type cavity.
Minimum and maximum stream function values in vortex center and their position for the natural convection on 1024 × 1024 grids.
Figure 6 is the isotherms for the natural convection when Ra = 106. It is shown that the isotherms are always vertical to the adiabatic boundaries, but for the same computational domain the curvature of isotherms differs from each other. When Pr = 0.1, the isotherms in the center of cavity have larger curvature than those when Pr = 10, since when the Prandtl number is getting smaller, the heat diffusion ability of fluid flow becomes stronger than the momentum diffusion ability which results in the great buoyancy force. The convective movement between the cool and warm fluids becomes more intense, leading to the better mixing between fluids with different temperature.

Isotherms for the natural convection when Ra = 106: (a) parallelogram cavity, (b) trapezoid cavity, and (c) sine-type cavity.
Figure 7 shows the Nusselt number along the hot wall when Ra = 106 with Pr = 10 and Pr = 0.1. Table 11 presents the selected values of the Nusselt number profiles in Figure 7. It is worth pointing out that the coordinate value Y of the selected points is the actual coordinate rather than the length of the hot wall.

Nusselt number along the hot wall for the natural convection when Ra = 106: (a) parallelogram cavity, (b) trapezoid cavity, and (c) sine-type cavity.
Selected values of the Nusselt number profile in Figure 7.
Mixed convection
In order to expand the application scope of benchmark solutions, this article also studied the mixed convection problem. The mixed convection can be regarded as the combination between the lid-driven flow and natural convection; the driving forces of the fluid come from the force of the moving boundary as well as the buoyancy force. In the following text, the numerical results of mixed convection when Gr = 106, Gr = 107, and Pr = 0.71 are provided.
Figure 8 is the streamlines for the mixed convection. It can be observed from Figure 8 that along with the increase in Grashof number, the number of vortex does not change but the shape changes a lot. When Gr = 106, there is only one main vortex and the shape of the main vortex is concentric deformed circles which fill almost two-thirds of the cavity. When Gr = 107, there is still one main vortex, but the shape is bigger than that of Gr = 106 and presents as long strips which almost fill the whole region. The reason is that along with the increase in Grashof number, the intensity of natural convection becomes larger and the natural convection is dominant. In addition, the shape of streamlines when Gr = 106 is similar to that in the lid-driven flow when Re = 1000. Because when Gr = 106 and Re = 1000, the Ri = 1, which signifies that the influences of lid-driven flow and natural convection on the fluid flow are almost the same. The minimum and maximum stream function values in vortex center and their position are given in Table 12.

Streamlines for the mixed convection when Re = 1000 and Pr = 0.71: (a) parallelogram cavity, (b) trapezoid cavity, and (c) sine-type cavity.
Minimum and maximum stream function values in vortex center and their position for the mixed convection on 1024 × 1024 grids.
Figure 9 is the isotherms for the mixed convection when Re = 1000 and Pr = 0.71. It is shown that for different domains with various boundary shapes, the isotherms differ from each other greatly when Gr = 106 and Gr = 107. When Gr = 106, the isotherms show the shape of vortex, while Gr = 107, the shape of isotherms is similar to that of natural convection when Gr = 106. The reason for this phenomenon is the dominance of natural convection, and lid-driven flow on the mixed convection varies along with the different Grashof numbers. Although the three computational domains are quite different from each other, the isotherms are always vertical to the adiabatic boundaries. For the same calculation region, the curvature of isotherms when Gr = 106 is larger than that when Gr = 107, since the contour shape of the former situation is affected by lid-driven flow while the latter one is mainly influenced by the buoyancy force.

Isotherms for the mixed convection when Re = 1000 and Pr = 0.71: (a) parallelogram cavity, (b) trapezoid cavity, and (c) sine-type cavity.
Figure 10 shows the Nusselt number along the hot wall for the mixed convection when Re = 1000 and Pr = 0.71. Table 13 gives the selected values of the Nusselt number profiles in Figure 10.

Nusselt number along the hot wall for the mixed convection when Re = 1000 and Pr = 0.71: (a) parallelogram cavity, (b) trapezoid cavity, and (c) sine-type cavity.
Selected values of the Nusselt number profiles in Figure 10.
Conclusion
This article studied the benchmark solutions of the lid-driven flow, natural convection, and mixed convection in 2D irregular regions under the body-fitted coordinate system. On the basis of verifying the reliability and correctness of the algorithms, this article employed the nonlinear MG method based on the collocated FVM to solve the above physical problems on 1024 × 1024 grids under different calculation conditions. Based on the numerical results, the following conclusions can be obtained:
The results of lid-driven flow in parallelogram cavity verified the reliability of the present method and proved it to be more accurate than the benchmark solutions in the literature. 8
The benchmark solutions of lid-driven flow and natural convection on 1024 × 1024 grids are given and this article also studied the influence of boundary shape, Reynolds number, Prandtl number, and Grashof number on the numerical results.
The benchmark solutions of the mixed convection are presented to expand the application scope of the benchmark solutions.
Footnotes
Appendix 1
Appendix 2
Academic Editor: Chin-Lung Chen
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This study was supported by the National Science Foundation of China (No. 51325603, No. 51206186 and No. 51376086).
