Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Excerpt from the Proceedings of the COMSOL Conference 2009 Boston

Benchmark Comparison of Natural Convection in a Tall Cavity

Heather E Dillon∗,1 , Ashley Emery1 , and Ann Mescher1


1
University of Washington

Corresponding author: Seattle, WA 98105, hedillon@u.washington.edu

Abstract: A comparison of the commercial computational software [6].


code COMSOL is performed with the bench- For natural convection studies in a cavity
mark solutions provided by the literature for several parameters are used to classify the sys-
a tall, differentially heated rectangular cavity tems. The geometry of the cavity is repre-
for aspect ratios of 8, 15, 20, and 33. At small sented by the height H, the width L and the
Rayleigh numbers the flow is dominated by aspect ratio (A).
conduction. As the Rayleigh number is in-
creased the flow becomes unstable, first result- H
A= (1)
ing in multicellular secondary flow patterns, L
and then as the Rayleigh number is further For the computational work described in
increased becoming turbulent. For this work this paper the range of aspect ratios consid-
a range of Rayleigh numbers from 1e3 to 3e5 is ered was A = 8 − 33.
considered for a Prandtl number of 0.71. The Several dimensionless parameters are used
predicted wavenumber, critical Rayleigh num- to characterize the flow. The Rayleigh num-
ber, and characteristic streamfunctions are ber (Ra) is defined below and is often used
compared with experimental work reported in buoyancy flows to characterize the transi-
in the literature. The effect of COMSOL’s tion between conduction dominated flow and
anisotropic and crosswind numerical diffusion convection dominated flow. The Prandlt num-
values are also evaluated. ber (P r) is the ratio of the viscous diffusion
and thermal diffusion. For this work, only the
Keywords: benchmark, comsol, natural con- value of P r = 0.71 (representative of air) is
vection, tall cavity considered, and a range of Ra = 1e3 − 3e5 is
explored.
1 Introduction ρ2 gcp β(∆T )L3
Ra = (2)
To benchmark the natural convection mod- kµ
eling capabilities of COMSOL, comparisons cp is the heat capacity of the gas, g is the
were made for free convection in tall rectan- acceleration of gravity, β is the isobaric coef-
gular two dimensional cavities. The geometry ficient of thermal expansion, µ is the dynamic
is a cavity of air with isothermal heated and viscosity, k is the thermal conductivity, and ρ
cold walls. The differentially heated walls cre- is the density.
ate a buoyancy driven convection inside the
cp µ
cavity. Understanding the performance of the Pr = (3)
COMSOL Multiphysics numerical diffusion for k
this case will allow more complex geometries, The critical Rayleigh number (Rac ) is an
including high aspect ratio annular systems, to important value for comparisons to experi-
be modeled with greater confidence. The focus mental work. It is defined as the Rayleigh
is on correctly simulating the fluid behavior for number at which the flow transitions from one
cavities with high aspect ratios (greater than stability regime to another, which corresponds
15). A summary of the computational domain to the transitions from the conduction domi-
for work of this type is shown in Figure 1. nated regime to convection dominated regime.
The study of flow in a thermally driven In this work the critical Rayleigh number char-
cavity is a classical problem that has been ex- acterizes the formation of cells with oscillatory
plored by many researchers since the 1950s. temperatures. Experimental studies often re-
The specific case of a square cavity has been port the wavenumber (n) at Rac based on the
used extensively as a numerical benchmark for wavelength (λ) of the cells.
(a) (b)

Fig. 1: a) Computational domain for the tall cavity problem. b) Literature summary for the tall
cavity problem. Solid and dashed lines represent stability at the Boussinesq limit (-) and higher
temperature differences (- -). Dot-dash and dotted lines represent boundary layer regimes for the
Boussinesq limit (-.-) and the higher temperature differences (...). The scope of the current work is
shown for reference. Adapted from [4].

ties (A = 1 − 5) including de Vahl Davis [6].


