Anda di halaman 1dari 10

Build Simul (2008) 1: 251 260

DOI 10.1007/s12273-008-8321-7
RESEARCH ARTICLE

Influence of Cell Geometry and Mesh Resolution on Large Eddy


Simulation Predictions of Flow Around a Single Building

Mohamed M. Hefny1( ), Ryozo Ooka2

1. Department of Architecture, Graduate School of Engineering, the University of Tokyo, Kato & Ooka Lab. CW403,
4-6-1 Komaba Meguro-ku, Tokyo 153-8505, Japan
2. Institute of Industrial Science, the University of Tokyo, Kato & Ooka Lab. CW403, 4-6-1 Komaba Meguro-ku,
Tokyo 153-8505, Japan

Received: 8 May 2008 / Revised: 10 July 2008 / Accepted: 15 July 2008


Tsinghua Press and Springer-Verlag 2008

Abstract A number of research studies have employed a wide variety of test conditions to numerically
assess flow field around buildings. In such studies, the employed mesh system and its resolution played
a crucial role in determining the ultimate degree of solution accuracy. The objective of this study is to
better establish a quantitative assessment of the influence of cell geometry and mesh resolution on the
numerical predictions of large eddy simulation (LES) of the flow field around a single building. In order
to achieve this objective, a number of mesh styles including conventional hexahedral-based mesh,
tetrahedral-based mesh, and prism-based mesh have been considered. In addition, hybrid meshes of
tetrahedron and hexahedron cells are also considered. In each mesh style, four grid resolutions were
investigated: coarse, medium, fine, and very fine. Accuracy of the simulation has been assessed by
applying comparisons to the experimental data available in literature. Moreover, quantitative grid
convergence was calculated based on the grid convergence index, which accounts for the degree of grid
refinement. Future studies are needed to analytically evaluate the influence of cell geometry on the
solution accuracy and to more precisely evaluate other grid system options including various forms of
hybrid configuration meshes.

Keywords cell geometry, numerical accuracy, single building, grid convergence index

1 Introduction used in simple geometries. However, hexahedral-based


mesh is not always orthogonal because non-orthogonal
With the advent of modern computers, detailed simulation hexahedral elements are used in complex geometries.
of flow field around buildings using computational fluid Generally, generating structured meshes based on orthogonal
dynamics (CFD) became possible (Murakami 1990; Shah hexahedral elements requires significant time and effort;
and Ferziger 1997). CFD is now routinely employed in however, it is claimed that these meshes are associated
many fields of wind engineering, including computational with high quality solutions. On the other hand, meshes that
wind engineering (CWE). The crucial elements of CFD employ tetrahedral elements can be constructed much
are discretization and mesh generation. Consequently, the faster but may increase the levels of numerical diffusion.
determination of a proper grid system and mesh resolution In the same vein, the use of a tetrahedral-based mesh is
is an important choice for the accurate prediction of a expected to rationalize grid distribution which will permit
complex flow field. At the beginning of CFD development, the use of a significantly smaller number of grid cells than
orthogonal hexahedral elements were used in the that required by the hexahedral-based mesh for a similar
computational mesh to simplify analysis, and these are still near-wall resolution.
To assess the improved total efficiency in CFD solutions
E-mail: hefny@iis.u-tokyo.ac.jp offered by various mesh styles in comparison to the higher
252 Build Simul (2008) 1: 251 260

accuracy that is typically associated with conventional both the velocity magnitude and turbulent kinetic energy
hexahedral-based meshes, comparison and validation magnitude between the numerical values (uLES, kLES) and
studies are necessary. This is especially true for most CWE the experimental values (uEXP, kLES) at the same spatial
applications where tetrahedral-based and prism-based location (i) as follows:
meshes are frequently used in order to properly map
complex flow field arising from urban areas. However, ui ,LES ui ,EXP
u =
comparative investigations on the prediction of the ub
accuracy of CFD results using different types of cell (1)
geometries in the computational grid system are hardly ki ,LES ki ,EXP
k =
seen in the literature. Thus, in this paper, large eddy ub2 / 2
simulation (LES) of the flow field around a single building
in a boundary layer is conducted for many mesh systems where ub is the velocity magnitude at the inlet equivalent
under various grid resolutions. The differences among to the height of the building. The root-mean-square of the
these mesh systems and grid resolutions are investigated. relative errors for n locations in the computational domain
Section 2 of this paper presents procedures followed to is used to provide scalar measure of the error as follows:
estimate numerical errors in CFD solutions based on grid 1/ 2
i=n 2
i
convergence index (GCI). Section 3 gives computational
details and results of the LES of a single building in a rms = i =1 (2)
boundary layer and the effect of cell geometry. Finally, n

