Laminar natural convection in a 2-D square cavity

This test case models two-dimensional laminar flow of a Boussinesq fluid in an upright square cavity. The computational domain follows the benchmark setup of Davis and Jones (1983). The objective is to compute the velocity and temperature fields for various Rayleigh numbers. Note that this benchmark does not represent an analytic solution, but rather a numerical benchmark.

Computational Domain

The domain is a square cavity of side length . The left wall is held at temperature , while the right wall is at . The top and bottom walls are insulated. The fluid has a Prandtl number of 0.71. Computations are performed for Rayleigh numbers of , , , and . The benchmark defines the following non-dimensional quantities:

Where is the thermal diffusivity of the fluid and is the kinematic viscosity. The parameters of the computational domain are summarized in Table 1.

Table 1: Properties of the computational domain.

ParameterValue
x
z

Results

Figure 1 shows the velocity field with streamlines, while Figure 2 displays the temperature field along with temperature contours. To compare the results with the benchmark, the following quantities are reported in Table 2: the maximum horizontal velocity along the vertical centerline (), the maximum vertical velocity along the horizontal centerline (), and the average Nusselt number on the hot wall (). The simulation results are in excellent agreement with the benchmark.

Velocity Field

Figure 1: Velocity Field

Temperature

Figure 2: Temperature

Table 2: Comparison of Cardinal results with the benchmark

Ra
-CardinalBenchmarkRelative ErrorCardinalBenchmarkRelative ErrorCardinalBenchmarkRelative ErrorCardinalBenchmarkRelative Error
3.6493.6490.0E+0016.17116.1784.3E-0434.6634.732.0E-0364.8064.632.6E-03
3.6973.6970.0E+0019.62719.6175.1E-0468.6368.595.8E-04220.56219.365.4E-03
1.1181.1180.0E+002.2442.2434.5E-044.5224.5196.6E-048.8258.8002.8E-03

A mesh sensitivity study was conducted to ensure that the mesh resolution was sufficient. Table 3 presents the average Nusselt number computed using three different mesh sizes. Since the results obtained with the medium and fine meshes are identical, the medium mesh was selected for the test case. All results reported in Table 2 were computed using this mesh. The medium mesh is shown in Figure 3.

Table 3: Mesh sensitivity

MeshNumber of Elements
Coarse1.121
Medium1.118
Fine1.118
Computational mesh (1508 Elements).

Figure 3: Computational mesh (1508 Elements).