2π For small aspect ratios the flow characteristics
n= (4)
λ are not multi-cellular and are time invariant.
The heat transfer across the cavity is usu-
ally reported in terms of the Nusselt num-
ber (Nu), which is the ratio of the convective 2.1 Experimental Studies
heat transfer coefficient to the conduction heat
transfer coefficient. Several experimental studies have been per-
formed on natural convection in a tall cavity.
Table 1 summarizes the natural convection ex-
2 Literature periments performed. The experimental liter-
ature is more extensive for small aspect ratios
The literature has shown that the stability of
(A < 4).
the flow in a cavity is governed by the Prandtl
number, the Rayleigh number and the geom- Most of the experimental work consisted
etry of the cavity. At small Rayleigh num- of flow visualization. Most of the authors esti-
bers the flow is dominated by conduction. As mated the observed critical Rayleigh number
the Rayleigh number is increased the flow be- and the wavenumber.
comes unstable, first resulting in multicellu-
lar secondary flow patterns, and then as the 2.2 Computational Models
Rayleigh number is further increased the flow
becomes chaotic. A high level summary of the The computational models for this problem
expected flow behavior for Cartesian geometry are summarized in Table 1. All the compu-
is shown in Figure 1. tational studies unless otherwise noted used
The focus in most experimental and com- the Boussinesq approximation and none of the
putational work is on small aspect ratio cavi- models considered radiative heat transfer.
Author Year Ra Pr A Description

Experimental
Elder [7] 1965 1e3 − 1e5 Silicon 1-60 Streak photos showed
multicellular flow.
Vest and Arpaci [17] 1969 3.7e5 0.71, 1000 20-33 Streak photos of the flow.
Reported Rac .

Computational Models
Vest and Arpaci [17] 1969 7e3 − 3e5 0.71, 1000 20-33 Galerkin method.
Korpela et al [10] 1973 1e2 − 1e4 0-50 ∞ Reported Rac .
Bergholz [2] 1978 1.6e3 − 3e4 0.73-1000 ∞ Galerkin method.
Lee and Korpela [11] 1983 3e4 − 2e5 0-1000 15-40 Reported Nu and
streamfunctions.
Chenoweth and Paolucci [4] 1986 1e5 − 1e6 0.71 1-10 Compare ideal gas
and Boussinesq.
Chait and Korpela [3] 1989 5e2 − 1.5e4 0.71, 1000 ∞ Pseudo spectral method.
Reported Rac
Le Quere [14] 1990 7e3 − 4e4 0.71 16 Explored return to
uni-cellular pattern.
Liakopoulos et al. [12] 1990 0.71 10-25 Included flux wall conditions.
Facas [8] 1992 9e3 − 6e4 0.71 15 Considered inclined
cavities (75o ).
Suslov and Paolucci [16] 1995 6e3 − 1e4 0.71 ∞ Non-Boussinesq impact
on stability and considered
Rac with ∆T .
Xin and Le Quere [18] 2002 3e5 − 5e5 0.71 8 Benchmark study reported Rac .
Christon et al. [5] 2002 1e5 0.71 8 Comparison study of
methods, grids, etc.
Hayden et al. [15] 2003 7e3 − 3e5 0.71 33 Commercial code FIDAP.
Present work 2009 1e4 − 6e5 0.71 8-33 Commercial code COMSOL.

Table 1: Summary of experimental and computational natural convection studies in a tall cavity.