conclusions are reported in Section 4.
Grid convergence index (GCI ), which is based on the
2 Procedures for estimation of numerical errors
so-called Richardson extrapolation method (RE) (Richardson
1910) and has been suggested by Roache (1994), is
It is expected that higher numerical errors are likely to occur
calculated for each mesh style. The GCI method is an
in cases where non-orthogonal meshes are implemented.
acceptable and straight-forward method that has been
These errors should be investigated and cannot be ignored.
evaluated over several hundred CFD cases. To calculate
Selecting the most appropriate mesh style for a specific
GCI, successive refinements of each mesh style have been
task depends on the time available for mesh construction
considered. For each refinement, grid convergence is
and the required accuracy of the results. However, it is still
evaluated using a relative error measure of both velocity
next to impossible to estimate these errors without relying
and turbulent kinetic energy magnitudes between the
heavily on numerical experiments where the flow problem
coarse and fine solutions,
is solved using different mesh systems.
No standard method for evaluating the numerical ui ,coarse ui ,fine
uncertainty is currently accepted by the CFD community; u =
ui ,fine
however, several methods have been suggested by (3)
many authors where the intricacies, shortcomings, and ki ,coarse ki ,fine
generalization of numerical uncertainty have been widely k =
ki ,fine
investigated. For LES calculations, some methods were
suggested by Geurts and Frhlich (2002) for explicit LES, Relative error values are determined for n consistent
by Celik et al. (2005) and Klein (2005) for implicit LES. points located in the computational domain. The root-
The scope of this paper is devoted to the difference among mean-square of the relative error is used to provide an
different mesh styles without going further into the details initial scalar measure of grid convergence for the points
of the several methods used in determining the numerical considered. It is calculated as follows:
accuracy. The procedures followed in this study depend on
1/ 2
two approaches: first, the comparison to the experimental i=n 2
results available in the literature (the experiment performed i
rms = i =1 (4)
by Uehara et al. (2003) is chosen for comparison) and n
second, the comparison of grid convergence index for

each case.
The numerical errors based on the experimental results In order to incorporate the mesh size and refinement,
are calculated according to the relative error measure of GCI can be applied for the fine grid solution as
Build Simul (2008) 1: 251 260 253

rms 4.2 Mesh styles


GCI = Fs (5)
r 1
P

Five commonly implemented mesh styles have been


where r is grid refinement factor = ( N fine / N coarse )1/ 3 , P is the
considered for the generation of a computational solution
order of the discretization method (based on second-order for this study, namely, hexahedral-based mesh, tetrahedral
discretization of all terms in space; P = 2 for the systems based mesh, prism-based mesh, and hybrid meshes. For
of interest), and Fs is the factor of safety to insure GCI each grid system, four grid resolutions are investigated:
value equal to rms when r = 2 (thus, Fs = 3 in this case). As coarse, medium, fine, and very fine grids. More details about
such, the GCI value represents a scaled version of rms to these grid systems are illustrated in Table 1 and Fig. 2. For
account for mesh refinement factors lower than 2. all mesh styles considered, refinement of the meshes was
performed to maintain a constant reduction value in the
4 Outline of numerical analysis three coordinate directions. The mesh is stretched in such
way to better resolve regions of significant velocity gradients
The flow around buildings is extensively studied in the near the walls. The stretching process of the mesh is done
literature (Murakami et al. 1987); however, it is worth using hyperbolic tangent distribution function (Vinokur
mentioning here that the objective of this study is not to 1980) which works very well for this flow situation. A
find the best numerical conditions for carrying out LES of boundary decay of 0.95 is used in all the tetrahedral mesh
the flow around buildings. Instead, we are concerned with cases (the boundary decay factor qualitatively controls
the differences among the numerical solutions due to using how far into the volumes interior, the boundary cell size
different mesh styles. Consequently, discretization errors affects the interior tetrahedral cell size). All meshes were
arising from the mesh style and quality are of interest. As created using the integrated meshing program Gridgen
a result, in order to isolate mesh related discretization (Pointwise Inc.).
errors, a common solution procedure implemented by a
CFD code has been selected and consistently applied to all 4.3 Numerical conditions
the mesh geometries considered. The unstructured finite
volume scheme is employed for special discretization. The SIMPLEC algorithm is employed in order to conserve
Cell-centered scheme is used here to define control mass and couple the pressure to the velocity field. The
volumes of each variable (Blazek 2001). scheme is implicit in time, and a second order Crank-
Nicolson scheme is used. Both convective and diffusive
4.1 Computational domain and building size terms are discretized using the second-order central
differencing scheme. The time marching calculations are
The analysis object is the flow field around a single begun with the fluid at rest and all geometrical lengths are
building with the dimensions (b b 2b), where b is the scaled with b and physical times with b/ub. A constant time
building width, in a boundary layer. Computational domain step is used (t = 0.001 b/ub) and the convergence of the
covers 17b (streamwise direction), 13b (lateral direction) solution is assumed when the residual is below the default
and 6b (vertical direction) (see Fig. 1). convergence criteria (10 5). The following boundary

