Professional Documents
Culture Documents
Building Physics and Systems, Technische Universiteit Eindhoven, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
Department of Building, Civil and Environmental Engineering, Concordia University, 1455 de Maisonneuve Blvd West,
Montreal, Que., Canada, H3G 1M8
c
Laboratory of Building Physics, Department of Civil Engineering, Katholieke Universiteit Leuven, Kasteelpark Arenberg 40,
3001 Leuven, Belgium
b
Received 17 May 2006; received in revised form 14 August 2006; accepted 15 August 2006
Abstract
Accurate Computational Fluid Dynamics (CFD) simulations of atmospheric boundary layer (ABL) ow are essential
for a wide variety of atmospheric studies including pollutant dispersion and deposition. The accuracy of such simulations
can be seriously compromised when wall-function roughness modications based on experimental data for sand-grain
roughened pipes and channels are applied at the bottom of the computational domain. This type of roughness modication
is currently present in many CFD codes including Fluent 6.2 and Ansys CFX 10.0, previously called CFX-5. The problems
typically manifest themselves as unintended streamwise gradients in the vertical mean wind speed and turbulence proles
as they travel through the computational domain. These gradients can be held responsibleat least partlyfor the
discrepancies that are sometimes found between seemingly identical CFD simulations performed with different CFD codes
and between CFD simulations and measurements. This paper discusses the problem by focusing on the simulation of a
neutrally stratied, fully developed, horizontally homogeneous ABL over uniformly rough, at terrain. The problem and
its negative consequences are discussed and suggestions to improve the CFD simulations are made.
r 2006 Elsevier Ltd. All rights reserved.
Keywords: Computational Fluid Dynamics (CFD); Numerical simulation; Atmospheric boundary layer (ABL); Sustainable boundary
layer; Equilibrium vertical proles; Horizontal homogeneity
1. Introduction
Computational Fluid Dynamics (CFD) is increasingly being used to study a wide variety of processes
in the lower parts of the atmospheric boundary
layer (ABL) (0200 m) including pollutant disperCorresponding author. Tel.: +31 40 247 2138;
fax: +31 40 243 8595.
E-mail address: b.j.e.blocken@tue.nl (B. Blocken).
1352-2310/$ - see front matter r 2006 Elsevier Ltd. All rights reserved.
doi:10.1016/j.atmosenv.2006.08.019
ARTICLE IN PRESS
B. Blocken et al. / Atmospheric Environment 41 (2007) 238252
Nomenclature
u+
B
integration constant in the log law
CS
roughness constant
Ce1, Ce2, Cm constants in the ke model
e
inhomogeneity error, %
E
empirical constant for a smooth wall in
wall function (E9.793)
k
turbulent kinetic energy, m2 s2
kS
equivalent sand-grain roughness height,
m
k+
dimensionless equivalent sand-grain
S
roughness height
L, H
length and height of computational
domain, m
P
centre point of wall-adjacent cell
TI
turbulence intensity
ut
wall-function friction velocity, m s1
u
wall-function friction velocity, m s1
uABL
ABL friction velocity, m s1
U
x, y
y0
yP
y+
e
k
m
mt
n
r
se
tw
j
o
DB
Dx
239
ARTICLE IN PRESS
B. Blocken et al. / Atmospheric Environment 41 (2007) 238252
240
outlet plane
incident flow
approach flow
downstream part of
computational
domain
inlet flow
central part of
computational
domain
inlet plane
upstream part of
computational
domain
Fig. 1. Computational domain with building models for CFD simulation of ABL owdenition of inlet ow, approach ow and
incident ow and indication of different parts in the domain for roughness modelling.
ARTICLE IN PRESS
B. Blocken et al. / Atmospheric Environment 41 (2007) 238252
241
(2)
ARTICLE IN PRESS
B. Blocken et al. / Atmospheric Environment 41 (2007) 238252
242
y
u3
ABL
,
ky y0
(3)
u3
ABL
.
ky
(6)
.25
25
+
20
u+
u+ = y+
1 lny
=
+B
10
Fu
00
+ =3
kS
0
00
0
00
e
im + = 3 0
g
k S 000
re
gh
+ =1
ou
r
kS
y
ll
tion
nsi
Tra
e
gim
B = 0
B =7.4
0
+= 9
kS
al r
15
+)
(k s
-B
+ <2
kS
+ =1
kS
B =10.3
B = 13.1
B = 15.8
B = 18.6
0
1
10
linear
sublayer
y+=5
buffer
layer
100
y+
logarithmic
layer
1000
10000
y+=30
Fig. 2. Law of the wall for smooth and sand-grain roughened surfaces with the dimensionless sand-grain roughness height k
S as a
parameter.
ARTICLE IN PRESS
B. Blocken et al. / Atmospheric Environment 41 (2007) 238252
(7)
B DBk
s .
u
k
n
The roughness function DB takes different forms
depending on the k
S value. Three regimes are
distinguished: aerodynamically smooth (k
S o2:25),
transitional (2:25pk
o90)
and
fully
rough
S
(k
X90).
ABL
ow
over
rough
terrain
classies
as
S
fully rough because the roughness elements (obstacles) are so large that the laminar sublayer is
eliminated and the ow is considered to be
independent of the molecular viscosity. Note that
this is the case for ow in the upstream and
downstream part of the computational domain but
not necessarily for the ow over the explicitly
modelled surfaces with a small-scale roughness in
the central part of the domain. For the fully rough
regime, Cebeci and Bradshaw (1977) report the
following analytic t to the sand-grain roughness
data of Nikuradse (1933), which was originally
provided by Ioselevich and Pilipenko (1974):
DB
1
lnk
S 3:3.
k
(8)
8:5.
(9)
u
k
nk
S
243
,
(10)
k
u2t
n1 C S k
S
where the factor (1 C S k
S ) represents the roughness modication, E the empirical constant for a
1=2
smooth wall (E9.793) and u C 1=4
and
m kP
1/2
ut (tw/r) are two different wall-function friction velocities. kP is the turbulent kinetic energy in
the centre point P, tw is the wall shear stress and r
the uid density. CS, the roughness constant, is an
attempt to take into account the type of roughness.
However, due to the lack of specic guidelines, it is
generally set at its default value for sand-grain
roughened pipes and channels: 0.5. The user inputs
in the code are the values kS and CS, in Fluent 6.1
and 6.2 with the restriction that CS should lie in the
interval [0;1]. For an equilibrium boundary layer
(u ut ) and when C S k
S b1 (fully rough regime
with about CS40.2), Eq. (10) can be simplied and
takes a form similar to Eq. (9):
UP 1
u yP
ln
5:43.
(11)
k
u
nC S k
S
4.2.2. Fully rough kS-type wall function for mean
velocity in Ansys CFX 10.0
Ansys CFX 10.0 provides a similar wall function,
however with a xed value for the roughness
constant: C S 0:3 (Ansys Ltd., 2005):
UP 1
u yP
ln
5:2.
(12)
k
u
n1 0:3k
S
ARTICLE IN PRESS
B. Blocken et al. / Atmospheric Environment 41 (2007) 238252
244
P
u
.
kyP
(15)
9:793y0
Cs
kS;ABL 29:6y0
uABL
(16)
Fluent,
(17)
Ansys CFX
(18)
and
u for all three cases. In Eqs. (16)(18),
the actual value of the constants (30, 9.793 and 29.6)
yP
UP
wall function
ARTICLE IN PRESS
B. Blocken et al. / Atmospheric Environment 41 (2007) 238252
6. Discussion
A typical consequence of not adhering to all four
ABL ow requirements is the occurrence of unintended streamwise gradients in the vertical proles
of the mean wind speed and turbulence quantities
(horizontal inhomogeneity) as the ow travels
through the computational domain. The extent of
the streamwise gradients depends on the shape of
the vertical inlet proles, the downstream ow
distance, the turbulence model, the type of wall
function, the grid resolution (yP), the roughness
height (kS), the roughness constant (CS) and the
boundary conditions at the top and outlet of the
domain. A scenario that can explainat least
partlythe problems observed in some previous
studies is discussed below. In the scenario the ABL
ow proles at the inlet of the domain are Eqs.
(1)(3) or Eqs. (2), (5), (6), which is common
practice in CFD simulations of ABL ow.
Given the requirement yP4kS, the most straightforward choice might be to apply the required high
mesh resolution near the bottom of the domain and
to insert a kS value (kS,ground) that is low enough to
satisfy kS,groundoyP. Generally, this value will be
signicantly lower than that required for ABL ow
simulation (kS,ABLE30y0); e.g. sometimes kS y0
has been used. In this case, the change in roughness
between the inlet prole that is representative of the
terrain upstream of the domain inlet (corresponding
to kS,inlet kS,ABLE30y0) and the actual smaller
ground roughness in the upstream part of the
computational domain (kS,groundo30y0) will introduce an IBL, in which the mean wind speed and
turbulence proles will rapidly adapt to the new and
smaller roughness, yielding, amongst others, a
considerable acceleration of the ow near the
surface. This can explainat least partlythe
unintended streamwise gradients observed by several authors mentioned in the Introduction.
To illustrate this scenario, CFD simulations of
ABL ow were performed in a 2D, empty computational domain with Fluent 6.1.22. Note that a 2D
simulation does not truly represent 3D turbulence
but that it serves the purpose of illustrating the
problem using the standard ke model and economically evaluating possible remedial measures. The
domain has dimensions L H 10,000 500 m. A
structured mesh was generated based on gridsensitivity analysis, with yP 0:25 m and a total of
46,000 cells, equidistantly spaced in the horizontal
direction (cell length Dx 10 m). The inlet proles
245
(19)
ARTICLE IN PRESS
B. Blocken et al. / Atmospheric Environment 41 (2007) 238252
246
50
500
inlet
x=100m
x=500m
x=1000m
x=10000m
300
200
12
20
16
50
inlet
x=100m
x=500m
x=1000m
x=10000m
300
inlet
x=100m
x=500m
x=1000m
x=10000m
40
y (m)
400
10 12 14 16
U (m/s)
500
y (m)
U (m/s)
(a)
30
200
20
100
10
0
0
0
k (m2/s2)
(b)
500
50
inlet
x=100m
x=500m
x=1000m
x=10000m
40
y (m)
300
2
k (m2/s2)
inlet
x=100m
x=500m
x=1000m
x=10000m
400
y (m)
20
200
100
30
20
10
0
0
0.1
0.2
0.3
0.4
0.2
0.6
0.8
50
500
inlet
x=100m
x=500m
x=1000m
x=10000m
300
30
200
20
100
10
0.1
0.15
TI
inlet
x=100m
x=500m
x=1000m
x=10000m
40
y (m)
400
0
0.05
0.4
(m2/s3)
(m2/s3)
(c)
y (m)
30
10
100
(d)
inlet
x=100m
x=500m
x=1000m
x=10000m
40
y (m)
y (m)
400
0.2
0
0.05
0.15
0.25
0.35
0.45
TI
Fig. 4. CFD simulation results illustrating the streamwise gradients in the vertical proles of (a) mean wind speed U; (b) turbulent kinetic
energy k; (c) turbulence dissipation rate e and (d) turbulence intensity TI at different downstream distances in the empty domain (x coordinate). The left column shows the lowest 500 m of the boundary layer; the right column shows the lowest 50 m.
ARTICLE IN PRESS
B. Blocken et al. / Atmospheric Environment 41 (2007) 238252
60
40
30
40
30
20
20
10
10
0
0
1
(a)
y =20 m
U
k
TI
50
error (%)
50
error (%)
60
y =2 m
U
k
TI
247
10
100
1000
10000
x (m)
(b)
10
100
1000
10000
x (m)
Fig. 5. CFD simulation results: relative changes (inhomogeneity errors) of the values of mean wind speed U, turbulent kinetic energy k,
turbulence dissipation rate e and turbulence intensity TI at two heights (y 2 and 20 m) and at various downstream positions in the empty
domain (x co-ordinate). All changes are expressed as positive percentage values relative to the values at the inlet of the domain (x 0).
ARTICLE IN PRESS
B. Blocken et al. / Atmospheric Environment 41 (2007) 238252
248
H
y
x
upstream region
central region
downstream region
domain length L
Fig. 6. Computational mesh with variable height of the wall-adjacent cells along the length of the domain.
20
20
analytical
CFD (fine)
10
(b)
10
0
0.1
(c)
CFD (coarse)
(a)
15
CFD (coarse)
y (m)
y (m)
15
analytical
CFD (fine)
6
U (m/s)
10
12
(d)
0.2
0.3
0.4
0.5
TI
Fig. 7. (ab) Fine and coarse vertical near-ground mesh distribution at the inlet plane. (cd) Corresponding mean wind speed and
turbulence intensity proles at the inlet of the domain: the analytical prole (imposed boundary condition) and the CFD proles (one
variable value per cell) for the ne and the coarse mesh distribution.
from previous wind tunnel tests. Additional drawbacks are the increased number of cells and the
subsequent increase in required computing power
and time.
(c) Minimization of upstream domain length:
Reducing as much as possible the upstream length
of the computational domain will limit the development of streamwise gradients (Blocken et al.,
2006), as indicated in Figs. 4 and 5. Nevertheless,
the minimum upstream length, which is the extent
of the upstream disturbance of the ow, should
always be provided. This option can be useful in
those studies where the upstream ow characteristics are of importance rather than the downstream
characteristics (e.g. wind-driven rain impact on the
windward facades of isolated buildings) but may be
insufcient for other cases.
ARTICLE IN PRESS
B. Blocken et al. / Atmospheric Environment 41 (2007) 238252
50
30
error (%)
U(NC)
U(ALK)
U(WSS)
TI(NC)
TI(WSS)
40
error (%)
30
y=2m
20
249
y =20 m
U(NC)
U(ALK)
U(WSS)
TI(NC)
TI(WSS)
20
10
10
0
0
1
(a)
10
100
1000
10000
x (m)
(b)
10
100
1000
10000
x (m)
Fig. 8. CFD simulation results: relative changes (inhomogeneity errors) of the values of mean wind speed U and turbulence intensity TI at
two heights (y 2 and 20 m) and at various downstream positions in the empty domain (x co-ordinate), for three options: NC no
correction, ALK articially lower turbulent kinetic energy, WSS wall shear stress imposed at the bottom of the domain. All changes
are expressed as positive percentage values relative to the values at the inlet of the domain (x 0).
(d) Generation of ABL profiles based on the kStype wall functions: Instead of using the ABL inlet
proles mentioned in Section 3, articial ABL inlet
proles can be generated by rst performing a
simulation in an empty computational domain with
identical parameters (grid, roughness, etc.) as the
intended simulation, with the required high mesh
resolution and with kS,groundoyP. This simulation
can be performed either by using periodic boundary
conditions at the inlet and outlet of a short domain
or with a very long domain (typically L410,000 m).
The resulting proles at the outlet of the domain are
the equilibrium proles of mean wind speed and
turbulence quantities that will yield horizontal
homogeneity when applied at the inlet of a similar
domain. By this calculation, these proles are
actually adjusted to t the wall functions. An
example are the proles obtained at x 10; 000 m
in Fig. 4. While this may be a good solution in some
cases (Blocken et al., 2004), changing the ABL inlet
proles is not the most straightforward option and
should be performed with great care. The obtained
proles should still be realistic and representative
for the situation to be simulated but they can be
quite different from the traditional equilibrium
proles as obtained by e.g. measurements.
(e) Artificial reduction of turbulent kinetic energy:
In case the upstream mean velocity eld is of main
importance, rather than the upstream turbulence
quantities and the downstream ow, a suitable
option might be to articially lower the turbulent
kinetic energy at the inlet to decrease the momentum transfer between the uid layers which in turn
decreases the acceleration of the wind speed near the
surface (Blocken and Carmeliet, 2006). Application
of this option for the simulation case outlined above
ARTICLE IN PRESS
B. Blocken et al. / Atmospheric Environment 41 (2007) 238252
250
50
50
inlet (x =0)
x= 10000 m;
no correction
x= 10000 m;
wall shear stress
30
20
10
10
0
0.05
0
(a)
30
20
10
inlet (x = 0)
x = 10000 m;
no correction
x = 10000 m;
wall shear stress
40
y (m)
y (m)
40
12
14
16
U (m/s)
(b)
0.15
0.25
0.35
0.45
TI
Fig. 9. CFD simulation results in terms of inlet (x 0 m) and downstream (x 10; 000 m) vertical proles of (a) streamwise wind speed U
and (b) turbulence intensity TI for two cases: without correction and with wall shear stress imposed at the bottom of the empty domain.
ARTICLE IN PRESS
B. Blocken et al. / Atmospheric Environment 41 (2007) 238252
251
References
Ansys Ltd., 2005. Ansys CFX-Solver, Release 10.0: Theory.
Canonsburg.
Bitsuamlak, G.T., Stathopoulos, T., Bedard, C., 2004. Numerical
evaluation of wind ow over complex terrain: review. Journal
of Aerospace Engineering 17 (4), 135145.
Bitsuamlak, G., Stathopoulos, T., Bedard, C., 2006. Effects of
upstream two-dimensional hills on design wind loads: a
computational approach. Wind and Structures 9 (1), 3758.
Blocken, B., Carmeliet, J., 2002. Spatial and temporal distribution of driving rain on a low-rise building. Wind and
Structures 5 (5), 441462.
Blocken, B., Carmeliet, J., 2004. A review of wind-driven rain
research in building science. Journal of Wind Engineering and
Industrial Aerodynamics 92 (13), 10791130.
Blocken, B., Carmeliet, J., 2006. The inuence of the windblocking effect by a building on its wind-driven rain exposure.
Journal of Wind Engineering and Industrial Aerodynamics 94
(2), 101127.
Blocken, B., Roels, S., Carmeliet, J., 2004. Modication of
pedestrian wind comfort in the Silvertop Tower passages by
an automatic control system. Journal of Wind Engineering
and Industrial Aerodynamics 92 (10), 849873.
Blocken, B., Carmeliet, J., Stathopoulos, T., 2006. CFD
evaluation of the wind speed conditions in passages between
buildingseffect of wall-function roughness modications on
the atmospheric boundary layer ow. Journal of Wind
Engineering and Industrial Aerodynamics, accepted for
publication.
Castro, I.P., Robins, A.G., 1977. The ow around a surface
mounted cube in a uniform and turbulent shear ow. Journal
of Fluid Mechanics 79 (2), 307335.
ARTICLE IN PRESS
252