The computational literature also demon- depending on the specifics of the spatial dis-
strates that for low Prandtl number flows the cretization, grid resolution, governing equa-
primary instability is a thermal-shear insta- tions, and solver parameters. Other param-
bility which obtains kinetic energy primarily eters such as the time averaged velocity were
from shear production in the flow. Larger calculated more precisely by the participants.
Prandtl number flows experience a thermal- Most importantly, the critical Rayleigh num-
buoyant instability which obtains energy from ber and the predicted Hopf bifurcation were
the buoyant force. computed accurately by all methods.
One of the most interesting papers for the Some authors ([13] and [9]) predict an
rectangular geometry is the work of Christon oscillatory time-dependent instability for tall
et al. [5] which is a compilation of solutions cavities. Lee and Korpela and Liakopoulos
submitted by many participants with a vari- [12] predict that a stationary instability pre-
ety of solution methods. The authors found cedes the onset of oscillatory convection for
that no specific method (finite element, finite high aspect ratios. Suslov and Paolucci in-
volume, and finite difference) provided supe- dicate this observation is simply a product
rior results. The authors also note that the of temperature invariant air properties [16].
amplitude of the periodic temperature oscil- They also observe that two modes of instabil-
lations can vary by an order of magnitude ity are possible depending on the magnitude
of the temperature difference between the hot 3.2 Air Properties
and cold wall.
In a similar work Chenoweth and Paolucci The density of the fluid for natural convection
[4] observed that as the temperature differ- systems is often represented with the Boussi-
ence in the cavity increases, a lower critical nesq approximation. The Boussinesq approxi-
Rayleigh number is found. They confirmed mation is used for computational problems of
that the nature of the instability changes with this type to simplify the formation of the cou-
increasing temperature difference. pled Navier-stokes equations. The approxima-
tion assumes that density variations are small
in the fluid except in evaluating the buoy-
3 Solution Method ancy force (gravity multiplied by density). In
general, the Boussinesq approximation is only
3.1 Governing Equations valid when the temperature differences in the
The buoyancy driven flow is modeled as a cou- system are small (less than 28o C).
pled system with fluid motion (Navier Stokes), For the system considered in this work
convection and conduction heat transfer. The the Boussinesq approximation is valid, how-
governing equations are given in Equations 5- ever some authors did observe different results
8. when the air was treated as an ideal gas ([4]
The boundary conditions for the system and [16]). The experimental results compared
are specified as adiabatic on the upper and in this work involved larger temperature differ-
lower cavity boundaries. The right (hot) and ences. For this reason the Boussinesq approx-
left (cold) walls are constrained as constant imation was not used and the air was treated
temperatures as shown in Figure 1. as an ideal gas.
The weakly compressible Navier Stokes Other fluid properties (k, cp , µ) were all
equation for this system is given in simplified temperature dependent and were defined by
form. using the polynomial fit of Reeve [15].

∂u 3.3 Spatial Discretization