Fig. 1 Geometry of the building and the computational domain


254 Build Simul (2008) 1: 251 260

Fig. 2 Configuration of different mesh styles at vertical symmetry plane for (a) hexahedral, (b) tetrahedral, (c) hybrid with near wall
tetrahedron cells, (d) hybrid with near wall hexahedron cells, and (e) prism grid system

Table 1 Details of mesh styles

Number of cells Subdivisions Number of Minimum grid


Cell geometry Mesh resolution
(103 ) (x y z) vertexes spacing

Hexahedron Coarse 75 73 38 30 81,221 0.05b


Intermediate 150 92 48 39 162,780 0.025b
Fine 300 110 62 49 316,729 0.0125b
Very fine 600 126 78 61 625,207 0.00625b
Tetrahedron Coarse 75 14,302 0.05b
Intermediate 150 28,306 0.025b
Fine very fine 300 56,021 0.0125b
Very fine 600 109,147 0.00625b
Prism Coarse 75 39,465 0.05b
Intermediate 150 81,221 0.025b
Fine very fine 300 162,780 0.0125b
Very fine 600 316,729 0.00625b
Hybrid (1) Coarse 75 47,020 0.05b
Intermediate 150 93,060 0.025b
Fine very fine 300 184,080 0.0125b
Very fine 600 364,024 0.00625b
Hybrid (2) Coarse 75 70,524 0.05b
Intermediate 150 150,052 0.025b
Fine 300 298,825 0.0125b
Very fine 600 598,557 0.00625b
Build Simul (2008) 1: 251 260 255

conditions were used: The experimental profile of the that were an order of magnitude below all the other meshes
boundary layer is used at the inlet boundary, which is for all resolutions considered. The differences in error values
located 6b units upstream of the building (Uehara et al. were in order of magnitude 5% 11% compared to the
2003), while the inlet turbulence is neglected in order to tetrahedral-based mesh case. Second, the prism-based
simplify the solution and to keep the focus on the effect of mesh exhibits relatively lower values of errors compared
cell geometry. No-slip condition is set for all solid surface to the tetrahedral-based mesh. This may be attributed to
boundaries while free slip condition and periodic condition lower truncation error because the cell geometry is parallel
are adopted for upper and lateral boundaries, respectively. to the flow in at least one direction for the prism-based
At the downstream boundary, the convective boundary mesh. The error values of the hybrid grid systems were in
condition is used. The standard type of Smagorinsky model between those of the hexahedral and the tetrahedral cases
is used for LES analysis (which utilizes implicit filter). as a result of the composition of the mesh and the cells
The Smagorinsky constant, Cs, is set to be 0.1. used.

4.4.2 Turbulence kinetic energy k


4.4 Results and discussion
The second parameter discussed here is the turbulent
All flow parameters presented in this section are kinetic energy k. In Fig. 6, the values of k are depicted for
nondimensionalized, unless they are explicitly written in orthogonal hexahedral and tetrahedral cases. The effect of
the dimensional form; the buildings width, b, and the mesh style and grid resolution is clearly seen in the k
equivalent velocity at building height ub are characteristic profiles compared to the velocity profiles. High discrepancies
length and velocity, respectively. All mean quantities shown are observed, especially for the tetrahedral-based meshes,
below were obtained by averaging over a fixed length of behind the building and at the locations of maximum
time of 120b/ub after an initial developing time of 20b/ub. velocity gradients for each profile shown. Reduced k values
The convergence of the statistics is assessed based on the for the tetrahedral meshes likely arise from numerical
moving average and the results of different cell types have diffusion effects that are more prevalent with tetrahedral
converged in approximately similar manner. However, the elements. However, these discrepancies appear minor for
averaging time was fixed and enough to satisfy convergence the very fine resolution case.
for all cases. Hereinafter, values with bracket denote time Again, a numeral value for the error is still needed in
averaged quantities. order to quantitatively differentiate among each mesh style.
The relative errors in k values for all cases are shown in
4.4.1 Stream-wise velocity component, u
Fig. 7. A similar trend to the velocity errors is observed
Since the stream wise velocity is considered one of the here also. Moreover, the errors of hybrid cases were close
most important parameters in analyzing the flow field to those of the orthogonal hexahedral and tetrahedral cases.
around a single building, it is used here to monitor the
4.4.3 Grid convergence index
effect of mesh geometry and resolutions. Figure 3 shows
the time averaged stream-wise velocity, u, with profiles As described above, grid convergence has been based on
for hexahedral-based mesh and tetrahedral-based mesh comparisons between coarse and fine grid solutions of u
(other cases are omitted here due to space constraints). It is and k at 1000 points distributed around the building.
clear from Fig. 3 that increasing the grid resolution improved Selections of other sets of 1000 points, as well as doubling
the solution accuracy for all grid systems. Additionally, the the number of points considered had a negligible impact on
mesh geometry affected the solution accuracy. However, it the grid convergence values reported. Although comparisons
is not an easy task to accurately evaluate the differences of GCI values among the mesh styles considered allows
among each grid system by this graphical inspection alone. for several observations, only general observations will be
Another parameter is still needed. The relative error between mentioned here. Results of this comparison in the form of
the experimental and computational results for 130 consistent relative errors and grid convergence values are reported in
points located in the computational domain (see Fig. 4) Table 2 and are discussed below.
was calculated for each case using Eq. (4). For the hexahedral-based mesh, successive grid refinements
Figure 5 shows a comparison for the relative error values resulted in a reduction of both the rms and GCI values
of the time averaged stream-wise velocity component for based on both k and u. A high quality grid converged
all cases. Comparisons of error values among the mesh solution is typically assumed for rms values less than 1%
styles considered allows for several observations. First, the (the equivalent GCI value is 5.1% with adjusting for a grid
hexahedral-based mesh was observed to have error values reduction factor of r = 1.26). This criterion is satisfied for
256 Build Simul (2008) 1: 251 260

Fig. 3 Profiles of u for different locations at symmetry plane with comparison to experimental results (Uehara et al. 2003)
Build Simul (2008) 1: 251 260 257

Fig. 4 Locations of experimental measurements in the experiment performed by Uehara et al. (2003)

Table 2 Grid convergence measures for all mesh schemes

Grid size rms (%) GCI (%)


Cell geometry r-Value
(103 ) u k u k
Hexahedron 75 150 1.26 5.21 6.12 26.61 31.26
150 300 1.26 2.11 1.95 10.78 9.96
300 600 1.26 0.82 0.72 4.19 a
3.68a
Tetrahedron 75 150 1.26 8.31 7.32 42.44 37.39
150 300 1.26 6.94 5.21 35.44 26.61
300 600 1.26 4.41 4.21 22.52 21.50
Prism 75 150 1.26 7.62 7.23 38.92 36.93
150 300 1.26 4.68 3.97 23.90 20.28
300 600 1.26 1.95 1.91 9.96 9.75
Hybrid (1) 75 150 1.26 6.41 6.25 32.74 31.92
150 300 1.26 3.14 2.65 16.04 13.53
300 600 1.26 2.42 1.15 12.36 5.87
Hybrid (2) 75 150 1.26 7.52 7.01 38.41 35.80
150 300 1.26 3.95 4.96 20.17 25.33
300 600 1.26 4.31 4.03 22.01 20.58
a
Minimum value for all meshes considered.

the 600103 hexahedral-based mesh where the values of rms


and GCI are 0.82% and 4.19% based on u, respectively.
Lower values for both rms and GCI are observed based on
k for the same resolution.
Of the mesh styles considered, the tetrahedral-based mesh
displayed the highest grid convergence values. Minimum
grid convergence value is observed for the fine resolution
mesh comparison of 300 103 600 103 elements resulting
in rms of 4.41% and a GCI of 22.52% (based on u).
These variations in the velocity field are relatively high and
may significantly impact other velocity dependent parameters.
Fig. 5 Relative error values in calculating u for all meshes This may be an indication that further refinement is required
258 Build Simul (2008) 1: 251 260

Fig. 6 Profiles of k for different locations at symmetry plane with comparison to experimental results (Uehara et al. 2003)
Build Simul (2008) 1: 251 260 259

are approximately an order of magnitude lower than those


of the other mesh styles for all resolutions considered.

5 Conclusions

In this paper, the flow field around a single building is