ρ + ρ(u · 5)u = (5)
∂t For this analysis a grid resolution study was
5 · (−pI + η(5u + 5uT )) conducted for the A = 15 geometry. In the re-
−(2η/3 5 ·u)I + F finement study the density of the mesh was
increased and the magnitude and formation
of the temperature oscillations was recorded.
5 ·u = 0 (6) The mesh was optimized when the formation
of the oscillations occurred with the same mag-
5 ·(c · ψ) = 0 (7) nitude and roughly the same iteration time as
the most refined mesh. The final mesh was
In this form u represents the velocity vec- 576 triangular quadratic Lagrangian elements
tor of the fluid, ρ is the fluid density, η is the with 5513 degrees of freedom.
dynamic viscosity of the fluid, and F is the
force applied to the fluid. Where c is the dif-
fusion coefficient and ψ is the streamfunction. 4 Numerical Diffusion in COMSOL
For the models discussed in this section the Multiphysics
fluid force is specified in the y-direction for
buoyancy driven flow as Fy = −ρg. Initially a small study was conducted to ex-
The heat transfer convection is governed plore each of the numerical diffusion param-
by Equation 8. eters discussed in this work. In the study
a baseline value for each numerical diffusion
parameter was taken to be the COMSOL de-
∂T
ρcp + 5 · (−k 5 T ) = −ρcp u · 5T (8) faults for weakly compressible Navier-Stokes.
∂t
Each diffusion parameter was then adjusted
For this equation k is the thermal conduc- and a qualitative observation about the effect
tivity, cp is the heat capacity at constant pres- of altering the parameters on the temperature
sure, and T is the temperature. oscillations in the system was made. It was
found that to most achieve results most closely sive. SUPG has the largest effect near
matching the experimental data required re- the boundary layers [1]. Because SUGP
ducing slightly the anisotropic and crosswind and GLS are closely related the SUGP
diffusion. option was not examined in detail in the
The numerical diffusion parameters in baseline study.
COMSOL Multiphysics are outlined in the
COMSOL documentation [1], however a short • Galerkin least-squares (GLS).
overview of each type is included here along Galerkin least-squares (GLS) is a more
with the results of modifying the values. advanced version of SUPG and is of the
same order of accuracy. In COMSOL,
• Isotropic Diffusion. In COMSOL, GLS is the default streamline diffusion
isotropic diffusion is equivalent to adding mechanism and is part of the baseline
a term to the physical diffusion coeffi- solution. In the baseline study GLS
cient. The new term is a tuning param- was found to be a more robust solution
eter (δid ) with recommend values less method. In some cases the SUPG failed
than 0.5. The effect of isotropic diffusion to converge at all without crosswind dif-
is to dampen oscillations and impede fusion enabled. For this reason GLS
propagation of oscillations [1]. When was the streamline diffusion method of
isotropic diffusion was introduced in this choice for this work.
study it dampened the oscillations or
• Crosswind Diffusion. Crosswind dif-
halted them altogether as expected.
fusion introduces artificial diffusion in
• Anisotropic Diffusion. Anisotropic the orthogonal direction to the stream-
diffusion is similar to isotropic diffusion lines. Crosswind diffusion is most use-
method but occurs only in the direc- ful when undershoots and overshoots can
tion of the streamline. Like isotropic occur in the numerical solutions. Cross-
diffusion, anisotropic diffusion modifies wind diffusion methods do not alter the
the equation with a new term. The equation but are non-linear [1]. The ef-
COMSOL documentation suggests val- fect of adjusting the crosswind diffusion
ues for anisotropic diffusion (δsd ) should coefficient (ck ) in COMSOL for the base-
be less than 0.5 [1]. In the paramet- line study was significant. Increasing
ric study conducted for this work the ck to 0.2 reduces the oscillations signifi-
default values of δsd = 0.25 resulted cantly. Decreasing ck from the baseline
in values close to the baseline solution. smooths the oscillations but does not
Increasing the anisotropic diffusion re- change the amplitude. A small increase
duced the amplitude of the oscillations in the period of the oscillations occurs.
and had a slight increase of period. Removing crosswind diffusion caused the
Decreasing the anisotropic diffusion in- solution to require a much longer time to
creased the amplitude of the oscillations stabilize and also reduced the period of
and slightly reduced the period. oscillations.

• Streamline upwind Petrov-


Galerkin (SUGP). Streamline diffu-
5 Results
sion introduces artificial diffusion in the
5.1 Numerical Diffusion
streamline direction. The Streamline
upwind Petrov-Galerkin (SUGP) does Based on the results of the study of the ef-
not perturb the original transport equa- fects of modifying the diffusion coefficients,
tion. It is closely related to upwinding the subsequent work focused on adjustments
schemes in finite difference and finite to the crosswind diffusion parameter (ck ) and
volume methods. SUPG can be shown the anisotropic diffusion parameter (δsd ). This
to add a smaller amount of stability analysis was performed for a cavity with A =
than anisotropic diffusion but yields a 15. The results are shown in Figure 2-3.
higher accuracy than anisotropic diffu- For the anisotropic diffusion Figure 2 (a-
sion. SUPG is less stabilizing than GLS c) shows the changes in the streamfunction as
but is also computationally less expen- the tuning parameter δsd was changed. In this
(a) δsd = 0.05 (b) δsd = 0.15 (c) δsd = 0.25 (d) ck = 0.01 (e) ck = 0.05 (f) ck = 0.1

Fig. 2: (a-c) Effect of variation of anisotropic diffusion for Ra = 1.4e5, A = 15 and ck = 0.01 on the
streamfunction at t = 100. (d-f) Effect of variation of crosswind diffusion for Ra = 1.4e5, A = 15
and δsd = 0.05 on the streamfunction at t = 100.