investigated for different mesh geometries. A quantitative
assessment of the influence of grid resolution and mesh
style on the LES results of flow around a single building is
established. The GCI, which is adopted based on the
Richardson extrapolation method, was shown to be an
effective measure of grid convergence in cases where true
Fig. 7 Relative error values in calculating k for all meshes grid halving is not practical. The hexahedral-based mesh
style was shown to provide the best computational solution
in order to obtain a more accurate solution. However, based on the lowest GCI values and a high level of agreement
increasing the mesh resolution behind 600 103 cells resulted with experimental data. Other mesh styles considered
in an increase in grid convergence values (not shown here). resulted in much higher GCI values, but still provide a
Although this behavior is not understood in depth at the relatively reasonable agreement with experimentally
current stage, this increase may be attributed to an upper observed data. This study found that it does not appear
limit on mesh resolution associated with the scale of the possible to accurately evaluate grid convergence by
flow. Particularly, the idea of GCI oscillation is precluded graphical inspection alone, and therefore quantitative
because no noticeable improvement is confirmed by measures of grid convergence such as rms relative error
experimental comparison. As such, an upper limit on the and GCI values are necessary. This study emphasizes that
number of tetrahedral cells in the geometry of interest when simulating flow fields using unstructured meshes other
appears to be on the order of 300 103 600 103 cells. than hexahedral-based meshes, success is not guaranteed
Further analytical study is needed to clarify this behavior. simply because LES is applied. Special care must be paid
Regarding the prism-based mesh, the GCI values for to the grid system and resolution used as success is very
most grid resolutions were observed to have values in order much dependent on both of these factors. Future studies are
of magnitude between the GCI values of the hexahedral- needed to evaluate other grid system options including
based mesh and tetrahedral based mesh. The minimum various forms of hybrid configuration and non-orthogonal
GCI value for the prism-based meshes was approximately hexahedral meshes. Finally, the analytical analysis of
9.96% at the fine refinement stage (based on u). This is a the truncation errors of tetrahedral-based meshes is also
clear indication that the grid resolution 600 103 is still needed.
coarse for this grid system. Further refinement beyond
600 103 cells may improve the accuracy of the numerical References
simulation provided that the upper limit on the number of
prism elements is not exceeded. Concerning the hybrid Blazek J (2001). Computational Fluid Dynamics: Principles and
Applications. Amsterdam: Elsevier.
mesh styles, the GCI values are an order of magnitude
Celik IB, Cehreli ZN, Yavuz I (2005). Index of resolution quality for
lower than those of the hexahedral-based mesh, and higher
large eddy simulations, ASME Journal of Fluids Engineering,
than those of the tetrahedral mesh style. The minimum
127: 949 958.
GCI values based on u for the hybrids (1) and (2) meshes
Geurts BJ, Frhlich J (2002). A framework for predicting accuracy
were approximately 12.36% and 22.01%. This may be limitations in large-eddy simulation. Physics of Fluids, 14(6):
credited to the fact that the content of the hybrid mesh is a L41 L44.
mix between hexahedron and tetrahedron cells. Additionally, Klein M (2005). An attempt to assess the quality of large eddy
refinement of the hybrid mesh was restricted by the simulations in the context of implicit filtering. Flow, Turbulence
requirement that the hexahedral surface mesh should match and Combustion, 75:131 147.
with the tetrahedral mesh at the common surfaces. Moreover, Murakami S (1990), Computational Wind Engineering. Journal of
hybrid meshes that avoid element transitions and that Wind Engineering and Industrial Aerodynamics, 36: 517 538.
allow for better mesh refinement may provide improved Murakami S, Mochida A, Hibi K (1987). Three-dimensional
results. Overall, GCI values for the hexahedral-based mesh numerical simulation of air flow around a cubic model by
260 Build Simul (2008) 1: 251 260

means of large eddy simulation. Journal of Wind Engineering Shah KB, Ferziger JH (1997). A fluid mechanics view of wind
and Industrial Aerodynamics, 25(3): 291 305. engineering: Large eddy simulation of flow past a cubic obstacle.
Richardson LF (1910). The approximate arithmetical solution by Journal of Wind Engineering and Industrial Aerodynamics,
finite differences of physical problems involving differential 67&68: 211 224.
equations, with an application to the stresses in a masonry dam. Uehara K, Wakamatsu S, Ooka R (2003). Studies on critical Reynolds
Philosophical Transactions of the Royal Society of London, number indices for wind tunnel experiments on flow within
210(A): 307 357. urban areas. Boundary-Layer Methodology, 107: 353 370.
Roache PJ (1994). Perspective: A method for uniform reporting of Vinokur M (1980). On One-Dimensional Stretching Functions for
grid refinement studies. ASME Journal of Fluids Engineering, Finite-Difference Calculations, NASA-CR-3313.
116:405 413.

Anda mungkin juga menyukai