case the structure of the main cell is best de- properties found for A = 15 did not give good
fined for the lower values of δsd . Figure 3 docu- results for this aspect ratio, and no critical
ments the temperature oscillations that occur Rayleigh number could be determined. The
near the intersection of the cells in the upper solution remained time invariant throughout
half. the range of Ra considered. The streamfunc-
For the crosswind diffusion Figure 2 (d-f) tion and temperature contours for this aspect
shows the changes in the streamfunction as the ratio appear to be consistent with prior bench-
ck parameter was adjusted. In this case only mark studies.
slight changes in the streamfunction are visi- The numerical diffusion parameters that
ble, primarily near the upper and lower cells. give appropriate results for higher aspect ra-
As shown in Figure 3 as ck is increased oscilla- tios (A > 15) may not be appropriate for
tions in the cells are halted completely. Over this aspect ratio. It is also possible based on
the entire range of Ra examined the higher ck the summary map provided by Chenoweth and
values prevented the transition to oscillatory Paolucci (Figure 1) that the critical Rayleigh
convection. number is affected by the temperature differ-
Based on this analysis a low value of cross- ences examined in this work. Small differences
wind diffusion (ck = 0.01) and a moderate in computational techniques may also be im-
value of anisotropic diffusion (δsd = 0.15) were pacting this aspect ratio.
chosen for the analysis of larger aspect ratios.
5.3 High Aspect Ratios (A > 15)
5.2 Small Aspect Ratio (A=8)
In all the simulations for the higher aspect ra-
Analysis of a small aspect ratio cavity was per- tios the streamfunctions and temperature con-
formed because the benchmark of Xin [18] was tours are consistent with those reported in the
very complete. Using the numerical diffusion literature. The streamfunctions are shown in
(a) (b)

Fig. 3: Effect of variation of diffusion for Ra = 2.5e5, A = 15 on the air temperature located at 2/3
of the full cavity height (upper half). a) Diffusion where ck = 0.01. i) δsd = 0.05 ii) δsd = 0.15 iii)
δsd = 0.25. b) Diffusion where δsd = 0.15. i) ck = 0.01 ii) ck = 0.05 iii) ck = 0.1.

Figure 4 and the temperature contours are


shown in Figure 5. Author Racritical Wave
Most authors observe a cat-eye pattern in Number
flow for high aspect ratios (A > 12) that then A=8
transitions to a traveling wave instability. In Xin and Le Quere [18] 3.1e5 1.7
this work, the cat-eye pattern occurred as ex- Present work - -
pected and became traveling waves for A = 33.
A = 15
Analysis of the cavity for A = 15 over the Liakopoulos et al. [12] 1.4e5 -
range of Rayleigh numbers shows that Rac is Present work 1.4e5 2.62
near 1e5. This is very consistent with the find-
ings of other numerical work [12]. A qualita- A = 20
tive comparison of streamfunctions also aligns Lee and Korpela [11] 1.1e4 2.82
well with the results of Chenoweth [4] and Li- Liakopoulos et al. [12] 7.1e3 -
akopoulos [12]. Vest and Arpaci [17] 3.7e5 3.5
Present work 3.2e4 -
For A = 20 the literature reports Rac in
the range of 1e4 for the onset of multi-cellular
A = 33
motion. A stability transition in this regime
Reeve [15] 6.7e3 2.77
was not calculated but the secondary motion
Vest and Arpaci [17] 6.2e3 2.74
transition was found at Ra = 3.2e4 which is
Present work 5.8e3 2.49
in good agreement with the stability map of
Chenoweth [4]. None of the comparison work
for A = 20 was based on experimental values Table 2: Summary of Cartesian numerical
for air (Vest and Arpaci report A = 20 results convection studies.
for oil), and other authors including Liakopou-
los did not have clear computational results for For A = 33 the critical Rayleigh number
Rac at this aspect ratio. was determined to be 5.8e3 for the transition
to multi-cellular flow, slightly below the exper- air layer with large horizontal tempera-
imental value determined by Vest and Arpaci. ture differences, Journal of Fluid Mechan-
This value is also consistent with other nu- ics (1996).
merical studies. As the Rayleigh number was
[5] M.A. Christon, P.M. Gresho, and S.B.
increased the period of the waves in the simu-
Sutton, Computational predictability of
lation decreased. The critical wavenumber for
time-dependent natural convection flows
this computational work agrees well with the
in enclosures (including a benchmark so-
experimental work of Vest and Arpaci [17] but
lution), International Journal for Numer-
improvements may be possible.
ical Methods in Fluids (2002).
Table 2 provides a summary of all the crit-
ical Rayleigh numbers determined by prior au- [6] G. de Vahl Davis, Natural convection of
thors and the present work. air in a square cavity: A bench mark
numerical solution, International Journal
for Numerical Methods in Fluids (1983).
6 Conclusion
[7] J. Elder, Laminar free convection in a
The comparison with experimental work indi- vertical slot, Journal of Fluid Mechanics
cates that by tuning the numerical diffusion (1965).
it is possible to match the values the critical
[8] G. Facas, On the convective instability in
Rayleigh numbers and wave lengths for high
long inclined cavities, ASME Stability of
aspect ratio cavities with natural convection.
Convective Flows (1992).
The critical Rayleigh numbers agree well with
the experimental results of Vest and Arpaci [9] P. Haldenwang and G. Labrosse, 2-d and
[17] for A = 33. A further analysis of the effect 3-d spectral chebysheve solutions for free
of this numerical diffusion may be required to convection at high rayleigh number, Sixth
understand if the low aspect ratio case (A=8) International Symposium on Finite Ele-
can give better agreement. ment Methods in Flow Problems (1986).
In general, COMSOL was found to give
appropriate qualitative stream functions and [10] S.A. Korpela, D. Gozum, and C.B. Baxi,
temperature contours for all aspect ratios. On the stability of the conduction regime
The critical Rayleigh numbers for the sim- of natural convection in a vertical slot, In-
ulations decrease as the aspect ratio is in- ternational Journal Heat and Mass Trans-
creased which is consistent with prior work fer (1973).
in the literature. That the values of δsd and [11] Y. Lee and S. A. Korpela, Multicellular
ck that were found to be optimum for A=15 natural convection in a vertical slot, Jour-
were also appropriate for the higher aspect ra- nal of Fluid Mechanics (1983).
tios provides additional assurance to users of
COMSOL Multiphysics. [12] A. Liakopoulos, P.A. Blythe, and P.G.
Simpkins, Convective flows in tall cavi-
ties, Simulation and Numerical Methods
References in Heat Transfer (1990).

[1] Comsol user’s guide. [13] S. Paolucci and D.R. Chenoweth, Tran-
sition to chaos in a differentially heated
[2] R.F. Bergholz, Instability of steady nat- vertical cavity, Journal of Fluid Mechan-
ural convection in a vertical fluid layer, ics (1989).
Journal of Fluid Mechanics (1978). [14] P. Le Quere, A note on multiple and un-
steady solutions in two-dimensional con-
[3] A. Chait and S.A. Korpela, The sec- vection in a tall cavity, Journal of Heat
ondary flow and its stability for natu- Transfer (1990).
ral convection in a tall vertical enclosure,
Journal of Fluid Mechanics (1989). [15] Hayden Reeve, Effect of natural convec-
tion heat transfer during polymer optical
[4] D.R. Chenoweth and S. Paolucci, Nat- fiber drawing, Ph.D. thesis, University of
ural convection in an enclosed vertical Washington, 2003.
[16] S.A. Suslov and S. Paolucci, Stability of chebyshev pseudo-spectral benchmark for
natural convection flow in a tall verti- the 8:1 differentially heated cavity, Inter-
cal enclosure under non-boussinesq condi- national Journal for Numerical Methods
tions, International Journal of Heat and in Fluids (2002).
Mass Transfer (1995).
[17] C.H. Vest and V.S. Arpaci, Stability of
Acknowledgments
natural convection in a vertical slot, In-
ternational Journal of Fluid Mechanics
These results were obtained as part of the
(1969).
research supported by the National Science
[18] S. Xin and P. Le Quere, An extended Foundation through Grant 0626533.
(a) A=8 (b) A=15 (c) A=20 (d) A=33

Fig. 4: Streamfunction for Ra = 1.6e5 at t = 100.

(a) A=8 (b) A=15 (c) A=20 (d) A=33

Fig. 5: Temperature contours for Ra = 1.6e5 at t = 100.

You might also like