Computational Fluid Dynamics - Principles and Applications2nd
Computational Fluid Dynamics - Principles and Applications2nd
Consult the Elsevier homepage for full catalogue information on all books, major reference works, journals, electronic products and services.
Related Journals
Elsevier publishes a wide-ranging portfolio of high quality research journals, encompassing all aspects of computational engineering. A
sample journal issue is available online by visiting the Elsevier web site (see above). Leading titles include:
Elsevier welcomes enquiries concerning publishing proposals: books, journal special issues, conference proceedings, etc. All formats and
media can be considered. Should you have a publishing proposal you wish to discuss, please contact, without obligation, the publisher
responsible for Elsevier's Computational Engineering programme:
Keith Lambert
Materials Science and Engineering
Elsevier Ltd
The Boulevard, Langford Lane Tel: +44 1865 843411
Kidlington, Oxford Fax: +44 1865 843987
OX5 1GB, UK E.mail: [email protected]
General enquiries, including placing orders, should be directed to Elsevier's Regional Sales Offices - please access the Elsevier homepage
(see above) for full contact details.
Computational Fluid Dynamics:
Principles and Applications
Second Edition
J. Blazek
2005
ELSEVIER
A m s t e r d a m ~ B o s t o n 9H e i d e l b e r g ~ L o n d o n ~ N e w Y o r k
O x f o r d ~ Paris ~ S a n D i e g o ~ San F r a n c i s c o ~ S i n g a p o r e ~ S y d n e y ~ T o k y o
Elsevier
The Boulevard, Langford Lane, Kidlington, Oxford OX5 1GB, UK
Radarweg 29, PO Box 211, 1000 AE Amsterdam, The Netherlands
The right of J. Blazek to be identified as the author of this work has been
asserted in accordance with the Copyright, Designs and Patents Act 1988
Permissions may be sought directly from Elsevier's Science & Technology Rights
Department in Oxford, UK: phone (+44) (0) 1865 843830; fax (+44) (0) 1865 853333;
email: [email protected]. Alternatively you can submit your request online by
visiting the Elsevier web site at http://elsevier.com/locate/permissions, and selecting
Obtaining permission to use Elsevier material
Notice
No responsibility is assumed by the publisher for any injury and/or damage to persons
or property as a matter of products liability, negligence or otherwise, or from any use
or operation of any methods, products, instructions or ideas contained in the material
herein. Because of rapid advances in the medical sciences, in particular, independent
verification of diagnoses and drug dosages should be made
ISBN-13:978-0-08-044506-9
ISBN-10:0-08-044506-3
07 08 09 10 10 9 8 7 6 5 4 3 2
Acknowledgements xi
Abbreviations xix
1 Introduction 1
2 Governing Equations 5
2.1 T h e F l o w a n d its M a t h e m a t i c a l D e s c r i p t i o n ............ 5
2.2 Conservation Laws . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2.1 The Continuity Equation . . . . . . . . . . . . . . . . . . 8
2.2.2 The Momentum Equation . . . . . . . . . . . . . . . . . . 8
2.2.3 The Energy Equation . . . . . . . . . . . . . . . . . . . . 10
2.3 Viscous Stresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.4 C o m p l e t e S y s t e m of t h e N a v i e r - S t o k e s E q u a t i o n s ......... 16
2.4.1 F o r m u l a t i o n for a P e r f e c t G a s . . . . . . . . . . . . . . . . 18
2.4.2 F o r m u l a t i o n for a R e a l G a s . . . . . . . . . . . . . . . . . 19
2.4.3 S i m p l i f i c a t i o n s to t h e N a v i e r - S t o k e s E q u a t i o n s . . . . . . 22
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.2.1 M a t r i x F o r m of t h e I m p l i c i t O p e r a t o r . . . . . . . . . . . 193
6.2.2 E v a l u a t i o n of t h e F l u x J a c o b i a n . . . . . . . . . . . . . . 197
6.2.3 ADI Scheme . . . . . . . . . . . . . . . . . . . . . . . . . 201
6.2.4 LU-SGS Scheme . . . . . . . . . . . . . . . . . . . . . . . 204
6.2.5 Newton-Krylov Method . . . . . . . . . . . . . . . . . . . 210
6.3 M e t h o d o l o g i e s for U n s t e a d y F l o w s . . . . . . . . . . . . . . . . . 214
6.3.1 D u a l T i m e - S t e p p i n g for E x p l i c i t M u l t i s t a g e S c h e m e s . . . 215
6.3.2 D u a l T i m e - S t e p p i n g for I m p l i c i t S c h e m e s ......... 217
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
9 A c c e l e r a t i o n Techniques 303
9.1 Local T i m e - S t e p p i n g . . . . . . . . . . . . . . . . . . . . . . . . . 304
9.2 Enthalpy Damping . . . . . . . . . . . . . . . . . . . . . . . . . . 305
9.3 Residual Smoothing . . . . . . . . . . . . . . . . . . . . . . . . . 306
9.3.1 C e n t r a l IRS on S t r u c t u r e d G r i d s . . . . . . . . . . . . . . 306
9.3.2 C e n t r a l IRS on U n s t r u c t u r e d G r i d s . . . . . . . . . . . . . 309
9.3.3 U p w i n d IRS on S t r u c t u r e d G r i d s . . . . . . . . . . . . . . 309
9.4 Multigrid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
9.4.1 Basic M u l t i g r i d Cycle . . . . . . . . . . . . . . . . . . . . 313
9.4.2 Multigrid Strategies . . . . . . . . . . . . . . . . . . . . . 315
9.4.3 I m p l e m e n t a t i o n on S t r u c t u r e d G r i d s . . . . . . . . . . . . 316
9.4.4 I m p l e m e n t a t i o n on U n s t r u c t u r e d G r i d s . . . . . . . . . . 322
9.5 P r e c o n d i t i o n i n g for Low M a c h N u m b e r s . . . . . . . . . . . . . . 327
9.5.1 D e r i v a t i o n of P r e c o n d i t i o n e d E q u a t i o n s . . . . . . . . . . 328
9.5.2 Implementation . . . . . . . . . . . . . . . . . . . . . . . . 330
9.5.3 F o r m of t h e M a t r i c e s . . . . . . . . . . . . . . . . . . . . . 331
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
10 C o n s i s t e n c y , A c c u r a c y a n d S t a b i l i t y 351
10.1 C o n s i s t e n c y R e q u i r e m e n t s . . . . . . . . . . . . . . . . . . . . . . 352
10.2 A c c u r a c y of D i s c r e t i s a t i o n . . . . . . . . . . . . . . . . . . . . . . 353
10.3 Von N e u m a n n S t a b i l i t y Analysis . . . . . . . . . . . . . . . . . . 354
10.3.1 Fourier S y m b o l a n d A m p l i f i c a t i o n F a c t o r . . . . . . . . . 354
10.3.2 C o n v e c t i o n M o d e l E q u a t i o n . . . . . . . . . . . . . . . . . 355
10.3.3 Convection-Diffusion M o d e l E q u a t i o n . . . . . . . . . . . 356
10.3.4 Explicit T i m e - S t e p p i n g . . . . . . . . . . . . . . . . . . . 357
10.3.5 I m p li c i t T i m e - S t e p p i n g . . . . . . . . . . . . . . . . . . . 363
10.3.6 D e r i v a t i o n of t h e C F L C o n d i t i o n . . . . . . . . . . . . . . 367
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
12 D e s c r i p t i o n o f t h e S o u r c e C o d e s 415
12.1 P r o g r a m s for Stability Analysis . . . . . . . . . . . . . . . . . . . 417
12.2 S t r u c t u r e d 1-D Grid G e n e r a t o r . . . . . . . . . . . . . . . . . . . 417
12.3 S t r u c t u r e d 2-D Grid G e n e r a t o r s . . . . . . . . . . . . . . . . . . . 418
12.4 S t r u c t u r e d to U n s t r u c t u r e d Grid C o n v e r t e r . . . . . . . . . . . . 419
12.5 Quasi 1-D Euler Solver . . . . . . . . . . . . . . . . . . . . . . . . 419
12.6 S t r u c t u r e d 2-D E u l e r / N a v i e r - S t o k e s Solver . . . . . . . . . . . . 420
12.7 U n s t r u c t u r e d 2-D E u l e r / N a v i e r - S t o k e s Solver . . . . . . . . . . . 421
12.8 Visualisation Tool . . . . . . . . . . . . . . . . . . . . . . . . . . 423
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
A Appendix 427
A.1 Governing E q u a t i o n s in Differential Form . . . . . . . . . . . . . 427
A.2 Quasilinear F o r m of t h e Euler E q u a t i o n s . . . . . . . . . . . . . . 433
A.3 M a t h e m a t i c a l C h a r a c t e r of t h e Governing E q u a t i o n s . . . . . . . 434
A.3.1 Hyperbolic E q u a t i o n s . . . . . . . . . . . . . . . . . . . . 434
A.3.2 Parabolic E q u a t i o n s . . . . . . . . . . . . . . . . . . . . . 436
A.3.3 Elliptic E q u a t i o n s . . . . . . . . . . . . . . . . . . . . . . 436
A.4 Navier-Stokes E q u a t i o n s in R o t a t i n g F r a m e of Reference . . . . . 438
A.5 Navier-Stokes E q u a t i o n s F o r m u l a t e d for Moving Grids . . . . . . 441
A.6 T h i n Shear Layer A p p r o x i m a t i o n . . . . . . . . . . . . . . . . . . 445
A.7 P a r a b o l i s e d Navier-Stokes E q u a t i o n s . . . . . . . . . . . . . . . . 447
A.8 A x i s y m m e t r i c F o r m of the Navier-Stokes E q u a t i o n s . . . . . . . . 448
A.9 Convective F l u x J a c o b i a n . . . . . . . . . . . . . . . . . . . . . . 450
A.10 Viscous F l u x J a c o b i a n . . . . . . . . . . . . . . . . . . . . . . . . 452
A.11 T r a n s f o r m a t i o n from Conservative to C h a r a c t e r i s t i c Variables . . 455
A.12 G M R E S A l g o r i t h m . . . . . . . . . . . . . . . . . . . . . . . . . . 458
A.13 Tensor N o t a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
Index 465
This Page Intentionally Left Blank
Acknowledgements
First of all, I would like to thank my father for the initial motivation to start this
project, as well as for his continuous help with the text and especially with the
drawings. Further, I wish to thank my former colleagues Norbert Kroll, Cord
Rossow, Jose Longo, Rolf Radespiel and others from the Institute of Design
Aerodynamics at the DLR in Braunschweig, Germany for the opportunity to
learn a lot about CFD and for the stimulating atmosphere. I also gratefully
acknowledge the help of Olaf Brodersen from the DLR in Brauschweig and of
Dimitri Mavriplis from the University of Wyoming, who kindly provided several
pictures of surface grids of transport aircraft configurations.
xi
This Page Intentionally Left Blank
List of Symbols
xiii
xiv
n
m
I unit tensor
interpolation operator
restriction operator
prolongation operator
J system matrix (implicit operator)
j-1 inverse of determinant of coordinate transformation Jacobian
k thermal conductivity coefficient
K turbulent kinetic energy
K~,Kb forward and backward reaction rate constants
1T turbulent length scale
L strictly lower part of implicit operator
L~j components of Leonard stress tensor
M Mach number
M mass matrix
n unit normal vector (outward pointing) of control volume face
n x ~ Try ~ n z components of the unit normal vector in x - , y - , z-direction
N number of grid points, cells, or control volumes
NA number of adjacent control volumes
NF number of control volume faces
P static pressure
P production term of kinetic turbulent energy
P transformation matrix from primitive to conservative variables
PL, PR left and right preconditioning matrix (Krylov-subspace methods)
Pr Prandtl number
Oh heat flux due to radiation, chemical reactions, etc.
Q source term
r position vector (Cartesian coordinates); residual (GMRES)
rij vector from point i to point j
R specific gas constant
R~ universal gas constant (= 8314.34 J/kg-mole K)
R residual, right-hand side
R* smoothed residual
7~ rotation matrix
Re Reynolds number
8m rate of change of species m due to chemical reactions
S face vector (= ~ AS)
XV
curl ff curlof~(-V• Ow Ov Ou Ow Ov Ou ] )
Oy Oz ' Oz Ox ' Ox Oy
(- Ou Ov Ow )
div divergence o f g -V.g- ~xx + ~ +
F circulation
r preconditioning matrix (low Mach-number flow)
5~j Kronecker symbol
rate of turbulent energy dissipation
smoothing coefficient (implicit residual smoothing); parameter
g thermal diffusivity coefficient
A second viscosity coefficient
A~ eigenvalue of convective flux Jacobian
_
(02UO2UO2U)
V2U Laplace of scalarU = Ox2 + ~ +
xvii
Subscripts
C convective part
C related to convection
D diffusive part
i,j,k nodal point index
I,J,K index of a control volume
L laminar; left
m index of control volume face; species
R right
T turbulent
V viscous part
V related to volume
W wall
x~y~z components in the x-, y-, z-direction
(X) at infinity (farfield)
Superscripts
xix
XX
Introduction
The history of the Computational Fluid Dynamics, or CFD for short, started in
the early 1970's. Around that time, it became an acronym for the combination
of physics, numerical mathematics, and, to some extent, computer sciences all
employed to simulate fluid flows. The beginning of CFD was triggered by the
availability of increasingly more powerful mainframes and the advances in CFD
are still tightly coupled to the evolution of the computer technology. Among
the first applications of the CFD methods was the simulation of transonic flows
based on the solution of the non-linear potential equation. With the begin-
ning of the 1980's, the solution of first two-dimensional (2-D) and later also
three-dimensional (3-D) Euler equations became feasible. Thanks to the rapidly
increasing speed of supercomputers, and due to the development of a variety
of numerical acceleration techniques like multigrid, it was possible to compute
inviscid flows past complete aircraft configurations or inside of turbomachines.
With the mid 1980's, the focus started to shift to the significantly more de-
manding simulations of viscous flows governed by the Navier-Stokes equations.
Together with this, a variety of turbulence models evolved with different degree
of numerical complexity and accuracy. The leading edge in turbulence mod-
elling is represented by the Direct Numerical Simulation (DNS) and the Large
Eddy Simulation (LES).
With the advances of the numerical methodologies, particularly of the im-
plicit schemes, the solution of flow problems which require real gas modelling
became also feasible by the end of 1980's. Among the first large scale applica-
tion, 3-D hypersonic flow past re-entry vehicles, like the European HERMES
shuttle, was computed using equilibrium and later non-equilibrium chemistry
models. Many research activities were and still are devoted to the numerical
simulation of combustion and particularly to flame modelling. These efforts are
very important for the development of low emission gas turbines and engines.
Also, the modelling of steam and in particular of condensing steam became a
key for the design of efficient steam turbines.
Due to the steadily increasing demands on the complexity and the fidelity of
flow simulations, grid generation methods became more and more sophisticated.
2 Chapter I. Introduction
The development started first with relatively simple structured meshes, con-
structed either by algebraic methods or by using partial differential equations.
But with the increasing geometrical complexity of the configurations, the grids
had to be divided into a number of topologically simpler blocks (multiblock ap-
proach). The next logical step was to allow for non-matching interfaces between
the grid blocks in order to relieve the constraints imposed on the grid genera-
tion in a single block. Finally, solution methodologies were introduced which can
deal with grids overlapping each other (Chimera technique). This allowed, for
example, to simulate the flow past the complete Space Shuttle vehicle with the
external tank and boosters attached. However, the generation of a structured,
multiblock grid for a complicated geometry may still take weeks to accomplish.
Therefore, the research also focused on the development of unstructured grid
generators and flow solvers, which promise significantly reduced setup times,
with only a minor user intervention. Another very important feature of the
unstructured methodology is the possibility of solution based grid adaptation.
The first unstructured grids consisted exclusively of isotropic tetrahedra, which
was fully sufficient for inviscid flows governed by the Euler equations. However,
the solution of the Navier-Stokes equations requires for higher Reynolds num-
bers grids, which are highly stretched in the shear layers. Although such grids
can also be constructed from tetrahedral elements, it is advisable to use prisms
or hexahedra in the viscous flow regions and tetrahedra outside. This improves
not only the solution accuracy, but it also saves the number of elements, faces
and edges. Thus, the memory and run-time requirements of the simulation are
significantly reduced.
Nowadays, CFD methodologies are routinely employed in the fields of air-
craft, turbomachinery, car, and ship design. Furthermore, CFD is also applied
in meteorology, oceanography, astrophysics, biology, oil recovery, and in archi-
tecture. Many numerical techniques developed for CFD are also used in the
solution of the Maxwell equations or in aeroacoustics. Hence, CFD is becom-
ing an increasingly important design tool in engineering, and also a substantial
research tool in various sciences. Due to the advances in numerical solution
methods and in the computer technology, geometrically and physically complex
cases can be run even on PC's or on PC clusters. Large scale simulations of
viscous flows on grids consisting of dozens of millions of elements can be ac-
complished within only a few hours on today's supercomputers. However, it
would be completely wrong to think that CFD represents a mature technology
now, like for example the finite element methods in solid mechanics. No, there
are still many open questions like turbulence and combustion modelling, heat
transfer, efficient solution techniques for viscous flows, robust but accurate dis-
cretisation methods, etc. The coupling between CFD and other disciplines (like
the solid mechanics) requires further research as well. Quite new opportunities
also arise in the design optimisation by using CFD.
The objective of this book is to provide university students with a solid foun-
dation for understanding the numerical methods employed in today's CFD and
to familiarise them with modern CFD codes by hands-on experience. The book
is also intended for engineers and scientists starting to work in the field of CFD,
or who are applying CFD codes. The mathematics used is always connected
to the underlying physics to facilitate the understanding of the matter. The
text can serve as a reference handbook too. Each chapter contains an extensive
bibliography, which may form the basis for further studies.
CFD methods are concerned with the solution of equations of fluid motion
as well as with the interaction of the fluid with solid bodies. The equations
governing the motion of an inviscid fluid (Euler equations) and of viscous fluid
(Navier-Stokes equations) are derived in Chapter 2. Additional thermodynamic
relations for a perfect gas as well as for a real gas are also discussed. Chapter
3 deals with the principles of solution of the governing equations. The most
important methodologies are briefly described and the corresponding references
are included. Chapter 3 can be used together with Chapter 2 to get acquainted
with the fundamental principles of CFD.
A series of different schemes was developed for the spatial discretisation of
the Euler and the Navier-Stokes equations. A unique feature of the present
book is that it deals with both the structured (Chapter 4) as well as with the
unstructured finite volume schemes (Chapter 5), because of their broad ap-
plication possibilities, especially for the treatment of complex flow problems
routinely encountered in an industrial environment. The attention is particu-
larly devoted to the definition of the various types of control volumes together
with spatial discretisation methodologies for convective and viscous fluxes. The
3-D finite volume formulations of the most popular central and upwind schemes
are presented in detail.
The methodologies for the temporal discretisation of the governing equations
can be divided into two classes. One class comprises explicit time-stepping
schemes (Section 6.1), and the other one consists of implicit schemes (Section
6.2). In order to provide a more complete overview, recently developed solution
methods based on the Newton-iteration as well as standard techniques like the
explicit Runge-Kutta schemes are discussed.
Two qualitatively different types of viscous fluid flows are encountered in
general: laminar and turbulent. The solution of the Navier-Stokes equations
does not raise any fundamental difficulties in the case of laminar flows. However,
the simulation of turbulent flows continues to present a significant challenge as
before. A relatively simple way of modelling the turbulence is offered by the so-
called Reynolds-averaged Navier-Stokes equations. On the other hand, Reynolds
stress models or LES enable considerably more accurate predictions of turbulent
flows. In Chapter 7, various well-proven and widely applied turbulence models
of varying level of complexity are presented in detail.
In order to account for the specific features of a particular problem, and to
obtain an unique solution of the governing equations, it is necessary to specify
appropriate boundary conditions. Basically, there are two types of boundary
conditions: physical and numerical. Chapter 8 deals with both types for different
situations like solid walls, inlet, outlet, injection and farfield. Symmetry planes,
periodic and block boundaries are treated as well.
In order to reduce the computer time required to solve the governing equa-
tions for complex flow problems, it is quite essential to employ numerical accel-
4 Chapter 1. Introduction
Governing Equations
The conservation of a certain flow quantity means that its total variation in-
side an arbitrary volume can be expressed as the net effect of the amount of
the quantity being transported across the boundary, of any internal forces and
sources, and of external forces acting on the volume. The amount of the quan-
tity crossing the boundary is called flux. The flux can be in general decomposed
into two different parts: one due to the convective transport and the other one
due to the molecular motion present in the fluid at rest. This second contribu-
tion is of a diffusive nature - it is proportional to the gradient of the quantity
considered, and hence it will vanish for a homogeneous distribution.
6 Chapter 2. Governing Equations
The discussion of the conservation laws leads us quite naturally to the idea of
dividing the flow field into a number of volumes and to concentrate on the mod-
elling of the behaviour of the fluid in one such finite region. For this purpose,
we define the so-called finite control volume and try to develop a mathematical
description of its physical properties.
The conservation law applied to an exemplary scalar quantity per unit volume
U says that its variation in time within ~, i.e.,
0/aUd~2
Ot
is equal to the sum of the contributions due to the convective flux- amount
of the quantity U entering the control volume through the boundary with the
velocity g
P
- i V(g. g) dS,
Jo
further due to the diffusive flux- expressed by the generalised Fick's gradient
2.1. The Flow and its Mathematical Description 7
law
L f~
, p IV(U/p). dS,
where ~ is the thermal diffusivity coefficient, and finally due to the volume as
well as surface sources, Qv, Q s, i.e.,
= Qvd +
/o (Qs.
f~
)dS, (2.1)
Because of its generality and its desirable properties, it is not surprising that the
majority of the CFD codes today is based on the integral form of the governing
equations.
In the following section, we shall utilise the above integral form in order to
derive the corresponding expressions for the three conservation laws of the fluid
dynamics.
8 Chapter 2. Governing Equations
o--7 pda .
The mass flow of a fluid through some surface fixed in space equals to the
product of (density) x (surface area) x (velocity component perpendicular to
the surface). Therefore, the contribution from the convective flux across each
surface element dS becomes
p (~. ~) d S .
Since by convection g always points out of the control volume, we speak of
inflow if the product (~7. ~) is negative, and of outflow if it is positive and hence
the mass leaves the control volume.
As stated above, there are no volume or surface sources present. Thus, by
taking into account the general formulation of Eq. (2.1), we can write
os
O-t pdf~ + /o f~
p (~. ~) dS - O . (2.3)
This represents the integral form of the continuity equation - the conservation
law of mass.
trYda.
Hence, the conserved quantity is here the product of the density and the velocity,
i.e.,
p ~ - [pu, pv, pw ]T.
The convective flux tensor, which describes the transfer of m o m e n t u m across
the boundary of the control volume, consists in the Cartesian coordinate system
of the following three components
x - c o m p o n e n t 9 pu
y - c o m p o n e n t 9 pv
z-component" pw ~.
- dS.
1. External volume or body forces, which act directly on the mass of the
volume. These are for example gravitational, buoyancy, Coriolis or cen-
trifugal forces. In some cases, there can be electromagnetic forces present
as well.
2. Surface forces, which act directly on the surface of the control volume.
They result from only two sources:
From the above, we can see that the body force per unit volume, further denoted
as Pfe, corresponds to the volume sources in Eq. (2.2). Thus, the contribution
of the body (external) force to the momentum conservation is
The surface sources consist then of two parts - of an isotropic pressure compo-
nent and of a viscous stress tensor g, i.e.,
Qs - -pI + (2.4)
with I being the unit tensor (for tensors see, e.g., [2]). The effect of the surface
sources on the control volume is sketched in Fig. 2.2. In Section 2.3, we shall
10 Chapter 2. GoverningEquations
elaborate the form of the stress tensor in more detail, and in particular show
how the normal and the shear stresses are connected to the flow velocity.
Hence, if we now sum up all the above contributions according to the general
conservation law (EQ. (2.2)), we finally obtain the expression
The underlying principle that we will apply in the derivation of the energy
equation, is the first law of thermodynamics. Applied to the control volume
displayed in Fig. 2.1, it states that any changes in time of the total energy
inside the volume are caused by the rate of work of forces acting on the volume
and by the net heat flux into it. The total energy per unit mass E of a fluid
is obtained by adding its internal energy per unit mass, e, to its kinetic energy
per unit mass 1~12/2. Thus, we can write for the total energy
The conserved quantity is in this case the total energy per unit volume, i.e., pE.
Its variation in time within the volume f~ can be expressed as
0j; ~Eda.
Following the discussion in course of the derivation of the general conservation
law (Eq. (2.1)), we can readily specify the contribution of the convective flux as
FD -- - ~ p ~ X7e. (2.7)
In the above, ~ / - cp/cv is the ratio of specific heat coefficients, and ~ denotes
the thermal diffusivity coefficient. The diffusion flux represents one part of the
heat flux into the control volume, namely the diffusion of heat due to molecular
thermal c o n d u c t i o n - heat transfer due to temperature gradients. Therefore,
Equation (2.7) is in general written in the form of Fourier's law of heat conduc-
tion, i.e.,
F. - -kVT (2.s)
with k standing for the thermal conductivity coefficient and T for the absolute
static temperature.
The other part of the net heat flux into the finite control volume consists
of volumetric heating due to the absorption or emission of radiation, or due to
chemical reactions. We will denote the heat sources - the time rate of heat
t r a n s f e r p e r unit mass - as Oh- Together with the rate of work done by the body
forces f~, which we have introduced for the m o m e n t u m equation, it completes
the volume sources
Qv - p f e " ~ + qh . (2.9)
The last contribution to the conservation of energy, which we have yet to deter-
mine, are the surface sources Qs. They correspond to the time rate of work done
by the pressure as well as the shear and normal stresses on the fluid element
(see Fig. 2.2), i.e.,
Qs - -Y+ ~ - ~. (2.10)
Sorting now all the above contributions and terms, we obtain for the energy
conservation equation the expression
O--t pE df~ +
/o pE (g. if)dS -
/o k (VT-if)dS (2.11)
12 Chapter2. Governing Equations
The energy equation (2.11) is usually written in a slightly different form. For
that purpose, we will utilise the following general relation between the total
enthalpy, the total energy and the pressure
H = h + Ig12 - E + p- . (2.12)
2 p
When we now gather the convective (pE~) and the pressure term ( y ) in the
energy conservation law (2.11), and apply the formula (2.12), we can finally
write the energy equation in the form
O--t pE d~ + pH (g. ~) dS - k ( V T . g) dS
2.3 V i s c o u s Stresses
The viscous stresses, which originate from the friction between the fluid and
the surface of an element, are described by the stress tensor ~. In Cartesian
xz]
coordinates its general form is given by
Ou Ov Ow ) Ou
7-zx
Ou Ov Ow ) Ov
- a Ux + N + -5-iz + 2,
Ou Ov Ow ) Ow
7zz + 2# Oz
(2.15)
~-xy
Ou Ow )
Tx z -- 7-zx
-, N+- x
Ov Ow )
T y z - - 7-zy
-, -5;z + N
in which A represents the second viscosity coefficient, and # denotes the dynamic
viscosity coefficient. For convenience, we can also define the so-cMled kinematic
14 Chapter 2. GoverningEquations
F i g u r e 2.3: Normal (a) and shear (b) stresses acting on a finite fluid element.
2.3. Viscous Stresses 15
u=p/p. (2.16)
The expressions in Eq. (2.15) were derived by the Englishman George Stokes in
the middle of the 19th century. The terms #(Ou/Ox), etc. in the normal stresses
represent the rate of linear dilatation- a change in shape. On the other hand,
the term (I div g) in Eq. (2.15) represents volumetric dilatation - the rate of
change in volume, which is in essence a change of the density.
In order to close the expressions for the normal stresses, Stokes introduced
the hypothesis [5] that
2
A+Sp-0. (2.17)
The above relation (2.17) is termed the bulk viscosity. Bulk viscosity represents
the property, which is responsible for energy dissipation in a fluid of uniform
temperature during a change in volume at finite rate.
With the exception of extremely high temperatures or pressures, there is so
far no experimental evidence that Stokes's hypothesis in Eq. (2.17) does not
hold (see discussion in Ref. [6]). It is therefore generally used to eliminate /~
from Eq. (2.15). Hence, we obtain for the normal viscous stresses
7-x~- 2# Ox
ldiv )
3
2. Or 1 div ~) (2 18)
Ow 1 div ~)
- 0-V-g
It should be noted that the expressions for the normal stresses in Eq. (2.18)
simplify for an incompressible fluid (constant density) because of divg = 0
(continuity equation).
What remains to be determined are the viscosity coefficient # and the ther-
mal conductivity coefficient k as functions of the state of the fluid. This can
be done within the framework of continuum mechanics only on the basis of
empirical assumptions. We shall return to this problem in the next section.
16 Chapter 2. Governing Equations
P
pu
pv . (2.20)
pw
pE
pV
p u V + nxp
p v V + nyp (2.21)
p w V + nzp
pHV
with the contravariant velocity V - the velocity normal to the surface element
d S - being defined as the scalar product of the velocity vector and the unit
normal vector, i.e.,
The total enthalpy H in Eq. (2.21) is given by the formula (2.12). For the vector
of viscous fluxes we have with Eq. (2.14)
0
nxTzx + nyTxy -F nzvxz
Fv -- n~Tyx + ny~yy + nzTyz , (2.23)
nxTzx + nyT-zy + nzWzz
nxO~ + nyOy + nzOz
where
OT
0~ -UVzx + VVzy + WVz~ + k 0--~
are terms describing the work of the viscous stresses and of the heat conduction
in the fluid, respectively. Finally, the source term reads
0
pf~,x
- RA,~ . (2.25)
pf~,z
In the case of a Newtonian fluid, i.e., if the relations Eq. (2.15) for the viscous
stresses are valid, the above system of equations (Eqs. (2.19)-(2.25)) is called
the Navier-Stokes equations. They describe the exchange (flux) of mass, mo-
mentum and energy through the boundary 0 n of a control volume gt, which is
fixed in space (see Fig. 2.1). We have derived the Navier-Stokes equations in in-
tegral formulation, in accordance with the conservation laws. Applying Gauss's
theorem, Equation (2.19) can be re-written in differential form [7]. Since the
differential form is often found in literature, it is for completeness included in
the Appendix (A.1).
In some instances, for example in turbomachinery applications or geophysics,
the control volume is rotating (usually steadily) about some axis. In such a case,
the Navier-Stokes equations are transformed into a rotating frame of reference.
As a consequence, the source term Q has to be extended by the effects due
to the Coriolis and the centrifugal force [8]. The resulting form of the Navier-
Stokes equations may be found in the Appendix (A.4). In other cases, the
control volume can be subject to translation or deformation. This happens,
for instance, when fluid-structure interaction is investigated. Then, the Navier-
Stokes equations (2.19) have to be extended by a term, which describes the
relative motion of the surface element dS with respect to the fixed coordinate
system [9]. Additionally, the so-called Geometric Conservation Law (GCL) has
18 Chapter 2. Governing Equations
h = (2.27)
R = - , - (2.28)
Cv
The temperature is then calculated with the aid of the relationship Eq. (2.26).
The coefficient of the dynamic viscosity p is, for a perfect gas, strongly depen-
dent on temperature but only weakly dependent on pressure. The so-called
Sutherland formula is frequently used. The result for air is (in SI units)
1.45 T 3/2
P - T + 110 " 10-6' (2.30)
k - CppPr (2.31)
is generally used for air. In addition, it is commonly assumed that the Prandtl
number Pr is constant in the entire flow field. For air, the Prandtl number
takes the value Pr - 0 . 7 2 .
-PYN- 1 -
20 Chapter 2. Governing Equations
- pV 1 " 0
where
OT N O ym
O x -- uTxx + vzxy + wT"xz + k-~x + p E hm Dm 0-----~
m----1
__ k OT N O ym
Oy UTyx + v "ryv + w "ryz + Oy + p E hmD m O-"y-
m=l
N
OT
Oz - UTzz + VTzy + W'rzz + k ~ + p E h m D m ~ (2.34)
Oz
~ j /..,
m=l
Oz m - pDm OYm
' OX
oY~
62y,m- pDm 0-----~
Pf~,v
PL,z
Q- (2.35)
P L " ~ + Oh
kl
kN-1
N-1
YN - 1 - ~ Ym. (2.36)
m=l
In order to find an expression for the pressure p, we first assume that the
individual species behave like ideal gases, i.e.,
RU
- PYre T, (2.37)
with Ru denoting the universal gas constant and Wm being the molecular weight,
respectively. Together with Dalton's law,
p- pro, (2.3s)
m--1
we can write
N
p - pR T Ym (2.39)
m--1 wm "
e- ~1 Ym h~],m + Cp,mdT p.
P (2.40)
~_ ef
The internal energy of the gas mixture e is obtained from Eq. (2.6). The quanti-
ties h~ Cp,m, and Tref in Eq. (2.40) denote the heat of formation, the specific
heat at constant pressure, and the reference temperature of the m-th species,
respectively. Values of the above quantities as well as of the thermal conductiv-
ity k and of the dynamic viscosity # of the species are determined from curve
fits [19], [21], [23].
The last part, which remains to be modelled, is the chemical source term sm
in Eq. (2.35). The rate equations for a set of NR elementary reactions involving
N species can be written in the general form
N N
t Kit tt
E r'lmCm r E r'lmOm for l--1,2,...,NR. (2.41)
m=l KD~ m = l
t and ~Im
In the above Eq. (2.41), ~Zm " are the stoichiometric coefficients for species
m in the l-th forward and backward reaction, respectively. Furthermore, r
stands for the molar concentration of species m (Gin - pYm/Wm), and finally
Kfl and KbZ, respectively, denote the forward and the backward reaction rate
22 Chapter 2. Governing Equations
constants for t h e / - t h reaction step. They are given by the empirical Arrhenius
formulae
K I - A I T BI e x p ( - E / / R U T )
(2.42)
Kb = Ab T Bb exp(--Eb/RUT),
where A f and Ab are the Arrhenius coefficients, E I and Eb represent the acti-
vation energies, and B f as well as Bb are constants, respectively. The rate of
change of molar concentration of species m by t h e / - t h reaction is given by
Hence, together with Eq. (2.43) we can calculate the total rate of change of
species m from
NR
-wm (2.44)
l=1
More details can be found in the references cited above. A detailed overview of
the equations governing a chemically reacting flow, together with the Jacobian
matrices of the fluxes and their eigenvalues, can also be found in [24].
Another practical example of real gas is the simulation of steam or, which
is more demanding, of wet steam in turbomachinery applications [25]-[32]. In
the later case, where the steam is mixed with water droplets, so that we speak
of multiphase flow, it is either possible to solve an additional set of transport
equations, or to trace the water droplets along a number of streamlines. These
simulations have very important applications in the design of modern steam
turbine cascades. The analysis of flow past turbine blades can for instance help
to understand the occurrence of supercritical shocks by condensation and of
flow instabilities, responsible for an additional dynamic load on the bladings
and resulting in a loss of the efficiency.
only the gradients of the flow quantities in the normal direction to the surface
of the body (q-direction in Fig. 2.4) contribute to the viscous stresses [33],
[34]. On the other hand, the gradients in the other coordinate directions (~ in
Fig. 2.4) are neglected in the evaluation of the shear stress tensor (Eqs. (2.14,
2.15)). We speak here of the so-called Thin Shear Layer (TSL) approximation
of the Navier-Stokes equations. The motivation for the TSL modification is
that the numerical evaluation of the viscous terms becomes computationally
less expensive, but, within the assumptions, the solution remains sufficiently
accurate. The TSL approximation can also be justified from a practical point
of view. In the case of high Reynolds number flows, the grid has to be very fine
in the wall normal direction in order to resolve the boundary layer properly.
Because of the limited computer memory and speed, much coarser grid has
to be generated in the other directions. This in turn results in significantly
lower numerical accuracy of the gradient evaluation compared to the normal
direction. The TSL equations are for completeness presented in the Appendix
(A.6). Due to the fact that secondary flow (e.g., like in a blade row) cannot be
resolved appropriately, the TSL simplification is usually applied only in external
aerodynamics.
9 the fluid moves predominantly in one main direction (e.g., there must be
no boundary layer separation),
the governing equations (2.19)) can be simplified to a form called the Parabolised
Navier-Stokes (PNS) equations [8], [35]-[37]. The above conditions allow us to
set the derivatives of u, v, and w with respect to the streamwise direction
to zero in the viscous stress terms (Eq. (2.15)). Furthermore, the components
of the viscous stress tensor T, of the work performed by it (~. ~), and of the
heat conduction k V T in the streamwise direction are dropped from the viscous
flux vector in Eq. (2.23). The continuity equation, as well as the convective
fluxes (Eq. (2.21)) remain unchanged. For details, the reader is referred to the
Appendix (A.7). Considering the situation sketched in Fig. 2.5, where the main
flow direction coincides with the x coordinate, it can be shown that the PNS
approximation leads to a mixed set of parabolic / elliptic equations. Namely, the
momentum equation in the flow direction becomes parabolic together with the
energy equation, and hence they can be solved by marching in the x-direction.
The momentum equations in the y- and in the z-direction are elliptic and they
have to be solved iteratively in each x-plane. Thus, the main benefit of the
PNS approach is in the largely reduced complexity of the flow solution - from
a complete 3-D field to a sequence of 2-D problems. A typical application of
the parabolised Navier-Stokes equations is the calculation of internal flows in
ducts and in pipes, and also the simulation of steady supersonic flows using the
space-marching method [38]-[41].
Euler Equations
As we have seen, the Navier-Stokes equations describe the behaviour of a viscous
fluid. In many instances, it is a valid approximation to neglect the viscous
effects completely, like for example for high Reynolds-number flows, where the
2.4. Complete System of the Navier-Stokes Equations 25
boundary layer is very thin compared to the dimensions of the body. In such
cases, we can simply omit the vector of viscous fluxes, F~, from the Equations
(2.19). Thus, we are left with
Bibliography
[1] Lax, P.D.: Weak Solutions of Nonlinear Hyperbolic Equations and
their Numerical Computation. Comm. Pure and Applied Mathematics,
7 (1954), pp. 159-193.
[2] Aris, R.: Vectors, Tensors and the Basic Equations of Fluid Mechanics.
Dover Publ. Inc., New York, 1989.
[3] Schlichting, H.: Boundary Layer Theory. 7th edition, McGraw-Hill, New
York, 1979.
[4] White, F.M.: Viscous Fluid Flow. McGraw-Hill, New York, 1991.
[5] Stokes, G.G.: On the Theories of Internal Friction of Fluids in Motion.
Trans. Cambridge Phil. Soc., 8 (1845), pp. 287-305.
[6] Gad-el-Hak, M.: Questions in Fluid Mechanics: Stokes' Hypothesis for a
Newtonian, Isotropic Fluid. J. of Fluids Engineering, 117 (1995), pp. 3-5.
[8] Hirsch, C.: Numerical Computation of Internal and External Flows. Vols.
1 and 2, John Wiley and Sons, 1988.
[9] Pulliam, T.H.; Steger, J.L.: Recent Improvements in Efficiency, Accu-
racy, and Convergence for Implicit Approximate Factorization Algorithms.
AIAA Paper 85-0360, 1985.
[10] Thomas, P.D.; Lombard, C.K.: Geometric Conservation Law and Its
Application to Flow Computations on Moving Grids. AIAA Journal, 17
(1979), pp. 1030-1037.
[11] Lesoinne, M.; Farhat, C.: Geometric Conservation Laws for Flow Prob-
lems with Moving Boundaries and Deformable Meshes and their Impact
on Aeroelastic Computations. AIAA Paper 95-1709, 1995; also in Comp.
Meth. Appl. Mech. Eng., 134 (1996), pp. 71-90.
[12] Guillard, H.; Farhat, C.: On the Significance of the GCL for Flow Com-
putations on Moving Meshes. AIAA Paper 99-0793, 1999.
[14] Liepmann, HG.W.; Roshko, A.: Elements of Gas Dynamics. John Wiley
& Sons, New York, 1957.
[15] Srinivasan S.; Weilmuenster, K.J: Simplified Curve Fits for the Thermo-
dynamic Properties of Equilibrium Air. NASA RP-1181, 1987.
Bibliography 27
[18] Bussing, T.R.A; Murman, E.M.: Finite-Volume Method for the Calcula-
tion of Compressible Chemically Reacting Flows. AIAA Journal, 26 (1988),
pp. 1070-1078.
[19] Molvik, G.A.; Merkle, C.L.: A Set of Strongly Coupled, Upwind Algo-
rithms for Computing Flows in Chemical Non-equilibrium. AIAA Paper
89-0199, 1989.
[21] Shuen, J.S.; Liou, M.S.; van Leer, B.: Inviscid Flux-Splitting Algorithms
for Real Gases with Non-equilibrium Chemistry. J. Computational Physics
90 (1990), pp. 371-395.
[23] Shuen, J.-S.; Chen, K.-H.; Choi, Y.: A Coupled Implicit Method for Chem-
ical Non-equilibrium Flows at All Speeds. J. Computational Physics, 106
(1993), pp. 306-318.
[24] Yu, S.-T.; Chang, S.-C.; Jorgenson, P.C.E.; Park, S.-J.; Lai, M.-C.: Basic
Equations of Chemically Reactive Flow for Computational Fluid Dynam-
ics. AIAA Paper 98-1051, 1998.
[27] Bakhtar, F.; So, K.S.: A Study of Nucleating Flow of Steam in a Cascade
of Supersonic Blading by the Time-Marching Method. Int. J. Heat and
Fluid Flow 12 (1991), pp. 54-62.
[29] White, A.J.; Young, J.B.: Time-Marching Method for the Prediction of
Two-Dimensional, Unsteady Flows of Condensing Steam. AIAA J. Propul-
sion and Power, 9 (1993), pp. 579-587.
[30] Liberson, A.; Kosolapov, Y.; Rieger, N.; Hesler, S.: Calculation of
3-D Condensing Flows in Nozzles and Turbine Stages. EPRI Nucleation
Workshop, Rochester, N.Y., October 24-26, 1995.
[31] Bakhtar, F.; Mahpeykar, M.R.; Abbas, K.K.: An Investigation of Nu-
cleating Flows of Steam in a Cascade of Turbine Blading- Theoretical
Treatment. Transaction of the ASME 117 (1995), pp. 138-144.
[32] White, A.J.; Young, J.B.; Wakers, P.T.: Experimental Validation of Con-
densing Flow Theory for a Stationary Cascade of Steam Turbine Blades.
Phil. Trans. R. Soc., London, A 354 (1996), pp. 59-88.
[33] Steger, J.L.: Implicit Finite Difference Simulation of Flows About Two-
Dimensional Arbitrary Geometries. AIAA Journal, 17 (1978), pp. 679-686.
[34] Pulliam, T.H.; Steger, J.L.: Implicit Finite Difference Simulations of
Three-Dimensional Compressible Flows. AIAA Journal, 18 (1980), pp.
159-167.
[35] Patankar, S.V.; Spalding, D.B.: A Calculation Procedure for Heat, Mass
and Momentum Transfer in Three-Dimensional Parabolic Flows. Int. J.
Heat Mass Transfer, 15 (1972), pp. 1787-1806.
[36] Aslan, A.R.; Grundmann, R.: Computation of Three-Dimensional Sub-
sonic Flows in Ducts Using the PNS Approach. ZFW, 14 (1990), Springer
Verlag, pp. 373-380.
[37] Kirtley, K.R.; Lakshminarayana, B.:
A Multiple Pass Space-Marching
Method for Three-Dimensional Incompressible Viscous Flow. ZFW, 16
(1992), Springer Verlag, pp. 49-59.
[3s] Hollenb~ick, D.M.; Blom, G.A.:
Application of a Parabolized Navier-Stokes
Code to an HSCT Configuration and Comparison to Wind Tunnel Test
Data. AIAA Paper 93-3537, 1993.
29
30 Chapter 3. Principles of Solution of the Governing Equations
Cartesian grids [1], [2], where the edges of the grid cells are oriented parallel to
the Cartesian coordinates, can be generated very easily. Their advantage is that
the evaluation of the fluxes in Eq. (2.19) is much more simple then for body-
fitted grids. But when considering Fig. 3.1b it becomes clear that a general
and accurate treatment of the boundaries is difficult to accomplish [3]. Because
of this serious disadvantage, the body-fitted approach is preferred, particularly
in the industrial environment, where the geometrical complexity of simulated
configurations is usually very high.
Nowadays, the overwhelming number of numerical methods for the solution
of the Euler- and the Navier-Stokes equations employ a separate discretisation in
space and in t i m e - the so-called method of lines [4]. Herewith, dependent on the
particular algorithm chosen, the grid is used either to construct control volumes
and to evaluate the flux integrals, or to approximate the spatial derivatives of
the flow quantities. In a further step, the resulting time-dependent equations
are advanced in time, starting from a known initial solution, with the aid of a
suitable method. Another possibility, when the flow variables do not change in
time, is to find the steady-state solution of the governing equations by means
of an iterative process.
The way we derived the governing equations (2.19), the continuity equa-
tion (2.3) contains a time derivative of the density. Since the density, as an
independent variable, is used to calculate the pressure (Eq. (2.29)), there is a
coupling between the time evolution of the density and of the pressure in the
momentum equations. Solution methods employing discretisations of the gov-
erning equations (2.19) are for this reason called density-based schemes. The
problem with this formulation is that for an incompressible fluid the pressure
is no longer driven by any independent variable, because the time derivative of
the density disappears from the continuity equation. Another difficulty arises
from the growing disparity between acoustic and convective wave speeds with
decreasing Mach number, which renders the governing equations increasingly
stiff and hence hard to solve [5]. Basically, three approaches were developed to
cope with the problem. The first possibility is to solve a Poisson equation in
pressure, which can be derived from the momentum equations [6]-[8]. These
methods are denoted as pressure-based. The second approach, called the artifi-
cial compressibility method, is based on the idea to substitute time derivative of
the pressure for that of the density in the continuity equation [9], [10]. In this
way, velocity and pressure field are directly coupled. The third solution, and
the most general one, is based on preconditioning of the governing equations
[11]-[19]. This methodology allows it to employ the same numerical scheme for
very low as well as high Mach number flows. We shall discuss this approach
more extensively in Section 9.5.
In the following, we shall learn more about the very basic principles of var-
ious solution methodologies for the numerical approximation of the governing
equations in space and in time, for the turbulence modelling, and also for the
boundary treatment.
31
Figure 3.1" Body-fitted (a) and Cartesian grid (b) near a solid body (shown
here in two dimensions).
32 Chapter 3. Principles of Solution of the Governing Equations
9 Unstructured grids (Fig. 3.3) - grid cells as well as grid points have no par-
ticular ordering, i.e., neighbouring cells or grid points cannot be directly
identified by their indices (e.g., cell 6 adjacent to cell 119). In the past, the
grid cells were triangles in 2D and tetrahedra in 3D. Today, unstructured
grids usually consist of a mix of quadrilaterals and triangles in 2D and of
hexahedra, tetrahedra, prisms and pyramids in 3D, in order to resolve the
boundary layers properly. Therefore, we speak in this case of hybrid or of
mixed grids.
The main advantage of structured grids follows from the property that the
indices i, j, k represent a linear address s p a c e - also called the computational
space, since it directly corresponds to how the flow variables are stored in the
computer memory. This property allows it to access the neighbours of a grid
point very quickly and easily, just by adding or subtracting an integer value to
or from the corresponding index (e.g., like (i§ (k-3), e t c . - see Fig. 3.2). As
one can imagine, the evaluation of gradients, fluxes, and also the treatment of
boundary conditions is greatly simplified by this feature. The same holds for
the implementation of an implicit scheme, because of the well-ordered, banded
flux Jacobian matrix. But there is also a disadvantage. This is the generation of
structured grids for complex geometries. As sketched in Fig. 3.4, one possibility
is to divide the physical space into a number of topologically simpler parts -
blocks - which can be more easily meshed. We therefore speak of multiblock
approach [20]-[24]. Of course, the complexity of the flow solver is increased,
since special logic is required to exchange physical quantities or fluxes between
the blocks. Additional flexibility is added, if the grid points at both sides of
an interface can be placed independently of each other, i.e., if the grid lines are
allowed not to meet at a block boundary (like inside C or F in Fig. 3.4). Those
grid points, which are located only on one side of a block interface are called
hanging nodes. The advantage of this approach is quite o b v i o u s - the number
3.1. SpatialDiscretisation 33
(b)
i-l,j i,j dL
i+l,j
Ir
J(q)
l i,j-1
Figure 3.2: Structured, body-fitted grid approach (in two dimensions)" (a)
shows the physical space; (b) shows the computational space; ~, ~ represent a
curvilinear coordinate system.
34 Chapter 3. Principles of Solution of the Governing Equations
of grid lines can be chosen separately for each block as required. The price
paid for the enhanced flexibility is an increased overhead for the conservative
treatment of the hanging nodes [25], [26]. The multiblock methodology also
offers interesting possibilities with respect to the implementation of the flow
solver on a parallel computer by means of domain decomposition. However, very
long times (often weeks or months) are still required for the grid generation in
the case of complex configurations.
Another methodology, related to block structured grids, represents the so-
called Chimera technique [27]-[32]. The basic idea here is to generate first the
grids separately around each geometrical entity in the domain. After that, the
grids are combined together in such a way that they overlap each other where
they meet. The situation is depicted in Fig. 3.5 for a simple configuration. The
crucial operation is an accurate transfer of quantities between the different grids
at the overlapping region. Therefore, the extension of the overlap is adjusted
accordingly to the required interpolation order. The advantage of the Chimera
technique over the multiblock approach is the possibility to generate the partic-
ular grids completely independent of each other, without having to take care of
the interface between the grids. On the other hand, the problem of the Chimera
technique is that the conservation properties of the governing equations are not
satisfied through the overlapping region.
The second type of grids are the unstructured grids. They offer the largest
flexibility in the treatment of complex geometries [33]. The main advantage of
the unstructured grids is based on the fact that triangular (in 2D) or tetrahedral
grids (in 3D) can be in principle generated automatically, independent of the
complexity of the domain. In practice, it is of course still necessary to set some
3.1. SpatialDiscretisation 35
Ill|lllll|llll|lllllll|lll|llllllllllll|llllllllll|lllllllllllll
Illlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
Illilliilillllllllillli~Yl[SdilllliilJHHiGmllllllllllllllllllillll
Ilinlllllliilllillllil~l~ll~[itillimi~Yl~ll~llllllllnlllllllllllll
Illillllllllllllllill[l[I]~[EJliiiJ[~lJ]lSi~lilllllllllllllllllll
INNNNININNNNNNNNNNINIm~I~r I
unnnuuunuuuunnnunnn~p~
unnnnunuunnnnnnnnn~u~n~a
ununnnnnunnnunnnnw~n~@p~4
nmmmmmmmmmmmnmnmm~m~mi~Ap,~
nmmmmmmmmmmmmmmmm~mm~ 82
Ulllllnnlllnlnnlllpi~ll][~i~~
NNNNNNNNNNNNNNNNI~~ I
InmmmmmmmmmmmmmmwmxN[~I [ ~
Illlllnlnlnnnnnl[lUllml
Nmmmmmmmmmmmnmmmlnulmmm nlnlmnnNnmmmmmmnmmmnmnml
Imnlnmmmmmlmmmnnlnmlmmlul||lllU!
ummmmnmmmmmmnmnm~nn~mm~,~Iiiil~
umnmnnumnmmnnmnmmx~an I [ % ~
nmmmmmmmmmmmnnnm~m~r nmmmmmmmmlmlmU
nmmmnnmmmmmmmmmmmm~ai$_~'~]
UlnUUllUlUlnlUlnl~iUl~$1~ 1 ~l~mUlUlUlnununulunnn
i l l l n u l u n u m m n m n l m ~ u~~ . ~ n ~n~
.~
Immmmmmmmmmmmmnmmm~6u~l~
Nmmumnmmnmnmmmmmmm~m~mNK~
Nmmmmnmmmmmmmmmmmmmma~m~
Nmmmmmmnmnmmmmnmmmmmnm~mw~l
Nmmmmmmmmnmmmmmmmmmmmmm~n~,nmuummw~am~mmmmnnnmmmmmnmmmmnmnmmmu
Nmmmmmmmmmmmmmnmmmmmmmmmm~mxmnlmm~mmu~mmmnmmmmmmmmmmmmmmnmmmnmu
Nmmmmmmmmmnmmnmmmmmmmmmmmmmm~x~xn~mmnmmmmnmmmmmmmmmnmmmmmmmmmmm
Nmmmmmmmmmmmmmmmmmmmmmmmmmmmmnmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmu
Nmmmmmmmmmmmmmmmmmmmmmmmmmmmmnmmmmmmmmmmnmnmmmmmmmmmmnmmmnmmmnmu
The above approximation is of first order, since the truncation error (abbrevi-
ated as O(Ax)), which is proportional to the largest term of the remainder, goes
to zero with the first power of Ax (for a discussion on the order of accuracy see
Chapter 10). The same procedure can be applied to derive more accurate finite
difference formulae and to obtain approximations to higher-order derivatives.
3.1. SpatiM Discretisation 37
Cell-centred scheme (Fig. 3.6a) - here the flow quantities are stored at the
centroids of the grid cells. Thus, the control volumes are identical to the
grid cells.
Cell-vertex scheme (Fig. 3.6b) - here the flow variables are stored at the
grid points. The control volume can then either be the union of all cells
sharing the grid point, or some volume centred around the grid point. In
the former case we speak of overlapping control volumes, in the second
case of dual control volumes.
F i g u r e 3.6: Control volume of cell-centred (a) and cell-vertex (b) scheme (dual
control volume).
finite differences, one further advantage of the finite volume method is that it is
very flexible- it can be rather easily implemented on structured as well as on
unstructured grids. This renders the finite volume method particularly suitable
for the treatment of flows in complex geometries.
Since the finite volume method is based on the direct discretisation of the
conservation laws, mass, momentum and energy are also conserved by the nu-
merical scheme. This leads to another important feature of the method, namely
the ability to compute weak solutions of the governing equations correctly. How-
ever, one additional condition has to be fulfilled in the case of the Euler equa-
tions. This is known as the entropy condition. It is necessary because of the
non-uniqueness of the weak solutions. The entropy condition prevents the occur-
rence of unphysical features like expansion shocks, which violate the second law
of thermodynamics (decrease of the entropy). As a further consequence of the
conservative discretisation, the Rankine-Hugoniot relations, which must hold
across a solution discontinuity (such as a shockwave or a contact discontinuity),
are satisfied directly.
It is interesting to note that under certain conditions, the finite volume
method can be shown to be equivalent to the finite difference method, or to a
low-order finite element method. Because of its attractive properties, the finite
volume method is nowadays very popular and in wide use. It will be presented
in the following chapters.
3.1. Spatial Discretisation 39
3.1.3 Finite E l e m e n t M e t h o d
The finite element method was originally employed for structural analysis only.
It was first introduced by Turner et al. [45] in 1956. About ten years later,
researchers started to use the finite element method also for the numerical solu-
tion of field equations in continuous media. However, only with the beginning
of the 90's, did the finite element method gain popularity in the solution of the
Euler and the Navier-Stokes equations. A good introduction into the classical
finite element methodology can be found in [46]. Applications to flow problems
are described in [47], [48], and more recently in [49].
The finite element method, as it is in general applied to the solution of
the Euler/Navier-Stokes equations, starts with a subdivision of the physical
space into triangular (in 2-D) or into tetrahedral (in 3-D) elements. Thus, an
unstructured grid has to be generated. Depending on the element type and the
required accuracy, a certain number of points at the boundaries and/or inside an
element is specified, where the solution of the flow problem has to be found. The
total number of points multiplied with the number of unknowns determines the
number of degrees of freedom. Furthermore, the so-cMled shape functions have
to be defined, which represent the variation of the solution inside an element. In
practical implementations, linear elements are usually employed, which use the
grid nodes exclusively. The shape functions are then linear distributions, whose
value is zero outside the corresponding element. This results in a second-order
accurate representation of the solution on smooth grids.
Within the finite element method, it is necessary to transform the governing
equations from the differential into an equivalent integral form. This can be
accomplished in two different ways. The first one is based on the variational
principle, i.e., a physical solution is sought, for which a certain functional pos-
sesses an extremum. The second possibility is known as the method of weighted
residuals or the weak formulation. Here, it is required that the weighted average
of the residuals is identically zero over the physical domain. The residuals can be
viewed as the errors of the approximation of the solution. The weak formulation
has the same advantage as the finite volume discretisation of the conservation
l a w s - it allows the treatment of discontinuous solutions such as shocks. There-
fore, the weak formulation is preferred over the variational methodology.
The finite element method is attractive because of its integral formulation
and the use of unstructured grids, which are both preferable for flows in or
around complex geometries. The method is also particularly suitable for the
treatment of non-Newtonian fluids. The finite element method has a very rigor-
ous mathematical foundation, particularly for elliptic and parabolic problems.
Although it can be shown in certain cases that the method is mathematically
equivalent to the finite volume discretisation, the numerical effort is noticeably
higher. This may explain why the finite volume method became more popular.
However, both methods are sometimes combined - particularly on unstructured
grids. So for example, the treatment of the boundaries and the discretisation of
the viscous fluxes is usually "borrowed" from the finite element method.
40 Chapter 3. Principles of Solution of the Governing Equations
There are few other numerical schemes which are only seldom used in practice,
but which are, in certain situations, superior to the methods discussed above.
Two particular approaches should be mentioned here briefly.
Gridless M e t h o d
Another discretisation scheme, which gained recently some interest, is the so-
called Gridless Method [55]-[57]. This method employs only clouds of points
for the spatial discretisation. It does not require that the points are connected
to form a grid as in conventional structured or unstructured grid schemes. The
gridless method is based on the differential form of the governing equations,
written in the Cartesian coordinate system. Gradients of the flow variables
are determined by a least-squares reconstruction, using a specified number of
neighbours surrounding the particular point. The gridless method is neither a
finite difference nor a finite volume or a finite element approach since coordinate
transformations, face areas or volumes do not have to be computed. It can be
viewed as a mix between the finite difference and the finite element method.
The principal advantages of the gridless method are its flexibility in solving
flows about complex configurations (similar to unstructured methods), and the
possibility to locate or cluster the points (or the clouds of points) where it is ap-
propriate. For example, it would be easily possible to select only the neighbours
in the characteristic directions when computing gradients. However, there is
one unresolved problem. Although the gridless method solves the conservation
law form of the Euler or the Navier-Stokes equations, it is not clear whether
conservation of mass, momentum and energy is really ensured.
3.1. Spatial Discretisation 41
So far, we discussed only the basic choices which exist for the spatial discreti-
sation. But within each of the above three main methods - finite difference,
finite volume and finite element - various numerical schemes exist to perform
the spatial discretisation. In this context, it is convenient to differentiate be-
tween the discretisation of the convective and the viscous fluxes (Fc and Fv in
Eq. (2.19), respectively). Because of the physical nature of the viscous fluxes,
the only reasonable way is to employ central differences (central averaging) for
their discretisation. Thus, their discretisation on structured grids is straight-
forward. On unstructured triangular or tetrahedral grids, the viscous fluxes are
best approximated using the Galerkin finite element methodology, even in the
case of a finite volume scheme [58]. The situation becomes more complicated
for unstructured mixed grids, where a modified averaging of gradients is more
appropriate [59]-[63].
However, the real variety is found in the discretisation of the convective
fluxes. In order to classify the individual methodologies, we will restrict our
attention to schemes developed for the finite volume method, although most
of the concepts are also directly applicable to the finite difference or the finite
element method.
Central Schemes
To the first category we may count schemes, which are based solely on central
difference formulae or on central averaging, respectively. These are denoted as
central schemes. The principle is to average the conservative variables to the
left and to the right in order to evaluate the flux at a side of the control volume.
Since the central schemes cannot recognise and suppress an odd-even decoupling
of the solution (i.e., the generation of two independent solutions of the discre-
t i s e d equations), the so-called artificial dissipation (because of its similarity to
the viscous terms) has to be added for stabilisation. The most widely known im-
plementation is due to Jameson et al. [64]. On structured grids, it is based on a
blend of 2nd- and 4th-differences scaled by the maximum eigenvalue of the con-
42 Chapter 3. Principles of Solution of the Governing Equations
Upwind Schemes
On the other hand, there are more advanced spatial discretisation schemes,
which are constructed by considering the physical properties of the Euler equa-
tions. Because they distinguish between upstream and downstream influences
(wave propagation directions), they are termed upwind schemes. They can be
roughly divided into four main groups:
9 flux-vector splitting,
9 flux-difference splitting,
9 total variation diminishing (TVD), and
9 fluctuation-splitting schemes.
Each of these is described briefly in the following subsections.
One class of the flux-vector splitting schemes decomposes the vector of the con-
vective fluxes into two parts according to the sign of certain characteristic vari-
ables, which are in general similar to but not identical to the eigenvalues of the
convective flux Jacobian. The two parts of the flux vector are then discretised
by upwind biased differences. The very first flux-vector splitting schemes of
this type were developed in the beginning of the 1980's by Steger and Warming
[68] and by Van Leer [69], respectively. A second class of flux-vector splitting
schemes decompose the flux vector into a convective and a pressure (an acoustic)
part. This idea is utilised by schemes like AUSM (Advection Upstream Split-
ting Method) of Lion et al. [70], [71], or the CUSP scheme (Convective Upwind
Split Pressure) of Jameson [72], [73], respectively. Further similar approaches
are the Low-Diffusion Flux-Splitting Scheme (LDFSS) introduced by Edwards
[74], or the Mach number-based Advection Pressure Splitting (MAPS) scheme
of Rossow [75], [76]. The second group of flux-vector splitting schemes gained
recently larger popularity particularly because of their improved resolution of
shear layers, but only a moderate computational effort. An advantage of the
flux-vector splitting schemes is also that they can be quite easily extended to
real gas flows, as opposed to flux-difference splitting or TVD schemes. We shall
return to real gas simulations further below.
3.1. Spatial Discretisation 43
TVD Schemes
The idea of TVD schemes was first introduced by Harten [81] in 1983. The
TVD schemes are based on a concept aimed at preventing the generation of
new extrema in the flow solution. The principal conditions for a TVD scheme
are t h a t maxima must be non-increasing, minima non-decreasing, and no new
local extrema may be created. Such a scheme is called monotonicity preserving.
Thus, a discretisation methodology with TVD properties allows it to resolve a
shock wave without any spurious oscillations of the solution. The TVD schemes
are in general implemented as an average of the convective fluxes combined with
an additional dissipation term. The dissipation term can either depend on the
sign of the characteristic speeds or not. In the first case, we speak of an upwind
TVD scheme [82], in the second case of a symmetric TVD scheme [83]. The ex-
perience shows that the upwind TVD scheme should be preferred since it offers
a better shock and boundary layer resolution than the symmetric TVD scheme.
The disadvantage of the TVD schemes is that they cannot be easily extended
to higher than second-order spatial accuracy. This limitation can be overcome
using the ENO (Essentially Non-Oscillatory) discretisation schemes [84]-[89].
Fluctuation-Splitting Schemes
uals have to be decomposed into scalar waves. Since the decomposition is not
unique in 2D and in 3D, several approaches were developed in the past. The
variety reaches from the wave model of Roe [90], [91] over the algebraic scheme
of Sidilkover [92] to the most advanced characteristic decomposition method
[93]-[96]. Despite the above mentioned advantage over the dimensionally split
Riemann, TVD, etc. solvers, the fluctuation-splitting approaches are so far used
only in research codes. This can be attributed to the complexity and the high
numerical effort, as well as to convergence problems.
U p w i n d S c h e m e s for R e a l G a s F l o w s
With respect to real gas simulations, and in particular to chemically reacting
flows, several extensions of the upwind discretisation schemes were presented.
For the case of fluids in thermodynamic and chemical equilibrium, modifications
of the Van Leer flux-vector splitting [69] and of Roe's approximate Riemann
solver [79] were described in Refs. [100]-[102]. Formulations of the both upwind
methods for the more complex case of flows with non-equilibrium chemistry
and thermodynamics were provided in [103]-[108] and in the references cited
therein. In particular, the articles [102], [106] and [107], respectively, give a good
overview of the methodologies employed for the upwind discretisation schemes.
Recently, a summary of the governing equations together with Jacobian and
transformation matrices, which may be required by an upwind scheme, was
presented in Ref. [109] for the case of chemically reacting flows.
3.2. Temporal Discretisation 45
d(~MW)
= -R. (3.3)
dt
For clarity, we omitted any cell indices. In Eq. (3.3), ft denotes volume of
the control volume and R stands for the complete spatial (finite volume) dis-
cretisation including the source t e r m - the so-called residual. The residual is a
non-linear function of the conservative variables W. Finally, M represents what
is termed the mass matrix. For a cell-vertex scheme, it relates the average value
of W in the control volume to the point values at the associated interior node
and the neighbouring nodes [110], [111]. In the case of a cell-centred scheme, the
mass matrix can be substituted by an identity matrix, without compromising
the temporal accuracy of the scheme. The same holds for a cell-vertex scheme
applied on a u n i f o r m grid, since then the nodes coincide with the centroids of
the control volumes. The mass matrix is a function of the grid only and couples
the system of differential equations (3.3). For steady-state cases, where time
accuracy is not a concern, the mass matrix can be "lumped", i.e., replaced by
the identity matrix. In this way, the expensive inversion of M can be avoided
and the system (3.3) is decoupled. In this respect, it is important to realise that
at the steady-state, the solution accuracy is determined solely by the approxi-
mation order of the residual. Thus, the mass matrix becomes important only
for cell-vertex schemes applied to unsteady flows.
If we assume a static grid, we may take the volume ft and the mass matrix
outside the time derivative. Then, we can approximate the time derivative by
the following non-linear scheme [43]
with
(3.5)
being the solution correction. The superscripts n and (n + 1) denote the time
levels (n means the current one). Furthermore, At represents the time step.
46 Chapter 3. Principles of Solution of the Governing Equations
in each control volume with the maximum allowable time step. As a result,
the convergence to the steady state is considerably accelerated. However, the
transient solutions are no longer temporally accurate. Another approach is the
so-called characteristic time-stepping. Here, not only locally varying time steps
are used, but also each equation (continuity, momentum and energy equation) is
integrated with its own time step. The potential of this concept was presented
for 2-D Euler equations in Ref. [116]. A further acceleration technique, which is
similar to the characteristic time-stepping is Jacobi preconditioning [117]-[119].
It is basically a point-implicit Jacobi relaxation, which is carried out at each
stage of a Runge-Kutta scheme. Jacobi preconditioning can be seen as a time-
stepping in which all wave components (eigenvalues of the flux Jacobian) are
scaled to have the same effective speed. It also adds an implicit component to
the basic explicit scheme.
Another very popular acceleration method is aimed at increasing the maxi-
mum possible time step by introducing a certain amount of implicitness in the
explicit scheme. It is termed implicit residual smoothing or residual averaging
[120], [121]. On a structured grid, the method requires the solution of a tridiag-
onal matrix for each conservative variable. In the case of unstructured grids, the
matrix is usually inverted by means of Jacobi iteration. The standard implicit
residual smoothing allows an increase of the time step by a factor of 2-3. Several
other implicit residual smoothing techniques were developed. For example the
upwind implicit residual smoothing methodology [122], which was designed to be
employed together with an upwind spatial discretisation. In comparison to the
standard technique, it allows for significantly larger time steps and it also im-
proves the robustness of the time-stepping process [123]. One further method is
the implicit-explicit residual smoothing [124], [125], which is intended to improve
the damping properties of the time discretisation at larger time steps.
The last and probably the most important convergence acceleration tech-
nique, which should be mentioned here, is the multigrid method. It was devel-
oped in the 1960's in Russia by Fedorenko [126] and Bakhvalov [127]. They
applied multigrid for the solution of elliptic boundary-value problems. The
methodology was further advanced and promoted by Brandt [128], [129]. The
idea of multigrid is based on the observation that iterative schemes usually elim-
inate high-frequency errors in the solution (i.e., oscillations between the control
volumes) very effectively. On the other hand, they perform quite poor in re-
ducing low-frequency (i.e., global) solution errors. Therefore, after advancing
the solution on a given grid, it is transferred to a coarser grid, where the low-
frequency errors become partly high-frequency ones and where they are again
effectively damped by an iterative solver. The procedure is repeated recursively
on a sequence of progressively coarser grids, where each multigrid level helps
to annihilate a certain bandwidth of error frequencies. After the coarsest grid
is reached, the solution corrections are successively collected and interpolated
back to the initial fine grid, where the solution is then updated. This com-
plete multigrid cycle is repeated until the solution changes less than a given
threshold. In order to accelerate the convergence even further, it is possible
to start the multigrid process on a coarse grid, carry out a number of cycles
48 Chapter 3. Principles of Solution of the Governing Equations
0 CL 0.40
CL
...~-
/
i .s
0.35
-1 /I. /
/
Explicit multi-stage scheme: 0.30
I| I~I //
R 'tl ,~ II II /"
-2 ~'~ I/I/ll t single grid
~-~1 v II ill !l ill,///(i I "~ multigrid (5 levels)
0.25
I*l I I
I ~ll-- '~. o~
ii o, \ ~*~. 0.20
.
/I "~l II
-4 I? II %"l,~ viA.., ,~
%, 0%
"" ,*X^
.
0.15
"el
0.1o
-5
, , i i l I i I , I , , , , I , , , , I , , , A I a i I
Iterations
and then to transfer the solution to a finer grid, where the multigrid cycles are
performed again. The procedure is then successively repeated until the finest
grid is reached. This methodology is known as Full Multigrid (FMG) [129].
As already mentioned, the multigrid method was originally developed for
the solution of elliptic boundary-value problems (Poisson equation), where it is
very efficient. Jameson first proposed to employ multigrid also for the solution
of the Euler equations [120], [130]. The approach was based on the so-called
Full Approximation Storage (FAS) scheme [129], where multigrid is directly
applied to the non-linear governing equations. Nowadays, multigrid represents a
standard acceleration technique for the solution of the Navier-Stokes equations.
Examples of implementations can be found in Refs. [131]-[136] for structured
grids, and in Refs. [137]-[146] for unstructured grids. Although not as fast
as in the case of elliptic differential equations, it was often demonstrated that
multigrid can accelerate the solution of the Euler or the Navier-Stokes equations
by a factor between 5 and 10. An example for transonic flow is shown in Fig.
3.7. Recent research also revealed that faster convergence can be achieved if
the governing equations are decomposed into hyperbolic and elliptic parts [147].
We shall return to the multigrid methodology again in Section 9.4.
3.2. Temporal Discretisation 49
+ A w - 9 (a.s)
The term OR/OW is denoted as the flux Jacobian. It constitutes a large sparse
matrix. The expression enclosed in parenthesis on the left-hand side of Eq.
(3.8) is also referred to as the implicit operator. As already discussed above,
the mass matrix hT/can be replaced by the identity matrix, without influencing
the steady state solution. The parameter/3 in Eq. (3.8) is generally set to 1,
which results in a 1st-order accurate temporal discretisation. A 2nd-order time
accurate scheme is obtained for/3 = 1/2. However, this is not advised since the
scheme with/3 = 1 is much more robust, and the time accuracy plays no role
for steady problems anyway.
The principal advantage of implicit schemes as compared to explicit ones is
that significantly larger time steps can be used, without hampering the stability
of the time integration process. In fact, for At ~ cc the scheme (3.8) trans-
forms into standard Newton's method, which exhibits quadratic convergence.
However, the condition for quadratic convergence is that the flux Jacobian con-
tains the complete linearisation of the residual. Another important advantage
of implicit schemes is their superior robustness and convergence speed in the
case of stiff equation systems and/or source terms, which are often encountered
in real gas simulations, turbulence modelling, or in the case of highly stretched
grids (high Reynolds number flows). On the other hand, the faster (in terms of
time steps or iterations) and the more robust an implicit scheme is, the higher
is usually the computational effort per time step or iteration. Therefore, an
explicit scheme accelerated by multigrid can be equally or even more efficient.
Furthermore, implicit schemes are significantly more difficult to vectorise or to
parallelise than their explicit counterparts.
Written down for each control volume, the implicit scheme in Eq. (3.8) rep-
resents a large system of linear equations, which has to be solved for the update
A W n at each time step At. This task can be accomplished using either a direct
or an iterative method.
The direct methods are based on the exact inversion of the left-hand side
of Eq. (3.8) using either the Gaussian elimination or some direct sparse ma-
trix method [151], [152]. Although quadratic convergence was demonstrated
50 Chapter 3. Principles of Solution of the Governing Equations
JAW n - -R n , (3.9)
then J represents a large, sparse, and non-symmetric matrix (the left-hand side).
Starting from an initial guess AW0, the GMRES(m) method seeks a solution
A W n in the form A W n = A W ~ + ~Tm, where ~Tm belongs to the Krylov subspace
such that the residual IIJ A W n +/~11 becomes a minimum. The parameter m
specifies the dimension of the Krylov subspace, or in other words the number
of search directions (]i r'0). Since all directions have to be stored, m is usu-
ally chosen between 10 and 40, the higher number being necessary for poorly
conditioned matrices (which arise in the simulation of turbulent flows, real gas,
etc.). GMRES has to be restarted, if no convergence is achieved within m sub-
iterations. The GMRES method requires significantly more memory than, e.g.,
Bi-CGSTAB or TFQMR, but it is more robust, smoothly converging and usu-
ally also faster. A very detailed comparison of the various methodologies can
be found in Ref. [190].
Nevertheless, as with other conjugate gradient methods, preconditioning is
absolutely essential for CFD problems. Here, we solve
(/hLJ) A I ~ n -- --PL/~n , or J PR (/ff)R xA~rn) -- _/~n (3.11)
instead of the system in Eq. (3.9). The matrices /hL and /hR denote left and
right preconditioners, respectively. The preconditioner should approximate J - 1
as close as possible, in order to cluster the eigenvalues near unity. On the
other hand, it should be of course easy to invert. One particularly efficient
preconditioner is the Incomplete Lower Upper factorisation method [191] with
zero fill-in (ILU(0)). For the discussion of different preconditioning techniques
in connection with GMRES the reader is referred to [97], [192]-[195].
Since the GMRES method requires a considerable amount of computer mem-
ory for storing the search directions and possibly also the preconditioning ma-
trix, it is a good idea to circumvent an explicit formation and storage of the flux
52 Chapter 3. Principles of Solution of the Governing Equations
OR A ~ n
OW
which can be simply approximated by finite-differences as
=R
Tij = --p--"v i"'~"
vj , (3.13)
where vi" , vj" denote the density-weighted fluctuating parts of the velocity com-
ponents u, v, w; - a n d ~ stand for ensemble and density weighted averaging,
respectively. The Reynolds-stress tensor represents the transport of mean mo-
mentum due to turbulent fluctuations. Furthermore, the diffusive heat flux k V T
in the energy equation (cf. Eq. (2.8)) is enhanced by the so-called turbulent heat-
flux vector [43]
fiT _ _ ~ ht~-~,,. (3.14)
Thus, we can see that the solution of the Reynolds-averaged Navier-Stokes equa-
tions requires the modelling of the Reynolds stresses (3.13) and of the turbulent
heat flux (3.14). The advantages of this approach are that considerably coarser
grids can be used as compared to LES, and that stationary mean solution can
be assumed (at least for attached or moderately separated flows). Clearly, both
features significantly reduce the computational effort in comparison to LES or
even DNS. Therefore, the RANS approach is very popular in engineering appli-
cations. Of course, because of the averaging procedure, no detailed information
can be obtained about the turbulent structures.
A large variety of turbulence models was devised to close the RANS equa-
tions and the research still continues. The models can be divided into first- and
second-order closures, respectively.
The most complex, but also the most flexible, are second-order closure mod-
els. The Reynolds-Stress Transport (RST) model, which was first proposed by
Rotta [217], solves modelled transport equations for the Reynolds-stress tensor.
The partial differential equations for the six stress components have to be closed
by one additional relation. Usually, an equation for the turbulent dissipation
rate is employed. The RST models are able to account for strong nonlocal and
history effects. Furthermore, they are able to capture the influence of streamline
curvature or system rotation on the turbulent flow.
Closely related to the RST approach are the Algebraic Reynolds-Stress (ARS)
models. They can be viewed as a combination of lower level models and the
RST approach. The ARS models employ only two transport equations, mostly
for the turbulent kinetic energy and the dissipation rate. The components of
the Reynolds-stress tensor are related to the transport quantities by non-linear
algebraic equations [218]. The ARS approach is capable of predicting rotational
turbulent flows and secondary flows in channels with accuracy similar to the
RST models. Detailed overviews of the RST and ARS models can be found in
[219], [220].
Because of numerical problems with the RST and ARS models, which are
primarily caused by the stiffness of the RST and the non-linearity of the ARS
equations, first-order closures are more widely used in practice. In these mod-
els, the Reynolds stresses are expressed by means of a single scalar value, the
so-called turbulent eddy viscosity. This approach is based on the eddy viscosity
3.3. Turbulence Modelling 55
u = v= w = 0 at the surface.
The treatment of wails becomes more involved in cases, where, e.g., a specified
wall temperature distribution has to be met, or when the heat radiation has to
be taken into account (see, e.g., [242], [243]).
Furthermore, boundary conditions have to be defined for surfaces where
different fluids (e.g., air and water) meet together [244]-[247]. But apart from
the physical boundary conditions and those imposed by truncating the flow
domain, there can be boundaries generated by the numerical solution method
itself. These are for example coordinate cuts and block or zonal boundaries
[20]-[26].
The correct implementation of boundary condition is the crucial point of
every flow solver. Not only the accuracy of the solution depends strongly on
a proper physical and numerical treatment of the boundaries, but also the ro-
bustness and the convergence speed are considerably influenced. More details
of various important boundary conditions are presented in Chapter 8.
58 Chapter 3. Principles of Solution of the Governing Equations
Bibliography
[1] Frymier, P.D.; Hassan, H.A.; Salas, M.D.: Navier-Stokes Calculations
Using Cartesian Grids: I Laminar Flows. AIAA Journal, 26 (1988), pp.
1181-1188.
[2] De Zeeuw, D.; Powell, K.G.: An Adaptively Refined Cartesian Mesh Solver
for the Euler Equations. J. Computational Physics, 104 (1993), pp. 56-68.
[3] Coirier, W.J.; Powell, K.G.: An Accuracy Assessment of Cartesian-
Mesh Approaches for the Euler Equations. J. Computational Physics, 117
(1995), pp. 121-131.
[4] Richtmyer, R.D.; Morton, K.W.: Difference Methods for Initial Value
Problems. Wiley-Interscience, 2nd edition, London, 1967.
[5] Volpe, G.: Performance of Compressible Flow Codes at Low Mach number.
AIAA Journal, 31 (1993), pp. 49-56.
[6] Harlow, F.H.; Welch, J.E.: Numerical Calculation of Time-Dependent
Viscous Incompressible Flow with Free Surface. Physics of Fluids, 8 (1965),
pp. 2182-2189.
[7] Patankar, S.V.: Numerical Heat Transfer and Fluid Flow. McGraw-Hill,
New York, 1980.
[8] Ho, Y.-H.; Lakshminarayana, B.: Computation of Unsteady Viscous Flow
Using a Pressure-Based Algorithm. AIAA Journal, 31 (1993), pp. 2232-
2240.
[9] Chorin, A.J.: A Numerical Method for Solving Incompressible Viscous
Flow Problems. J. Computational Physics, 2 (1967), pp. 12-26.
[10] Turkel, E.: Preconditioned Methods for Solving the Incompressible and
Low Speed Compressible Equations. J. Computational Physics, 72 (1987),
pp. 277-298.
[11] Van Leer, B.; Lee, W.T.; Roe, P.L.: Characteristic Time-Stepping or Local
Preconditioning of the Euler Equations. AIAA Paper 91-1552, 1991.
[12] Choi, Y.H.; Merkle, C.L.: The Application of Preconditioning in Viscous
Flows. J. Computational Physics, 105 (1993), pp. 207-233.
[13] Turkel, E.: Review of Preconditioning Methods for Fluid Dynamics. Ap-
plied Numerical Mathematics, 12 (1993), pp. 257-284.
[14] Weiss, J.; Smith W.A.: Preconditioning Applied to Variable and Constant
Density Flows. AIAA Journal, 33 (1995), pp. 2050-2057.
[15] Lee, D.: Local Preconditioning of the Euler and Navier-Stokes Equations.
PhD Thesis, University of Michigan, 1996.
Bibliography 59
[16] Jespersen, D.; Pulliam, T.; Buning, P.: Recent Enhancements to OVER-
FLOW. AIAA Paper 97-0644, 1997.
[17] Merkle, C.L.; Sullivan, J.Y.; Buelow, P.E.O.; Venkateswaran, S.:
Com-
putation of Flows with Arbitrary Equations of State. AIAA Journal, 36
(1998), pp. 515-521.
[is] Sharov, D.; Nakahashi, K.: Low Speed Preconditioning and L U-SGS
Scheme for 3-D Viscous Flow Computations on Unstructured Grids. AIAA
Paper 98-0614, 1998.
[19] Mulas, M.; Chibbaro, S.; Delussu, G.; Di Piazza, I.; Talice, M.: Efficient
Parallel Computations of Flows of Arbitrary Fluids for All Regimes of
Reynolds, Mach and Grashof Numbers. Int. J. Num. Meth. for Heat &
Fluid Flow, 12 (2002), pp. 637-657.
[20] Lee, K.D.; Rubbert, P.E.: Transonic Flow Computations Using Grid Sys-
tems with Block Structure. Lecture Notes in Physics, 141 (1981), Springer
Verlag, pp. 266-271.
[21] Rossow, C.-C.:Efficient Computation of Inviscid Flow Fields Around
Complex Configurations Using a Multiblock Multigrid Method. Comm. in
Appl. Num. Methods, 8 (1992), pp. 735-747.
[22] Kuerten, H.; Geurts, B.: Compressible Turbulent Flow Simulation with a
Multigrid Multiblock Method. Proc. 6th Copper Mountain Conf. on Multi-
grid Methods, 1993.
[23] Rizzi, A.; et al."
The Engineering of Multiblock/Multigrid Software for
Navier Stokes Flows on Structured Meshes. Computers & Fluids, 22
(1993), pp. 341-367.
[24] Enander, R.; Sterner, E.: Analysis of Internal Boundary Conditions and
Communication Strategies for Multigrid Multiblock Methods. Dept. of Sci-
entific Computing, Uppsala University, Sweden, Report No. 191, 1997.
[25] Rai, M.M.: A Conservative Treatment of Zonal Boundaries for Euler
Equations Calculations. J. Computational Physics, 62 (1986), pp. 472-
503.
[26] Kassies, A.; Tognaccini, R.: Boundary Conditions for Euler Equations
at Internal Block Faces of Multi-Block Domains Using Local Grid Refine-
ment. AIAA Paper 90-1590, 1990.
[27] Benek, J.A.; Buning, P.G.; Steger, J.L.: A 3-D Chimera Grid Embedding
Technique. AIAA Paper 85-1523, 1985.
[28] Buning, P.G.; Chu, I.T.; Obayashi, S.; Rizk, Y.M.; Steger, J.L.: Numerical
Simulation of the Integrated Space Shuttle Vehicle in Ascent. AIAA Paper
88-4359, 1988.
60 Chapter 3. Principles of Solution of the Governing Equations
[29] Chesshire, G.; Henshaw, W.D.: Composite Overlapping Meshes for the
Solution of Partial Differential Equations. J. Computational Physics, 90
(1990), pp. 1-64.
[30] Pearce, D.G.; et al.: Development of a Large Scale Chimera Grid System
for the Space Shuttle Launch Vehicle. AIAA Paper 93-0533, 1993.
[37] Peace, A.J.; Shaw, J.: The Modelling of Aerodynamic Flows by Solution
of the Euler Equations on Mixed Polyhedral Grids. Int. J. Num. Meth.
Eng., 35 (1992), pp. 2003-2029.
[39] McMorris, H.; Kallinderis, Y.: Octree-Advancing Front Method for Gen-
eration of Unstructured Surface and Volume Meshes. AIAA Journal, 35
(1997), pp. 976-984.
[40] Peraire, J.; Morgan, K.: Unstructured Mesh Generation for 3-D Viscous
Flow. AIAA Paper 98-3010, 1998.
[41] Marcum, D.L.; Gaither, J.A.: Mixed Element Type Unstructured Grid
Generation for Viscous Flow Applications. AIAA Paper 99-3252, 1999.
[42] Mavriplis, D.J.: Unstructured Grid Techniques. Annu. Rev. Fluid. Mech.,
29 (1997), pp. 473-514.
Bibliography 61
[43] Hirsch, C.: Numerical Computation of Internal and External Flows. Vols.
1 and 2, John Wiley and Sons, 1988.
[44] McDonald, P.W.: The Computation of Transonic Flow through Two-
Dimensional Gas Turbine Cascades. ASME Paper 71-GT-89, 1971.
[45] Turner, M.J.; Clough, R.W.; Martin, H.C.; Topp, L.P.: Stiffness and de-
flection analysis of complex structures. J. Aeronautical Society, 23 (1956),
p. 805.
[46] Zienkiewicz, O.C.; Taylor, R.L.: The Finite Element Method. 4th edition,
McGraw-Hill, Maidenhead, 1991.
[47] Pironneau, O.: Finite Element Methods for Fluids. John Wiley, Chich-
ester, 1989.
[4s] Hassan, O.; Probert, E.J.; Morgan, K.; Peraire, J.: Adaptive Finite El-
ement Methods for Transient Compressible Flow Problems. In Brebbia,
C.A. and Aliabadi, M.H., editors, Adaptive Finite and Boundary Element
Methods, Elsevier Applied Science, London, 1993, pp. 119-160.
[50] Patera, A.T.: A Spectral Element Method for Fluid Dynamics; Laminar
Flow in a Channel Expansion. J. Computational Physics, 54 (1984), pp.
468-488.
[51] Maday, Y.; Patera, A.T.: Spectral Element Methods/or the Incompress-
ible Navier-Stokes Equations. ASME, State of the art surveys on Compu-
tational Mechanics, 1987, pp. 71-143.
[53] Henderson, R.D.; Meiron, D.I.: Dynamic Refinement Algorithms for Spec-
tral Element Methods. AIAA Paper 97-1855, 1997.
[54] Canuto, C.; Hussaini, M.Y.; Quarteroni, A.; Zang, T.A.: Spectral Methods
in Fluid Dynamics. Springer Verlag, Berlin, 1987.
[56] Shih, S.-C.; Lin, S.-Y.: A Weighting Least Squares Method for Euler and
Navier-Stokes Equations. AIAA Paper 94-0522, 1994.
[57] Series on gridless methods: Comput. Meth. in Applied Mech. and Eng.,
139 (1996), pp. 1-440; also 193 (2004), pp. 933-1321.
62 Chapter 3. Principles of Solution of the Governing Equations
[72] Jameson, A.: Positive Schemes and Shock Modelling for Compressible
Flow. Int. J. Numerical Methods in Fluids, 20 (1995), pp. 743-776.
[73] Tatsumi, S.; Martinelli, L.; Jameson, A.: A New High Resolution Scheme
for Compressible Viscous Flow with Shocks. AIAA Paper 95-0466, 1995.
[74] Edwards, J.R.: A Low-Diffusion Flux-Splitting Scheme for Navier-Stokes
Calculations. Computers & Fluids, 26 (1997), pp. 653-659.
[75] Rossow, C.-C.: A Simple Flux Splitting Scheme for Compressible Flows.
Proc. l l t h DGLR-Fach-Symposium, Berlin, Germany, November 10-12,
1998.
[76] Rossow, C.-C.: A Flux Splitting Scheme for Compressible and Incompress-
ible Flows. AIAA Paper 99-3346, 1999.
[77] Godunov, S.K.: A Difference Scheme for Numerical Computation Discon-
tinuous Solution of Hydrodynamic Equations. Math. Sbornik (in Russian),
47 (1959), pp. 271-306; translated US Joint Publ. Res. Service, JPRS 7226,
1969.
[78] Osher, S.; Solomon, F.: Upwind Difference Schemes for Hyperbolic Sys-
tems of Conservation Laws. Math. Comp., 38 (1982), pp. 339-374.
[79] Roe, P.L.: Approximate Riemann Solvers, Parameter Vectors, and Dif-
ference Schemes. J. Computational Physics, 43 (1981), pp. 357-372.
[80] Barth, T.J.; Jespersen, D.C.: The Design and Application of Upwind
Schemes on Unstructured Meshes. AIAA Paper 89-0366, 1989.
[81] Harten, A.: High Resolution Schemes for Hyperbolic Conservation Laws.
J. Computational Physics, 49 (1983), pp. 357-393.
[82] Yee, H.C.; Harten, A.: Implicit TVD Schemes for Hyperbolic Conser-
ration Laws in Curvilinear Coordinates. AIAA Journal, 25 (1987), pp.
266-274.
[83] Yee, H.C.: Construction of Implicit and Explicit Symmetric TVD Schemes
and Their Applications. J. Computational Physics, 68 (1987), pp. 151-179.
[84] Harten, A.; Engquist, B.; Osher, S.; Chakravarthy, S.: Uniformly High Or-
der Accurate Essentially Non-Oscillatory Schemes III. J. Computational
Physics, 71 (1987), pp. 231-303; also ICASE Report No. 86-22, 1986.
[85] Casper, J.; Atkins, H.L.: A Finite-Volume High-Order ENO Scheme
for Two-Dimensional Hyperbolic Systems. J. Computational Physics, 106
(1993), pp. 62-76.
[86] Godfrey, A.G.; Mitchell, C.R.; Walters, R.W.: Practical Aspects of Spa-
tially High-Order Accurate Methods. AIAA Journal, 31 (1993), pp. 1634-
1642.
64 Chapter 3. Principles of Solution of the Governing Equations
[87] Abgrall, R.; Lafon, F.C.: ENO Schemes on Unstructured Meshes. VKI
Lecture Series 1993-04, 1993.
[90] Roe, P.L.: Discrete Models for the Numerical Analysis of Time-Dependent
Multidimensional Gas Dynamics. J. Computational Physics, 63 (1986),
pp. 458-476.
[91] Powell, K.G.; van Leer, B.; Roe, P.L.: Towards a Genuinely Multi-
Dimensional Upwind Scheme. VKI Lecture Series 1990-03, 1990.
[93] Struijs, R.; Roe, P.L.; Deconinck, H.: Fluctuation Splitting Schemes for
the 2D Euler Equations. VKI Lecture Series 1991-01, 1991.
[94] Paill~re, H.; Deconinck, H.; Roe, P.L.: Conservative Upwind Residual-
Distribution Schemes Based on the Steady Characteristics of the Euler
Equations. AIAA Paper 95-1700, 1995.
[95] Issman, E.; Degrez, G.; Deconinck, H.: Implicit Upwind Residual-
Distribution Euler and Navier-Stokes Solver on Unstructured Meshes.
AIAA Journal, 34 (1996), pp. 2021-2028.
[96] Van der Weide, E.; Deconinck, H.: Compact Residual-Distribution Scheme
Applied to Viscous Flow Simulations. VKI Lecture Series 1998-03, 1998.
[100] Vinokur, M.: Flux gacobian Matrices and Generalized Roe Average for an
Equilibrium Real Gas. NASA CR-177512, 1988.
Bibliography 65
[101] Vinokur, M.; Liu, Y.: Equilibrium Gas Flow Computations: II. An Ana-
lysis of Numerical Formulations of Conservation Laws. AIAA Paper 88-
0127, 1988.
[104] Molvik, G.A.; Merkle, C.L.: A Set of Strongly Coupled, Upwind Algo-
rithms for Computing Flows in Chemical Nonequilibrium. AIAA Paper
89-0199, 1989.
[105] Liu, Y.; Vinokur, M.: Upwind Algorithms for General Thermo-Chemical
Nonequilibrium Flows. AIAA Paper 89-0201, 1989.
[106] Grossman, B.; Cinnella, P.: Flux-Split Algorithms for Flows with Non-
equilibrium Chemistry and Vibrational Relaxation. J. Computational
Physics, 88 (1990), pp. 131-168.
[107] Shuen, J.-S.; Liou, M.-S.; Van Leer, B.: Inviscid Flux-Splitting Algo-
rithms for Real Gases with Non-equilibrium Chemistry. J. Computational
Physics, 90 ~1990) , pp. 371-395
[109] Yu, S.-T.; Chang, S.-C.; Jorgenson, P.C.E.; Park, S.-J.; Lai, M.-C.: Basic
Equations of Chemically Reactive Flow for Computational Fluid Dynam-
ics. AIAA Paper 98-1051, 1998.
[111] Venkatakrishnan, V.; Mavriplis, D.J.: Implicit Method for the Computa-
tion of Unsteady Flows on Unstructured Grids. J. Computational Physics,
127 (1996), pp. 380-397.
[112] Van Leer, B.; Tai, C.H.; Powell, K.G.: Design of Optimally Smoothing
Multi-Stage Schemes for the Euler Equations. AIAA Paper 89-1933, 1989.
[113] Chang, H.T.; Jiann, H.S.; van Leer, B.: Optimal Multistage Schemes for
Euler Equations with Residual Smoothing. AIAA Journal, 33 (1995), pp.
1008-1016.
66 Chapter 3. Principles of Solution of the Governing Equations
[140] Crumpton, P.I.; Giles, M.B.: Aircraft Computations Using Multigrid and
an Unstructured Parallel Library. AIAA Paper 95-0210, 1995.
[159] Beam, R.; Warming, R.F.: An Implicit Factored Scheme for the Com-
pressible Navier-Stokes Equations. AIAA Journal, 16 (1978), pp. 393-402.
[161] Rosenfeld, M.; Yassour, Y.: The Alternating Direction Multi-Zone Implicit
Method. J. Computational Physics, 110 (1994), pp. 212-220.
[162] Golub, G.H.; Van Loan, C.F.: Matrix Computations. The Johns Hopkins
University Press, Baltimore, Maryland, 1983.
[165] Thomas, J.L.; Wakers, R.W.: Upwind Relaxation Algorithms for the
Navier-Stokes Equations. AIAA Journal, 25 (1987), pp. 527-534.
[167] Yoon, S.; Jameson, A.: Lower-Upper Implicit Schemes with Multiple Grids
for the Euler Equations. AIAA Paper 86-0105; also AIAA Journal, 7
(1987), pp. 929-935.
[168] Yoon, S.; Jameson, A.: An L U-SSOR Scheme for the Euler and Navier-
Stokes Equations. AIAA Paper 87-0600; also AIAA Journal, 26 (1988),
pp. 1025-1026.
[171] Blazek, J.: Investigations of the Implicit LU-SSOR Scheme. DLR Re-
search Report, No. 93-51, 1993.
70 Chapter 3. Principles of Solution of the Governing Equations
[172] Fezoui, L.; Stouffiet, B.: A Class of Implicit Upwind Schemes for Eu-
ler Simulations with Unstructured Meshes. J. Computational Physics, 84
(1989), pp. 174-206.
[173] Karman, S.L.: Development of a 3D Unstructured CFD Method. PhD
thesis, The University of Texas at Arlington, 1991.
[174] Batina, J.T.: Implicit Upwind Solution Algorithms for Three-Dimensional
Unstructured Meshes. AIAA Journal, 31 (1993), pp. 801-805.
[175] Slack, D.C.; Whitaker, D.L.; Walters, R.W.: Time Integration Algorithms
for the Two-Dimensional Euler Equations on Unstructured Meshes. AIAA
Journal, 32 (1994), pp. 1158-1166.
[176] Anderson, W.K.: A Grid Generation and Flow Solution Method for the
Euler Equations on Unstructured Grids. J. Computational Physics, 110
(1994), pp. 23-38.
[ 77] Anderson, W.K.; Bonhaus, D.L.:An Implicit Upwind Algorithm for Com-
puting Turbulent Flows on Unstructured Grids. Computers & Fluids, 23
(1994), pp. 1-21.
[178] Anderson, W.K.; Rausch, R.D.; Bonhaus, D.L.: Implicit / Multigrid Al-
gorithms for Incompressible Turbulent Flows on Unstructured Grids. J.
Computational Physics, 128 (1996), pp. 391-408; also AIAA Paper 95-
1740, 1995.
[179] Tomaro, R.F.; Strang, W.Z.; Sankar, L.N.: An Implicit Algorithm for
Solving Time Dependent Flows on Unstructured Grids. AIAA Paper 97-
0333, 1997.
[180] Kano, S.; Nakahashi, K.: Navier-Stokes Computations of HSCT Off-
Design Aerodynamics Using Unstructured Hybrid Grids. AIAA Paper 98-
0232, 1998.
[181] Hassan, O.; Morgan, K.; Peraire, J.: An Adaptive Implicit / Explicit
Finite Element Scheme for Compressible High Speed Flows. AIAA Paper
89-0363, 1989.
[182] Hassan, O.; Morgan, K.; Peraire, J.: An Implicit Finite Element Method
for High Speed Flows. AIAA Paper 90-0402, 1990.
[185] Hestenes, M.R.; Stiefel, E.L.: Methods of Conjugate Gradients for Solving
Linear Systems. J. Res. Nat. Bur. Stand., 49 (1952), p. 409.
Bibliography 71
[186] Sonneveld, P.: CGS, A Fast Lanczos-Type Solver for Nonsymmetric Lin-
ear Systems. SIAM J. Scientific Statistics and Computing, 10 (1989), pp.
36-52.
[187] Van der Vorst, H.A.: BiCGSTAB: A Fast and Smoothly Converging Vari-
ant of Bi-CG for the Solution of Nonsymmetric Linear Systems. SIAM J.
Scientific and Statistical Computing, 13 (1992), pp. 631-644.
[189] Saad, Y.; Schulz, M.H.: GMRES: A Generalized Minimum Residual Algo-
rithm for Solving Nonsymmetric Linear Systems. SIAM J. Scientific and
Statistical Computing, 7 (1986), pp. 856-869.
[191] Meijerink, J.A.; Van der Vorst, H.A.: Guidelines for Usage of Incom-
plete Decompositions in Solving Sets of Linear Equations as they occur in
Practical Problems. J. Computational Physics, 44 (1981), pp. 134-155.
[192] Wigton, L.B.; Yu, N.J.; Young D.P.: GMRES Acceleration of Computa-
tional Fluid Dynamics Codes. AIAA Paper 85-1494, 1985.
[195] Ajmani, K.; Ng, W.-F.; Liou, M.-S.: Preconditioned Conjugate Gradient
Methods for Low Speed Flow Calculations. AIAA Paper, 93-0881, 1993.
[196] Dennis, J.E.; Schnabel, R.B.: Numerical Methods for Unconstrained Op-
timization and Nonlinear Equations. Prentice-Hall, Englewood Cliffs, N J,
1983.
[197] Brown, P.N.; Saad, Y.: Hybrid Krylov Methods for Nonlinear Systems of
Equations. SIAM J. Scientific and Statistical Computing, 11 (1990), pp.
450-481.
[198] Nielsen, E.J.; Anderson, W.K.; Waiters, R.W.; Keyes, D.E.: Application
of Newton-Krylov Methodology to a Three-Dimensional Unstructured Eu-
let Code. AIAA Paper 95-1733, 1995.
72 Chapter 3. Principles of Solution of the Governing Equations
[215] Favre, A.: Equations des gaz turbulents compressibles, part 2: mdthode
des vitesses moyennes; mdthode des vitesses moyennes ponddrdes par la
masse volumique. Journal de M~canique, 4 (1965), pp. 391-421.
[220] Hallbgck, M.; Henningson, D.S.; Johansson, A.V.; Alfredsson, P.H. (eds.):
Turbulence and Transition Modelling. ERCOFTAC Series, Vol. 2, Kluwer
Academic Publishers, Dordrecht, The Netherlands, 1996.
[221] Boussinesq, J.: Essai sur la thdorie des eaux courantes. Mem. Pres. Acad.
Sci., XXIII, 46, Paris, 1877.
[222] Boussinesq, J.: Theorie de l' dcoulement tourbillonant et tumulteur des
liquides dans les lits rectiligues. Comptes Rendus de 1' Acad. des Sciences,
CXXII (1896), p. 1293.
[223] Spalart, P.; Shur, M.: On the Sensitization of Turbulence Models to Ro-
tation and Curvature. Aerospace Science and Technology, 5 (1997), pp.
297-302.
[224] Shur, M.; Strelets, M.; Travin, A.; Spalart, P.: Turbulence Modeling in
Rotating and Curved Channels: Assessment of the Spalart-Shur Correc-
tion Term. AIAA Paper 98-0325, 1998.
[225] Shih, T.H.; Zhu, J.; Liou, W.W.; Chen, K.-H.; Liu, N.-S.; Lumley, J.:
Modeling of Turbulent Swirling Flows. Proc. 11th Symposium on Turbu-
lent Shear Flows, Grenoble, France, 1997; also NASA TM-113112, 1997.
[226] Chen, K.-H.; Liu, N.-S.: Evaluation of a Non-Linear Turbulence Model
Using Mixed Volume Unstructured Grids. AIAA Paper 98-0233, 1998.
[227] Abdel Gawad, A.F.; Abdel Latif, O.E.; Ragab, S.A.; Shabaka, I.M.: Tur-
bulent Flow and Heat Transfer in Rotating Non-Circular Ducts with Non-
linear k-e Model. AIAA Paper 98-0326, 1998.
[228] Baldwin, B.S.; Lomax, H.J.: Thin Layer Approximation and Algebraic
Model for Separated Turbulent Flow. AIAA Paper 78-257, 1978.
[229] Spalart, P.; Allmaras, S.: A One-Equation Turbulence Model for Aerody-
namic Flows. AIAA Paper 92-0439, 1992.
74 Chapter 3. Principles of Solution of the Governing Equations
[231] Wilcox, D.C.: Reassessment of the Scale Determining Equation for Ad-
vanced Turbulence Models. AIAA Journal 26 (1988), pp. 1299-1310.
[232] Bardina, J.E.; Huang, P.G.; Coakley, T.J.: Turbulence Modeling Valida-
tion, Testing, and Development. NASA TM-110446, 1997.
[235] Thomas, J.L.; Salas, M.D.: Far Field Boundary Conditions for Transonic
Lifting Solutions to the Euler Equations. AIAA Journal, 24 (1986), pp.
1074-1080.
[236] Usab, W.J.; Murman, E.M.: Embedded Mesh Solution of the Euler Equa-
tions Using a Multiple-Grid Method. AIAA Paper 83-1946, 1983.
[239] Verhoff, A.: Modeling of Computational and Solid Surface Boundary Con-
ditions for Fluid Dynamics Calculations. AIAA Paper 85-1496, 1985.
[240] Hirsch, C.; Verhoff, A.: Far Field Numerical Boundary Conditions for
Internal and Cascade Flow Computations. AIAA Paper 89-1943, 1989.
[241] Giles, M.B.: Non-reflecting Boundary Conditions for Euler Equation Cal-
culations. AIAA Paper 89-1942, 1989.
[242] Tan, Z.; Wang, D.M.; Srininvasan, K.; Pzekwas, A.; Sun, R.: Numerical
Simulation of Coupled Radiation and Convection from Complex Geome-
tries. AIAA Paper 98-2677, 1998.
[243] Agarwal, R.K.; Schulte, P.: A New Computational Algorithm for the So-
lution of Radiation Heat Transfer Problems. AIAA Paper 98-2836, 1998.
[244] Hino, T.: An Unstructured Grid Method for Incompressible Viscous Flows
with a Free Surface. AIAA Paper 97-0862, 1997.
[245] LShner, R.; Yang, C.; Onate, E.; Idelsson, S.: An Unstructured Grid-
Based, Parallel Free Surface Solver. AIAA Paper 97-1830, 1997.
Bibliography 75
[246] Cowles, G.; Martinelli, L.: A Cell-Centered Parallel Multiblock Method for
Viscous Incompressible Flows with a Free Surface. AIAA Paper 97-1865,
1997.
[247] Wagner, C.A.; Davis, D.W.; Slimon, S.A.; Holligsworth, T.A.: Computa-
tion of Free Surface Flows Using a Hybrid Multiblock/Chimera Approach.
AIAA Paper 98-0228, 1998.
76 Chapter 3. Principles of Solution of the Governing Equations
Chapter 4
77
78 Chapter 4. Structured Finite Volume Schemes
the form
OW
Ot
Herewith, Eq. (2.19) becomes
OW
(4.1)
Ot
In the above expression, the indices in capital letters (I, J, K) reference the
control volume in the computational space (cf. Section 3.1). As we shall see later,
the control volume does not necessarily coincide with the grid. Furthermore,
NF denotes the number of control volume faces (which is NF -- 4 in 2D and
NF -- 6 in 3D). The variable ASm stands for the area of the face m. The term
in square brackets on the right-hand side of Eq. (4.2) is also generally termed
the residual. It is denoted here by RI,J,K. Hence, we can abbreviate Eq. (4.2)
as
dWI,J,K 1
= (a.3)
dt ~I,J,K
When we write down the relationship in Equation (4.3) for all control volumes
~I,J,K, we obtain a system of ordinary differential equations of first order. The
equations are hyperbolic in time. That means, we have to advance them in
time by starting from a known initial solution. We have also to provide suitable
boundary conditions for the viscous and the inviscid fluxes, as they are described
in Chapter 8.
When solving the system of discretised governing equations (4.3) numeri-
cally, the first question is how do we define the control volumes and where do
we locate the flow variables with respect to the computational grid. In the
framework of structured finite volume schemes, three basic strategies are avail-
able"
9 Cell-centred s c h e m e - control volumes are identical with the grid cells and
the flow variables are associated with their centroids (Fig. 4.3).
79
F i g u r e 4.1" Control volume (f/) and associated face unit normal vectors (nm)
for a structured grid in: (a) two dimensions, (b) three dimensions. In case
(a), the unit normal vectors g2 and g4 are associated with the /-coordinate
(direction) in computational space, nl and n3 with the j-coordinate. In case
(b), the unit normal vectors gl and ?~2 a r e associated with the/-coordinate, n5
and n6 with the j-coordinate, and n3, n4 with the k-coordinate, respectively.
80 Chapter 4. Structured Finite Volume Schemes
Besides the description, we shall treat aspects such as accuracy, range of appli-
cability and numerical effort of the most widely used discretisation schemes for
the convective fluxes in Section 4.3.
A commonly applied methodology for the evaluation of the viscous fluxes
at a face of the control volume is based on arithmetic averaging of the flow
quantities. In contrast to the flow variables, the calculation of the velocity and
the temperature gradients in Equations (2.15) and (2.24) is more involved. We
shall present appropriate procedures in Section 4.4.
4.1. Geometrical Quantities of a Control Volume 81
- (4.5)
Because of the symmetry, the z-component of the face vectors (and of the unit
normal vector) is zero. It is therefore dropped from the expressions. The face
vectors of the control volume from Fig. 4.1a are given by the relations
S1 -- b[ Y2 - Yl
Xl x2 -
$2 - b[ Y3 - Y2
x2 - x3 1 (4.6)
S-~3- b[ Y4 - Y3
x3 - x4
]
$4 - b[ Yl - y4
x4 - Xl
]
82 Chapter 4. Structured Finite Volume Schemes
The unit normal vector at face m is then obtained from Eq. (4.5) as
s~
~ = As~ (4.7)
with
AS =I I= +S ,m
In practice, only the face vectors $1 and_, S'4 are computed and stored for each
control volume ~'~I,J- The face vectors $2 as well as Sa are taken (with reversed
signs to become outward facing) from the appropriate neighbouring control vol-
umes in order to save memory and to reduce the number of point operations.
order to overcome this difficulty, we could decompose all six faces of the control
volume into two or more triangles each. The volume itself could then be built of
tetrahedra. Performing this subdivision in an appropriate manner would lead to
a discretisation scheme which is at least first-order accurate on arbitrary grids
[3]. Of course, the numerical effort would be increased substantially, because the
fluxes would have to be integrated over each partial triangle separately. Hence,
4.1. Geometrical Quantities of a Control Volume 83
the number of point operations would be at least doubled. However, in [3], [4]
it is shown that for reasonably smooth grids, where the control volume faces
approach parallelograms, the decomposition into triangles does not noticeably
improve the solution accuracy. Therefore, we shall employ a simplified treatment
of the quadrilateral faces in the following considerations, which is based on an
a v e r a g e d normal vector.
A face vector S of an hexahedral control volume, like that rendered in Fig.
4.1b, is most conveniently computed using the same Gauss's formula as em-
ployed in 2D for the area of a quadrilateral. Thus, e.g., for the face m - 1
(points 1, 5, 8 and 4 in Fig. 4.1b) we first define the differences
Z~XA ~ X8 -- X l , AXB -- X 5 -- X4 ,
A y A -- Y8 -- Yl , A y B -- Y5 -- Y4 , (4.8)
AZA -- z8 -- Zl , AZB -- z5 -- z 4 .
The five remaining face vectors are calculated in a similar manner. It is again
very convenient to store only three of the six the face vectors (e.g., $1, $3, and
$5) for each control volume f~I,d,K. The remaining face vectors $2, $4 as well
as Ss are obtained (with reversed signs to become outward facing) from the
appropriate neighbouring control volumes. The above expressions in Eq. (4.8)
and (4.9) deliver an average face vector. The approximation becomes exact
when the face approaches a parallelogram, i.e., when the vertices of the face lie
all in one plane. The unit normal vector is obtained from Eq. (4.7) with
as - V/sx + + (4.10)
Various, more or less accurate formulae are available for the calculation
of the volume of a general hexahedron (see, e.g., [1]). One approach, which
performed very well in various applications, is based on the divergence theorem
[5]. This relates the volume integral of the divergence of some vector quantity
to its surface integral. The key idea is to use the location in space of some point
of the control volume f~, let us call it ~ - [rx, r v, rz] T, as the vector quantity.
Herewith, the divergence theorem reads
/u div(~ df~ - Js
f~
(~'" ~) d S . (4.11)
We can easily evaluate the left-hand side of Eq. (4.11) which gives us the volume
84 Chapter 4. Structured Finite Volume Schemes
=3f~. (4.12)
If we assume now the unit normal vector is constant on all faces of the control
volume, we can solve the surface integral on the right-hand side of Eq. (4.11) as
follows
m----6
~o (~'. ~) dS ,~ E (r'mid" n)m ASm . (4.13)
m--1
In Eq. (4.13), ~mid,m denotes the midpoint of the control volume face m. For
example,
1
where the vectors r'l, r'5, r's, and ~4 correspond to the vertices 1, 5, 8, and 4
of the face m = l in Fig. 4.lb. Similar relations hold for the midpoints of the
remaining faces. The area ASm of the face m in Eq. (4.13) is obtained from Eq.
(4.10). Combining Equations (4.12) and (4.13) together, and inserting the face
vector S for the product ?~mA~m, we have finally the relationship
m--6
~I,J,K 1 E
= -5 (s S) m (4.14)
m--1
It is important to note that the volume computed with aid of Eq. (4.14) is
exact for a control volume with planar faces.
4.2. General Discretisation Methodologies 85
1. by the average of fluxes computed from values at the centroids of the grid
cells to the left and to the right of the cell face, but using the same face
vector (generally applied only to the convective fluxes);
Thus, taking the cell face ~I+l/2,J in Fig. 4.3 as an example, the first approach
average of fluxes - reads in two dimensions
The flux vector F in Eq. (4.16) stands either for the convective or for the viscous
fluxes.
The third methodology starts with an interpolation of flow quantities (being
mostly velocity components, pressure, density and total enthalpy) separately to
both sides of the cell face. The interpolated quantities - termed the left and the
right state (see the begin of Section 4.3) - differ in general between both sides.
The fluxes through the cell face are then evaluated from the difference of the
left and right state using some non-linear function. Hence,
where
-- ,n,erp ( , 0, l J, 0, j, ) (4.19)
The way over the interpolation of the flow variables results similarly to Eq.
(4.18) in
(Fc z~S)I+I/2,J,K "~ fFlux (UL, UR, ASI+I/2,J,K) , (4.23)
Using the above relations, the fluxes through the faces can be computed
and the numerical integration over the boundary of f~I,J,K may be performed
according to (4.2). In other words, the complete residual RI,J,K is obtained. In
Sections 4.3 and 4.4, we shall learn more about the details of the evaluation of
the convective and viscous fluxes.
Wi,J-1/2 - -~
The face area ASI,J_I/2 is computed from the relations (4.6) and (4.7).
The approach remains the same in three dimensions. For example, for the
face associated with the normal vector n3 in Fig. 4.1b, the averaged variables
read
1
WI,J,K_ I /2 -- -~ [l/~/rl-~-~r2 Jr- ~r5 -t- l/~r6/J (4.27)
88 Chapter 4. Structured Finite Volume Schemes
If we assume the edge 1-2 being oriented in the/-direction, edge 1-5 in the j-
direction, edge 1-4 in the k-direction, and if we finally associate the point (i, j, k)
with the corner 1 in Fig. 4.1b, the average in Eq. (4.27) can also be written as
(4.28)
(a.29)
where the face area ASI,J,K-]/2 results from the formulae (4.8) and (4.9). The
viscous fluxes are normally computed employing the same approach as for the
dual control-volume scheme [9], [10], which results in a more compact scheme
(i.e., one which involves fewer nodal values).
Summing up all face contributions given by relations (4.25), (4.26) and
==)
(4.28), (4.29), respectively, we obtain intermediate residuals RI,J,K for all grid
cells. In order to relate the cell-based to the node-based residuals, a further
approximation is made using a residual distribution formula. It is basically a
function, which evaluates the unknown node-based residual from a weighted
sum of all cells having the particular grid node in common. The following dis-
tribution formulae were devised:
Theoretical investigations of the truncation error [4] suggest that Ni's scheme
is more accurate than Hall's approach. However, in practice Ni's distribution
formula leads to problems in places, where the grid is strongly distorted and
stretched. For example, strong oscillations of the pressure field near the trail-
ing edge of an airfoil were observed when using O-grids [13], [4]. Furthermore,
convergence could only be achieved when the numerical viscosity was increased
considerably. The underlying idea of the upwind weighting procedure [11], [12]
is quite similar to that of the fluctuation-splitting schemes [14]-[17] (cf. Subsec-
tion 3.1.5), but the implementation is numerically much simpler. Basically, the
residuals are sent only upstream in the characteristic direction.
Of the three approaches, Hall's distribution scheme proved to be the most
robust. In Hall's scheme, the residual at a particular node results from a simple
sum of all intermediate residuals RI,J,K, which cells share the node. Thus, in
the 2-D case rendered in Fig. 4.4, we get
due to the fact that the fluxes across the inner faces cancel each other. The
supercell also represents the "total" control volume, centred at the point (i, j).
In the 3-D case, the total volume consists of the cells
d W~,j,k 1
- ~ R~,j,k. (4.34)
dt f~,j,k
1. by the average of fluxes computed from values at the nodes to the left
and to the right of the face of the control volume, but using the same face
vector (generally applied only to the convective fluxes);
2. by using an average of variables stored at the nodes to the left and to the
right of the face;
Figure 4.6: Definition of the dual control volume at a boundary (2D). Upper
part: by connecting edge midpoints. Lower part: by connecting edge midpoints
and the central node at the boundary.
92 Chapter 4. Structured Finite Volume Schemes
The flux vector F in Eq. (4.36) represents either the convective or the viscous
fluxes.
The third methodology utilises an interpolation of flow quantities (being
mostly velocity components, pressure, density and total enthalpy) separately to
both sides of the face. The interpolated quantities - termed the left and the
right state (see the begin of Section 4.3) - differ in general between both sides.
The fluxes through the face of the control volume are then evaluated from the
difference of the left and right state using some non-linear function. Thus,
where AS~+I/2,j,k is obtained from the Equations (4.8) and (4.9). The average
of the flow variables results similarly to Eq. (4.36) in
with
-~
WiT1/2,j, k - ~l (i~/i,j,k _V i~/i+l,j,k ) (4.42)
where UL and UR denote the interpolated values at the face. A detailed de-
scription of several possible approaches will be presented in Section 4.3 for the
convective and in Section 4.4 for the viscous fluxes.
The last term in the discretised flow Equations (4.2) to be evaluated is
the source term Q. As already stated in the introduction, the source term is
mostly supposed to be constant inside the control volume. For this reason, it
is computed using the flow variables from the corresponding grid point. Hence,
we may define
(09)i,j,k -- 0(l~i,j,k) 9i,j,k. (4.44)
4.2. General Discretisation Methodologies 93
Using the above relations, the fluxes through the faces can be computed
and the numerical integration over the boundary of f~i,j,k can be carried out
according to Eq. (4.2). In this way, we obtain the complete residual Ri,j,k
including the source term. The change in time of the conservative variables
follows then for each grid point from
d Wi,j,k = _ 1 _ ~ / ~ i , j , k 9 (4.45)
dt ~i,j,k
Suitable solution methods will be presented later in Chapter 6.
In the preceding three subsections, both the cell-centred and the cell-vertex
discretisation methodologies were outlined. The following paragraphs compare
the three schemes and give an overview of the, at times controversial, debate
about their relative merits.
First, let us consider the accuracy of the discretisations. It follows from
the discussion in [4], [21] that the cell-vertex scheme (either with overlapping
or dual control volumes) can be made first-order accurate on distorted grids.
On Cartesian or on smooth grids (i.e., where the volumes between adjacent
cells vary only moderately and which are only slightly skewed), the cell-vertex
scheme is second- or higher-order accurate [22], depending on the flux evaluation
scheme. In the opposite, the discretisation error of a cell-centred scheme depends
strongly on the smoothness of the grid. For example, for an arrangement of the
cells sketched in Fig. 4.7, an averaging does not provide the correct value at the
midpoint of a face even for a linearly varying function. The consequence is that
on a grid with slope discontinuity the discretisation error will not be reduced
even when the grid is infinitely refined. As demonstrated in [4], such zero-order
errors manifest themselves as oscillations or kinks in isolines, whereas a cell-
vertex scheme experiences no problems in the same situation. Nevertheless, on
Cartesian or on sufficiently smooth grids, the cell-centred scheme can also reach
second- or higher-order accuracy. A further analysis of the discretisation errors
were presented in [23]-[26].
Second, let us compare the three methods and their characteristics at bound-
aries. It is mainly at the solid wall boundary where the cell-vertex scheme with
dual control volumes faces difficulties. Recalling Fig. 4.6 again, it is apparent
that only about one half of the control volume is left at the boundary. The
integration of fluxes around the faces results in a residual located i n s i d e - ide-
ally in the c e n t r o i d - of the control volume. But, the residual is associated
with the n o d e residing directly at the wall. This mismatch leads to increased
discretisation error in comparison to the cell-centred scheme. The definition
of the dual control volume causes also problems at sharp corners (like trailing
edges), which show up as unphysical peaks in pressure or density. Further com-
plications arise, e.g., at coordinate cuts or at periodic boundaries (see Chapter
8), where the fluxes from both parts of the control volume have to be summed
94 Chapter 4. Structured Finite Volume Schemes
9 central,
9 flux-vector splitting,
9 flux-difference splitting,
9 total variation diminishing (TVD), and
9 fluctuation-splitting
F i g u r e 4.8: Left and right state at cell face I + 1 / 2 , resp. i+1/2. Upper part:
cell-centred scheme; lower part: cell-vertex scheme with dual control volumes.
Circles denote nodes, rectangles represent cell-centroids.
96 Chapter 4. Structured Finite Volume Schemes
central scheme (see next subsection), consists of linear interpolation using the
same number of values to the left and to the right of the face. In other words, the
interpolation is centred at the face. Discretisations based on the characteristics
of the Euler equations - upwind schemes - separately interpolate flow variables
from the left and the right side of the face using non-symmetric formulae. The
two values, named the left and the r i g h t s t a t e , are then utilised to compute
the convective flux through the face (see Eqs. (4.18), (4.23), (4.38), or (4.43)).
The interpolation formulae are almost exclusively (with the exception of TVD
schemes) based on Van Leer's MUSCL (Monotone Upstream-Centred Schemes
for Conservation Laws) approach [29]. They read for a general flow variable U
s
UR -- UI+I - -~ [(1 + s + (1 -- k)A+] UI+I
s
(4.46)
UL - UI + ~ [(l + k)A+ + ( 1 - k)A_] UI.
The forward (A+) and the backward (A_) difference operators are defined as
A+UI = UI+I - V i
(4.47)
A - UI = UI - U I - 1 .
The indices are shifted as appropriate. The above relationships remain valid for
a cell-vertex scheme with dual control volumes, if the node index i is substituted
for I. The parameter c can be set equal to zero to obtain a first-order accu-
rate upwind discretisation. The parameter k determines the spatial accuracy
of the interpolation. For c = 1 and k = - 1 , the above interpolation formulae
(4.46) give a fully one-sided interpolation of the flow variables, which results
in a second-order accurate upwind approximation on uniformly spaced grid.
The case k - 0 corresponds to a second-order accurate, upwind-biased linear
interpolation. Furthermore, by setting t~ = 1/3, we obtain a three-point inter-
polation formula which constitutes (in a finite volume f r a m e w o r k - cf. Ref. [30],
[48]) a second-order upwind-biased scheme with lower truncation error than the
= - 1 and ~ = 0 schemes. Finally, if we specify k = 1, the MUSCL approach
reduces to a purely central scheme - the average of variables. The schemes with
- 0 and k - 1/3 are the most often used ones in practice.
The MUSCL interpolation (4.46) has to be enhanced by the so-called limiter
function or limiter, if the flow region contains strong gradients. The purpose of
the limiter is to suppress non-physical oscillation of the solution. Limiters will
be discussed further in Subsection 4.3.5.
(a) (b)
I,J+l I, J, K+I
I, J+l, K
I-1, J, K
I-1, J I+l,J /
I,J
I+1, J, K
I, J-l, K
I,J-1 I, J, K-1
Both stencils are displayed in Fig. 4.9. Note that on a Cartesian grid this
corresponds to the second-order accurate central-difference approximation of
the first derivatives in i-, j-, and k-direction. Thus, a finite difference scheme,
applied to the differential form of the governing equations and using the central
differences, would deliver the same result.
where the flow variables are averaged as (see also Fig. 4.8)
1 (~/rI,J,K @ ~rI+l , J, K) 9
W I + I / 2 , j , K -- -~ (4.49)
In the case of the cell-vertex scheme with dual control volumes, node indices
( i , j , k ) would be used instead. For simplicity, ( I + 1//2, J, K)will be abbreviated
as (I + 1/2) hereafter. The artificial dissipation flux consists of a blend of
adaptive second- and fourth-order differences, which result from the sum of
first- and third-order difference operators
(2)
DI+1/2 - AI+I/2 rLei+l/=
-
( ~fI+l ~/I)
(4.50)
_ "~I+1/2
.(4) (W'/+2 - 3~"~7I+1 -Jr- 3W"I - ~"1-1)]
From Eq. (4.50) we can see that the scheme possesses a compact 9-point stencil
in two dimensions and a 13-point stencil in three dimensions.
The dissipation is scaled by the sum of the spectral radii of the convective
flux Jacobians in all coordinate directions
^I
/~f+1/2 -- (Ac)I+1/2 + (/~J)I+1/2 + (/~cK)I+l/2 9 (4.51)
4.3. Discretisation of the Convective Fluxes 99
The spectral radius at the cell face (I + 1/2), e.g., in/-direction (represented
by the superscript I), results from the average
^,
(At)i+1/2 - ~1 [(ac)i
^1 + (Ac)I+I
^' ] . (4.52)
_(4) [ (k(4).(2)
t i + l / 2 -- m a x O, - ~I+1/2)
] (4.54)
Typical values of the parameters are k (2) - 1/2 and 1/128 < k (4) _< 1/64.
In order to reduce the amount of artificial dissipation across a viscous shear
layer, we can re-define the scaling factors in Eq. (4.50) as follows [31], [32]
= ~ (r A~ )K + (r Ac )K+I 9
These are then employed instead of Eq. (4.51). The directionally dependent
coefficients r are given by the relations
cK_ 1+max X~
- -
' X~
_ _ .
100 Chapter 4. Structured Finite Volume Schemes
The parameter a is usually set equal to 1//2 or 2/3. This formulation decreases
the scaling of the dissipation terms in the direction along the shorter side of a
control volume, whose longer side is aligned with the flow.
(4.58)
_ "I+1/2
.(4) ( ~ r I + 2 -- 3 ~ r , + l ~- 3 W , -- WI- 1 )] 9
The scaling matrix corresponds to the convective flux Jacobian (A~ - OF~/OW)
diagonalised with absolute values of the eigenvalues
The matrices of right (T) and left (~p-1) eigenvectors as well as the diagonal
matrix of the eigenvalues A~ can be found in the Appendix A.11. The eigenvalues
must be limited at stagnation points and sonic lines to prevent the dissipation
from becoming zero. An efficient way of computing the product of IA~I with W
is provided in [35]. It should be noted that by setting c (2) - 1/2 and c(4) - 0,
we obtain a first-order accurate, fully upwind scheme.
As it was already stated before, the idea here was to develop a scheme which
accuracy is close to that of upwind schemes, but which is still computationally
only slightly more expensive (about 15-20%) than the scalar dissipation ap-
proach. Results of comparisons with flux-vector splitting schemes (CUSP and
AUSM) were recently reported in [37].
according to the Mach number normal to the face of the control volume (e.g.,
at ( I + 1 / 2 ) - see Fig. 4.8)
(Mn)I+I/2-(VI-- C I+1/2
, (4.61)
where V represents the contravariant velocity (2.22) and c the speed of sound,
respectively. In the case of the cell-vertex scheme with dual control volumes,
the cell indices have to be replaced by node indices.
The values of the flow variables p, u, v, w, and p, respectively, have to be
interpolated first to the faces of the control volume correspondingly to Eq. (4.19)
or Eq. (4.39). Then, the positive fluxes are computed with the left state and the
negative fluxes with the right state. The advection Mach number (Mn)I+l/2 is
obtained from the relation [39]
ML if ML ~ +1
M+ - 1
-~(ML + I) 2 if [ML[ < 1 (4.63)
0 if ML <_ --1,
102 Chapter 4. Structured Finite Volume Schemes
and
0 if MR ~_ +1
MR if MR _ - 1 .
The Mach numbers ML and MR are evaluated using the left and right state,
respectively, i.e.,
ML- VL , MR- VR . (4.65)
CL CR
In the case of IMn] < 1 (subsonic flow), the positive and the negative flux
parts are given by
+
fmass
fmass
• [nx(-V :1=2c)l.y + u]
r: = • [ny(-V :t=2c)/V + v]
/mass . (4.66)
+
fmass [nz(-V :l=2c)/V + w]
•
fenergy
The mass and energy flux components are defined as
+ (ML + 1) 2
f m a s s - +pLCL
(MR -- 1)2
fmass -- --pRCR (4.67)
u 2 + v2 + w2 _ V 2
fe~ergy + { [(')' -- 1)V -+- 2c] 2
= fmass 2(72 - 1) + 2 / L/R
For supersonic flow, i.e., for IMnl >_ 1, the fluxes are evaluated from
/~c+ -- Pc Fc--0 if Mn _~ +1
(4.68)
/~+-0 /~--/~c if Mn _< - 1 .
The evaluation of the left and right state follows generally the MUSCL ap-
proach [29], which is given by Eqs. (4.46). The higher order schemes k = - 1 ,
= 0 and k = 1/3, respectively, require a limiter if the flow field contains
discontinuities like shocks. More details are provided in Subsection 4.3.5.
The flux-vector splitting scheme of Van Leer performs very well in the case
of the Euler equations. But several investigations [49], [50], carried out with the
Navier-Stokes equations revealed that splitting errors in the momentum and
the energy equations smear the boundary layers and also lead to inaccurate
stagnation and wall temperatures. A modification to the momentum flux in
the direction normal to the boundary layer was therefore suggested in Ref.
[51]. A similar remedy for the energy flux was proposed in Ref. [52]. Both
modifications together remove the splitting errors, and hence they improve the
solution accuracy considerably [53].
4.3. Discretisation of the Convective Fluxes 103
AUSM
p 0
-, pu n~p
F~- V pv + nyp . (4.69)
pw op
pH
The first term in Eq. (4.69) represents scalar quantities, which are convected
by the contravariant velocity V. By contrast, the pressure term is governed by
the acoustic wave speed. The idea now is to discretise the convective term in
purely upwind manner by taking either the left or the right state, depending on
the sign of V (even for subsonic flow). On the other hand, the pressure term
includes both states in the subsonic case. It becomes fully upwind only for a
supersonic flow.
Following the basic AUSM from [40], we introduce an advection Mach num-
ber (Mn)I+1/2 from Eq. (4.61). Herewith, we can recast the convective flux at
the face ( I + 1 / 2 ) , or (i+1/2) of the control volume, respectively, into
pc 0
pcu nxp
(Fc)i+1/2 --(Mn)I+l/2 pcv + nyp (4.70)
pcw op
pert L/ R I--k1~2
where
(')L if MI+1/2 >_ 0
( ' ) L / R -- (4.71)
(')R otherwise.
Similar to Van Leer's flux-vector splitting scheme, the advection Mach number
is evaluated as a sum of the left and right split Mach numbers according to the
relations (4.62) and (4.63)-(4.65). The computation of the left and right state
(flow quantities: p, u, v, w, p, H) is based again on a separate interpolation
to the faces of the control volume according to Eq. (4.19) or Eq. (4.39). The
interpolation follows the MUSCL methodology [29], as it is given in Eq. (4.46).
All higher-order MUSCL schemes (k = - 1 , k = 0, and k = 1/3) require a
limiter, if the flow field contains strong gradients like shocks. Please refer to
Subsection 4.3.5 for more details.
104 Chapter 4. Structured Finite Volume Schemes
The pressure at the face (I+1/2) of the control volume is obtained from the
splitting [40]
PI+1/2 -- P+L q- PR (4.72)
with the split pressures given by [39]
PL if M L ~_ + 1
0 if M L <_ --1,
and
0 if MR ~_ + 1
PR if M R <_ - 1 .
It is also possible to use the following lower-order expansion for IML/R[ < 1
• PL/R
PL/R -- 2 (1 i M L / R ) . (a.75)
pc pc
pcu pcu
-" ) i + l / 2 = 51(Mn)I+ 1/2
( Fc flcv + flcv
pcw pcw
pcH L pcH R
pc pc
1 pcu pcu
2 I(Mn)I+l/2] pcv - pcv (4.76)
pcw pcw
pcH pcH L
0
nx(p + +
+ n (pL++
nz(P + + PR)
0
The first term on the right-hand side of the above Eq. (4.76) represents a Mach
number-weighted average of the left and right state - similar to the average of
fluxes Eq. (4.15), (4.20) or Eq. (4.35), (4.40), respectively. The second term has
a dissipative character. It is scaled by the scalar value I(Mn)I+I/2].
4.3. Discretisation of the Convective Fluxes 105
C U S P Scheme
The concept of the Convective Upwind Split Pressure (CUSP) scheme is quite
similar to that of AUSM. However, the CUSP approach has the advantage to be
formulated as an average of fluxes (but without weighting like within AUSM)
minus a dissipation term. This feature is crucial for the implementation in an
explicit, hybrid multistage scheme. Furthermore, because of the different scaling
factors as compared to AUSM, the CUSP scheme behaves more favourably in
the case of flow alignment. The CUSP scheme was introduced by Jameson
[42], [59], [60], and subsequently modified by Tatsumi et al. [43], [61]. It can
be implemented either within the cell-centred or the (cell-vertex) dual control-
volume type of spatial discretisation.
The convective fluxes (Eq. (2.21)) through a face of the control volume are
approximated using the arithmetic average of fluxes according to the Equations
(4.15), (4.20), (4.35), or (4.40), respectively. The dissipation term is then sub-
tracted from the central fluxes for stabilisation. Thus, the total convective fluxes
at the face ( i + 1/2) read
(Fc)i+l/2- ~ -- . (4.78)
In the case of the dual control-volume discretisation, (i+1/2) would apply in-
stead. The dissipation term, which is composed of a linear combination of the
106 Chapter 4. Structured Finite Volume Schemes
P P
pu pu
D--I + I / 2 -- -~
1 (a* c) I+1 /2 pv - - pv
pw pw
pC n PC L
(4.r9)
pV pV
1 p u V + nxp p u V + nxp
+ ~ ~I+1/2 p v V + nyp - p v V + nyp .
p w V + nzp p w V + nzp
pHV R pHV L
There are two choices for the term r in Eq. (4.79). Either, r is set equal to
the total energy E, or it is set to the total enthalpy H. In the first case we
speak of the E-CUSP scheme [62], the second choice is consequently called the
H-CUSP scheme. The formulation with r = H preserves the total enthalpy [43]
and is therefore suitable for inviscid flows. The left (L) and right (R) state is
evaluated similarly to the MUSCL approach [29], using the limited interpolation
(4.118)-(4.121). The two factors c~*c and/3 in Eq. (4.79) are defined as
IV] if ~ - 0
0 if IMp[ > 1
and
+max 0, V - A - if0_<Mn<l
V+A +) (4.81)
-max 0, V - A + if - l < M n <0
v v +VRv
VI+l/2 ---
WI+l,/2 --
(4.84)
HL v/--~ + HR ~ p R
HI+l~ 2 -
CIq-1/2- ~ ( - y - 1) ( H -
2 J I+1/2
/ ,M I
25
if IMn] > 5
iflM~ ] < 6,
(4.s6)
108 Chapter 4. Structured Finite Volume Schemes
and
max (0, 2Mn - 1 ) if0<Mn<l
In the above Eq. (4.88), fi, Ro~ denotes the so-called Roe matrix, and L or R the
left and right state (see Fig. 4.8), respectively. The Roe matrix is identical to
the convective flux Jacobian Ac (see Appendix A.9), where the flow variables
are replaced by the so-called Roe-averaged variables. The flux difference in Eq.
(4.88) is exact, if the Roe's averages are computed from the left and the right
4.3. Discretisation of the Convective Fluxes 109
-- v/pLpR
N
ULg - ~ + URg - ~
vL ~ + vR g - ~
~_j b
WLg~ + ~Rg-~
__
(4.89)
~v~ + HR4~
H=
~+v~
- I(7-1)(/~- ~/2)
We can make the decomposition into waves in Roe's scheme clearer when
we insert the diagonalisation of the Roe matrix, i.e., fi~Ro~ -- TAcT -1, into the
Eq. (4.88)
(F~)R -- (F~)L -- TA~ (CR -- CL) . (4.90)
The matrix of left (~-1) and right (T) eigenvectors, as well as the diagonal
matrix of eigenvalues (Ac) are evaluated using Roe's averaging (4.89). In the
above Eq. (4.90), the characteristic variables C represent the wave amplitudes,
the eigenvalues Ac are the associated wave speeds of the approximate Riemann
problem, and finally the right eigenvectors are the waves themselves.
Following from the previous discussion, the convective fluxes are evaluated
at the faces of a control volume faces according to the formula [63]
(4.91)
The product of IARoel and the difference of the left and right state can be
efficiently evaluated as follows
where
1
[AYlI - 1 9 - OI ( A p - ~~ (4.93)
@ - ~nz
[-I - ~9
110 Chapter 4. Structured Finite Volume Schemes
r
0
Au- AVn~
+ ~ Av- AV%
Aw- AVnz
( t A t + ~Av + goAw - V A V
1
gt + ~nx
- v + Cny . (4.95)
282 @ + ~nz
H+~V
The jump condition is defined as A(.) = ( ' ) R - (')L and the Roe-averaged
variables are given in Eq. (4.89), respectively.
The left and the right state are determined using the MUSCL scheme [29],
which is given in Eq. (4.46). All higher-order schemes (s = - 1 , ~ = 0, and
= 1/3) have to be supplemented by limiters (Subsection 4.3.5), if the flow
field contains any discontinuities.
Because of the formulation in Eq. (4.88), Roe's approximate Riemann solver
will produce an unphysical expansion shock in the case of stationary expansion,
for which ( F c ) L - (F~)R but WL ~: WR. Furthermore, the so-called "carbuncle
phenomenon" may occur, where a perturbation grows ahead of a strong bow
shock along the stagnation line [67], [68]. See also the discussion in Ref. [69].
The underlying difficulty is that the original scheme does not recognise the
sonic point. In order to solve this problem, the modulus of the eigenvalues
]A~I = IV • E] is modified using Harten's entropy correction [70], [71]
IA~]- / ]A~I
A~ + 52
25
if A~ I > 5
if At] <_ 5,
(4.96)
where 5 is a small value, which can be conveniently set equal to some fraction
(e.g., 1/10) of the local speed of sound. In order to prevent the linear waves
IA#2,3,41 from disappearing for I)--+ 0 (e.g., at stagnation points or for grid-
aligned flow), the above modification can also be applied to IVI.
A clear disadvantage of the Roe solver as compared to the central scheme or
to the flux-vector splitting schemes shows up for a real gas simulation. Namely,
the Roe matrix and averaging have to be changed correspondingly, which may
become quite complicated. The reader may find examples of formulations for
equilibrium as well as non-equilibrium real gas flows in [72]-[75] and in the
references cited therein. An implementation of Roe's scheme for arbitrary com-
pressible and incompressible fluids was recently described in Ref. [76].
4.3. Discretisation of the Convective Fluxes 111
In the case of the cell-vertex scheme with dual control volumes (Subsection
4.2.3), the indices would read (i+1/2), (i+1), etc. The matrix T contains the
right eigenvectors of the Jacobian Ac - OFc/OW. The entries of the matrix can
be found in the Appendix A.11. In Equation (4.98), the term O takes account
of the direction of the characteristic speeds. It controls the upwind direction of
the difference operator. T h e / - t h component of the vector O is defined as (cf.
[84])
thermore,
( ~ I + 11- ~ i ) if ACI+I/2
' r 0
~//-I-1/2 :
1 ACI+I/2 (4.100)
0 if ACI+I/2
l --0,
with 2~-1 being the matrix of left eigenvectors. The so-called entropy correction
of Harten [70], [71], i.e.,
where 0.05 < 5 < 0.5. Values of the primitive variables at the face (I+1/2) are
obtained either from Roe's (4.89) or from simple arithmetic averaging of the
states at I and (I+1). The limiter function ~, which prevents the generation of
spurious solutions near strong gradients, will be presented in the next subsection.
It should be stressed that the above upwind TVD scheme does not employ the
MUSCL approach to achieve higher order accuracy.
One can show that the upwind TVD method is precisely of first-order in
space when the limiter function ~ in Eqs. (4.99), (4.100) is set equal to zero
[89], which happens at discontinuities. Otherwise, the upwind TVD scheme, as
presented above, is second-order accurate in smooth flow regions.
4.3.5 Limiter F u n c t i o n s
Second- and higher-order upwind spatial discretisations require the use of so-
called limiters or limiter functions in order to prevent the generation of oscil-
lations and spurious solutions in regions with large gradients (e.g., at shocks).
Hence, what we are looking for is at least a monotonicity preserving scheme.
This means that maxima in the flow field must be non-increasing, minima non-
decreasing, and no new local extrema may be created during the time evolution.
Or in other words, if the initial data is monotone then the solution has to remain
monotone. The rather stringent conditions for monotonicity preserving schemes
(or the more rigorous ones for TVD schemes) are often given up in favour of the
Local Extremum Diminishing (LED) conditions [60]. Here, a local extremum
contained only w i t h i n the stencil has to decrease.
4.3. Discretisation of the Convective Fluxes 113
1.4
I
1.2
.~ 1.0
0.8
0.6
0.4
U U
/ /
/ / /
( /
L R
m m m | ~ m m | m .~
m m m m ,~ mm m m m ,~
low as possible. The effect of a limiter on the interpolation of the left and right
states is sketched in Fig. 4.11. The example shows the slope reduction at the
local minimum at I and the change of the slope at the cells (I+1), (I+2) to
achieve a monotone solution. It is important to realise that a difference between
the left and right state at a face may (and generally will) still be present.
In the following, we shall describe four different limiter functions, which
are well-established and proven in practice. We shall consider limiters for the
second-order MUSCL, for the CUSP and for the upwind TVD scheme.
L i m i t e r F u n c t i o n s for M U S C L I n t e r p o l a t i o n
UR = UI+I - ~
1 [(1 + k)0++ 1/2 A _ + (1 - k)~/+3/2A+] UI+~
(4.104)
UL -- UI 1
+ -4 [(l+k)O/+ 1/2AT +(1 - k)0 +_ 1/2 A_] UI,
The parameter e in Eq. (4.46) was set equal to unity. The slope limiters are
functions of the ratios of the consecutive solution variations, i.e., (I)~+1/2 =
4.3. Discretisation of the Convective Fluxes 115
•
9 (r1+1/2) , with the definitions [1]
UI+2 -- UI+I
7.+
1+1/2 --
Ui+~ - V i
(4.105)
Vi - Vi-1
r1+1/2 = U1+1 - Ui ' etc.
a i + l -- UI A_
-- ~ VI+l
~'R -- VI+2 - VI+ 1 At
(4.106)
Vi+ 1 - VI A+
rL-UI_UI_I =A_ UI,
The above relationships Eq. (4.107) can be simplified if we consider only slope
limiters with the symmetry property
q)(r) = ~ ( 1 / r ) . (4.108)
With this definition, the limited MUSCL interpolation Eq. (4.104) becomes [91]
1
UR -- UI+I - -~IJ~R (UI+2 - U I + I )
(4.109)
1
UL -- Ui -t--~L (UI - U I - 1 )
Different formulations of the slope limiter (I) in Eq. (4.110) are now possible,
which can be tailored to specific values of ~ to give the most accurate but stable
and monotonicity preserving MUSCL scheme.
In this case, the function ~ ( r ) corresponds to the Van Albada limiter [93]
r2+r
9 (r) - 1 + r 2 ' (4.112)
and we obtain with Eq. (4.109) the following expressions for the left and right
state
1
UR - U i + l - ~ 5R
(4.113)
1
u L - u~ + ~ hL .
5 = a(b2 + ~) + b(a2 + c)
(4.114)
a 2 + b2 + 2e
The coefficients a and b are defined for the left and right state as
aR - A + U I + I , bR -- A _ U I + I , (4.115)
aL -- A + U I , bL -- A _ UI
and the difference operators A• are given by Eq. (4.47). The additional pa-
rameter ~ in Eq. (4.114) prevents the activation of the limiter in smooth flow
regions due to small-scale oscillations [92]. This is sometimes necessary in order
to achieve a fully converged steady-state solution. The parameter c is conve-
niently set proportional to the local grid scale, in 3D for example to ~t 1/3 [92],
[94]. Additional scaling of the parameter c is required if the particular state
variable U is given in physical units. It can be shown that the relations in
Eq. (4.113) are identical to the original (unlimited) MUSCL scheme (4.46) with
- 0 for smoothly varying flow. Thus, the accuracy of the solution is not
influenced. On the other hand, the function 5 becomes zero at local extrema,
reducing the accuracy to first order as desired.
Another limiter function was devised for the three-point, second-order accurate
upwind-biased MUSCL scheme with k - 1/3. Here, the slope limiter is given
by
3r
(I)(r) - 2r 2 _ r + 2" (4.116)
In this case, the function ~ ( r ) corresponds to the limiter of Hemker and Koren
[95]. Following the same way as in the previous case, we obtain formulae for the
left and right state at the face ( I + 1 / 2 ) which are identical to Eq. (4.113), but
now with [92]
5 - (2a2 + e)b + (b2 + 2e)a (4.117)
2a 2 + 2 b 2 - a b + 3 e "
The definitions of the coefficients a, b, and of the parameter e are retained.
4.3. Discretisation of the Convective Fluxes 117
L i m i t e r for C U S P S c h e m e
In the framework of the CUSP scheme (Subsection 4.a.2), the left (L) and right
(R) states are evaluated to second-order accuracy according to [43]
1
UR -- UI+I - -~L (AUI+3/2, A U I _ I / 2 )
(4.118)
1
UL -- UI + -~L (AUI+3/2, A U I - 1 / 2 ) ,
where
/kUI_I/2= UI - UI_I
(4.119)
AUI+3/2 - UI+2 - UI+I .
In the above Eqs. (4.118) and (4.119), U represents a dependent variable and
L() the limited average
1
L ( A 1 , /k2) -- ~ ~I/(nl, A 2 ) ( n 1 nt- A2) , (4.120)
L i m i t e r for T V D S c h e m e
In comparison to the previous cases, the limiter here acts not on the conservative
or the primitive variables, but on the characteristic variables C. One particularly
suitable limiter function is given by [84]
1 (UI
g i + l /2 -- -~ + UI+1), (4.123)
where U is any of the above flow variables. The same holds in the case of both
cell-vertex schemes for the face (i+1/2) - s e e Figs. 4.5 and 4.8, respectively.
The remaining task is the evaluation of the first derivatives (gradients) of the
velocity components in Eq. (2.15) and of the temperature in Eq. (2.24). This
can be accomplished in one of two ways, i.e., by using
9 finite differences, or
9 Green's theorem.
ou ou o~ ou on ou o(
: ~ t _-a-;_-a--:, etc. (4.124)
Ox O~ Ox &7 0x aq ax
The derivatives U(, Un and Ur are obtained from finite difference approxima-
tions. More details can be found in Refs. [96]-[98]. See Appendix A.1 for the
derivatives of the coordinates and for the Jacobian of the transformation.
Here, we prefer the second approach, which is more in line with the finite
volume methodology treated in this book. However, it requires the construction
of an additional control volume for the computation of the derivatives. This
will be discussed below for the cell-centred and the cell-vertex scheme.
Once we obtained the values of the flow variables and of the first derivatives
at the faces of the control volume, we can sum up the contributions due to the
viscous fluxes according to Eq. (4.2). By adding the sum of the contributions
to the inviscid fluxes, we completed the spatial discretisation, and we can thus
integrate the approximated governing equations in time.
4.4. Discretisation of the Viscous Fluxes 119
F i g u r e 4.12: Auxiliary control volume f~' (filled) for evaluation of first deriva-
tives in two dimensions: (a) cell-centred scheme; (b) cell-vertex scheme. The
diamond symbol denotes location where first derivatives are to be evaluated.
120 Chapter 4. Structured Finite Volume Schemes
We can apply the same approach in three dimensions, where again four cell-
centred values can be utilised for the averaging. Hence,
1
UmI,J+I/2,K -- -- (UI,J,K -~- UI+I,J,K -~- U I , J + I , K -~- U I + I , J + I , K )
4
(4.127)
UmI,J-}-I/2,K-}-I/2 __-- 1 (UI,j, K -~ UI ~J ~K + I + UI JT1,K + U I , J + I , K + I ) ,
The above scheme is quite compact, with the computational stencil extend-
ing over only nine cells in two dimensions and over 15 in three dimensions. It
should be noted that this approach for computing the first derivatives cannot
suppress the generation of two types of spurious modes (decoupled solutions
at neighbouring cell centres) [99], [19]: the chequer-board mode, arising from
the form of the integral around the control volume, and a pair of corrugated
or washboard modes, arising from the averaging of values in neighbouring cells.
However, there are generally no difficulties with this in practice. A more seri-
ous problem would occur, if the gradients would be first evaluated for each cell
(similar to the convective fluxes) and then averaged at the cell faces. Although
this approach may appear more attractive than the current methodology, it is
not recommended since it leads to strong odd-even decoupling.
4.4. Discretisation of the Viscous Fluxes 121
Bibliography
[1] Hirsch, C.: Numerical Computation of Internal and External Flows. Vols.
1 and 2, John Wiley and Sons, 1988.
[2] Mohanraj, R.; Neumeier, Y.; Zinn, B.T.: Characteristic-Based Treatment
of Source Terms in Euler Equations for Roe Scheme. AIAA Journal, 37
(1999), pp. 417-424.
[3] Jameson, A.; Baker, T.J.: Solution of the Euler Equations for Complex
Configurations. AIAA Paper 83-1929, 1983.
[4] Rossow, C.-C.: Berechnung von StrSmungsfeldern dutch L5sung
der Euler-Gleichungen mit einer erweiterten Finite-Volumen Diskreti-
sierungsmethode (Calculation of Flow Fields by the Solution of Euler
Equations Using an Extended Finite Volume Discretisation Scheme). DLR
Research Report, No. 89-38, 1989.
[5] Brunet, C.W.S.: Geometric Properties of Arbitrary Polyhedra in Terms
of Face Geometry. AIAA Journal, 33 (1995), p. 1350.
[6] Jameson, A.; Schmidt, W.; Turkel, E.: Numerical Solutions of the Euler
Equations by Finite Volume Methods Using Runge-Kutta Time-Stepping
Schemes. AIAA Paper 81-1259, 1981.
[7] Ni, R.H.: Multiple Grid Scheme for Solving the Euler Equations. AIAA
Paper 81-1025, 1981.
Is] Hall, M.G.: Cell-Vertex Multigrid Scheme for Solution of the Euler Equa-
tions. Proc. Int. Conf. on Numerical Methods for Fluid Dynamics, Read-
ing, UK, Springer Verlag, 1985.
[9] Radespiel, R.: A Cell-Vertex Multigrid Method for the Navier-Stokes
Equations. NASA TM-101557, 1989.
[11] Rossow, C.-C.: Flux Balance Splitting- A New Approach for a Cell-Vertex
Upwind Scheme. Proc. 12th Int. Conf. on Numerical Methods in Fluid
Dynamics, Oxford, UK, Springer Verlag, 1990.
[12] Rossow, C.-C.: Accurate Solution of the 2D Euler Equations with an Ef-
ficient Cell-Vertex Upwind Scheme. AIAA Paper 93-0071, 1993.
[13] Usab, W.J.: Embedded Mesh Solutions of the Euler Equations Using a
Multiple-Grid Method. Ph.D. Thesis, MIT, Cambridge, Massachusetts,
USA, 1983.
Bibliography 123
[15] PaillSre, H.; Deconinck, H.; Roe, P.L.: Conservative Upwind Residual-
Distribution Schemes Based on the Steady Characteristics of the Euler
Equations. AIAA Paper 95-1700, 1995.
[16] Issman, E.; Degrez, G.; Deconinck, H.: Implicit Upwind Residual-
Distribution Euler and Navier-Stokes Solver on Unstructured Meshes.
AIAA Journal, 34 (1996), pp. 2021-2028.
[17] Van der Weide, E.; Deconinck, H.: Compact Residual-Distribution Scheme
Applied to Viscous Flow Simulations. VKI Lecture Series 1998-03, 1998.
[18] Dick, E.: A Flux-Difference Splitting Method for Steady Euler Equations.
J. Computational Physics, 76 (1988), pp. 19-32.
[21] Roe, P.L.: Error Estimates for Cell-Vertex Solutions of the Compressible
Euler Equation. ICASE Report No. 87-6, 1987.
[23] Arts, T.: On the Consistency of four Different Control Surfaces Used for
Finite Area Blade-to-Blade Calculations. Int. J. Numerical Methods in
Fluids, 4 (1984), pp. 1083-1096.
[24] Turkel, E.: Accuracy of Schemes with Non-Uniform Meshes for Compress-
ible Fluid Flows. ICASE Report No. 85-43, 1985.
[25] Turkel, E.; Yaniv, S.; Landau, U.: Accuracy of Schemes for the Euler
Equations with Non-Uniform Meshes. ICASE Report No. 85-59, 1985.
[28] Venkatakrishnan, V.; Mavriplis, D.J.: Implicit Method for the Computa-
tion of Unsteady Flows on Unstructured Grids. J. Computational Physics,
127 (1996), pp. 380-397.
[29] Van Leer, B.: Towards the Ultimate Conservative Difference Scheme V.
A second Order Sequel to Godunov's method. J. Computational Physics,
32 (1979), pp. 101-136.
[33] Yoon, S.; Kwak, D.: Artificial Dissipation Models for Hypersonic External
Flow. AIAA Paper 88-3708, 1988.
[34] Turkel, E.; Swanson, R.C.; Vatsa, V.N.; White, J.A.: Multigrid for Hyper-
sonic Viscous Two- and Three-Dimensional Flows. AIAA Paper 91-1572,
1991.
[35] Swanson, R.C.; Turkel, E.: On Central Difference and Upwind Schemes.
J. Computational Physics, 101 (1992), pp. 292-306.
[36] Jameson, A.: Artificial Diffusion, Upwind Biasing, Limiters and their Ef-
fect on Accuracy and Multigrid Convergence in Transonic and Hypersonic
Flow. AIAA Paper 93-3559, 1993.
[37] Swanson, R.C.; Radespiel, R.; Turkel, E.: Comparison of Several Dissipa-
tion Algorithms for Central Difference Schemes. ICASE Report No. 97-40,
1997; also AIAA Paper 97-1945, 1997.
[38] Pulliam, T.H.: Artificial Dissipation Models for the Euler Equations.
AIAA Journal, 24 (1986), pp. 1931-1940.
[39] Van Leer, B.: Flux-Vector Splitting for the Euler Equations. Proc. 8th Int.
Conf. on Numerical Methods in Fluid Dynamics, Springer Verlag, 1982,
pp. 507-512; also ICASE Report 82-30, 1982.
[40] Liou, M.-S.; Steffen, C.J. Jr.: A New Flux Splitting Scheme. NASA TM-
104404, 1991; also J. Computational Physics, 107 (1993), pp. 23-39.
[42] Jameson, A.: Artificial Diffusion, Upwind Biasing, Limiters and their Ef-
fect on Accuracy and Multigrid Convergence in Transonic and Hypersonic
Flow. AIAA Paper 93-3559, 1993.
[43] Tatsumi, S.; Martinelli, L.; Jameson, A.: A New High Resolution Scheme
for Compressible Viscous Flow with Shocks. AIAA Paper 95-0466, 1995.
[45] Rossow, C.-C.: A Simple Flux Splitting Scheme for Compressible Flows.
Proc. l l t h DGLR-Fach-Symposium, Berlin, Germany, November 10-12,
1998.
[46] Rossow, C.-C.: A Flux Splitting Scheme for Compressible and Incompress-
ible Flows. AIAA Paper 99-3346, 1999.
[47] Thomas, J.L.; van Leer, B.; Wakers, R.W.: Implicit Flux-Split Schemes
for the Euler Equations. AIAA Paper 85-1680, 1985.
[48] Anderson, W.K.; Thomas, J.L.; van Leer, B.: A Comparison of Finite
Volume Flux Vector Splittings for the Euler Equations. AIAA Journal, 24
(1986), pp. 1453-1460.
[49] Hs D.; Schwane, R.; Seider, G.: On the Accuracy of Upwind Schemes
for the Solution of the Navier-Stokes Equations. AIAA Paper 87-1105,
1987.
[50] Van Leer, B.; Thomas, J.L.; Roe, P.L.; Newsome, R.W.: A Comparison
of Numerical Flux Formulas for the Euler and Navier-Stokes Equations.
AIAA Paper 87-1104, 1987.
[51] Hs D.; Schwane, R.: An Implicit Flux-Vector Scheme for the Compu-
tation of Viscous Hypersonic Flows. AIAA Paper 89-0274, 1989.
[52] Van Leer, B.: Flux Vector Splitting for the 1990's. Invited Lecture for the
CFD Symposium on Aeropropulsion, Cleveland, Ohio, 1990.
[53] Seider, G.; H/~nel, D.: Numerical Influence of Upwind TVD Schemes on
Transonic Airfoil Drag Prediction. AIAA Paper 91-0184, 1991.
[54] Liou, M.S.: On a New Class of Flux Splittings. Proc. 13th Int. Conf. on
Numerical Methods in Fluid Dynamics, Rome, Italy, 1992.
[55] Wada, Y.; Liou, M.-S.: A Flux Splitting Scheme with High-Resolution and
Robustness for Discontinuities. AIAA Paper 94-0083, 1994.
[57] Radespiel, R.; Kroll, N.: Accurate Flux Vector Splitting for Shocks and
Shear Layers. J. Computational Physics, 121 (1995), pp. 66-78.
[59] Jameson, A.: Positive Schemes and Shock Modelling for Compressible
Flow. Int. J. Numerical Methods in Fluids, 20 (1995), pp. 743-776.
[60] Jameson, A.: Analysis and Design of Numerical Schemes for Gas Dynam-
ics II: Artificial Diffusion and Discrete Shock Structure. Int. J. Computa-
tional Fluid Dynamics, 5 (1995), pp. 1-38.
[61] Tatsumi, S.; Martinelli, L.; Jameson, A.: A Design, Implementation and
Validation of Flux Limited Schemes for the Solution of the Compressible
Navier-Stokes Equations. AIAA Paper 94-0647, 1994.
[62] Nemec, M.; Zingg, D.W.: Aerodynamic Computations Using the Convec-
tive Upstream Split Pressure Scheme with Local Preconditioning. AIAA
Paper 98-2444, 1998.
[63] Roe, P.L.: Approximate Riemann Solvers, Parameter Vectors, and Dif-
ference Schemes. J. Computational Physics, 43 (1981), pp. 357-372.
[65] Osher, S.; Solomon, F.: Upwind Difference Schemes for Hyperbolic Sys-
tems of Conservation Laws. Math. Comp., 38 (1982), pp. 339-374.
[66] Roe, P.L.; Pike, J.: Efficient Construction and Utilisation of Approximate
Riemann Solutions. Computing Methods in Applied Sciences and Engi-
neering, R. Glowinski, J.L. Lions (eds.), North Holland Publishing, The
Netherlands, 1984.
[67] Peery, K.M.; Imlay, S.T.: Blunt-Body Flow Simulations. AIAA Paper 88-
2904, 1988.
[69] Quirk, J.J.: A Contribution to the Great Riemann Solver Debate. ICASE
Report No. 92-64, 1992.
[70] Harten, A.; Lax, P.D.; Van Leer, B.: On Upstream Differencing and
Godunov-Type Schemes for Hyperbolic Conservation Laws. Soc. Industrial
and Applied Mathematics Rew., 25 (1983), No. 1.
Bibliography 127
[71] Harten, A.; Hyman, J.M.: Self Adjusting Grid Methods for One-
Dimensional Hyperbolic Conservation Laws. J. Computational Physics,
50 (1983), pp. 235-269.
[72] Vinokur, M.: Flux Yacobian Matrices and Generalized Roe Average for an
Equilibrium Real Gas. NASA CR-177512, 1988.
[74] Grossman, B.; Cinnella, P.: Flux-Split Algorithms for Flows with Non-
equilibrium Chemistry and Vibrational Relaxation. J. Computational
Physics, 88 (1990), pp. 131-168.
[75] Shuen, J.-S.; Liou, M.-S.; Van Leer, B.: Inviscid Flux-Splitting Algo-
rithms for Real Gases with Non-equilibrium Chemistry. J. Computational
Physics, 90 (1990), pp. 371-395.
[76] Mulas, M.; Chibbaro, S.; Delussu, G.; Di Piazza, I.; Talice, M.: Efficient
Parallel Computations of Flows of Arbitrary Fluids for All Regimes of
Reynolds, Mach and Grashof Numbers. Int. J. Numer. Methods for Heat
& Fluid Flow, 12 (2002), pp. 637-657.
[77] Harten, A.: High Resolution Schemes for Hyperbolic Conservation Laws.
J. Computational Physics, 49 (1983), pp. 357-393.
[78] Jameson, A.; Lax, P.D.: Conditions for the Construction of Multi-Point
Total Variation Diminishing Difference Schemes. MAE Report 1650,
Dept. of Mechanical and Aerospace Engineering, Princeton University,
1984.
[79] Davis, S.F.: TVD Finite Difference Schemes and Artificial Viscosity.
ICASE Report No. 84-20, 1984.
[80] Yee, H.C.: Construction of Implicit and Explicit Symmetric TVD Schemes
and Their Applications. J. Computational Physics, 68 (1987), pp. 151-179.
[81] Yee, H.C.; Kutler, P.: Application of Second-Order Accurate Total Varia-
tion Diminishing (TVD) Schemes to the Euler Equations in General Ge-
ometries. NASA TM-85845, 1983.
[82] Yee, H.C.: Upwind and Symmetric Shock-Capturing Schemes. NASA TM-
89464, 1987.
[83] Yee, H.C.; Harten, A.: Implicit TVD Schemes for Hyperbolic Conser-
vation Laws in Curvilinear Coordinates. AIAA Journal, 25 (1987), pp.
266-274.
128 Chapter 4. Structured Finite Volume Schemes
[86] Kroll, N.; Gaitonde, D.; Aftosmis, M.: A Systematic Comparative Study
of Several High Resolution Schemes for Complex Problems in High Speed
Flows. 29th AIAA Aerospace Sci. Meeting and Exhibit, Reno, USA, 1991.
[87] Kroll, N.; Rossow, C.-C.: A High Resolution Cell Vertex TVD Scheme for
the Solution of the Two- and Three-Dimensional Euler Equations. 12th
International Conf. on Numerical Methods in Fluid Dynamics, Oxford,
UK, 1990.
[88] Miiller, B.: Simple Improvements of an Upwind TVD Scheme for Hyper-
sonic Flow. AIAA Paper 89-1977, 1989.
[89] Blazek, J.: Methods to Accelerate the Solutions of the Euler- and Navier-
Stokes Equations for Steady-State Super- and Hypersonic Flows. Transla-
tion of DLR Research Report 94-35, ESA-TT-1331, 1995.
[93] Van Albada, G.D.; Van Leer, B.; Roberts, W.W.: A Comparative Study
of Computational Methods in Cosmic Gas Dynamics. Astronomy and As-
trophysics, 108 (1982), pp. 76-84.
[95] Hemker, P.W.; Koren, B.: Multigrid, Defect Correction and Upwind
Schemes for the Steady Navier-Stokes Equations. Synopsis, HERMES Hy-
personic Research Program Meeting, Stuttgart, Germany, 1987.
[96] Radespiel, R.; Swanson, R.C.: An Investigation of Cell Centred and Cell
Vertex Multigrid Schemes for the Navier-Stokes Equations. AIAA Paper
89-0548, 1989.
Bibliography 129
Unstructured Finite
Volume Schemes
The finite volume schemes, which are discussed in this chapter, are based
on the conservation laws, as they are represented by the Navier-Stokes (2.19)
or by the Euler equations (2.45). In a pre-processing step, the physical domain
is first subdivided into a number of elements (grid cells). In two dimensions,
the elements are triangles, sometimes combined with quadrilaterals. In three
dimensions, tetrahedra are most often employed [2]-[7]. However, an increasing
number of flow solvers uses a mix of tetrahedra, prisms, pyramids, and in some
cases also hexahedra (Fig. 5.1) for the simulation of high Reynolds number
viscous flows [8]-[16]. Unstructured grids composed of various cell types are
referred to as mixed grids. Examples are provided in Figs. 3.3 and 5.2. The
designation 'mixed grids' should not be confused with the term hybrid grids,
which means combined structured-unstructured grids (e.g., [17]-[19]).
131
132 Chapter 5. Unstructured Finite Volume Schemes
tetrahedron pyramid
prism hexahedron
F i g u r e 5.2: Planar cut through a 3-D unstructured mixed grid around a com-
pressor blade. Grid was generated using CENTAUR T M [20], [21]. Note the
layers of quadrilateral faces around the surface which is due to the prisms. Ir-
regularity of the tetrahedral grid is caused by the planar cut.
133
The grid generation has to be done in a way that preserves the conservation
properties of the governing equations, namely:
In addition to fulfilling the above requirements, the grid should be smooth, i.e.,
there should be no large differences in the volumes or in the stretching ratio of
adjacent grid cells and the elements should be as regular as possible. Otherwise,
the numerical errors could spoil the solution accuracy completely [22], [23].
Based on the grid, suitable control volumes are defined in order to evaluate
the integrals of the convective and viscous fluxes as well as of the source term.
For simplicity, let us assume that a particular control volume does not change in
time (otherwise see Appendix A.5). Then, the time derivative of the conservative
variables W can be cast in the form
OW
O---Y
Herewith, Eq. (2.19) becomes
In the above expression, the index I in capital letters references the control
volume, since in general it does not necessarily coincide with the grid, as we
shall see later. Furthermore, NF denotes the number of the faces of the control
volume t~i, and the variable ASm stands for the area of the face m, respectively.
The number of faces NF depends of course on the cell-type but also on the
type of the control volume. In general, the number of faces changes between
the control volumes as well, which is one of the main differences as compared
to structured grids. However, numerical procedures and data structures were
134 Chapter 5. Unstructured Finite Volume Schemes
developed which avoid the a priori knowledge of NF. We shall return to this
point in later sections.
The term in square brackets on the right-hand side of Eq. (5.2) is usually
denoted as the residual. Thus, we may abbreviate Eq. (5.2) as
dW~ 1
= (5.3)
dt ~i
Writing down the relationship in Equation (5.3) for all control volumes ~I, we
obtain a system of ordinary differential equations of first order. The equations
are hyperbolic in time, that means we have to advance them in time starting
from a known initial solution. We have also to provide appropriate bound-
ary conditions for the viscous and the inviscid fluxes, as they are described in
Chapter 8.
When numerically solving the system of discretised governing equations
(5.3), the first question is how to define the control volumes and where to locate
the flow variables with respect to the grid points. In the framework of finite
volume schemes, three basic strategies can be pursued:
9 Cell-centred scheme [25], [26], [2], [16]- control volumes are identical with
the grid cells and the flow variables are associated with their centroids
(Fig. 5.6).
9 Cell-vertex scheme with overlapping control volumes [27], [28] - flow quan-
tities are assigned to the grid vertex and the control volumes are defined
as the union of all grid cells having the respective node in common. This
means that the control volumes associated with two neighbouring vertices
overlap each other.
Many choices exist with respect to the evaluation of the convective fluxes.
The basic problem is that we have to know their values at all NF faces of a con-
trol volume, but the flow variables are not directly available there. This means,
we have to interpolate either the fluxes or the flow variables to the faces of the
control volume. The interpolation of flow variables is known as reconstruction
of the solution from values inside the control volumes (see Subsection 5.3.3). In
principle, the interpolation can be conducted in one of two ways:
Besides the description, we shall treat aspects such as accuracy, range of appli-
cability and numerical effort of the most widely used discretisation schemes for
the convective fluxes in Section 5.3.
A commonly applied methodology for the evaluation of the viscous fluxes
at a face of the control volume is based on arithmetic averaging of the flow
quantities. More involved is the calculation of the velocity and the temperature
gradients in Equations (2.15) and (2.24), particularly in the case of mixed grids.
We shall present the complete procedure in Section 5.4.
136 Chapter 5. Unstructured Finite Volume Schemes
Triangular element
The area of a general triangle can be most conveniently and exactly calculated
by the formula of Gauss. Thus, using a node numbering in accordance with Fig.
5.3a, the volume results from
b
-- ~ [ ( X l -- X2)(Yl -~- Y2)
+ - + (5.4)
Quadrilateral element
The area of a general quadrilateral can be exactly calculated by Gauss' formula,
which leads, after some algebra, to the expression
b
-- ~ [(Xl -- X3)(Y2 -- Y4) -~ (X4 -- X2)(Yl -- Y3)] , (5.5)
where the nodes are numbered according to Fig. 5.3b in the anti-clockwise di-
rection. In the above, we assumed that the control volume is located in the
x-y-plane and that the z-coordinate represents the symmetry axis.
5.1. Geometrical Quantities of a Control Volume 137
(a) (b)
3
4
C
m
v w
1 2
F i g u r e 5.3: Numbering of nodes and face vector of: (a) triangular element,
(b) quadrilateral element. C denotes the centre of the element.
The edges of a control volume are given by straight lines in 2D and therefore
the unit normal vector is constant along them. When we integrate the fluxes
according to the approximation of Eq. (5.2), we have to evaluate the product
of the area of a face AS and the corresponding unit normal vector ~ which is
the face vector S. Considering Fig. 5.3, the outward pointing face vector, e.g.,
at the side 2-3 is given by
Because of the symmetry, the z-component of the face vectors (and of the unit
normal vector) is zero. It is therefore omitted in Eq. (5.6). The unit normal
vector can be obtained from Eq. (5.6) with
(5.7)
Element Centre
The centre of the triangle from Fig. 5.3a is defined as
1
r5 - ~ (~1 + ~2 + ~3) (5.s)
with rl/2/3 representing the Cartesian coordinates of the nodes. The centre of
a quadrilateral element can be computed by the formula given in Ref. [34]. For
138 Chapter 5. Unstructured Finite Volume Schemes
this purpose, the quadrilateral is decomposed into two triangles which share two
points. With the node numbering according to Fig. 5.3b, and 1 and 3 being the
common nodes, the relation reads
The volumes of the two triangles ~123 and ~'~134 are evaluated using Eq. (5.4),
and their centroids r'c are obtained from Eq. (5.8).
As opposed to the previous 2-D case, the computation of face vectors and vol-
umes poses in 3D some problems for elements or control volumes with quadri-
lateral faces. The main reason for this is that, in general, the four vertices of a
quadrilateral face of a control volume may not lie in a plane. Then, the normal
vector is no longer constant on such face (see Fig. 4.2). In order to overcome
this difficulty, we could decompose each quadrilateral face into two or even more
triangles. However, the gain in accuracy is hardly noticeable for a second-order
scheme on a smooth grid. The additional effort can only be j u s t i f i e d - and in
fact it becomes n e c e s s a r y - for a third- and higher order spatial discretisations.
Therefore, we shall apply a simplified treatment of the quadrilateral faces in the
following considerations, which is based on an averaged normal vector.
T r i a n g u l a r face
The face vector S can be exactly computed for a triangular face using Gauss'
formula. Defining the nodes according to Fig. 5.4a, we obtain for the edge
differences of the triangle 1-2-3
(a) (b)
3 S
2 1 2
F i g u r e 5.4: Numbering of nodes and face vector of: (a) tetrahedral element,
(b) hexahedral element.
Q u a d r i l a t e r a l face
-+
The averaged face vector S of a quadrilateral face, like that rendered in Fig.
5.4b, is most conveniently computed using the same Gauss' formula as employed
in 2-D for the area of a quadrilateral. Thus, for the face given by the nodes 5,
6, 7 and 8 in Fig. 5.4b, we first define the differences
AXA ~ x8 -- X6 , AXB ~ X7 -- X5 ,
AZA -- Z 8 -- Z6, A ZB ~ z7 ~ z5 .
Then, we obtain the outward pointing face vector S - g A S from the relation
where Sx, Sy and S~ denote the Cartesian components of the face vector given
by Eq. (5.11) or Eq. (5.13), respectively.
140 Chapter 5. Unstructured Finite Volume Schemes
Volume
As we already stated in the case of 3-D structured finite volume schemes, a very
convenient approach for the computation of volumes is based on the divergence
theorem [35]. The discussion in Subsection 4.1.2 led finally to the expression
1 NF
f~ - ~ E (~" S)m (5.15)
m--1
for the volume, where NF denotes the number of the faces of the control volume,
(r'~)m the centre of the face m of the control volume, and Sm the face vector
(outward directed) of the face m, respectively. The formula (5.15) is directly
applicable on unstructured grids. It is exact for a volume with triangular faces,
or a volume with planar quadrilateral faces.
Cell Centroid
The previously mentioned median-dual type of control volume requires the
knowledge of the centroid of the grid cell. The centroid of a general volume
is defined as
lfa
r~- ~ ~'d~t. (5.16)
According to the derivation in Ref. [34], the relation in Eq. (5.16) can be dis-
cretised as
NF
-~ m--1 (5.17)
r c -~- NF
4 ~ (~'~. g)mASm
m=l
where the centre of a face m, i.e., (~c)m is obtained from Eq. (5.8) for a triangular
face, or from Eq. (5.9) for a quadrilateral face. As we can note, the denominator
in Eq. (5.17) is identical to f~/3 from Eq. (5.15).
5.2. General Discretisation Methodologies 141
5.2 General D i s c r e t i s a t i o n M e t h o d o l o g i e s
We already mentioned at the beginning of this chapter that there are two pop-
ular approaches for the definition of the control volume and for the location
of the flow variables. These are the cell-centred scheme and the median-dual
scheme. We shall present both in more detail in this section.
However, before we start, let us say a few words about the basic data struc-
ture which is needed for an unstructured flow solver. In fact, a flexible but in
terms of memory and operation count efficient data structure is the crucial point
of any unstructured scheme. You can say that the structure which is missing
in the grid has to be provided inside the solver. At least the following data is
required:
Further data structures, which are required by the discretisation schemes, can
be generated from this information. In order to illustrate how the above data
could possibly be stored, let us consider for example the tetrahedron in Fig.
5.4a. If we further assume that the face 1-2-4 is on a boundary (wall, inlet,
farfield, etc.), we could employ the format:
# tetrahedra-
. . ,
P1 P2 P3 P4
. . .
# boundaries"
type Pl P4 P2
A similar format is also utilised by the 2-D unstructured code provided on the
accompanying CD-ROM.
It is important to realise the following two points related to the boundaries
of the computational domain. First, it is more convenient to store boundary
faces than just the nodes. This can be understood by considering the situation
depicted in Fig. 5.5. The problem is that node P1 is shared by three, nodes P2
and P3 by two boundaries of possibly physically different types. Therefore, it
can become very cumbersome to apply the correct boundary conditions. On the
contrary, a face can belong to only o n e boundary, like P1-P2-P4 to boundary 1.
142 Chapter 5. Unstructured Finite Volume Schemes
The second point concerns the numbering of the nodes of the boundary faces.
This has to be done in a consistent w a y - e.g., anti-clockwise when viewed from
outside the flow d o m a i n - in order to have all face vectors (Eqs. (5.6), (5.11) or
(5.13)) either pointing outward or inward.
We speak of a cell-centred scheme if the control volumes are identical with the
grid cells and if the flow variables are associated with their centroids, as it is
sketched in Fig. 5.6. When we evaluate the discretised flow equations (5.2), we
have to supply the convective and the viscous fluxes at the midpoints of the faces
of the control volume, which is sufficient for a second-order accurate discreti-
sation on smooth grids (averaged normal vector is employed for quadrilateral
faces). The fluxes can be approximated in one of three ways:
1. by the average of fluxes computed from values at the centroids of the grid
cells to the left and to the right of the cell face, but using the same unit
normal vector (generally applied only to the convective fluxes);
F i g u r e 5.6: Control volume of a cell-centred scheme (in 2D). Grid nodes are
represented by circles, cell centres by rectangles (C).
Thus, considering for example the cell face with the unit normal vector fi01 in
Fig. 5.6, the first approach - average of fluxes - reads in two dimensions
where the conservative/dependent variables at the face with the unit normal
vector fi01 are defined as the arithmetic average of values at the two adjacent
cells. Thus,
The flux vector F in Eq. (5.19) represents either the convective or the viscous
fluxes.
The third methodology starts with an interpolation of flow quantities (usu-
ally velocity components, pressure, density and total enthalpy) separately to
both sides of the cell face. The reconstructed quantities - termed the left and
the right state (see Subsection 5.3.3) - differ in general. The fluxes through the
cell face are then evaluated from the difference of the left and right state using
an appropriate non-linear function. Hence,
where
(
UL--IR~ ...,U2, Uo,... )
(5.22)
, U1, Uo, - - - )
represent the reconstructed states.
Of course, similar relations hold for the other control volume faces as well.
The above approximations can be employed in the same way in three dimen-
sions. The face vector S is then evaluated using the formulae (5.11) or (5.13),
respectively.
As we already stated in the introduction to this section, the basic data
structure which describes the elements has to be extended in an appropriate
way to support the discretisation methodology. It is obvious from the previous
discussion that numerical operations are carried out using mainly the faces of the
elements (control volumes) together with values at the centres of the adjacent
cells. It is therefore quite natural to employ a face-based data structure for the
spatial discretisation. Such data structure stores for each particular face in the
grid (see Fig. 5.6):
9 pointers to the two cells which share the respective f a c e - this allows us
to access the flow variables associated with the two cells (Co, C1);
9 the face vector (S01 = g01AS01) - must point consistently either outwards
or inwards;
9 two vectors from the centroid each cell to the midpoint of the face M01,
i.e., (C0-M01), (el-M01) - required for an accurate interpolation of flow
variables to the face. This is not necessary for purely tetrahedral grids,
where a simple extrapolation formula can be used [26], [2] (eft Eq. (5.44)).
Hence, the integration of the fluxes (e.g., according to Eq. (5.19)) would be
implemented as a loop over all (i.e., internal and boundary) faces contained in
the grid:
DO face = 1, nfaces
I = pointer_to_left_cell( face )
J = pointer_to_right_cell( face )
(# As),
ENDDO
After the loop is completed and the source term QI~I is added, we obtain the
final residuals (R) in all cells. A less efficient approach would be to loop over
5.2. General Discretisation Methodologies 145
elements because the face vectors would have to be stored twice and the fluxes
would be computed twice (with the exception of the boundaries). Furthermore,
because we use exactly the same face vector Sig in order to to evaluate the
partial fluxes into the volumes f~I and f~g, the conservation properties of the
governing equations are automatically retained.
Within the cell-vertex scheme, the flow variables are associated with the grid
nodes (vertices). Median-dual control volumes are formed by connecting the
centroids, face- and edge-midpoints of all cells sharing the particular node. This
is depicted in Fig. 5.7a for a tetrahedron and in Fig. 5.7b for a hexahedron. The
definition of a median-dual control volume results in a polyhedral hull around
each grid node, as it is sketched in Fig. 5.8 for a 2-D mixed grid. This polyhedra
can be viewed as a dual grid - hence the name of the scheme. It is interesting
to note that the median-dual finite volume discretisation is equivalent to the
Galerkin finite element scheme with linear elements (see, e.g., [36]).
In order to evaluate the discretised flow equations (5.2), we have to integrate
the convective and viscous fluxes over the surface of the control volume. Hence,
we would have to compute the fluxes for each partial face (e.g., F1-M13-F2-C in
Fig. 5.7a) separately. However, this is only required for a third- or higher-order
accurate discretisations [37], [38]. In the case of a second-order scheme, which
is most frequently employed, we may assume the flow variables to be constant
for all faces grouped around a particular edge. The fluxes are then evaluated at
the midpoint of the edge using the variables and the gradients from both nodes.
This approach allows us to define a mean unit normal vector and a total face
area associated with each edge. Thus referring to Fig. 5.8, the mean normal
vector, e.g., for the edge Po-P1 becomes
and the total face area is given by: AS01 -= /kSL -+- ASR. The same applies
also in 3D, where the mean normal vector results from a sum over all partial
faces having the particular edge-midpoint in common, as it is rendered in Fig.
5.9. The face vector (S - g AS) is computed in 2D from Eq. (5.6). In three
dimensions, where the partial faces are always quadrilaterals, we can either
divide them into triangles and use Eq. (5.11), or we can employ a simplified
treatment due to Eq. (5.13), which is sufficient for smooth grids. The element
centroids and the face centres are obtained by the formulae (5.17), (5.8), or
(5.9), respectively.
The fluxes can then be evaluated according to one of the three following
methodologies:
F i g u r e 5.8: Control volume of a median-dual scheme (in 2D). C1, C2, etc.
denote cell centres; P1, P2, etc. represent grid nodes. Face area associated with
the edge Po-P1 is rendered by a bold line.
F i g u r e 5.9: Total face area and mean unit normal vector associated with the
edge ij of the 3-D median-dual cell-vertex scheme.
148 Chapter 5. Unstructured Finite Volume Schemes
The computation of fluxes follows formally the same approaches as for the cell-
centred scheme. Thus, the formulae (5.18)-(5.22) are applicable also in the case
of the median-dual scheme. If we utilise the above approach which associates
each edge with a mean unit normal, the most efficient methodology is to employ
an edge-based data structure for the spatial discretisation. The edge-based data
structure stores for each particular edge in the grid (cf. Fig. 5.9):
9 pointers to the two nodes which define the e d g e - this allows us to access
the flow variables associated with the two control volumes ~i and ~j;
9 the edge vector from node i to node j - required for the interpolation of
flow variables to the face (solution reconstruction). Alternatively, the edge
vector can be computed on the fly from coordinates of the nodes. This
is not required for the standard central scheme with artificial dissipation
(Subsection 5.3.1).
With this, the integration of the fluxes (e.g., according to Eq. (5.19)) would be
implemented as a loop over all edges in the grid:
DO edge = 1, hedges
i - pointer_toAeft_node( edge )
j = pointer_to_right_node( edge )
- + (f
R5 - R5 - (f
ENDDO
After the loop is completed and the source term Qi~i is added, we obtain
the final residuals (R) in all nodes. This approach is significantly more efficient
than summing up the fluxes over each control volume separately, because we
store each mean face vector only once and we also visit each edge only once
instead of twice. Furthermore, since we use exactly the same mean face vector
Sij in order to to evaluate the partial fluxes into the volumes Qi and ~tj, the
mass, momentum and energy remain exactly conserved.
5.2. General Discretisation Methodologies 149
The relative advantages and disadvantages of the cell-centred and the median-
dual scheme are the subject of controversial debates. The main reason is the
lack of fair comparisons of the two methodologies with respect to accuracy, com-
putational time and memory for realistic configurations. Our intention here is
to collect the most important arguments for and against each of the approaches
regarding:
9 accuracy,
9 computational work,
9 flexibility.
Accuracy
A cell-centred scheme on a triangular/tetrahedral grid leads to about twice/six
times as many control volumes and hence degrees of freedom as a median-dual
scheme [36]. On typical mixed grids, which consist of tetrahedra and prisms, a
cell-centred scheme gives roughly three times more unknowns than a median-
dual scheme. This suggests that cell-centred schemes are more accurate than
cell-vertex discretisations on an identical grid. However, the residual of a cell-
centred scheme results from a much smaller number of fluxes as compared to a
median-dual scheme (three versus approximately seven on a tetrahedral grid),
which may impair the accuracy. Thus, there is no clear evidence about which
scheme might be superior.
The median-duM scheme suffers from a particular problem on stretched tri-
angular and tetrahedral grids. Consider, for example, Fig. 5.10, which shows a
tessellation composed of right triangles, as it is often employed near solid walls
for viscous flows. We can see in Fig. 5.10a that the face ASij becomes highly
skewed with respect to the edge ij. However, spatial discretisation schemes
mostly assume fluxes to be orthogonal to a face (especially Riemann solvers).
Thus, an error is introduced which is particularly significant for a first-order
scheme [38]. The situation can be improved using the so-called containment-
dual control volume [39]. As depicted in Fig. 5.11, the containment-dual ap-
proach employs the centres of the minimum spanning circles/spheres instead
of the cell centroids to define the faces. This leads to control volumes identi-
cal to those on quadrilateral grids (Fig. 5.10b). Notice that there is no face
area associated with diagonal edges like ij ~. An additional effort is required
for pre-processing, but the solution accuracy can be improved noticeably [40].
Of course, another possibility is to employ directly quadrilateral or hexahedral
150 Chapter 5. Unstructured Finite Volume Schemes
containment circle
F i g u r e 5.11: Part of containment dual (dashed line) in the case of acute (a)
and obtuse (c) triangles [40]. The containment circle is the smallest circle which
contains the triangle. For obtuse triangles, it is centred on the longest edge.
cells within the boundary layers. Further discussion of grid-induced errors can
be found in Ref. [22] and [23].
The mismatch between the centroid of the control volume and the node
where the residual is stored has also a further implication for the median-dual
scheme. It arises as the mass matrix in the case of unsteady flows. We discussed
this point already at the beginning of Section 3.2. The advantage of the cell-
centred scheme is that the mass matrix can be eliminated from the equations,
without compromising the solution accuracy. By contrast, the median-dual
scheme requires a special treatment of the mass matrix [41], [42].
152 Chapter 5. Unstructured Finite Volume Schemes
Computational W o r k
In order to judge the computational effort required for both schemes, we have
to consider primarily the integration of the fluxes. We know from the previous
discussion that the cell-centred scheme uses a loop over cell faces whereas the
median-dual scheme loops over the edges. Since the evaluation of the fluxes at
an interface is quite similar for both schemes, the ratio of the number of cell
faces to the number of edges gives the ratio of the computational work. Thus,
on a tetrahedral grid, where the number cell faces (if counted only once for every
two cells) is approximately two times larger than the number of edges, the cell-
centred scheme is computationally twice as much expensive as the median-dual
scheme on an identical grid [36]. The cell-centred approach becomes however
more competitive on mixed grids containing prismatic elements. Apart from
boundary treatment, both methods are computationally equivalent on hexahe-
dral grids, where the number of faces equals the number of edges.
Memory Requirements
Considering the memory requirements, the cell-centred scheme has to store
about six times more flow variables on tetrahedral and about three times more
variables on usual mixed grids as compared to the median-dual scheme. Fur-
thermore, as we saw, both schemes require to store two integers and three reals
(pointers and face vector) per cell face or edge, respectively. Additionally, the
cell-centred scheme has to keep two vectors to the face-midpoint - 6 reals -
per cell face in memory. On the contrary, the median-dual scheme can work
with the node coordinates only, which are considerably fewer values. Thus in
summary, the cell-centred scheme needs, on average, more than twice as much
computer memory as the median-dual method.
Grid Generation/Adaptation
One significant advantage of the cell-centred scheme appears in the case of non-
conforming cell interfaces, like those at the letter "F" in Fig. 3.4. In contrast to
the median-dual methodology, no special and expensive procedure is required
for the computation of the fluxes at the interface. This allows for an increased
flexibility in the grid generation and also in the grid adaptation.
5.3. Discretisation of the Convective Fluxes 153
5.3 D i s c r e t i s a t i o n of t h e C o n v e c t i v e F l u x e s
In the previous sections, we considered general issues of possible spatial discreti-
sation methodologies including the necessary data structures. In what follows,
we shall learn more about the details, how the evaluation of the convective fluxes
can be implemented.
As we could already see in Subsection 3.1.5, in the framework of the finite
volume approach, we have basically the choice between:
9 central,
9 flux-vector splitting,
9 flux-difference splitting,
9 fluctuation-splitting
where N A stands for the number of adjacent control volumes. The cell indices
have to be substituted by node indices (i, j) in the case of the median-dual
scheme. The sum in Eq. (5.24) is best evaluated using either a loop over faces
(cell-centred scheme) or a loop over edges (median-dual scheme) similar to the
flux computation. The geometrical weights 0 are defined as
a22 - I ~ I z z - 12x z
(5.2s)
a23 - I~yI~ - I~xI~,z
a31 - - I x y l y z -- I x z I y y
N A
J=l
(5.31)
NA
'~IJ
J=l
156 Chapter 5. Unstructured Finite Volume Schemes
With the artificial dissipation term added, the system of equations in Eq. (5.2)
becomes
e(2)
IJ
_ k(2) m a x ( T / T j)
(5.35)
(4)
IJ - max O,
[ (k(4)- .(2)]
'-I J )
Typical values of the parameters are k (2) - 1//2 and 1/128 < k (4) _< 1/64.
As we already discussed in Subsection 4.3.1, the accuracy of the above central
scheme can be improved when we substitute a matrix [47] for the spectral radius
(Ac)IJ in Eq. (5.31). The implementation of this so-called matrix dissipation
scheme on unstructured grids proceeds in the same way as on structured grids,
with the scaling matrix defined as in Eq. (4.59). Application of the matrix
dissipation scheme to 3-D mixed grids is discussed, e.g., in Ref. [48].
It is important to note that for elements other than triangles/tetrahedra,
the popular explicit Runge-Kutta type of temporal discretisation experiences
5.3. Discretisation of the Convective Fluxes 157
severe stability problems when it is coupled to the central scheme [49]. The
reason is the representation of the fourth-order differences by the Laplacian of
the Laplacian. A remedy is to employ a difference of the left and the right state
(cf. Section 4.3) for the approximation of the fourth-order differences [49], i.e.,
NA NA
- - - E - .
J=l J--1
Upwind schemes seem to have gained, at least for the moment, much more
popularity on unstructured grids than the above central scheme. In fact, the
flux-difference splitting scheme of Roe [50] is the most widely employed ap-
proach on unstructured grids. It is the considerably more accurate resolution of
boundary layers and the lower sensitivity to grid distortions in comparison to
the central scheme, which explains the attractiveness of Roe's scheme. However,
the price to be paid for the improved performance is the higher computational
effort, which becomes quite significant if a limiter has to be used to suppress
oscillations of the solution (Subsection 5.3.5).
Any of the upwind schemes presented in Section 4.3 for structured grids are
applicable to unstructured grids without modifications to the basic methodology.
Only the computation of the left and right state (Eq. (5.22)), which is denoted
as solution reconstruction, as well as the evaluation of the limiting function
require new formulations. For this reason, only the solution reconstruction and
the limiters are discussed here. For details on the various upwind methods, the
reader is referred to Subsections 4.3.2-4.3.4. An example for the implementation
of Roe's scheme on unstructured grids using the median-dual approach can be
found, e.g., in Ref. [33].
uL=u
(5.3s)
u.=uj
158 Chapter 5. Unstructured Finite Volume S c h e m e s
with U representing some scalar flow variable. This leads to a spatial discretisa-
tion which is only first-order accurate. For viscous flows, a first-order accurate
solution is too diffusive and leads to an excessive growth of shear layers. There-
fore, methods with higher spatial accuracy are a must for the computation of
viscous flows.
We can achieve second- and higher-order accuracy if we assume the solution
changes over the control volume. For second-order accurate methods, which are
the most commonly employed higher-order methods, the solution is assumed
to vary in a linear fashion over the control volume. In order to compute the
left and right state, a reconstruction of the assumed solution variation becomes
necessary. In what follows, we shall discuss the most popular approaches for
the reconstruction of linear and quadratic variations. The interested reader is
referred to [38] for a comparison of various linear reconstruction techniques.
R e c o n s t r u c t i o n Based on M U S C L Approach
One possibility to achieve second-order accuracy consists of the extension of the
MUSCL approach [51] to unstructured grids. When applied to the median-dual
scheme, the method generates for each edge ij two "phantom" nodes i / and j/
[52]-[56]. These phantom nodes are located at the endpoints of the line obtained
by extending the edge ij by its length in both directions as sketched in Fig. 5.12.
After the solution is interpolated from the surrounding elements (gray coloured
in Fig. 5.12) to the phantom nodes, we can evaluate the left and right state
using the MUSCL formulae Eq. (4.46). Hence,
1
UR -- Uj - ~ [(1 + k)A_ + (1 - k)A+] Uj
(5.39)
1
UL -- Ui + -~ [(1 + k)A+ + (1 - s Ui
with forward (A+) and the backward (A_) difference operators defined as
a+v,= - v,
(5.40)
A + uj = uj, - uj a_uj=uj-u,.
F i g u r e 5.12: Evaluation of the left and right state based on interpolation from
elements in the direction of an edge ij (median-dual scheme in 2D).
F i g u r e 5.13: Linear reconstruction for the cell-centred (a) and the median-dual
(b) scheme in 2D.
160 Chapter 5. Unstructured Finite Volume Schemes
P i e c e w i s e Linear R e c o n s t r u c t i o n
(5.42)
1
u, - uj - -i% (vuj . .
L i n e a r R e c o n s t r u c t i o n B a s e d on N o d a l W e i g h t i n g P r o c e d u r e
It was demonstrated by Frink [26] that for the cell-centred scheme the linear
reconstruction (5.41) does not require an explicit evaluation of the gradient on
purely triangular or tetrahedral grids. The reason are two invariant geometric
features of these elements. First, a line from a node through the cell-centroid will
always intersect the midpoint of the opposing face. Second, the distance from
the cell-centroid to the face-midpoint is one-fourth (one-third for a triangle) of
5.3. Discretisation of the Convective Fluxes 161
the distance from the face-midpoint to the opposite node. Thus, the gradient
at the cell centre can be approximated by a simple finite difference [26]. For
example, if we were to reconstruct the solution at the face-midpoint F3 in Fig.
5.7a, the formulae (5.41) would become
with Uc being the value at the cell-centroid, U1, U2, etc. denoting the nodal
values, and finally 9 standing for a limiter, respectively.
Two different ways were devised by Frink in order to determine the nodal
values. The first approach is based on inverse distance weighting. Here, the
contribution to a node from the surrounding cells is inverse proportional to the
distance from the node to the cell-centroid [26], [57], i.e.,
NA NA
Ui - (~-~ OijUj) / (~-~ Oij) , (5.45)
J=l J=l
The subscripts J and i refer to the cell-centroid and to the node, respectively.
The above methodology leads to a reconstruction which is less than second-
order accurate, however, Frink pointed out that no limiter is needed at least
for inviscid flows [26], which reduces the computational effort significantly.
The second approach is based on work of Holmes et al. [45] and Rausch et
al. [46] in 2D. It was later extended to 3D by Frink [2]. Here, the weights Oij
in Eq. (5.45) are defined such that the nodal values are computed exactly if the
variation is linear. This leads to the same constraints as for the computation
of the pseudo Laplacian (5.24). Consequently, the weights are also the same
and follow from the Equations (5.25)-(5.30). The coordinates xi, yI, zx of the
cell-centroids are just replaced by the node coordinates xi, yi, zi. The scheme is
formally second-order accurate because the nodal values are computed exactly
for a linear function. In order to assure positivity on distorted grids, the weights
have to be restricted to the range (0, 2) [45]. Unfortunately, this reduces the
accuracy of the reconstruction. Frink et al. [4] also recently reported some
anomalous behaviour of the reconstruction for the Navier-Stokes equations.
1
UL -~ UI -Jr-~,,1 ( V U I " rL ) -~ ~I,2 (~LT/~I ~L)
(5.47)
V R -- Uj + II~J,1 ( V U j "
1~
~'R) + 2 J,2 (~.T H j ~..)
0L u u V
HI-- 2 2 02zg , (5.48)
5.3.4 E v a l u a t i o n of t h e G r a d i e n t s
An open point, which remains from the discussion of the piecewise linear and the
quadratic reconstruction, is the determination of the gradient. Gradients of the
velocity components and the temperature are also required for the evaluation
of the viscous fluxes (Section 5.4). Two approaches will be presented in the
following: the first is based on the Green-Gauss theorem, and the second utilises
the least-squares method.
Green-Gauss Approach
This method approximates the gradient of some scalar function U as the surface
integral of the product of U with an outward-pointing unit normal vector over
some control volume gt~, i.e.,
V U ~ -1
~ ~oa, UgdS. (5.49)
Median-Dual Scheme
Barth and Jespersen [30] derived a particular discretisation of the Green-Gauss
approach from the Galerkin finite element method. Later on, the discretisation
was extended to 3D by Barth [64]. Barth and Jespersen applied Eq. (5.49) to
the region formed by the union of the elements meeting at a node. They proved
164 Chapter 5. Unstructured Finite Volume Schemes
that the approach can be formulated such that it becomes compatible with the
edge-based data structure. However, this works only for the median-dual scheme
on triangular/tetrahedral grids. The resulting formula reads
Cell-Centred Scheme
We can use the Green-Gauss method in the cell-centred scheme as well. Hence,
the gradient at some cell-centroid I can be obtained from
Mixed Grids
1
1 (uj + uj+ ) jAsj (5.52)
j=l
with i = 0, the number of outer faces No = 6 (given by the points P1-P6), and
j + l - 1 for j - 6. Furthermore, gy and ASj stand for the unit normal vector
and the area of the outer cell faces. In 3D, we can use
1
1 (Vj,1 + Vj,2 2t- Uj 3 ) n j A S j , (5.53)
j=l
-5
5.3. Discretisation of the Convective Fluxes 165
Least-Squares Approach
The evaluation of gradients by the least-squares approach was first introduced
by Barth [64], [36]. In order to illustrate the method, let us consider the median-
dual scheme. Herewith, the least-squares approach is based upon the use of a
first-order Taylor series approximation for each edge which is incident to the
central node i. The change of the solution along an edge ij can be computed
from
= uj - (5.54)
where r]j is given by Eq. (5.43) and represents the vector from node i to node
j (see Fig. 5.9 or Fig. 5.13b). When we apply the relation (5.54) to all edges
incident to node i, we obtain the following over-constrained system of linear
equations
9
.
.
.
.
[ o.u l
o uI
OzUJ
oj ( u j -
(5.55)
with A(.)ij - ( . ) j - (')i and Om(') -- O(.)/Om. Further, NA denotes the number
of adjacent nodes j connected to i by an edge and 0j stands for some weighting
coefficient. The weights can depend on the geometry and/or on the solution
166 Chapter 5. Unstructured Finite Volume Schemes
(see, e.g., [40]). However, in practice 0j is usually set to unity. For convenience,
we abbreviate the above system (5.55) as
_ --~
A 2 - b. (5.56)
Solving Eq. (5.56) for the gradient vector Z requires the inversion of the
_
Using a lower case letter with double subscripts to denote a matrix element, we _
may write the Gram-Schmidt orthogonalisation of the matrix A - [all, ~2, d3]
as Q - [ q l , q'2, q'3], where
1
ql -- - - a l
rll
q~2 - d2 al (5.5s)
r22 rll
1 [ r23_~ (r13 r12 r23) dl]
q3 -- (~3 a2 -- --- 9
r33 1"22 7"11 rll r22
The entries in the upper triangular matrix R are obtained from
NA
rll - -
I1 NA
j=l
~ NA
j=l
(5.59)
NA
1
r13 -- E
/-11 j-1
AxijAzij
r23 --
1
r22 (~ Ay~jAzij
j--1
NA
r12 E AxijAzij
rll j=l
)
NA
r33 --
I j=l
+
5.3. Discretisation of the Convective Fluxes 167
Using Eqs. (5.57)-(5.59), the gradient at node i follows from the weighted sum
of the edge differences
NA
- - e , ( u , - (5.60)
j=l
olij ,3
Axij
(~ij,1 z r21
1( r12/kxij~ (5.62)
olij,2 -- r2--~ Ayij - rll J
1 ( r23 )
(~ij,3 -- r~-~ Aziy r22 Ayij +/~Axiy ,
where
/~ __ r12r23 - r13r22 (5.63)
?~11/'22
The formulation of the least-squares approach remains formally the same for a
cell-centred scheme, only the nodes have to be substituted by cell-centroids. An
example may be found in Ref. [16].
The least-squares method is first-order accurate on general grids [63]. It is
also consistent, i.e., the gradient of a linear function is computed to roundoff er-
ror, regardless of the type of the elements. Therefore, the method is particularly
suited to mixed grids. The computational costs are comparable to those of the
Green-Gauss approach, since only a vector-scalar multiplication (Eq. (5.60)) is
needed within a single loop over faces/edges. However, we have to pre-compute _
and store the six entries (Eq. (5.59)) of the upper triangular matrix R at each
node. A detailed investigation in Ref. [67] revealed that the weighting coeffi-
cient Oj in Eqs. (5.55), (5.60) has to be set equal to the inverse of the distance
between the nodes i and j (similar to 0/g in Eq. (5.45)), in order to obtain an
accurate approximation for the gradient of a n o n - l i n e a r function on a highly
stretched and additionally curved grid. However, this does not help in the case
of the cell-centred scheme on triangular (tetrahedral) grids [67].
Experience also shows that the least-squares approach requires some atten-
tion in the case of the median-dual scheme, if prismatic or hexahedral cells are
employed on a viscous wall. Consider Fig. 5.15 and assume that we want to
168 Chapter 5. Unstructured Finite Volume Schemes
(a) (b)
F i g u r e 5.15: Virtual edges (dashed lines) used for the computation of gradients
at node i [49]. Shown for prismatic (a) and hexahedral cell (b) on boundary
(shaded).
1 if A2 = 0
with the abbreviations
A2 - ~I ( V U i .r~j
~ )
In Equations (5.64) and (5.65), mini or maxj means the minimum or maximum
value of all direct neighbours j of node i (i.e., all nodes connected to i by an
edge). Furthermore, the edge vector r-~j, which is shown in Fig. 5.9 or in Fig.
5.13b, is defined according to Eq. (5.43). Finally, Uj denotes a scalar quantity
at some neighbouring node j. Similar formulae to those above hold for the
cell-centred scheme with cell instead of node indices and with
where ~L denotes the vector from the cell-centroid to the midpoint of the corre-
sponding cell face. In order to avoid division by a very small value of A2 in Eq.
(5.64), it is better to modify A2 as Sign(A2)(IA21 +w), where w is approximately
the machine accuracy [68].
Barth's limiter enforces a monotone solution. However, it is rather dissi-
pative and it tends to smear discontinuities. A further problem presents the
activation of the limiter due to numerical noise in smooth flow regions. This
usually prevents the full convergence to steady state [68], [38]. Therefore, the
limiter function due to Venkatakrishnan became more popular.
170 Chapter 5. Unstructured Finite Volume Schemes
Venkatakrishnan's limiter
Venkatakrishnan's limiter [68], [69] is widely used because of its superior con-
vergence properties. The limiter reduces the reconstructed gradient V U at the
vertex i by the factor
1 if A2 = 0
where
A 1,max = Umax -- Ui
(5.68)
nl,min : Vmin - Vi.
In the above Eq. (5.68), Umax and Umin stand for the minimum/maximum values
of all surrounding nodes j and including the node i itself. Definitions of Umax,
Umin and A2 are given in Eq. (5.65). The parameter e2 is intended to control
the amount of limiting. Setting e2 to zero results in full limiting, but this may
stall the convergence. Contrary to that, if e2 is set to a large value, the limiter
function will return a value of about unity. Hence, there will be no limiting at
all and wiggles could occur in the solution. In practice, it was found that s
should be proportional to a local length scale, i.e.,
d = (K 3, (5.69)
1.3-
f?
1.2-
9-
E
1.1 - // /
/
c
e-
1.O-
-_ //
o
m
0.9-
-
_
/
0.8 -
0.7 -
v
0.6-
0.0
-0.5
m
m -1.0
"10
.m
.e -1.5
C
m -2.0
"o
.m -2.5
m
E K=O
o -3.0
C
o
E
L
-3.5
o
r
K=5, 20, 50
.j~ -4.0
unlimited
-4.5
-5.0
500 1000 1500 2000
Iterations
5.4 D i s c r e t i s a t i o n of t h e V i s c o u s F l u x e s
In order to evaluate the diffusive fluxes Fv in Eq. (5.2), flow quantities and
their first derivatives have to be known at the faces of the control volumes. The
control volume for the viscous fluxes is conveniently chosen to be the same as
for the convective fluxes in order to obtain a consistent spatial discretisation
and to simplify the data structure. Because of the elliptic nature of the viscous
fluxes, values of the velocity components (u, v, w), the dynamic viscosity #, and
of the heat conduction coefficient k, which are required for the computation of
the viscous terms (2.23), (2.24) and of the stresses (2.15), are simply averaged
at a face. Thus, in the case of the cell-centred scheme (Fig. 5.13a), the values
at the face I J of the control volume result from
Ulj---~l(u, + (5.r0)
where U is any of the above flow variables. A similar expression holds in the
case of the median-dual scheme for the face ij - see Fig. 5.13b.
The remaining task is the evaluation of the first derivatives (gradients) of
the velocity components in Eq. (2.15) and of temperature in Eq. (2.24). This
can be accomplished in one of two ways, i.e., by using
9 element-based gradients, or
9 average of gradients.
One possible way of evaluating the gradients at a face of the control volume
is to define an auxiliary control volume centred at the face and to employ the
Green-Gauss theorem. We already discussed this approach in Section 4.4 in
the framework of the structured finite volume discretisation. For example, in
the case of the median-dual scheme we can compute the gradient at the edge-
midpoint as the volume average of gradients for all elements which share the
edge [70]. The element-based gradients are evaluated according to Eq. (5.49)
by looping over all grid cells and accumulating the gradients at the edges. The
values of U at the cell-faces are obtained by averaging the nodal values, in a
5.4. Discretisation of the Viscous Fluxes 173
manner similar to Eq. (5.53). This approach is relatively costly in terms of the
memory and the number of operations. However, it can be implemented for any
mix of grid elements.
Ox( o v) o v) Oz( o u) ]
Oz(OU)
o ( OzU) o ( OzU) Oz( OzU)
]
(5.71)
9t--; %~ %y %z ~ 9
j-- 1 OLzx OLzY OLzz ij
The volume fY contains all tetrahedra which share the node i. The coefficient
matrix ~ in Eq. (5.71) is symmetric about the diagonal [71], i.e., C~xy = C~yz,
C~xz = C~zx, and o~yz = O~zy, respectively. Thus, it is necessary to store only six
coefficients for each edge. The coefficients are given by [71]
_ (5.72)
e
~e ~
The disadvantage of this approach is however that the full viscous terms are
retained only on triangular or tetrahedral grids. For elements like prisms or
hexahedra, this technique simplifies to a TSL-like approximation of the Navier-
Stokes equations in all three coordinate directions [8]. An extension to non-
simplex elements which conserves the full viscous terms was presented in [72].
But the efficient edge-based data structure can then no longer be used since the
extended stencil involves nodes not connected by an edge to point i.
xj - xi y y - y1 z y - z1 O~U
1 1 1
~(X2 -~- X3) -- Xi ~(Y2 -~- Y3) -- Yl ~(Z2 ~- Z3) -- Z1 ~yU
1 1 1
(Xl + - (yi + - + - 0zU
(5.73)
vj -
=
I (U2 + Ua) - U~
I ( U 1 -~- g3) - U2
Referring to Fig. 5.19, the subscripts I, J denote the cell-centroids, and the
subscripts 1, 2, 3 stand for the nodes P1, P2 and P3, respectively. Flow variables
at the nodes can be determined either from the inverse-distance weighting (Eq.
(5.45)) or by the pseudo-Laplacian weighting [2] (similar to nq. (5.24)).
5.4.2 A v e r a g e of G r a d i e n t s
Since we already computed the gradients inside each control volume (e.g., using
the piecewise linear reconstruction, Eq. (5.41) or (5.42)), it would be tempting
to evaluate the gradient at the face-midpoint by the simple average [73]
This approach is particularly attractive, because it requires only the basic face-
or edge-based data structure and no additional storage. However, as it was
pointed out, e.g., in Ref. [71], it leads to a wide stencil with an unfavourable
5.4. Discretisation of the Viscous Fluxes 175
P1
P2
ou) uj - Uz , (5.75)
-'~ Ia glJ
where ~IJ represents the distance between the both cell-centroids I and J
(dashed line in Fig. 5.19). A similar expression holds also for the median-dual
scheme with r~y according to Eq. (5.43). With the definition of the unit vector
rig along the line connecting I and J,
rij '
rig -- ~Ig (5.76)
VUIJ -- V U I j - ['~-UIj" t l J - - -~ Ig
where VUIJ is given by Eq. (5.74). The modification leads to strongly coupled
stencils on tetrahedral as well as on prismatic or hexahedral grids [49]. The
modified approach is also still compatible with the face-/edge-based data struc-
ture and requires no additional storage. It is therefore more attractive than the
element-based methodology, provided the gradients inside control volumes are
utilised for the convective fluxes anyway.
Bibliography 177
Bibliography
[1] Hirsch, C.: Numerical Computation of Internal and External Flows. Vols.
1 and 2, John Wiley and Sons, 1988.
[2] Frink, N.T.: Recent Progress Toward a Three-Dimensional Navier-Stokes
Solver. AIAA Paper 94-0061, 1994.
[3] Hassan, O.; Probert, E. J.; Weatherill, N. P.; Marchant, M. J.; Morgan,
K.; Marcum, D. L.: The Numerical Simulation of Viscous Transonic Flows
Using Unstructured Grids. AIAA Paper 94-2346, 1994.
[7] Luo, H.; Baum, J.D.; LShner, R.: A Fast, Matrix-Free Implicit Method for
Compressible Flows on Unstructured Grids. AIAA Paper 99-0936, 1999.
[8] Mavriplis, D.J.; Venkatakrishnan, V.: A Unified Multigrid Solver for the
Navier-Stokes Equations on Mixed Element Meshes. ICASE Report No.
95-53, 1995.
[9] Khawaja A., Kallinderis Y. and Parthasarathy V., Implementation of Adap-
tive Hybrid Grids for 3-D Turbulent Flows, AIAA Paper 96-0026, 1996.
[10] Coirier W.J. and Jorgenson P.C.E., A Mixed-Volume Approach for the Eu-
ler and Navier-Stokes Equations, AIAA Paper 96-0762, 1996.
[11] Mavriplis, D.J.: Adaptive Meshing Technique for Viscous Flow Calculations
on Mixed-Element Unstructured Meshes. AIAA Paper 97-0857, 1997.
[12] Haselbacher, A.C.; McGuirk, J.J.; Page, G.J.: Finite Volume Discretisation
Aspects for Viscous Flows on Mixed Unstructured Grids. AIAA Paper 97-
1946, 1997; also AIAA Journal, 37 (1999), pp. 177-184.
[15] Blazek, J.; Irmisch, S.; Haselbacher, A.: Unstructured Mixed-Grid Navier-
Stokes Solver for Turbomachinery Applications. AIAA Paper 99-0664, 1999.
[16] Strang, W.Z.; Tomaro, R.F.; Grismer, M.J.: The Defining Methods of
Cobalt6o" A Parallel, Implicit, Unstructured Euler//Navier-Stokes Flow
Solver. AIAA Paper 99-0786, 1999.
[28] Mavriplis, D.J., Jameson, A.; Martinelli, L.: Multigrid Solution of the
Navier-Stokes Equations on Triangular Meshes. ICASE Report, No. 89-11,
1989.
[29] Whitaker, D.L.; Grossman, B.; LShner, R.: Two-Dimensional Euler Com-
putations on a Triangular Mesh Using an Upwind, Finite-Volume Scheme.
AIAA Paper 89-0470, 1989.
[30] Barth, T.J.; Jespersen, D.C.: The Design and Application of Upwind
Schemes on Unstructured Meshes. AIAA Paper 89-0366, 1989.
[32] Hwang, C.J.; Wu, S.J.: Adaptive Finite Volume Upwind Approach on Mixed
Quadrilateral-Triangular Meshes. AIAA Journal, 31 (1993), pp. 61-67.
[38] Aftosmis, M.; Gaitonde, D.; Tavares, T.S.: Behavior of Linear Reconstruc-
tion Techniques on Unstructured Meshes. AIAA Journal, 33 (1995), pp.
2038-2049.
[39] Xia, X.; Nicolaides, R.: Covolume Techniques for Anisotropic Media. Nu-
mer. Math., 61 (1992), pp. 215-234.
[40] Barth, T.J.; Linton, S.W.: An Unstructured Mesh Newton Solver for Com-
pressible Fluid Flow and Its Parallel Implementation. AIAA Paper 95-0221,
1995.
[42] Venkatakrishnan, V.; Mavriplis, D.J.: Implicit Method for the Computation
of Unsteady Flows on Unstructured Grids. J. Computational Physics, 127
(1996), pp. 380-397.
[43] Jameson, A.; Schmidt, W.; Turkel, E.: Numerical Solutions of the Euler
Equations by Finite Volume Methods Using Runge-Kutta Time-Stepping
Schemes. AIAA Paper 81-1259, 1981.
[44] Jameson, A.; Baker, T.J.; Weatherill, N.P.: Calculation of Inviscid Tran-
sonic Flow over a Complete Aircraft. AIAA Paper 86-0103, 1986.
[45] Holmes, D.G. and Connell, S.D.: Solution of the 2D Navier-Stokes Equa-
tions on Unstructured Adaptive Meshes. AIAA Paper, No. 89-1932, 1989.
[46] Rausch, R.D.; Batina, J.T.; Yang, H.T.Y.: Spatial Adaption Procedures on
Unstructured Meshes for Accurate Unsteady Aerodynamic Flow Computa-
tions. AIAA Paper 91-1106, 1991.
[47] Swanson, R.C.; Turkel, E.: On Central Difference and Upwind Schemes. J.
Computational Physics, 101 (1992), pp. 292-306.
[49] Haselbacher, A.; Blazek, J.: On the Accurate and Efficient Discretisation of
the Navier-Stokes Equations on Mixed Grids. AIAA Paper 99-3363, 1999;
also AIAA Journal, 38 (2000), pp. 2094-2102.
[50] Roe, P.L.: Approximate Riemann Solvers, Parameter Vectors, and Differ-
ence Schemes. J. Computational Physics, 43 (1981), pp. 357-372.
[51] Van Leer, B.: Towards the Ultimate Conservative Difference Scheme V. A
second Order Sequel to Godunov's method. J. Computational Physics, 32
(1979), pp. 101-136.
[52] Desideri, J.A.; Dervieux, A.: Compressible Flow Solvers using Unstructured
Grids. VKI Lecture Series 1988-05, 1988, pp. 1-115.
[53] Fezoui, L.; Stouffiet, B.: A Class of Implicit Upwind Schemes for Eu-
ler Simulations with Unstructured Meshes. J. Computational Physics, 84
(1989), pp. 174-206.
[54] Whitaker D.L.; Slack, D.C.; Walters, R.W.: Solution Algorithms for the
Two-Dimensional Euler Equations on Unstructured Meshes. AIAA Paper
90-0697, 1990.
[56] Jameson, A.: Positive Schemes and Shock Modelling for Compressible
Flows. Int. J. Numerical Methods in Fluids, 20 (1995), pp. 743-776.
[57] Frink, N.T.: Upwind Scheme for Solving the Euler Equations on Unstruc-
tured Tetrahedral Meshes. AIAA Journal, 30 (1992), pp. 70-77.
[58] Barth, T.J.; Frederickson, P.O.: Higher Order Solution of the Euler Equa-
tions on Unstructured Grids Using Quadratic Reconstruction. AIAA Paper
90-0013, 1990.
[59] Barth, T.J.: Recent Developments in High Order k-Exact Reconstruction
on Unstuuctured Meshes. AIAA Paper 93-0668, 1993.
[60] Mitchell, C.R.; Walters, R.W.: K-Exact Reconstruction for the Navier-
Stokes Equations on Arbitrary Grids. AIAA Paper 93-0536, 1993.
[62] Delanaye, M.; Essers, J.A.: Finite Volume Scheme with Quadratic Re-
construction on Unstructured Adaptive Meshes Applied to Turbomachinery
Flows. ASME IGTI Gas Turbine Conference, Houston, USA, 1995.
[63] Delanaye, M.: Polynomial Reconstruction Finite Volume Schemes for the
Compressible Euler and Navier-Stokes Equations on Unstructured Adaptive
Grids. PhD Thesis, The University of Liege, Belgium, 1996.
[64] Barth, T.J.: A 3-D Upwind Euler Solver for Unstructured Meshes. AIAA
Paper 91-1548, 1991.
[65] Luo, H.; Baum, J.D.; L5hner, R.:An Improved Finite Volume Scheme for
Compressible Flows on Unstructured Grids. AIAA Paper 95-0348, 1995.
[66] Anderson, W.K.; Bonhaus, D.L.:An Implicit Upwind Algorithm for Com-
puting Turbulent Flows on Unstructured Grids. Computers & Fluids, 23
(1994), pp. 1-21.
Mavriplis, D.J.: Revisiting the Least-Squares Procedure for Gradient Re-
construction on Unstructured Meshes. AIAA Paper 2003-3986, 2003.
[70] Sharov, D.; Nakahashi, K.: Low Speed Preconditioning and L U-SGS
Scheme for 3-D Viscous Flow Computations on Unstructured Grids. AIAA
Paper 98-0614, 1998.
182 Chapter 5. Unstructured Finite Volume Schemes
Temporal Discretisation
The application of the method of lines, i.e., the separate spatial and temporal
discretisation of the governing equations (2.19), leads, written down for each
control volume, to a system of coupled ordinary differential equations in time
d(~MW)i
= -R,. (6.1)
dt
In Eq. (6.1), ft represents the volume, R the residual, M the mass matrix, and
the index I denotes the particular control volume. The system (6.1) has to be
integrated in time - either to obtain a steady-state solution (RI - 0), or to
reproduce the time history of an unsteady flow.
We briefly discussed the aspects of the solution of the equation system (6.1)
in Section 3.2. We saw that the various explicit and implicit methods can be
derived from a basic non-linear scheme. It reads for a stationary grid
( ~ M ) I Al/~r~ __ ~ /~+1 -~ + ~ W ~ (~ M ) I A I / ~ _ 1 ,
1 --/~ R~ (6.2)
At1 1 +w 1 +w l+w At1
where
- (6.a)
stands for the update (correction) of the solution. The superscripts n and ( n + l )
denote the time levels. Hence, W n means the flow solution at the present
time t. Consequently, 1~ n+l represents the solution at the time (t + At). The
parameters/3 and w determine the discretisation type (explicit or implicit) and
also the temporal accuracy. For example, the condition expressed by Eq. (3.6)
must be fulfilled to achieve second-order temporal accuracy.
In the following sections, we shall consider the most popular explicit and
implicit time-stepping methods in some detail. We shall also present how the
maximum allowable time step can be evaluated for a particular scheme. Fur-
thermore, we shall discuss the issues of the appropriate implementations on
structured as well as on unstructured grids. Finally, the last section will be
devoted to time-accurate solutions of unsteady flow problems.
183
184 Chapter 6. Temporal Discretisation
Ate/~(1) (6.5)
T a b l e 6.1: Multistage scheme: optimised stage coefficients (a) and CFL num-
bers (a) for first- and second-order upwind spatial discretisations.
IIcentrlschome
36 Ik1storderupwind
20 2nd-order upwind
a = 1.0
stage a /3 a /~ a /3
1 0.2500 1.00 0.2742 1.00 0.2742 1.00
2 0.1667 0.00 0.2067 0.00 0.2067 0.00
3 0.3750 0.56 0.5020 0.56 0.5020 0.56
4 0.5000 0.00 0.5142 0.00 0.5142 0.00
5 1.0000 0.44 1.0000 0.44 1.0000 0.44
T a b l e 6.2: Hybrid multistage scheme: optimised stage (c~) and blending (/3)
coefficients, as well as CFL numbers (a) for central and upwind spatial discreti-
sations. Note the identical coefficients for the lst- and the 2nd-order upwind
scheme but the different CFL numbers.
The above multistage approach (6.5) is particularly suitable for upwind spa-
tim discretisation on structured as well as unstructured grids. Central discretisa-
tion schemes perform more efficiently with the hybrid multistage methodology,
which will be described next. Sets of optimised stage coefficients for first- and
second-order upwind schemes are presented in Table 6.1 for three- to five-stage
schemes [2]. Practical experience shows that the coefficients for the first-order
scheme should be preferred in cases, where the flow field contains strong shocks,
regardless of the order of the spatial discretisation. This can be explained by the
fact that every higher-order scheme switches to first order at shocks to prevent
oscillations of the solution. However, the residuals at strong shocks influence
the convergence to steady state most significantly.
The main disadvantage of every explicit scheme is that the time step (At) is
severely restricted by the characteristics of the governing equations as well as by
the grid geometry. We shall discuss the computation of the maximum allowable
time step in Subsection 6.1.4. Theoretical aspects of the determination of the
time step and the so-called CFL number will be considered in Section 10.3 on
stability analysis.
186 Chapter 6. Temporal Discretisation
R, - (6.6)
The first part, Rc, contains the central discretisation of the convective fluxes,
which can be either the average of variables or the average of fluxes. It also
includes the source term. The second part, Rd, is composed of the viscous
fluxes and the numerical dissipation. For example, in the case of the central
scheme with artificial dissipation (Subsections 4.3.1 or 5.3.1) we would set
NF
k--1
NF
k
k=l
where Way represents the arithmetic average of flow variables from the left and
the right side of face k.
With the residual split according to Eq. (6.6), the (5,3)-scheme can be for-
mulated as
~(o) _
_ _ ],
Ate
(6.7)
I
6.1. Explicit Time-Stepping Schemes 187
where
/~(d2 ' ~ At3/~(2) + (1-/~3)/~ (~
(6.8)
/ ~ ( 4 , 2 ) /~5/~(4) + (1 --/35)/~ (2'0) .
The stage coefficients am and the blending coefficients ~m in the above relations
(6.7), (6.8) are given in Table 6.2 for central and upwind schemes. Both sets of
coefficients are particularly optimised for the multigrid method (Section 9.4).
We shall discuss the properties of the above hybrid multistage scheme later in
Section 10.3.
It should be mentioned that it is also popular to evaluate the dissipation
term Rd in the first two stages only, without any blending. A well-known (5,2)-
scheme, which is often employed with the central spatial discretisation, uses the
stage coefficients of Table 6.2. However, the (5,2)-scheme is less suitable for
viscous flows and multigrid than the above (5,3)-scheme.
6.1.3 T r e a t m e n t of t h e S o u r c e T e r m
There are certain cases in which the source term Q in Eq. (4.2) or (5.2) becomes
dominant. Such situation is often encountered when chemistry or turbulence
models are employed. The problem is that a large source term changes the flow
variables rapidly in space and in time. The changes due to a strong source
term happen at much smaller time scales than those of the flow equations. This
increases the stiffness of the governing equations significantly. The stiffness is
defined as the ratio of the largest to the smallest eigenvalue of the Jacobian
matrix OR/OW. The stiffness can also be viewed as the ratio of the largest to
the smallest time scale.
When we apply one of the above explicit multistage schemes (or any other
purely explicit scheme) to a stiff system of equations, we will have to reduce
the time step considerably in order to stabilise the time integration. Hence,
the convergence to the steady state will become very slow. More seriously, an
explicit scheme can even fail to find the correct solution [7]. A remedy suggested
by Curtiss et al. [8] is to treat the source term in an implicit way. In order to
demonstrate the approach, we rewrite the basic explicit scheme in Eq. (6.4) as
follows (cf. Eq. (4.2)or (5.2))
~ I / ~ / . ~ __ _
AtI
[
E(#:
k=l
_ #vn) k A S k _ a/(~+ 1 ] (6.9)
where the source term is now evaluated at the new time level ( n + l ) . For
simplicity, the mass matrix was omitted from Eq. (6.9). Since the value of the
source term at the time ( n + l ) is unknown, we have to approximate it. For this
purpose, we linearise the source term about the current time level n, resulting
in
aQ
~nd-1 ~ ~n -F ~ A~/n 9 (6.10)
OW
188 Chapter 6. Temporal Discretisation
If we insert Eq. (6.10) into Eq. (6.9) and rearrange the terms, we obtain the
following relation [9], [10]
where i represents the identity matrix. The formulation (6.11) is called point
implicit because the term in square brackets on the left-hand s i d e - the implicit
operator - depends only on values in the control volume ftI itself. A com-
parison with Eq. (6.9) reveals that the scalar time step At changed now to a
matrix. Thus, each flow equation becomes scaled by an individual parameter,
corresponding to the associated eigenvalue. In this way, the disparity between
the time scales is offset and the time step restriction due to the source term is
alleviated.
When we apply the above point-implicit approach to the multistage scheme
in Eq. (6.5), we obtain for the k-th stage
with RQ defined in Eq. (6.9). A similar expression holds also for the hybrid
multistage scheme in Eq. (6.7). The interested reader may find a detailed in-
vestigation of the influence of the source term on stability in Refs. [11]-[13].
A more elaborate approach is to treat the stiff source term by means of
an semi-implicit Runge-Kutta scheme, originally suggested by Rosenbrock [14].
The scheme is numerically more stable than the approach in Eq. (6.12), however
it requires the inversion of a large system of linear equations at each stage.
Details of the semi-implicit Runge-Kutta scheme and applications can be found
in Refs. [15]-[18].
where Ax/IAc I represents the time necessary to propagate information over the
cell size Ax with the velocity A~. The velocity A~ corresponds to the maximum
6.1. Explicit Time-Stepping Schemes 189
Euler Equations
On a structured grid, the time step At can be determined for a control volume
f t / f r o m the approximate relation [20]-[22]
The CFL number a is given for multistage schemes in Table 6.1 and for hybrid
schemes in Table 6.2. The spectral radii of the convective flux Jacobians (A.9)
read for the three grid directions
A/ - (Iv.?~II q - c ) A S I
(6.15)
Xc - +
The normal vectors and face areas in Eq. (6.15) are obtained by averaging the
corresponding values from the two opposite sides of the control volume in the
respective direction. For example, if a dual control volume (Subsection 4.2.3)
would be oriented as sketched in Fig. 4.1b, we would use in t h e / - d i r e c t i o n
-4 1 1
?~i,j,k -- ~(?~1 -- ?~2), A S I i , j , k -- ~(AS1 q- AS2). (6.16)
Navier-Stokes Equations
For viscous flows, the spectral radii of the viscous flux Jacobians (A.10) have to
be included in the computation of At. They can severely limit the maximum
time step in boundary layers. The time step can be evaluated from [5], [21], [22]
The constant which multiplies the viscous spectral radii is usually set as C = 4
for central spatial discretisations, C = 2 for first-order upwind and C = 1
for second-order upwind discretisations. If we assume that an eddy-viscosity
turbulence model is employed, the viscous spectral radii are given by [21], [22]
A / = max , Ft (6.19)
and similarly for the other directions. In Equation (6.19), PL denotes the lami-
nar and PT the turbulent dynamic viscosity coefficient, respectively. Further-
more, PrL and PrT are the laminar and the turbulent Prandtl numbers. The
CFL numbers in Tables 6.1 and 6.2 apply also for viscous flows. Particularly
efficient for viscous flows is the (5,3) hybrid scheme from Eq. (6.7).
Several approaches were suggested for the estimation of the maximum time step
on unstructured grids. We shall present two different approaches below.
Method 1
One proven method, which closely follows the implementation on structured
grids, reads [6]
zxt - + , (6.20)
J--1
(6.21)
max
3 PlJ' PlJ ~ j
The values of the flow variables at the faces of the control volume are obtained
by arithmetic averaging.
6.1. Explicit Time-Stepping Schemes 191
Method 2
The spectral radii predicted by Eq. (6.21) are too large, particularly on mixed
element grids. This leads to a smaller time step than required for the stability.
The implementation in Ref. [23] offers a more accurate estimation of the time
step, namely
ix- ( ~ + ~)~:
(6.23)
X z - ( ~1 + ~) ~ z
and with the viscous spectral radii (eddy-viscosity turbulence model assumed)
A~ - max , ~ + a '
-(1 - ~) R ~ . (6.26)
Ati
As we can see, the implicit formulation leads to a set of non-linear equations
for the unknown flow variables at the time (t+At). The solution of Eq. (6.26)
requires the evaluation of the residual at the new time level, i.e., /~n+i. Since
we do not know l~ n+l, this cannot be done directly. However, we can linearise
the residual/~n+l in Eq. (6.26) about the current time level, i.e.,
/ ~ + I " ~ R-~
~+ ( 0~/ ~ ) I
AI~n, (6.27)
where the term OR/OW is referred to as the flux Yacobian. We should mention
that the flux Jacobian is often derived from a rather crude approximation to
the spatial discretisation represented by R n. For example, in the case of higher-
order upwind discretisations, it is quite common to base the flux Jacobian solely
on a first-order upwind scheme. However, for best efficiency and robustness,
the flux Jacobian should still reflect the most important features of the spatial
discretisation.
If we substitute now the linearisation in Eq. (6.27) for/~n+l into Eq. (6.26),
we obtain the following implicit scheme
Ate -~ A -- - R ~ , (6.28)
The term in square brackets on the left-hand side of Eq. (6.28) is referred to as
the implicit operator or the system matrix. Consequently, the right-hand side
of Eq. (6.28) is called the explicit operator. It is only the explicit operator that
determines the spatial accuracy of the solution.
The implicit operator constitutes a large, sparse, and non-symmetric block
matrix with dimensions equal to the total number of cells (cell-centred scheme)
or grid points (cell-vertex scheme). Below we will discuss further the form of the
implicit operator for structured as well as for unstructured grids. As we already
saw in Section 3.2, the mass matrix M can be replaced by the identity matrix,
without influencing the steady state solution. The parameter ~ in Eq. (6.28) is
generally set to 1, which results in a 1st-order accurate temporal discretisation.
A 2nd-order time accurate scheme is obtained for ~ - 1/2. However, this is not
recommended since the scheme with ~ - 1 is much more robust, and the time
accuracy is of no importance for steady problems.
6.2. Implicit Time-Stepping Schemes 193
In the case of stiff governing equations, the source term has to be included
in the implicit operator. This happens quite naturally with the linearisation of
the residual in Eq. (6.27), which leads to a formulation identical to Eq. (6.10).
As demonstrated in Ref. [12], the above implicit scheme (6.28) remains stable
for any time step if the eigenvalues of OQ/OW are all negative or zero.
The solution of the linear equation system (6.28) requires the inversion of
the implicit operator, i.e., the inversion of a very large matrix. In principle, this
can be done in two ways. The first one consists of a direct matrix inversion,
using either the Gaussian elimination or some direct sparse matrix method [24],
[25]. However, because of the excessive amount of memory and the very high
computational effort, this approach is not suited for practical problems [26].
The second possibility of inverting the implicit operator represent iterative
methods. We mentioned the most widely used ones in Subsection 3.2.2. Iterative
methods can be divided roughly into two groups. The first one consists of
approaches which decompose the implicit operator into several p a r t s - a process
called factorisation. The factors are constructed in such a way that they can be
more easily inverted than the original implicit operator. To the second group
belong schemes, which employ a Krylov-subspace method for the inversion of
the implicit operator. In this case, the implicit time-stepping scheme (6.28) is
usually turned into Newton's method by setting At --+ co. The scheme is then
named Newton-Krylov method.
In the following, we shall discuss first the matrix structure of the implicit
operator. Then, we shall investigate the possibilities of computing the flux
Jacobian OR/OW in Eq. (6.28). Finally, we shall present the three most popular
iterative methods in detail.
OW
with NF being the number of faces of the control volume ft (cf. Eq. (4.2) or
(5.2)). Thus, the flux Jacobian reads
_ 1_ [ ( a c ) i + l § (Ac)i] ,
2
_
where Ac denotes the convective flux Jacobian (Section A.9). Hence, according
to Sqs. (6.29), (6.31), and (6.32), the residual at (t+At) is approximated as
1 ~ -
§ ~ [(Ac)i-1 nwn-1 § (A~)i AI~/~] ASi-1/2 (6.33)
o(a Q )
OW
Finally, for ~ - 1 and a lumped mass matrix we can derive from Eq. (6.26) the
implicit scheme
{~i 1
~//f § ~ [(2~c)iASi+I/2 + (Ac)i ASi-1/2]
--+
1
--
O(a~Q~_____~)
0~/.
+ ~
[(A~)~+I AS~+/2]
1
(6.34)
where/7 stands for the identity matrix. It should be noted that the unit normal
_
vector in each matrix Ac is evaluated at the same side of the control volume
as the associated area AS. As we can see, the implicit operator involves the
same 3-point stencil (nodes i - 1, i, and i § 1) as the spatial discretisation. In
6.2. Implicit Time-Stepping Schemes 195
i-1 i i+l
DU ...
LDU
LDU
LDU :
: LDU
9 LDU
grid LDU
0 ... LD
1 2 3 4 5 6 7 8
F i g u r e 6.1" 1-D structured grid and the associated implicit operator matrix
for a 3-point stencil.
stencil I i,j+l
-nnnn 9
I i,j-1 9
9
9
mmm
mmm
mmm
9
9
9
9 mmm 9
9 mmm 9
9 mmmm 9
9 mm 9
9 mm 9
9 mmm 9
9 mmm 9
9 mum 9
grid (8x4 points) 9
9
mmm
mmm
9
9
9 mmm 9
9 mm 9
9 mm
9 mmm
9 mmm
9 mum
9 mmmm
9 mmi
9 nnmn
9 u m
1 i ~ 8
F i g u r e 6.2" 2-D structured grid (left) and the associated implicit operator
matrix for a 5-point stencil (right). Nonzero block matrices displayed as filled
rectangles.
196 Chapter 6. Temporal Discretisation
order to visualise the system matrix, we denote all terms in the implicit operator
associated with the central node i as D, i.e.,
D -
~i +
1 + - 0(a Q )
OW
with the downwind node (i + 1) as U, i.e.,
1
U -- ~ (Ac)i+l ASi+I/2,
and with the upwind node ( i - 1) as L, i.e.,
1
L -- ~ ( n c ) i _ 1 ASi_I/2,
respectively. Writing down Eq. (6.34) for all eight nodes of the grid in Fig. 6.1,
we obtain the 8x 8 block-tridiagonal matrix displayed on the right side of Fig.
6.1. Each of the blocks L, D, and U represents a 3 x 3 matrix in 1D (because of
the three conservation equations).
The same ideas carry over to multiple dimensions. For example, if the spatial
discretisation in 2D would involve the 5-point stencil sketched in Fig. 6.2, we
would obtain a block-pentadiagonal matrix. This is shown on the right side of
Fig. 6.2. The nodes were ordered such that the /-index runs faster than the
j-index (corresponds to mat(i, j) in FORTRAN). It should be noted that the
second off-diagonal is at the distance of eight elements from the main diagonal
(the total number of nodes in /-direction). Finally, the system matrix would
become block-septadiagonal in 3D, if we would employ the 7-point stencil of
Fig. 4.9b for the spatial discretisation.
In summary, we can state that the system matrix always possesses a regular,
sparse and banded form for structured grids. It should be further mentioned
that the term _
(gtM)I/Ati (6.35)
in Eq. (6.28), which is always located on the main diagonal, can cause difficulties.
Namely, if the time step becomes large, some iterative matrix inversion schemes
(e.g., Gauss-Seidel) may fail due to reduced diagonal dominance of the implicit
operator.
Central S c h e m e
The flux Jacobian is most easily formulated in the case of the central spatial
discretisation. As we already saw for the example in Fig. 6.1, 0/~/0I~ consists of
the convective flux Jacobians (cf. Eq. (6.34)), which can be derived analytically
(see Section A.9). Artificial viscosity is usually included in a simplified form,
without the non-linear pressure sensor (Eq. (4.55)). We shall return to this
point below in Subsection 6.2.3.
F l u x - V e c t o r Splitting S c h e m e
The evaluation of the flux J acobian becomes more involved when one of the
flux-vector splitting schemes (Subsection 4.3.2) is used as the basis for its deriva-
tion. Let us, for illustration, consider the scheme due to Steger and Warming
[30]. Previous investigations [31] revealed that the Steger-Warming splitting is
preferable over, e.g., the Van Leer's flux-vector splitting scheme (Eq. (4.60)) for
various upwind discretisations of the implicit operator.
198 Chapter 6. Temporal Discretisation
9 9
9 9 9 9
9 9 9 9
9 mm 9
9 9 9
9 9 9
9 9
9 9 9
9 m 9
9 9 9 m
9 9 9
15 9 mm
mm mm
11 9 m
9
9
9
m
9 []
mm 9
mm 9
9 9 9 9
9 9 9 9
9 mm 9
F i g u r e 6.3: 2-D unstructured grid (left) and the associated implicit operator
matrix for a nearest neighbour stencil (right). Nonzero block matrices displayed
as filled rectangles.
mm
mmmm
mm 9
m m m
m m m m
m m m m
9 9 mm
mm 9 9
9 9 9
m m m
mm 9 mm
9 9 mm
9 m mm
17 m mm
9 mm 9
mm m n
mm 9
9 9
13 9 mm
9 mn
-'
ORI
NF [ O(Fc-t-AS)m A -' n
-. A~/n - Z
OW m=l
L OWL,m
~ WZ,~ + O(r(AS)m
OWR,m
]
m . (6.39)
In the above Eq. (6.39) , AW~, m and A W R,mn denote the updates of the left and
right state at the face m, respectively. On structured grids, the left and right
state can be evaluated by the MUSCL approach (Eq. (4.46)). On unstructured
grids, the reconstruction methods discussed in Subsection 5.3.3 can be applied.
However, the stencil becomes wider with increasing accuracy, which leads to
larger bandwidth of the system matrix. Therefore, and in order to reduce the
numerical complexity, only first-order accurate approximation is usually em-
ployed in Eq. (6.39). As a compromise, we could reconstruct the left and right
state with higher accuracy but retain the stencil of the first-order scheme for
the evaluation of the derivatives [32].
To proceed with the discussion on the evaluation of the derivatives 0ff~/0I~ z
in Eq. (6.39), let us consider, e.g., the positive flux at face m
o(f/As)m o
OWL,m OWL,m
which becomes with Eqs. (6.37), (6.38)
o(FSAs)., +
OWL,m 2
(6.40)
ASm
@ 2
EO~fL,m
]
O(Ac)L,m + a (A~)L,m[ ~
200 Chapter 6. Temporal Discretisation
An expression similar to Eq. (6.40) can also be found for the negative flux. As
we can see, the first term in Eq. (6.40) consists of convective flux Jacobians (see
Section A.9) and thus presents no difficulty. However, the second term involves
derivatives of matrix elements. Although it is possible to obtain the derivatives
analytically either by hand calculation or by using a symbolic algebra package,
this will produce a large, computationally inefficient code [33]. Alternatively, it
_
is possible to assume the matrix Ac is locally constant so that the second term
in Eq. (6.40) can be neglected. However, depending on the type of the implicit
scheme, this may severely restrict the CFL number [34].
Other approaches that we could use to compute the derivatives 0 / ~ / 0 1 ~ in
Eq. (6.39) would be the automatic differentiation of the source code (e.g., using
ADIFOR [35]) or the finite-difference method (see, e.g., [26], [33]). Herewith,
the derivative of the i-th component of a vector F with respect to the j - t h
component of a dependent variable X can be approximated as
f (2 + hjeJ) -
(6.41)
oqxj. hj
where ~'J denotes the j - t h standard basis vector. Dennis and Schnabel [36]
suggested a stepsize hj of the form
with e being the machine accuracy and typ xj a typical size of xj.
The reader is also referred to [37] and [3sl for hints on efficient numerical
evaluation of Jacobian matrices.
ORI/~,rn
NF ASm {
E - -~n
OW m--1
2
--*n
OWR,m
discussed above. However, we can also simplify Eq. (6.43) by assuming locally
constant Roe matrices [39]
ASm
ORI A~/r n ~,~
Ol~ 2
(2~c)L'm A ~ / r f 'm -~- (Ac)R 'mA~/r~ 'm
~"t---1 (6.44)
- b Ro l 7"rt n ~7Yt -
/:~
Viscous Flows
For the Navier-Stokes equations, we have to account also for the viscous fluxes
in the implicit operator. The derivative O F v / O W , i.e., the viscous flux Jacobian
in Eq. (6.30) is in general not straightforward to obtain. Additional complexity
arises due to the fact that the viscous flux vector contains derivatives of flow
variables. For this reason, we have either to evaluate the viscous flux Jacobian
by finite differences (Eq. (6.41)), or we have to use a simplified formulation.
In the case of the TSL approximation of the Navier-Stokes equations (cf.
Subsection 2.4.3 and Section A.6), it is possible to find the viscous flux Jaco-
bian analytically by assuming locally constant dynamic viscosity and thermal
conductivity coefficients. Then, according to the discussion in Appendix A.10,
the term related to the viscous fluxes in Eq. (6.29) becomes
In above Eq. (6.45), A v stands for the viscous flux Jacobian given by Eq. (A.71)
or Eq. (A.75) but without the spatial operators 0r (eft Eq. (A.74) and (A.79)).
The J acobians are evaluated using either the left or the right state for all vari-
ables except for the dynamic viscosity, which is determined from an arithmetic
average. It should be mentioned that Eq. (6.45) leads to a second-order central
difference approximation in the implicit operator, supposed the left and right
state are computed with first-order accuracy.
The Alternating Direction Implicit (ADI) scheme was one of the first iterative
implicit schemes [40]. The ADI scheme can be implemented on structured grids
only. It is based on an approximate splitting (or, in other words, factorisation)
of the implicit operator in Eq. (6.28) into two (in 2D) or three (in 3D) factors.
Each factor contains the linearisation of the convective and viscous fluxes for
one particular direction in the computational space. In 3D, this leads to the
202 Chapter 6. Temporal Discretisation
}
formulation [40], [41]
0[(r/-
At + "
OW OW
-+
OW OW
(6.46)
{2 _ i
At
+
0[(/~ K - - FvK)ASK]k+I/2+ (~[(/~c-K FvK)ASK]k_I/2
OW
- -
OW
OW
For clarity, the node indices i , j , k were omitted from Eq. (6.46) where not
required. Furthermore, the superscripts I, J, K in Eq. (6.46) mark the flux
vector or of the face area associated with certain coordinate in the computational
space. For example , AS~+I/2,j, * k corresponds to AS2 in Fig. 4.1b. By replacing
the node indices by cell indices, the scheme in Eq. (6.46) can be applied to a
cell-centred discretisation.
The derivatives of the convective and viscous fluxes in Eq. (6.46) can be
evaluated as discussed in the previous subsection. The ADI method is tradi-
tionally coupled to the central scheme with artificial dissipation. In such a case,
a formulation similar to that in Eq. (6.34) holds for each factor (of course, the
linearisation of the source term is included in one factor only). In order to ob-
tain a robust and efficient scheme, it is necessary to include a linearisation of the
artificial dissipation terms in the implicit operator [42]-[44]. The linearisation
is in general simplified b y t r e a t i n g the spectral radii and the dissipation coeffi-
cients as independent of W. Hence, according to Eq. (4.48) the factor, e.g., in
t h e / - d i r e c t i o n becomes
+
0[(g / - - #I)nsI]i+ll2 + (~[(/~/ - - #I)tsI]i_ll2
At OW OW
O(DIMASI)i+I/2 O(DIMASI)ow'i-1/2}
OW
with the implicit artificial dissipation term JST scheme, (cf. Eq. (4.50))
O(DIM)i+I/2
-~ n~/rn ~ Ai+l/2 (tiM)i+1~2 1 - -
OW (6.47)
- -
,(s(4)~ (A~/~//~_2 3AW/~_1-}-3A~r/n -- n~/~/rn_l)]
- -
6.2. Implicit Time-Stepping Schemes 203
The implicit dissipation terms in other directions are defined in similar way.
It is also possible to retain only the second-order differences in the implicit
operator [43], [44]. This reduces the matrix for each of the factors from block-
pentadiagonal to block-tridiagonal form (as sketched in Fig. 6.1). However, as
pointed out in Ref. [44], this restricts the stability of the scheme.
The inversion of the implicit operator in Eq. (6.46) proceeds in three steps
(two steps in 2D), i.e.,
(D I + L I + UI)/~/~.?-(1) __ _/:~n
(D K + L K + u K ) A w ~ - AI~(2),
(D + L ) D -1 (D + U ) A I ~ n -- - / ~ 7 . (6.49)
The factors are constructed such that L consists only of terms in the strictly
lower triangular matrix, U of terms in the strictly upper triangular matrix and
D of diagonal terms. It is important to remark that the number of factors
remains always the same independent of the number of space dimensions.
The system matrix of the LU-SGS scheme (Eq. (6.49)) can be inverted in
two s t e p s - a forward and a backward sweep, i.e.,
( D + L ) AI/~(1) - --/~7
(6.50)
(D + U)/kI/V n -- D/kl/V(1)
with ~rn+l __ ~/rn + A~/rn. The operators L, D, and U and also the inver-
sion procedure differ on structured and unstructured grids in some respects.
Therefore, we shall discuss below each case separately.
6.2. Implicit Time-Stepping Schemes 205
L U - S G S on S t r u c t u r e d G r i d s
On structured grids, the operators are defined as (see [50]-[52], and [68], [55])
i• i is • - (6.52)
where fi~c stands for the convective flux Jacobian (Section A.9) and/kc repre-
sents the spectral radius of the convective flux Jacobian (given by Eq. (4.53) or
Eq. (6.15)), respectively. Note the similarity between the above approximation
206 Chapter 6. Temporal Discretisation
(6.52) and Eq. (6.40), when the derivatives of Ac are neglected. The factor w
in Eq. (6.52) represents an overrelaxation parameter. It also determines the
amount of implicit dissipation and hence influences the convergence properties
of the scheme. The factor can be chosen in the range 1 < w <_ 2. Higher val-
ues of w increase the stability of the LU-SGS scheme, but may slow down the
convergence to steady state. The definition of the Jacobians .~+ in Eq. (6.52)
ensures a diagonally dominant system matrix, which is very important for the
efficiency and robustness of the iterative inversion procedure (6.50).
The splitting according to Eq. (6.52) together with averaged face vectors
allow a simplified evaluation of the diagonal operator D
D w
h-7 + +X r
(6.53)
O(nQ)
..., o
OW
The spectral radii of the convective flux Jacobians/~c are given in Eq. (6.15).
The face areas and normal vectors are averaged in the respective I-, J-, or
K-direction according to Eq. (6.16). As we shall see immediately, this ap-
proximation helps to reduce the operation count and the memory requirements
significantly.
A distinguishing feature of the LU-SGS method is how the forward and the
backward sweep in Eq. (6.50) are carried out. In 2D, the sweeps are accom-
plished along diagonal lines (i + j) = const, in computational space. This is
depicted in Fig. 6.5 for the forward sweep (first line of Eq. (6.50)). In this way,
the off-diagonal terms involved in the L and the U operator become known from
the previous part of a sweep (denoted by crosses in Fig. 6.5). In 3D, the implicit
operator is inverted on i § j + k = const, planes, as sketched in Fig. 6.6. Hence,
the LU-SGS scheme can be written as
As we can see from Eq. (6.54), the only term which needs to be inverted is
the diagonal term D. Thus, the LU-SGS methodology transforms the inversion
of a sparse banded matrix into the inversion of a block-diagonal matrix. Fur-
thermore, if the viscous flux Jacobians in Eq. (6.53) are approximated by the
viscous spectral radii, the operator D becomes a diagonal matrix (except for the
source term). Hence, the LU-SGS scheme requires a very small computational
effort as compared to other implicit schemes (e.g., the ADI scheme discussed
previously). Furthermore, the inversion of the diagonal operator can be carried
out independently for each node (cell) of the diagonal plane, which makes the
scheme easy to vectorise. The indices of the nodes/cells on the diagonal planes
can be obtained with the following pseudo-code [72]:
6.2. Implicit Time-Stepping Schemes 207
forward sweep
sweeping direction
I
/
J
IIIIII 9 .IL
J
l
,/
DO plane = 1, nplanes
D O k = 1, kmax
DO j = 1, jmax
D O i = 1, imax
IF (i+j+k = plane+2) store indices
ENDDO
ENDDO
ENDDO
ENDDO
The simplification given by Eq. (6.55) is possible due to the sweeping along
diagonal planes, s i n c e / ~ + 1 is then known. This leads to a further significant
decrease of the numerical effort of the LU-SGS scheme.
The time step At can be computed in the same way as presented in Sub-
section 6.1.4, using Eq. (6.14). However, it should be noted that the implicit
LU-SGS scheme in Eq. (6.49) represents an approximate Newton iteration in
the case of At--, cc as stated by Rieger and Jameson [53]. Thus in general, CFL
numbers of the order of 104 to 106 are used in practice for stationary flows.
The convergence is then controlled by the overrelaxation parameter w. For the
simulation of unsteady flows, we may employ the formulation presented below
in Section 6.3. Another possibility is to use the modified version of the LU-SGS
scheme described in Ref. [73].
L
jeL(i)
C _____
jev(i) (6.57)
D- Ati + -~(fkc)i + E ( f ~ v ) i A S i j - -, 9
j=l OW
6.2. Implicit Time-Stepping Schemes 209
In Eq. (6.57), L(i), and U(i) denote the nearest neighbours of node i which
belong to the lower (upper) matrix, ASij represents the face area associated
with the edge ij (see Fig. 5.9), and NF stands for the number of faces of the
control volume f~i, respectively. The spectral radius of the convective fluxes
(Ac)i is computed by Eq. (6.21). The viscous flux Jacobian Av can be again
approximated by its spectral radius [63]. In this case, the diagonal operator
becomes
D - ~~- ~ [ + -~
~ (/~c)~ + ( / ~ ) ~ - o(~Q~) , (6.58)
where (/~)i is evaluated according to Eq. (6.21). Formulae similar to Eq. (6.57)
and (6.58) can be obtained in the case of the cell-centred scheme. The major
difference is that the summation in the L and the U operator is conducted over
faces of the cell instead of incident edges.
The sets L(i) and U(i) in Eq. (6.57) should fulfil the same function as the
diagonal planes on structured grids. For this reason, it is necessary to arrange
the nodes (cells)into layers such that [63]:
9 nodes (cells) in a layer are not connected to each other - otherwise the
scheme could not be vectorised.
The layers can be generated for the median-dual scheme with a procedure de-
scribed in Ref. [63]. Approaches for the cell-centred scheme were suggested in
[74], [75].
An appropriate definition of the sets L(i) and U(i) allows for the following
two-step inversion procedure [63]-[65]
(6.60)
+
The time step can be computed in the same way as for the explicit scheme
(EQ. (6.20)). However, the viscous eigenvalue should be omitted, since the
viscous terms are already contained in the implicit operator and hence do not
reduce the time step as in the case of an explicit scheme. The CFL number
can be chosen in the range from 104 to 106 for steady flows. The convergence
speed and the robustness of the LU-SGS scheme can then be tuned using the
overrelaxation parameter w.
First of all, let us rewrite the implicit scheme given by Eq. (6.28) as
_ ---, ..~
JAW n - -R n , (6.61)
9 initial solution must be, in some sense, close to the final solution.
Obviously, the main obstacles that have to be overcome are the linearisation
and the inversion of the full system matrix.
A particularly suitable class of iterative techniques for the solution of large
linear equation systems are the so-called Krylov-subspace methods. Several were
proposed for the inversion of matrices which arise in CFD. Examples are the
Conjugate Gradient Squared (CGS) method [76], the Bi-Conjugate Gradient
Stabilised (Bi-CGSTAB)scheme [77], or the Transpose-Free Quasi-Minimum
Residual (TFQMR) approach [78]. However, the most successful Krylov sub-
space method became the Generalised Minimal Residual (GMRES) technique,
which was originally suggested by Shad and Schulz [79], [80]. Since then, the
GMRES method was improved and augmented by several researchers [81]-[84].
Because of its popularity, we shall focus on the GMRES approach in the fol-
lowing. Nevertheless, most of what we shall discuss also applies to the other
Krylov subspace methods.
6.2. Implicit Time-Stepping Schemes 211
GMRES Method
As we mentioned in Subsection 3.2.2 (see also Appendix A.12), the GMRES
method minimises the norm of the global residual, i.e., IIJ A W n + R n II over a set
of rn orthonormal vectors (search directions), which span the Krylov subspace
/Cm given by Eq. (3.10). The GMRES algorithm can be summarised as follows:
Since the memory requirements increase linearly with the number of search
directions, rn is restricted to values between 10 and 40 in practice. This might
not be sufficient for a converged solution A W n. Thus, the GMRES method has
to be restarted, i.e., we set A W g - A W ~, compute 5"0 and proceed with step
2. As pointed out in Ref. [85], instead of working with a constant number of
search directions, m should be reduced if the norm of the global residual drops
below a specified tolerance. In this way, a large number of operations can be
saved in later stages of the Newton iteration.
C o m p u t a t i o n of t h e F l u x J a c o b i a n
GMRES and other Krylov subspace methods allow us to circumvent an explicit
computation and storage of the flux Jacobian OR/OW. The idea is based on
the observation that the methods rely only on matrix-vector products of the
form J A W n and do not need the matrix J explicitly. The product of the
flux Jacobian with the solution update can be approximated by a simple finite
difference as
OR A W n ~ R ( w + h zxw - R(w
(6.62)
0fir h
which requires only two evaluations of the residual. The stepsize h has to be
chosen with some care, in order to minimise the numerical error [36]. One
particularly suitable formulation reads [86]
Preconditioning
The efficiency of Krylov-subspace methods depends strongly on a good precon-
ditioner. Its purpose is to cluster the eigenvalues of the system matrix J around
unity. Thus, instead of Equation (6.61), the left- or right-preconditioned system
according to Eq. (3.11) is solved. Using Eqs. (6.61) and (6.62) together with
the condition At ~ c~, the Newton-Krylov method becomes
1~L R ( W n -~ h A W n) - R ( W n)
: --PL Rn (6.64)
R ( W ~ + hPR AW*) - R ( W ~) ~ R n
/15R1 t ~?'n -- t ~ r *
Start-Up Problem
The time step of the implicit Newton-Krylov method is infinitely large. However,
it is advisable to use small time steps at the beginning of the Newton iteration
process. The reason is that the flow solution is in general far from the steady
state at the beginning of the solution process, i.e., the root of the nonlinear
equation
R(w) - o,
and this may cause a breakdown of the Newton iteration. One possible remedy
is the so-called Switched Evolution Relaxation (SER) technique [94]. Here, the
term gt/At is retained in Eq. (6.61). The time step is evaluated in the same way
as presented for the explicit scheme (Eq. (6.14) or Eq. (6.20) without the viscous
eigenvalue). The CFL number a is increased starting from a small initial value
correspondingly to the reduction of the 2-norm of the residual, i.e.,
3(f~.M)?+ll/~r? +1 - 4 ( f ~ / ~ ) y W -"
? + (aJ~)i n-l~/-?-i
__ _ _ / ~ + 1 , (6.67)
2At
where At denotes the global physical time step and M the mass matrix, re-
spectively. Equation (6.67) constitutes a 3-point backward-difference (backward
Euler) approximation of the time derivative in Eq. (6.1). In order to solve the
system of non-linear equations given by Eq. (6.67), we can use either Newton's
method or a time-stepping methodology. The latter can be written as
All terms which are constant during the time-stepping in Eq. (6.68) are gathered
in a source term, i.e.,
In the case of moving and/or deforming grids, the new size of the control volume,
i.e., ~n+l in Eq. (6.68) has to satisfy the Geometry Conservation Law (see
Appendix A.5 for details and references).
The stationary solution of Eq. (6.68) corresponds to the flow variables at
the new time level, i.e., IY* - IY n+l. S i n c e / ~ - 0 at steady state in pseudo
time, Equation (6.67) is fulfilled. Any of the previously presented explicit or
implicit time-marching schemes can be employed for the solution of the system
of equations (6.68) in the pseudo time. In the following, we shall discuss the
implementation of the dual time-stepping approach for explicit multistage and
implicit schemes.
2,(~ =
aT+
~/(2) __ ~r/(0) Ol2/~t~ -~* ~(1) (6.71)
~'~7+1 Re( )
--',
(wi)l+l __ ~r/(0)~__ -~,
RI (~/(m-1)) ,
where 1 denotes the actual and (1 + 1) the new pseudo-time level, respectively.
The time-marching process is started either with (I~z*)t - I~n or with a value
extrapolated from previous physical time steps, e.g., [98]
_~ __. 31/~Zn _ 4I~n-1 + l~ n-2
(W;)Z- wn + 2 " (6.72)
After that, the next physical time step is conducted. The pseudo time step
At* is computed in the same way that we saw in Subsection 6.1.4.
Arnone et al. [98] pointed out that the multistage scheme (6.71) becomes
unstable when the physical time step At is of the order of the pseudo time step
At* or smaller. Melson et al. [99] demonstrated that the instability is caused
by the term
2At
in Eq. (6.69), which becomes significant for small At. They suggested an implicit
treatment of this term. Thus, we have to modify the multistage scheme in Eq.
(6.71) such that the k-th stage becomes [99]
l~(k)_lTv(o) akAt~[ 3 j ~ n + ] -1
(6.73)
9 [/~i(~r(k-1))~t_ ~ . 3~ (~2t7/)?+ll/~I(~ - ~} ]
The same methodology can also be applied to a hybrid multistage scheme (see
Subsection 6.1.2). The above formulation (6.73) is stable for any physical time
step At [99].
In the case of cell-centred schemes, the mass matrix 57/n+1 in Eq. (6.73) can
be lumped (substituted by the identity matrix) without reducing the solution
accuracy. In this way, the term
in Eq. (6.73) is turned into a scalar value. However, we have to account for the
mass matrix in the case of a cell-vertex spatial discretisation scheme. Other-
wise, the multistage scheme will be unstable for small physical time steps. In
order to circumvent the expensive inversion of 2f'/~+1, Venkatakrishnan [100]
and Venkatakrishnan and Mavriplis [101] suggested the following modification
to Eq. (6.73)
--*(k) -
~[/r(iO) O~kAt} [ +
I
3 ]-1
(6.74)
3 a~+l~ ~/.}k_1)
converges quickly (in few cycles) to the stationary solution of Eq. (6.68). Exam-
ples of applications on structured grids can be found in Refs. [97]-[99] as well as
in [102]-[104]. Implementations of the methodology on unstructured grids were
described, e.g., in [100], [101] and [105].
0 (~+1 -~ * )l-t-1
Or* W] ) - -(R~ (6.75)
with (1 + 1) being the new pseudo-time level. Note again the absence of 57/in
the time derivative. The unsteady residual, which is defined in Eq. (6.69), can
be linearised in pseudo time as follows
-, OR* ~,,
(R*)/+1 ~-~ (/~*)l nt- _~ A (6.76)
OW*
where AI~* - (~r,)l+l _ (~r,)l and the flux Jacobian is defined as
OR* = OR + 3 (aYi)
(6.77)
ow. ow
If we insert the above linearisation into Eq. (6.75), we obtain the unfactored
implicit scheme [106]
Any of the methodologies presented in Section 6.2 can be employed for the
solution of the system (6.78). A detailed discussion of time-accurate implicit
methods can be found in [107]. For recent examples of implementations, the
reader is referred to, e.g., [106] and [108].
218 Chapter 6. Temporal Discretisation
Bibliography
[1] Jameson, A.; Schmidt, W.; Turkel, E.: Numerical Solutions of the Euler
Equations by Finite Volume Methods Using Runge-Kutta Time-Stepping
Schemes. AIAA Paper 81-1259, 1981.
[2] Van Leer, B.; Tai, C.-H.; Powell, K.G.: Design of Optimally Smoothing
Multi-Stage Schemes for the Euler Equations. AIAA Paper 89-1933, 1989.
[3] Tai, C.-H.; Sheu, J.-H.; van Leer, B.: Optimal Multistage Schemes for
Euler Equations with Residual Smoothing. AIAA Journal, 33 (1995), pp.
1008-1016.
[4] Tai, C.-H.; Sheu, J.-H.; Tzeng, P.-Y.: Improvement of Explicit Multistage
Schemes for Central Spatial Discretization. AIAA Journal, 34 (1996), pp.
185-188.
[5] Martinelli, L.: Calculations of Viscous Flows with a Multigrid Method.
PhD Thesis, Dept. of Mechanical and Aerospace Engineering, Princeton
University, 1987.
[6] Mavriplis, D.J.; Jameson, A.: Multigrid Solution of the Navier-Stokes
Equations on Triangular Meshes. AIAA Journal, 28 (1990), pp. 1415-1425.
[7] Lafon, A.; Yee, H.C.: On the Numerical Treatment of Nonlinear Source
Terms in Reaction-Convection Equations. AIAA Paper 92-0419, 1992.
[8] Curtiss, C.F.; Hirschfelder, J.O.: Integration of Stiff Equations. Proc.
National Academy of Sciences of the USA, Vol. 38, 1952.
[9] Bussing, T.R.A.: A Finite Volume Method for the Navier-Stokes Equa-
tions with Finite Rate Chemistry. PhD Thesis, Dept. of Aeronautics and
Astronautics, Massachusetts Inst. of Technology, 1985.
[10] Bussing, T.R.A.; Murman, E.M.: Finite-Volume Method for the Calcula-
tion of Compressible Chemically Reacting Flows. AIAA Journal, 26 (1988),
pp. 1070-1078.
[11] Kunz, R.F.; Lakshminarayana, B.: Stability of Explicit Navier-Stokes Pro-
cedures Using k-c and k-~/Algebraic Reynolds Stress Turbulence Models.
J. Computational Physics, 103 (1992), pp. 141-159.
[12] Jonas, S.; Friihauf, H.H.; Knab, O.: Fully Coupled Approach to the
Calculation of Nonequilibrium Hypersonic Flows Using a Godunov-Type
Method. 1st European Computational Fluid Dynamics Conf., Brussels,
Belgium, September 7-11, 1992.
[13] Merci, B.; Steelant, J.; Vierendeels, J.; Riemslagh, K.; Dick, E.: Compu-
tational Treatment of Source Terms in Two-Equation Turbulence Models.
AIAA Journal, 38 (2000), pp. 2085-2093.
Bibliography 219
[14] Rosenbrock, H.H.: Some General Implicit Processes for the Numerical
Solution of Differential Equations. Computer J., 5 (1963), pp. 329-330.
[15] Zhong, X.: Additive Semi-Implicit Runge-Kutta Schemes for Computing
High-Speed Nonequilibrium Reactive Flows. J. Computational Physics, 128
(1996), pp. 19-31.
[16] Yoh, J.J.-I.; Zhong, X.: Semi-Implicit Runge-Kutta Schemes for Stiff
Multi-Dimensional Reacting Flows. AIAA Paper 97-0803, 1997.
[17] Yoh, J.J.-I.; Zhong, X.: Low-Storage Semi-Implicit Runge-Kutta Methods
for Reactive Flow Computations. AIAA Paper 98-0130, 1998.
[18] Dong, H.; Zhong, X.: Time-Accurate Simulations of Hypersonic Boundary
Layer Stability and Transition over Blunt Bodies Using Implicit Parallel
Algorithms. AIAA Paper 2002-0156, 2002.
[19] Courant, R.; Friedrichs, K.O.; Lewy, H.: {/ber die partiellen Differenzen-
gleichungen der mathematischen Physik. Math. Ann., 100 (1928), pp. 32-
74. Transl.: On the Partial Difference Equations of Mathematical Physics.
IBM Journal, 11 (1967), pp. 215-234.
[20] Rizzi, A.; Inouye, M.: A Time-Split Finite Volume Technique for Three-
Dimensional Blunt-Body Flow. AIAA Paper 73-0133, 1973.
[21] Mfiller, B.; Rizzi, A.: Runge-Kutta Finite-Volume Simulation of Lami-
nar Transonic Flow over a NACAO012 Airfoil Using the Navier-Stokes
Equations. FFA TN 1986-60, 1986.
[22] Swanson, R.C.; Turkel, E.; White, J.A.: An Effective Multigrid Method
for High-Speed Flows. Proc. 5th Copper Mountain Conf. on Multigrid
Methods, 1991.
[23] Vijayan, P.; Kallinderis, Y.: A 31) Finite-Volume Scheme for the Euler
Equations on Adaptive Tetrahedral Grids. J. Computational Physics, 113
(1994), pp. 249-267.
[24] George, A.; Liu, J.W.: Computer Solution of Large Sparse Positive Def-
inite Systems. Prentice Hall Series in Comput. Math., Englewood Cliffs,
N.J., 1981.
[25] Pothen, A.; Simon, H.D.; Liou, K.P.: Partitioning Sparse Matrices with
Eigenvectors of Graphs. SIAM J. Matrix Anal. Appl., 11 (1990), pp. 430-
452.
[26] Vanden, K.J.; Whitfield, D.L.: Direct and Iterative Algorithms for the
Three-Dimensional Euler Equations. AIAA Paper 93-3378, 1993; also
AIAA Journal, 33 (1995), pp. 851-858.
[27] Cuthill, E.; McKee, J.: Reducing the Bandwidth of Sparse Symmetric
Matrices. Proc. ACM 24th National Conference, 1969, pp. 157-161.
220 Chapter 6. Temporal Discretisation
[28] Gibbs, N.E.; Poole, W.G.; Stockmeyer, P.K.: An Algorithm for Reducing
the Bandwidth and Profile of a Sparse Matrix. SIAM J. Numer. Anal., 13
(1976), pp. 236-250.
[29] L5hner, R.: Some Useful Renumbering Strategies for Unstructured Grids.
Int. J. Numerical Methods in Engineering, 36 (1993), pp. 3259-3270.
[30] Steger, J.L.; Warming, R.F.: Flux Vector Splitting of the Inviscid Gasdy-
namic Equations with Application to Finite-Difference Methods. J. Com-
putational Physics, 40 (1981), pp. 263-293.
[31] Liou, M.S.; Van Leer, B.: Choice of Implicit and Explicit Operators for
the Upwind Differencing Method. AIAA Paper 88-0624, 1988.
[32] Barth, T.J.; Linton, S.W.: An Unstructured Mesh Newton Solver for
Compressible Fluid Flow and its Parallel Implementation. AIAA Paper
95-0221, 1995.
[33] Orkwis, P.D.; Vanden, K.J.: On the Accuracy of Numerical versus Analyt-
ical Jacobians. AIAA Paper 94-0176, 1994; also AIAA Journal, 34 (1996),
pp. 1125-1129.
[34] Barth, T.J.: Analysis of Implicit Local Linearization Techniques for Up-
wind and TVD Algorithms. AIAA Paper 87-0595, 1987.
[35] Bischof, C.; Khademi, P.; Mauer, A.; Carle, A.: Adifor 2.0: Automatic
Differentiation of Fortran 77 Programs. IEEE Computational Science &
Engineering, Fall 1996, pp. 18-32.
[36] Dennis, J.E.; Schnabel, R.B.: Numerical Methods for Unconstrained Op-
timization and Nonlinear Equations. Prentice-Hall, Englewood Cliffs, NJ,
1983.
[37] Xu, X.; Richards, B.E.: Simplified Procedure for Numerically Approx-
imate Jacobian Matrix Generation in Newton's Method for Solving the
Navier-Stokes Equations. GU Aero Report 9320, Dept. Aerospace Eng.,
University of Glasgow, 1993.
[38] Curtis, A.R.; Powell, M.D.; Reid, J.K.: On the Estimation of Sparse
Jacobian Matrices. J. Inst. Maths. Applics., 13 (1974), pp. 117-119.
[39] Venkatakrishnan, V.: Preconditioned Conjugate Gradient Methods for the
Compressible Navier-Stokes Equations. AIAA Paper 90-0586, 1990; also
AIAA Journal, 29 (1991), pp. 1092-1100.
[40] Briley, W.R.; McDonald, H.: Solution of the Multi-Dimensional Com-
pressible Navier-Stokes Equations by a Generalized Implicit Method. J.
Computational Physics, 24 (1977), pp. 372-397.
[41] Beam, R.; Warming, R.F.: An Implicit Factored Scheme for the Com-
pressible Navier-Stokes Equations. AIAA Journal, 16 (1978), pp. 393-402.
Bibliography 221
[42] Steger, J.L.: Implicit Finite Difference Simulation of Flow About Arbitrary
Geometries with Application to Airfoils. AIAA Journal, 16 (1978), p. 679.
[43] Pulliam, T.H.; Steger, J.L.: Recent Improvements in Efficiency, Accuracy
and Convergence for Implicit Approximate Factorization Scheme. AIAA
Paper 85-0360, 1985.
[44] Pulliam, T.H.: Artificial Dissipation Models for the Euler Equations.
AIAA Journal, 24 (1986), pp. 1931-1940.
[45] Pulliam, T.H.; Chaussee, D.S.: A Diagonal Form of an Implicit Approx-
imate Factorization Algorithm. J. Computational Physics, 39 (1981), pp.
347-363.
[46] Lomax, H.: Some Notes on Finite Difference Methods. Lecture Notes,
Stanford University, 1986.
[47] Pulliam, T.H.: Implicit Methods in CFD. Numerical Methods for Fluid
Dynamics III, Oxford University Press, 1988.
[48] Rosenfeld, M.; Yassour, Y.: The Alternating Direction Multi-Zone Implicit
Method. J. Computational Physics, 110 (1994), pp. 212-220.
[49] Jameson, A.; Turkel, E.: Implicit Scheme and L U-Decompositions. Math-
ematics of Computation 37 (1981), pp. 385-397.
[50] Yoon, S.; Jameson, A.: A Multigrid L U-SSOR Scheme for Approximate
Newton-Iteration Applied to the Euler Equations. NASA CR-17954, 1986.
[51] Yoon, S.; Jameson, A.: Lower-Upper Symmetric-Gauss-Seidel Method for
the Euler and Navier-Stokes Equations. AIAA Paper 87-0600,1987; AIAA
Journal 26 (1988), pp. 1025-1026.
[52] Yoon, S.; Jameson, A.: L U Implicit Schemes with Multiple Grids for the
Euler Equations. AIAA Paper 86-0105, 1986; also AIAA Journal 7 (1987),
pp. 929-935.
[53] Rieger, H.; Jameson, A.: Solution of Steady 3-D Compressible Euler and
Navier-Stokes Equations by an Implicit L U Scheme. AIAA Paper 88-0619,
1988.
[54] Yoon, S.; Kwak, D.: 3-D Incompressible Navier-Stokes Solver us-
ing Lower-Upper Symmetric-Gauss-Seidel Algorithm. AIAA Journal 29
(1991).
[55] Blazek, J.: Investigations of the Implicit L U-SSOR Scheme. DLR Re-
search Report, No. 93-51, 1993.
[56] Pahlke, K.; Blazek, J.; Kirchner, A.: Time-Accurate Euler Computations
for Rotor Flows. European Forum: Recent Developments and Applica-
tions in Aeronautical CFD, Paper No. 15, Bristol, UK, 1993.
222 Chapter 6. Temporal Discretisntion
[58] Blazek, J.: A Multigrid L U-SSOR Scheme for the Solution of Hypersonic
Flow Problems. AIAA Paper 94-0062, 1994.
[60] Stoll, P.; Gerlinger, P.; Briiggemann, D.: Domain Decomposition for an
Implicit LU-SGS Scheme using Overlapping Grids. AIAA Paper 97-1896,
1997.
[61] Lee, B.-S.; Lee, D.H.: Data Parallel Symmetric Gauss-Seidel Algorithm
for Efficient Distributed Computing Using Massively Parallel Supercom-
puters. AIAA Paper 97-2138, 1997.
[62] Tomaro, R.F.; Strang, W.Z.; Sankar, L.N.: An Implicit Algorithm for
Solving Time Dependent Flows on Unstructured Grids. AIAA Paper 97-
0333, 1997.
[63] Sharov, D.; Nakahashi, K.: Reordering of 3-D Hybrid Unstructured Grids
for Vectorized L U-SGS Navier-Stokes Calculations. AIAA Paper 97-2102,
1997.
[66] Strang, W.Z.; Tomaro, R.F.; Grismer, M.J.: The Defining Methods of
Cobalt6o: a Parallel, Implicit, Unstructured Euler//Navier-Stokes Flow
Solver. AIAA Paper 99-0786, 1999.
[67] Shuen, S.; Yoon, S.: Numerical Study of Chemically Reacting Flows Us-
ing a Lower-Upper Symmetric Successive Overrelaxation Scheme. AIAA
Journal, 27 (1989), pp. 1752-1760.
[69] Shuen, J.S.; Chen, K.H.; Choi, Y.: A Coupled Implicit Method for Chem-
ical Non-Equilibrium Flows at All Speeds. J. Computational Physics, 106
(1993), pp. 306-318.
Bibliography 223
[85] Ajmani, K.; Ng, W.-F.; Liou, M.-S.: Preconditioned Conjugate Gradient
Methods for Low Speed Flow Calculations. AIAA Paper 93-0881, 1993.
[86] Brown, P.N.; Saad, Y.: Hybrid Krylov Methods for Nonlinear Systems of
Equations. SIAM J. Scientific and Statistical Computing, 11 (1990), pp.
450-481.
[87] Zingg, D.; Pueyo, A.: An Efficient Newton-GMRES Solver for Aerody-
namic Computations. AIAA Paper 97-1955, 1997.
[88] Gropp, W.D.: Keyes, D.E.; McInnes, L.C.; Tidriri, M.D.: Globalized
Newton-Krylov-Schwarz Algorithms and Software for Parallel Implicit
CFD. ICASE Report No. 98-24, 1998.
[89] Meijerink, J.A.; Van der Vorst, H.A.: Guidelines for Usage of Incom-
plete Decompositions in Solving Sets of Linear Equations as they occur in
Practical Problems. J. Computational Physics, 44 (1981), pp. 134-155.
[93] Luo, H.; Baum, J.D.; LShner, R.: A Fast, Matrix-Free Implicit Method for
Compressible Flows on Unstructured Grids. AIAA Paper 99-0936, 1999.
[94] Mulder, W.; Van Leer, B.: Experiments with Implicit Upwind Methods for
the Euler Equations. J. Computational Physics, 59 (1985), pp. 232-246.
[98] Arnone, A.; Liou, M.S.; Povinelli, L.A.: Multigrid Time-Accurate Integra-
tion of Navier-Stokes Equations. AIAA Paper 93-3361, 1993.
Bibliography 225
Turbulence Modelling
9 one-equation,
9 multiple-equation,
227
228 Chapter 7. 7tlrbulence Modelling
Op 0
+ =-(pv~)- o
0--[ ~xi " "
OXk v~3
~xk~j, (7.2)
where we utilised the Stokes's hypothesis (Eq. (2.17)). In Cartesian coordi-
nates, Eq. (7.2) is equivalent to Eq. (2.15). The second term in Eq. (7.2), i.e.,
OVk/OXk, which corresponds to the divergence of the velocity, disappears for
incompressible flows. The components of the strain-rate tensor are given by
The total energy E and the total enthalpy H in Eq. (7.1) are obtained from
the formulae
1 1
E - e + -~vivi, H - h + -~vivi (7.5)
which correspond in Cartesian coordinate system to Eq. (2.6) and Eq. (2.12),
respectively.
7.1. Basic Equations of Turbulence 231
~Vi
=0
Oxi
Ovi Ovi= 1 0 p
O---t+ vj Oxj - p Ox--7+ •V2vi (7.6)
OT OT
+ - kVzT
0-7
with t~ - #/p being the kinematic viscosity coefficient and V 2 denoting the
Laplace operator. In the absence of buoyancy effects, the equation for the
temperature T becomes decoupled from the mass conservation and momentum
equations.
The first approach for the approximate treatment of turbulent flows was pre-
sented by Reynolds in 1895. The methodology is based on the decomposition
of the flow variables into a mean and a fluctuating part. The governing equa-
tions (7.1) are then solved for the mean values, which are the most interesting
for engineering applications. Thus, considering first incompressible flows, the
velocity components and the pressure in Eq. (7.1) are substituted by [13]
-- I -- pl
vi-vi+v i, p p+ , (7.7)
where the mean value is denoted by an overbar and the turbulent fluctuations
by a prime. The mean values are obtained by an averaging procedure. There
are three different forms of the Reynolds averaging:
As a consequence, the mean value ~ does not vary in time, but only in
space. The situation is sketched in Fig. 7.2. In practice, T -~ ~ means
that the time interval T should be large as compared to the typical time-
scale of the turbulent fluctuations.
V ~ I I
i _- time
t t+T
Here, the mean value vi still remains a function of time and of space
coordinates.
For all three approaches, the average of the fluctuating part is zero, i.e., vi! - - 0 .
However, it can be easily seen that viv
~ i~ 7/=O. The same is true for vivj,
t ~ if both
turbulent velocity components are correlated.
In cases where the turbulent flow is both stationary and homogeneous, all
three averaging forms are equivalent. This is called the ergodic hypothesis.
7.1.2 Favre ( M a s s ) A v e r a g i n g
In cases where the density is not constant, it is advisable to apply the den-
sity (mass) weighted or Favre decomposition [14], [15] to certain quantities in
Eq. (7.1) instead of Reynolds averaging. Otherwise, the averaged governing
equations would become considerably more complicated due to additional cor-
relations involving density fluctuations. The most convenient way is to employ
Reynolds averaging for density and pressure, and Favre averaging for other
variables such as velocity, internal energy, enthalpy and temperature. Favre av-
eraged quantities, for example the velocity components, are obtained from the
relation [14], [15]
1 1 ft+T
~i -- -
- ~ ~ [J t
~ Tlim pvi dt (7.11)
where vi represents the mean value and v i" the fluctuating part of the velocity vi
Again, the average of the fluctuating part is zero, i.e., v i" - O. Furthermore, the
average of the product of two fluctuating quantities is not zero, if the quantities
are correlated. Hence, for example, v-I1_,
i v i 7~ 0 and in general v'i~v"j r 0.
The following relationships can be derived for a mix between Favre and
Reynolds averaging
--- 1~ I--7
p v i -- p v i , p v i -- O, but v i 7(= 0. (7.13)
=0
cOxi
(7.14)
OVi O-~i _
P-o-i- + p~j Ox~ - -Ox--7+- xj - .
(7.15)
1 1 /
PViV j -- PV2V 1f p(V~)2 , 3I
PV2V 9 (7.17)
! I 1 I
PV3V 1 PV3V~ P(V3) 2
0
~ (-f~)- o
0-7
0 .tU~..,
~ - -~-,, ,,
u9i " u j .
(7.20)
Its form is similar to Eq. (7.17) with Favre instead of Reynolds averaging. The
components of the laminar (molecular) viscous stress tensor ~ij are evaluated
by Eq. (7.2) using Favre-averaged velocity components.
If we employ the definition of the Favre-averaged turbulent kinetic energy,
i.e.,
1 _.~U~_., (7.21)
1 1 .~U~_., 1 ~
~/~ - p~ + ~ p ~ i ~ + ~ p'vi '% - p~ + ~ ~O~Oi + ~ K . (7.22)
7.1. Basic E q u a t i o n s of T u r b u l e n c e 235
0
~-5')
"h - turbulent transport of heat
0
Oxj (viTij) - work done by the molecular stresses
0
- work done by the Favre-averaged Reynolds stresses
The molecular diffusion and turbulent transport of/~ are very often neglected.
This is a valid approximation for transonic and supersonic flows. In order to
close the Favre- and Reynolds-averaged equations (7.19), we also have to supply
six components of the Favre-averaged Reynolds-stress tensor (Eq. (7.20)) and
three components of the turbulent heat-flux vector. We shall discuss the three
basic approaches in the next subsections.
- 2
7-iR -- - - [ V ~ V ~ -- 2 p T S i j - ~pKbij, (7.24)
where Sij denotes the Reynolds-averaged strain-rate tensor (Eq. (7.3), cf. also
Eq. (7.16)), K is the turbulent kinetic energy ( K - (1/2) viv ' i' ), and #T stands
for the eddy viscosity. Unlike the molecular viscosity #, the eddy viscosity #T
represents no physical characteristic of the fluid, but it is a function of the local
flow conditions. Additionally, #T is also strongly affected by flow history effects.
236 C h a p t e r 7. Turbulence Modelling
where Siy a n d / ( are the Favre-averaged strain rate and turbulent kinetic energy,
respectively. Note the similarity to Eq. (7.2). The term ( 2 / 3 ) p K h i j in Eqs.
(7.24) and (7.25) is required in order to obtain the proper trace of TiR or ~-iF.
This means that we must have
wff----2pK or 7~F----2~/~
#T (7.27)
kT -- Cp P r T "
- ~L + ~T. (7.28)
The laminar viscosity PL is computed, for example, with the aid of the Suther-
land formula (2.30). Furthermore, according to the Reynolds analogy given by
Eq. (7.26), the thermal conductivity coefficient k in EQ. (2.24) or Eq. (7.2) is
evaluated as
k - k n + k T - Cp
(/AL
/AT)
-~r L + -~r T .
(7.29)
pK 4 [-~ 1
+ C5-~--- ik-Skm~mj -- -~kZSlm-~mkSij + I~Si~
238 Chapter 7. Turbulence Modelling
Ovi Ovi Op
N(~) - P-K + pv,~- + #V2vi . (7.33)
oxj
Using the average Eq. (7.32) together with Eq. (7.33), we obtain the following
Reynolds-stress transport equation [31]
0~ 0~ oc~j~ ~~ (7a4)
O---t-+ Vk-~xk = Pij + Ilij - eij Oxk ~- # V r~j
for incompressible flow. The formulation for compressible flows can be found
in Ref. [17], p. 179, or in [32], [33]. The production of the turbulent kinetic
energy Pij, the pressure-strain term IIij, the dissipation-rate term eij, and the
third-order diffusion t e r m Vii k in Eq. (7.34) are defined as
Oxk
(7.35)
o~ Ov}
eij -- 2# OXk Oxk
Cijk _
Pvi'UjVk
. t . l ~ , + p ' v ' iS j k + p ' vj' 6ik
7.1. Basic Equations of Turbulence 239
In Eq. (7.35), S~j denotes the fluctuating part of the strain-rate tensor. The first
part of Cijk, the triple velocity term, represents transport driven by fluctuating
convection, the two other parts are the pressure transport terms (pressure-
velocity correlations), respectively.
As we can see, the exact Reynolds-stress equation contains new unknown
higher-order correlations (e.g., v~v~v~k). Therefore, Equation (7.34) can be closed
only by using empirical models. This is caused by the non-linear nature of
the Navier-Stokes equations. The second-order closures- the Reynolds-stress
models- provide the necessary framework for solving Eq. (7.34). Examples of
implementations can be found, e.g., in Refs. [34]-[36].
240 Chapter 7. Turbulence Modelling
Differential Form
The Spalart-Allmaras turbulence model can be written in tensor notation as
follows [38]
[C lf Cbl ft2] ( d
2 2
7.2. First-Order Closures 241
#T - - f v l P 1/ . (7.37)
The production term is evaluated with the following formulae
P
- - f v 3 S nt- t~2d~ fv2 ,
X3
fvl = X3 + Cv31, fv2 -
(
1+ ~
X )_3 , (7.38)
In Equation (7.38), S stands for the magnitude of the mean rotation rate, i.e.,
where ftij is given by Eq. (7.4). Note that S differs from its original definition
in [38]. The modification was suggested by Spalart in order to prevent S from
reaching zero (eft Ref. [40], p. 155).
The terms controlling the destruction of the eddy viscosity read
+ +
- ~ Oxj Oxj
by the following expression
1+Cb2
a
0 [
Oxj (L'L + ~)
0~~j] -- -C,
b2(~L' a +/9)
V2/9" (7.42)
In this way, difficulties with the discretisation of the term (O/9/Oxj) 2 are cir-
cumvented.
Integral Form
The Spalart-Allmaras turbulence model (Eq. (7.36)) reads after the transforma-
tion into the finite-volume framework as follows
oj. f.
-~ /9 dO + (Fc,T -- F,,T) dS - i. QT dO, (7.43)
where ft represents the control volume, cgft its surface, and dS is a surface
element of ft. The convective flux is defined as
where n~, ny, and nz are the components of the unit normal vector. The normal
viscous stresses read
where y represents the coordinate normal to the wall. Further, it can be shown
that the Reynolds shear stress behaves like (see, e.g., [17] pp. 138-139)
The K-s models with damping functions are also denoted as low Reynolds
number models. The most widely used formulations of the damping functions
were proposed by Jones and Launder [43], Launder and Sharma [45], Lam and
Bremhorst [47], and by Chien [48]. The reader may find a comparison of seven
different low Reynolds number K-s models in Ref. [49].
The K-s turbulence model is more difficult to solve numerically than the
previously discussed Spalart-Allmaras model (Subsection 7.2.1). Particularly,
244 C h a p t e r 7. Turbulence Modelling
the damping functions lead to turbulence equations with stiff source terms.
This, and the necessary high grid resolution nearby walls (in order to resolve
the viscous sublayer), requires the utilisation of at least point-implicit or better
full-implicit time-stepping schemes. Reference [50] contains useful hints on the
explicit time discretisation of the K-e equations. Examples of implementations
of the K-e model on structured as well as on unstructured grids can be found,
e.g., in [51]-[59]. Finally, it is important to note that the accuracy of the K-e
model degrades for flows with adverse pressure gradient [49], [17].
Differential Form
- c~2L2 p (~*K)2 + r
The turbulent kinetic energy is also employed for the evaluation of the eddy
viscosity according to Eq. (7.24) or Eq. (7.25). The quantity e* is related to the
turbulent dissipation rate e by
e = e~ + e*. (7.52)
The term ew is the value of the dissipation rate at the wall. The definition
in Eq. (7.52) greatly simplifies the application of wall-boundary conditions (see
further below).
The constants, the near-wall damping functions as well as the wall term
differ between the various K-e models. Here, we choose the Launder-Sharma
model because it gives good results for a wide range of applications [49]. For
the Launder-Sharma model, the constants and the turbulent Prandtl number
are given by [45]
-3.4 )
f/~- exp (1 + 0.02 ReT)2
(7.54)
fel=l
f~2 -- 1 -- 0.3 exp (R@)
with ReT = pK2/(~*pL) being the turbulent Reynolds number.
Finally, the explicit wall term r and the value ~ are defined as
qSe--2#T#-'-~L(O2Vs)
2 p and cw = , (7.55)
p Oyn /
where vs stands for the velocity parallel to the wall, and Yn represents the
coordinate normal to the wall. In order to avoid an explicit knowledge of the
wall distance and orientation, it is common to compute the wall term and s~
from the following Cartesian tensor form [60], [57]
Integral Form
Written in time-dependent integral form for a control volume gt with a surface
element dS, the low Reynolds number K-e turbulence model reads
lgZT- [p:
pK 1" (7.58)
The vector of the convective fluxes is defined
Fc,T --
[pKV]
pe* V '
(7.59)
where V denotes the contravariant velocity (see Eq. (2.22)). The vector of the
viscous fluxes is given by
Fv, T - (7.60)
n~rL + n y ~ + nz~L
246 Chapter 7. Turbulence Modelling
r ~ Ox '
In Eq. (7.60), nx, ny, nz represent the components of the outward-facing unit
normal vector of the surface 0~. The source term is evaluated from
- ~'* , (7.62)
( C ~ f ~ P - C~2f~2 pe*)-~ + r
P - C ~Ou + ~-~~
F Ov
+ ~-~Ow
Oz
(7.63)
Or Ow )
~ +~ +~[z ~ + ~ +~(z N + N
with the Favre-averaged turbulent stresses TiF given by Eq. (7.25). The con-
stants, the near-wall damping functions as well as the wall term follow for the
Launder-Sharma model from the definitions in Eqs. (7.52)-(7.56). The turbulent
eddy viscosity #T is obtained from Eq. (7.51).
-
~/2K~
,
m ~c3/2
Wall f u n c t i o n s
As we already noted, the low Reynolds number models require very fine grids
at walls. The standard condition is that the first node (or cell centroid) should
be located at the distance y+ < 1 from the wall. In order to reduce the the
stiffness of the turbulence equations and to save a number of grid points/cells,
coarser grids with 10 < y+ < 100 are often employed. In such a case, the
K-e model Eq. (7.50) or Eq. (7.57) is applied without the damping functions
( f , - f~l - fe2 - 1; e~ - 0) and the wall term (r - 0). We speak here of
a high Reynolds number turbulence model. Apparently, the distance between
the first node (cell centroid) and the wall has to be bridged by the so-called
wall functions. The wall functions deliver the values of K and e* at the node
(cell centroid) adjacent to the wall. The turbulence equations are not solved
at the wall itself and at the first layer of nodes (cells). Various formulation of
the wall functions are used, in general based on the logarithmic wall-law. One
example is the function of Spalding [62], which models the viscous sublayer,
the transition region as well as the logarithmic layer. Implementations of high
Reynolds number models were described, e.g., in [63]-[67] or [58].
The application of the wall functions leads (provided the grid is not too
coarse) to reasonably accurate results for attached boundary layers. It also al-
lows the utilisation of purely explicit time-stepping schemes. However, the use
of wall functions becomes highly questionable for separated flows.
7.2.3 SST T w o - E q u a t i o n M o d e l of M e n t e r
The K-~ Shear Stress Transport (SST) turbulence model of Menter [68], [69]
merges the K-aJ model of Wilcox [70], [17] with a high Reynolds number K-
e model (transformed into the K-w formulation). The SST model seeks to
combine the positive features of both models. Therefore, the K-aJ approach is
employed in the sublayer of the boundary layer. The reason is that the K-co
model needs no damping function. This leads, for similar accuracy, to signifi-
cantly higher numerical stability in comparison to the K-e model. Furthermore,
the K-w model is also utilised in logarithmic part of the boundary layer, where
it is superior to the K-e approach in adverse pressure flows and in compressible
flows. On the other hand, the K-e model is employed in the wake region of the
boundary layer because the K-c0 model is strongly sensitive to the freestream
value of co [71]. The K-e approach is also used in free shear layers since it
represents a fair compromise in accuracy for wakes, jets, and mixing layers.
One distinct feature of the SST turbulence model is the modified turbulent
eddy-viscosity function. The purpose is to improve the accuracy of prediction of
flows with strong adverse pressure gradients and of pressure-induced boundary
layer separation. The modification accounts for the transport of the turbulent
shear stress. It is based on the observation of Bradshaw that the principal shear
stress is proportional to the turbulent kinetic energy.
A certain disadvantage of the SST model is that distances to the nearest
248 Chapter 7. Turbulence Modelling
Differential Form
The transport equations for the turbulent kinetic energy and the specific dissi-
pation of turbulence read in differential form [68]
OpK 0 0 OK
0---~ + ~ (pvj K ) - (~ + ~~) + w~Fsij --/3* p w K
uxj
The terms on the right-hand side of Eq. (7.65) represent conservative diffusion,
eddy-viscosity production and dissipation, respectively. Furthermore, the last
term in the w-equation describes the cross diffusion. The Favre-averaged tur-
bulent stresses T~F are given by Eq. (7.25) and the strain-rate tensor Sij follows
from EQ. (7.3). The turbulent eddy viscosity in EQ. (7.28) and (7.29) is obtained
from [68]
alpK (7.66)
ltT- max(alw, f211curl~7112) "
This definition of the turbulent viscosity guarantees that in an adverse pressure
gradient boundary layer, where the production of K is larger than its dissipation
w (hence alw < [[curl 6112), Bradshaw's assumption, i.e., T = a l p K (shear stress
proportional to turbulent kinetic energy) is satisfied.
The function fl in Eq. (7.65), which blends the model coefficients of the K-w
model in boundary layers with the transformed K-s model in free-shear layers
and freestream zones, is defined as
f l - tanh(arg~)
f2- tanh(arg~)
ar g2 - max ( 2v~
0.09cod '
~5 o o )p L
pcod 2
. (7.69)
Finally, the coefficients of the SST turbulence model ~, Cw, OK, and aw are
obtained by blending the coefficients of the K-co model, denoted as r with
those of the transformed K-s model (r The corresponding relation reads
Boundary Conditions
The boundary conditions for the kinetic turbulent energy and the specific dis-
sipation at solid walls are
6pL
K - 0 and co - 10 p~x (dl)2 (7.74)
with dl being the distance of the first node (cell centroid) from the wall. The
grid has to be refined such that y+ < 3.
For the inflow boundaries, the following freestream values are recommended
where L denotes the length of the computational domain, 1 _< C1 _< 10 and
2 < C2 _< 5, respectively. The values of K and co are extrapolated from the
interior at outflow boundaries.
250 Chapter 7. Turbulence Modelling
too much energy over a significant portion of the turbulent spectra due to the
inherent numerical damping [102], [103]. A discussion of numerical errors of
spectral and finite difference methods can be found in [104].
The implementation of LES methods on unstructured grids [105]-[109] rep-
resents a particular challenge. However, it allows for the treatment of highly
complex geometries, moving boundaries or for dynamic grid adaptation. The
research topic consists of the development of numerically efficient, high-order
spatial discretisation on mixed-element grids.
An introduction to LES can be found in Ref. [19], pp. 269-336, and in [110]-
[112] or [90]. An overview of the present state of LES was given in [113].
u(~0, t) -
/o u(~, t) a(~0, ~,/x) d~,
where f~ denotes the entire flow domain, G represents the filter function, and
(7.77)
is the position vector, respectively. The filter function determines the structure
and size of the small scales. The filter function depends on the difference r'0 -
and on the filter width A - ( A 1 A 2 A3)1/3 , with Ai being the filter width in
the i-th spatial coordinate. The following filter functions are the mostly used
ones (see Fig. 7.3)"
1. the tophat filter"
G- [ 1/A3 if I ( x 0 ) i - xil _< Ai/2
(77s)
[ 0 otherwise.
3 sin -V-[(x0)i - x i ]
l--it
G (7.79)
H I(xo) -
@
i=1
G - ~ exp A2 . (7.s0)
The tophat and the Gaussian filter smooth the large-scale fluctuations as well
as the small scales below the filter width. The cut-off filter affects only the
scales below the cut-off wave-number. In practice, the Gaussian filter is always
employed in conjunction with a sharp Fourier cut-off. Filters suitable for grids
with varying cell sizes were proposed in Refs. [114], [115].
252 Chapter 7. Turbulence Modelling
- 512 +A/2
X
-A +A x -A +A x
F i g u r e 7.3: LES filter functions in physical space: tophat (a), cut-off (b),
G aussian (c).
7.3.2 Filtered G o v e r n i n g E q u a t i o n s
The spatial filtering, defined by Eq. (7.76) and Eq. (7.77), has to be applied to
the Navier-Stokes equations in order to remove the small turbulent scales. The
filter width A as well as the filter function are considered as free parameters.
In fact, the governing equations are usually not explicitly filtered. Instead, the
grid as well as the discretisation errors are assumed to define the filter G. For
the discussion of explicit filtering see Refs. [116], [117].
Because of the differing treatment, we shall distinguish in the following be-
tween compressible (7.1) and incompressible (7.6) formulation of the Navier-
Stokes equations.
=0
Oxi
(7.Sl)
0v~ 0 1 ~ ~-V2v ~ 0r~
o--7 + ~ ( ~ J ) - p o~ Oxj
where u denotes the kinematic viscosity coefficient. The equations (7.81) de-
scribe the temporal and spatial evolution of the large, energy-carrying scales of
motion. The non-linearity of the convective term leads to the appearance of the
so-called subgrid-scale stress (SGS) tensor
which describes the effects of the unresolved scales. The SGS tensor has to be
modelled (see Subsection 7.3.3) in order to close the equations.
The SGS tensor can be decomposed into three parts [118], namely
~ - L~j + C~ + ~ . (7.83)
The individual parts have the following physical meaning:
Lij = vivj - vivj (7.84)
is the so-called Leonard stress term and represents the interactions between
large-scale eddies which produce small-scale turbulence. This term only can be
evaluated explicitly from the filtered velocity field vi. Further, the cross-stress
term
where the overbar denotes the filtering in Eq. (7.77). The Favre-filtered Navier-
Stokes equations (7.1)read [1111, [113]
0~ + 0 ( ~ j ) - 0
Ot
o-f~ +
Ot Oxj + ~ + ~Skk - ~ j - - -
1Galilean invariance means that all frames of reference which are translating uniformly
with respect to each other are equivalent.
254 Chapter 7. Turbulence Modelling
0
B- ~ [~j - ~j] - divergence of SGS heat diffusion
and
(7.90)
k OT OT
q-5-- oj-- Oxj
In the above equations (7.89)-(7.90), e denotes internal energy per unit mass,
Sij is the Favre-filtered strain-rate tensor, and T~Sg - ~ ( v ~ - vivj) represents
the Favre-averaged subgrid-scale stress. Furthermore, #, #B, and k stand for
the molecular viscosity, the bulk viscosity, and for the thermal conductivity,
respectively. Finally,/5, /2B, and k are the corresponding values at the filtered
N
temperature T.
The right-hand side of Eq. (7.89) contains terms which have to be modelled.
In the momentum equation, the SGS stresses 7i~F are approximated, but the
second term, i.e., (aij -5ij) is usually neglected. In the energy equation, term
A can be expressed through the SGS stresses [119], term B can be neglected,
and terms C, 7P can be modelled as proposed in [120].
one consists of approaches which model the SGS tensor ~-i~ explicitly. A nec-
essary condition is then that the numerical dissipation caused by the spatial
discretisation scheme must be much lower than the subgrid-scale dissipation.
The majority of explicit SGS models is based on the eddy-viscosity concept,
which is explained next. Furthermore, we shall present the Smagorinsky model,
which forms the basis of all subgrid-scale models. We shall also briefly discuss
the basics of the so-called dynamic subgrid-scale models. A comparison of six
different explicit subgrid-scale models was presented recently in [122].
The second class of subgrid-scale models consists of approaches where the
SGS stresses are modeled implicitly by an appropriate discretisation of the con-
vective fluxes (thus 7-i~ is omitted). These models are referred to as Monoton-
ically Integrated LES (MILES). The methodology was first presented by Boris
et al. [123] and recently advocated by Grinstein and Fureby [124], [125]. The
condition in this case is that the numerical dissipation correctly models the
subgrid-scale dissipation. This is not quite easy to achieve, as the investiga-
tions in Ref. [126] and [127] prove. Nevertheless, MILES was applied with some
success to a variety of flow problems [128]-[134].
Eddy-Viscosity Models
These explicit models are able to represent the global dissipative effects of the
small scales, but they cannot reproduce the local details of the energy exchange.
In the case of incompressible flows, the eddy-viscosity models relate the SGS
stresses to the large-scale strain-rate Sij as follows
The strain-rate Sij is obtained from Eq. (7.3) by using filtered velocity compo-
nents. The eddy viscosity uT is in general evaluated from algebraic relations in
order to save numerical costs. The isotropic part of the SGS stresses (~-~sk) can
either be added to the filtered pressure [135], modelled [136] or neglected.
Relation similar to Eq. (7.91) applies also in the case of compressible Navier-
Stokes equations. The components of the Favre-averaged SGS stress tensor are
approximated as
The components of the strain-rate tensor Sij are given in Eq. (7.90).
UT --(CsA)21SI, (7.93)
256 C h a p t e r 7. Turbulence Mode111ng
D y n a m i c SGS Models
The dynamic SGS models employ the same relation as the Smagorinsky model
(Eq. (7.93)) for the evaluation of the eddy viscosity UT in Eq. (7.91) or (7.92).
The difference is that the Smagorinsky constant (adjusted a priori) is replaced
by a parameter, which evolves dynamically in space and in time. Hence,
(7.95)
The parameter Cd is computed based on the energy content of the smallest scale
of the turbulence. For this purpose, Germano et al. [138] proposed to employ
a second filter - the so-called test filter /~. The width of the test filter has to
be larger than that of the filter A applied to the governing equations (usually
z~ = 2A). The application of the test filter to the filtered equations leads to the
so-called subtest-scale stresses 7"~ST
The subtest-scale stresses are related to the SGS stresses T~ (Eq. (7.83)) via
the Germano identity [139]
(7.97)
where L/j denotes the Leonard stresses associated with the test filter. It rep-
resents the contribution to the Reynolds stresses by the scales whose length is
intermediate between the filter width A and the test filter width/~.
If we express the subtest-scale and SGS stresses in Eq. (7.97) using the
eddy-viscosity approach Eq. (7.91) together with Eq. (7.95), we obtain
with
M~j - s j - [A21~I~j] ~ . (7.99)
The notation []A means that the whole term enclosed in the square brackets
is test-filtered. The parameter Cd can be derived from Eq. (7.98) by using the
least-squares minimisation of Lilly [140]. This leads to
1 {LijMij)
C d ( ~ , t) -- 2 (Mmn Mmn} " (7.101)
Improved dynamic SGS models were proposed, e.g., by Ghosal et al. [141],
Carati et al. [142], Piomelli and Liu [143], and Held [90].
logarithmic law (see [77] and [146]-[148]). Balaras et al. [149] proposed recently
a new zonal approach. Within the two-layer model, the filtered Navier-Stokes
equations (7.81) are solved up to the first grid point above the wall. From this
point to the wall 2-D boundary layer equation are solved on a refined embedded
grid. The solution on the embedded grid is then used to prescribe the wall shear
stress as a boundary condition for the LES. The zonal approach of Balaras et al.
[149] allows it to place the first point in a region 20 < y+ < 100, which leads to
significantly reduced grid size and hence computational time. The methodology
was applied with success to turbulent flows in a plane channel, square duct and
rotating channel. Later on, it was also employed for the LES of separated flows
with encouraging results [150]-[153].
Bibliography
[1] Liu, C.; Liu, Z.: Multigrid Methods and High Order Finite Difference for
Flow in Transition. AIAA Paper 93-3354, 1993.
[2] Olejniczak, D.J.; Weirs, V.G.; Liu, J.; Candler, G.V.: Hybrid Finite-
Difference Methods for DNS of Compressible Turbulent Boundary Layers.
AIAA Paper 96-2086, 1996.
[3] Cook, A.W.; Riley, J.J.: Direct Numerical Simulation of a Turbulent Reac-
tive Plume on a Parallel Computer. J. Computational Physics, 129 (1996),
pp. 263-283.
[4] Pinelli, A.; Vacca, A.; Quarteroni, A.: A Spectral Multidomain Method for
the Numerical Simulation of Turbulent Flows. J. Computational Physics,
136 (1997), pp. 546-558.
[5] Zhong, X.: High-Order Finite-Difference Schemes for Numerical Simula-
tion of Hypersonic Boundary-Layer Transition. J. Computational Physics,
144 (1998), pp. 662-709.
[6] Lange, M.; Riedel, U.; Warnatz, J.: Parallel DNS of Turbulent Flames
with Detailed Reaction Schemes. AIAA Paper 98-2979, 1998.
[7] Hernandez, G.; Brenner, G.: Boundary Conditions for Direct Numerical
Simulations of Free Jets. AIAA Paper 99-0287, 1999.
[8] Ladeinde, F.; Liu, W.; O'Brien, E.E.: DNS Evaluation of Chemistry Mod-
els for Turbulent, Reacting, and Compressible Mixing Layers. AIAA Paper
99-0413, 1999.
[9] Freund, J.B.: Acoustic Sources in a Turbulent J e t - A Direct Numerical
Simulation Study. AIAA Paper 99-1858, 1999.
[10] Rizzetta, D.P.; Visbal, M.R.: Application of a High-order Compact Dif-
ference Scheme to Large-Eddy and Direct Numerical Simulation. AIAA
Paper 99-3714, 1999.
[11] Boussinesq, J." Essai sur la thdorie des eaux courantes. Mem. Pres. Acad.
Sci., XXIII, 46, Paris, 1877.
[12] Boussinesq, J.: Theorie de l' dcoulement tourbillonant et tumulteur des
liquides dans les lits rectiligues. Comptes Rendus de l' Acad. des Sciences,
CXXII (1896), p. 1293.
[13] Reynolds, O.: On the Dynamical Theory of Incompressible Viscous Fluids
and the Determination of the Criterion. Phil. Trans. Roy. Soc., London,
Series A 186 (1895), pp. 123-164.
[14] Favre, A.: Equations des gaz turbulents compressibles, part 1: formes
gdndrales. Journal de MScanique 4 (1965), pp. 361-390.
260 Chapter 7. Turbulence Modelling
[15] Favre, A.: Equations des gaz turbulents compressibles, part 2: mdthode
des vitesses moyennes; methode des vitesses moyennes ponddrdes par la
masse volumique. Journal de M6canique 4 (1965), pp. 391-421.
[16] Morkovin, M.V.: Effects of Compressibility on Turbulent Flow. The Me-
chanics of Turbulence, Favre, A. (ed.), Gordon and Breach, New York,
1964.
[17] Wilcox, D.C.: Turbulence Modeling for CFD. Published by DCW Indus-
tries, Inc., La Cafiada, California, USA, 1993.
[18] Reynolds, O.: On the Extent and Action of the Heating Surface for Steam
Boilers. Proc. Manchester Lit. Phil. Soc., 14 (1874), pp. 7-12.
[19] Hallb/ick, M.; Henningson, D.S.; Johansson, A.V.; Alfredsson, P.H. (eds.):
Turbulence and Transition Modelling. ERCOFTAC Series, Vol. 2, Kluwer
Academic Publishers, Dordrecht, The Netherlands, 1996.
[20] Spalart, P.; Shur, M.: On the Sensitization of Turbulence Models to Ro-
tation and Curvature. Aerospace Science and Technology, 5 (1997), pp.
297-3O2.
[21] Shur, M.; Strelets, M.; Travin, A.; Spalart, P.: Turbulence Modeling in
Rotating and Curved Channels: Assessment of the Spalart-Shur Correc-
tion Term. AIAA Paper 98-0325, 1998.
[22] Lumley, J.L.: Toward a Turbulent Constitutive Equation. J. Fluid Me-
chanics, 41 (1970), pp. 413-434.
[2a] Lumley, J.L.: Computational Modeling of Turbulent Flows. Advances in
Applied Mechanics, 18 (1978), pp. 123-176.
[24] Craft, T.J.; Launder, B.E.; Suga, K.:A Non-Linear Eddy-Viscosity Model
Including Sensitivity to Stress Anisotropy. Proc. 10th Symp. Turbulent
Shear Flows, Pennsylvania State University, Paper 23:19, 1995.
[25] Shih, T.H.; Zhu, J.; Liou, W.W.; Chen, K.-H.; Liu, N.-S.; Lumley, J.:
Modeling of Turbulent Swirling Flows. Proc. l lth Symposium on Turbu-
lent Shear Flows, Grenoble, France, 1997; also NASA TM-113112, 1997.
[26] Goldberg, U.; Peroomian, O.; Chakravarthy, S.:
Application of the k-s-
R Turbulence Model to Wall-bounded Compressive Flows. AIAA Paper
98-0323, 1998.
[27] Abdel Gawad, A.F.; Abdel Latif, O.E.; Ragab, S.A.; Shabaka, I.M.: Tur-
bulent Flow and Heat Transfer in Rotating Non-Circular Ducts with Non-
linear k-s Model. AIAA Paper 98-0326, 1998.
[2s] Yoshizawa, A.; Fujiwara, H.; Hamba, F.; Nisizima, S.; Kumagai,
Y.: Nonequilibrium Turbulent-Viscosity Model for Supersonic Free-Shear
Layer/Wall-Bounded Flows. AIAA Journal, 41 (2003), pp. 1029-1036.
Bibliography 261
[29] Tucker, P.G.; Liu, Y.; Chung, Y.M.; Jouvray, A.: Computation of an
Unsteady Complex Geometry Flow Using Novel Non-Linear Turbulence
Models. Int. J. Numer. Meth. Fluids, 43 (2003), pp. 979-1001.
[31] Hinze, J.O.: Turbulence. 2nd edition, McGraw-Hill, New York, 1975.
[32] Bai, X.S.: On the Modeling of Turbulent Combustion at Low Mach Num-
bers. PhD Thesis, Royal Inst. of Technology, Dept. of Mechanics/Applied
CFD, Stockholm, Sweden, 1994.
[37] Bardina, J.E.; Huang, P.G.; Coakley, T.J.: Turbulence Modeling Valida-
tion, Testing, and Development. NASA TM-110446, 1997.
[39] Tucker, P.G.: Differential Equation Based Length Scales to Improve DES
and RANS Simulations. AIAA Paper 2003-3968, 2003.
[41] Rung, T.; Bunge, U.; Schatz, M.; Thiele, F.: Restatement of the Spalart-
Allmaras Eddy-Viscosity Model in Strain-Adaptive Formulation. AIAA
Journal, 41 (2003), pp. 1396-1399.
[42] Chou, P.Y.: On Velocity Correlations and the Solutions of the Equations
of Turbulent Fluctuations. Quart. of Appl. Math., 3 (1945), pp. 38-54.
262 Chapter 7. Turbulence Modelling
[72] Hellsten, A.; Laine, S.: Extension of the k-w-SST Turbulence Model for
Flows over Rough Surfaces. AIAA Paper 97-3577, 1997; also AIAA Jour-
nal, 36 (1998), pp. 1728-1729.
[73] Hellsten, A.: Some Improvements in Menter's k-~ SST Turbulence Model.
AIAA Paper 98-2554, 1998.
[74] Forsythe, J.R.; Hoffmann, K.A.; Suzen, Y.B.: Investigation of Modified
Menter's Two-Equation Turbulence Model for Supersonic Applications.
AIAA Paper 99-0873, 1999.
[75] Smagorinsky, J.: General Circulation Experiments with the Primitive
Equations. Monthly Weather Review, 91 (1963), pp. 99-165.
[76] Deardorff, J.W.: A Numerical Study of Three-Dimensional Turbulent
Channel Flow at Large Reynolds Numbers. J. Fluid Mechanics, 41 (1970),
pp. 453-480.
[77] Schumann, U.: Subgrid-Scale Model for Finite-Difference Simulations of
Turbulent Flows in Plane Channels and Annuli. J. Computational Physics,
18 (1975), pp. 376-404.
[78] Bardina, J.; Ferziger, J.H.; Reynolds, W.C.: Improved Subgrid Models for
Large Eddy Simulation. AIAA Paper 80-1357, 1980.
[79] Moin, P.; Kim, J.: Numerical Investigation of Turbulent Channel Flow. J.
Fluid Mechanics, 118 (1982), pp. 341-377.
[80] Piomelli, U.; Zang, T.A.; Speziale, C.G., Hussaini, M.Y.: On the Large-
Eddy Simulation of Transitional Wall-Bounded Flows. ICASE Report No.
89-55, 1989.
[81] Hussaini, M.Y.; Speziale, C.G.; Zang, T.A.: Discussion of "The Potential
and Limitations of Direct and Large-Eddy Simulations". ICASE Report
No. 89-61, 1989.
[82] Erlebacher, G.; Hussaini, M.Y.; Speziale, C.G.; Zang, T.A.: Toward the
Large-Eddy Simulation of Compressible Turbulent Flows. ICASE Report
No. 90-76, 1990.
[83] Erlebacher, G.; Hussaini, M.Y.; Speziale, C.G.; Zang, T.A.: On the Large-
Eddy Simulation of Compressible Isotropic Turbulence. 12th International
Conf. on Numerical Methods in Fluid Dynamics, Oxford, England, Lec-
ture Notes in Physics, Vol. 371, Springer, 1990.
[84] Schumann, U.: Direct and Large-Eddy Simulation of Turbulence - Sum-
mary of the State of the Art 1993. VKI Lecture Series 1993-02, 1993.
Bibliography 265
[ss] Jones, W.P.; Wille, M.: Large Eddy Simulation of a Jet in a Cross-Flow.
10th Symposium on Turbulent Shear Flows, The Pennsylvania State Uni-
versity, PA, August 14-16, 1995, Volume 1.
Is6] Lund, T.S.; Moin, P.: Large Eddy Simulation of a Boundary Layer on a
Concave Surface. 10th Symposium on Turbulent Shear Flows, The Penn-
sylvania State University, PA, August 14-16, 1995, Volume 1.
[87] Calhoon, W.H.; Menon, S.: Subgrid Modeling for Reacting Large Eddy
Simulations. AIAA Paper 96-0516, 1996.
[ss] Cook, A.W.; Riley, J.J.; Kosaly, G.: A Laminar Flamelet Approach to
Subgrid-Scale Chemistry in Turbulent Flows. Combustion and Flame, 109
(1997), pp. 332-341.
[sg] Wu, Y.; Cao, S.; "fang, J.; Ge, L.; Guilbaud, M.; Soula, V.: Turbu-
lent Flow Calculation Through a Water Turbine Draft Tube by Using the
Smagorinsky Model. ASME Fluids Engineering Division Summer Meeting
(FEDSM), Washington D.C., Paper No. FEDSM98-4864, 1998.
[90] Held, J.: Large Eddy Simulations of Separated Compressible Flows Around
3-D Configurations. PhD Thesis, Department of Heat and Power Engi-
neering/Fluid Mechanics, Lund Institute of Technology, Lund, Sweden,
1998.
[91] Kim, W.-W.; Menon, S.; Mongia, H.C.: Large Eddy Simulations of Re-
acting Flows in a Dump Combustor. AIAA Paper 98-2432, 1998.
[92] Ducros, F.; Ferrand, V.; Nicoud, F.; Weber, C.; Darracq, D.; Gacherieu,
C.; Poinsot, T.: Large-Eddy Simulation of the Shock/Turbulence Interac-
tion. J. Computational Physics, 152 (1999), pp. 517-549.
[93] Jaberi, F.A.: Large Eddy Simulation of Turbulent Premixed Flames via
Filtered Mass Density Function. AIAA Paper 99-0199, 1999.
[94] Han, J.; Lin, Y.-L.; Arya, S.P.; Proctor, F.H.: Large Eddy Simulation
of Aircraft Wake Vortices in a Homogeneous Atmospheric Turbulence -
Vortex Decay and Descent. AIAA Paper 99-0756, 1999.
[96] Kravchenko, A.G.; Moin, P.; Shariff, K.: B-Spline Method and Zonal Grids
for Simulations of Complex Turbulent Flows. J. Computational Physics,
151 (1999), pp. 757-789.
[98] Pascarelli, A.; Piomelli, U.; Candler, G.V.: Multi-Block Large-Eddy Sim-
ulations of Turbulent Boundary Layers. J. Computational Physics, 157
(2000), pp. 256-279.
[99] Chapman, D.R.: Computational Aerodynamics Development and Outlook.
AIAA Journal, 17 (1979), pp. 1293-1313.
[100] Tam, C.K.W.; Webb, J.C.: Dispersion-Relation-Preserving Finite Dif-
ference Schemes for Computational Acoustics. J. Computational Physics,
107 (1993), pp. 262-281.
[101] Tam, C.K.W.: Applied Aero-Acoustics: Prediction Methods. VKI Lecture
Series 1996-04, 1996.
[102] Mittal, R.; Moin, P.: Suitability of Upwind-Biased Finite Difference
Schemes for Large-Eddy Simulation of Turbulent Flows. AIAA Journal,
35 (1997), pp. 1415-1417.
[103] Gamier, E.; Mossi, M.; Sagaut, P.; Comte, P.; Deville, M.: On the Use of
Shock-Capturing Schemes for Large-Eddy Simulation. J. Computational
Physics, 153 (1999), pp. 273-311.
[104] Kravchenko, A.G.; Moin, P.: On the Effect of Numerical Errors in
Large Eddy Simulations of Turbulent Flow. J. Computational Physics,
131 (1997), pp. 310-322.
[105] Miet, P.; Laurence, D.; Nitrosso, B.: Large Eddy Simulation with Unstruc-
tured Grids and Finite Elements. 10th Symposium on Turbulent Shear
Flows, The Pennsylvania State University, PA, August 14-16, 1995, Vol-
ume 2.
[106] Jansen, K.: Large-Eddy Simulation of Flow Around a NACA ~ 1 2 Air-
foil Using Unstructured Grids. Center for Turbulence Research, NASA
Ames/Stanford University, Annual Research Briefs, 1996, pp. 225-232.
[107] Chalot, F.; Marquez, B.; Ravachol, M.; Ducros, F.; Nicoud, F.; Poinsot,
T.: A Consistent Finite Element Approach to Large Eddy Simulation.
AIAA Paper 98-2652, 1998.
[108] Okong'o, N.; Knight, D.: Compressible Large Eddy Simulation Using Un-
structured Grids: Channel and Boundary Layer Flows. AIAA Paper 98-
3315, 1998.
[109] Urbin, G.; Knight, D.; Zheltovodov, A.A.: Compressible Large Eddy Sim-
ulation Using Unstructured Grid: Supersonic Turbulent Boundary Layer
and Compression Corner. AIAA Paper 99-0427, 1999.
[110] Ferziger, J.H.: Direct and Large Eddy Simulation of Turbulence. In
"Numerical Methods in Fluid Mechanics", A. Vincent (ed.), Centre de
Recherches Mathdmatiques Universit@ de Montr@al, Proceedings and Lec-
ture Notes, 16 (1998), pp. 53-97.
Bibliography 267
[116] Lund, T.S.; Kaltenbach, H.-J.: Experiments with Explicit Filtering for
LES Using a Finite-Difference Method. Annual Research Briefs, Center
for Turbulence Research, NASA Ames/Stanford Univ., 1995, pp. 91-105.
[117] Lurid, T.S.: On the Use of Discrete Filters for Large Eddy Simula-
tion. Annual Research Briefs, Center for Turbulence Research, NASA
Ames/Stanford Univ., 1997, pp. 83-95.
[118] Leonard, A.: Energy Cascade in Large-Eddy Simulations of Turbulent
Fluid Flows. Advances in Geophysics, 18 (1974), pp. 237-248.
[119] Moin, P.; Squires, K.D.; Cabot, W.H.; Lee, S.: A Dynamic Subgrid-Scale
Model for Compressible Turbulence and Scalar Transport. Physics of Flu-
ids, 3 (1991), pp. 2746-2757.
[120] Vreman, B.; Geurts, B.; Kuerten, H.; Broeze, J.; Wasistho, B.; Streng,
M.: Dynamic Subgrid-Scale Models for LES of Transitional and Turbulent
Compressible Flow id 3-D Shear Layers. 10th Symposium on Turbulent
Shear Flows, The Pennsylvania State University, PA, August 14-16, 1995,
Volume 1.
[121] Domaradzki, J.A.; Saiki, E.M.: Backscatter Models for Large-Eddy Sim-
ulations. Theoret. Comput. Fluid Dynamics, 9 (1997), pp. 75-83.
[122] Lenormand, E.; Sagaut, P.; Phuoc, L.T.; Comte, P.: Subgrid-Scale Models
for Large-Eddy Simulations of Compressible Wall Bounded Flows. AIAA
Journal, 38 (2000), pp. 1340-1350.
[123] Boris, J.P.; Grinstein, F.F.; Oran, E.S.; Kolbe, R.J.: New Insights into
Large Eddy Simulations. Fluid Dynamics Research, 10 (1992), pp. 199-
228.
268 Chapter 7. Turbulence Modelling
[138] Germano, M.; Piomelli, U.; Moin, P.; Cabot, W.H.: A Dynamic Subgrid-
Scale Eddy Viscosity Model. Physics of Fluids, 3 (1991), pp. 1760-1765.
[141] Ghosal, S.; Lund, T.S.; Moin, P.; Akselvoll, K.: A Dynamic Localization
Model for Large-Eddy Simulation of Turbulent Flows. J. Fluid Mechanics,
286 (1995), pp. 229-255.
[142] Carati, D.; Ghosal, S.; Moin, P.: On the Representation of Backscatter in
Dynamic Localization Models. Physics of Fluids, 7 (1995), p. 606.
[143] Piomelli, U.; Liu, J.: Large-Eddy Simulation of Rotating Channel Flows
Using a Localized Dynamic Model. Physics of Fluids, 7 (1995), pp. 839-848.
[144] Chapman, D.R.; Kuhn, G.D.: The Limiting Behavior of Turbulence Near
a Wall. J. Fluid Mechanics, 70 (1986), pp. 265-292.
[146] Gr5tzbach, G.: Direct Numerical and Large Eddy Simulation of Turbu-
lent Channel Flows. Encyclopedia of Fluid Mechanics, Cheremisinoff, N.P.
(ed.), Gulf Publishing, West Orange, 1987, p. 1337.
[147] Mason, P.J.; Callen, N.S.: On the Magnitude of the Subgrid-Scale Eddy
Coefficient in Large-Eddy Simulations of Turbulent Channel Flow. J. Fluid
Mechanics, 162 (1986), pp. 439-462.
[148] Piomelli, U.; Ferziger, J.: Moin, P.; Kim, J.: New Approximate Boundary
Conditions for Large Eddy Simulations of Wall-Bounded Flows. Physics
of Fluids, 1 (1989), pp. 1061-1068.
[149] Balaras, E.; Benocci, C.; Piomelli, U.: Two-Layer Approximate Bound-
ary Condition for Large-Eddy Simulations. AIAA Journal, 34 (1996), pp.
1111-1119.
[150] Cabot, W.: Large-Eddy Simulations with Wall Models. Annual Research
Briefs, Center for Turbulence Research, NASA Ames/Stanford Univ.,
1995, pp. 41-50.
[151] Cabot, W.: Near-Wall Models in Large Eddy Simulations of Flow Behind
a Backward-Facing Step. Annual Research Briefs, Center for Turbulence
Research, NASA Ames/Stanford Univ., 1996, pp. 199-210.
270 Chapter 7. Turbulence Modelling
[152] Cabot, W.; Moin, P.: Approximate Wall Boundary Conditions in the
Large-Eddy Simulation of High Reynolds Number Flow. Flow Turbulence
Combust., 63 (1999), pp. 269-291.
[153] Wang, M.; Moin, P.: Wall Modelling in LES of Trailing-Edge Flow. Proc.
2nd Int. Symposium on Turbulence and Shear Flow Phenomena, Stock-
holm, Sweden, Vol. 2 (2001), pp. 165-170.
[154] Spalart, P.R.: Strategies for Turbulence Modelling and Simulations. Int.
J. Heat Fluid Flow, 21 (2000), pp. 252-263.
[155] Spalart, P.R.: Trends in Turbulence Treatments. AIAA Paper 2000-2306,
2000.
[156] Strelets, M.: Detached Eddy Simulation of Massively Separated Flows.
AIAA Paper 2001-0879, 2001.
[157] Mani, M.: Hybrid Turbulence Models for Unsteady Flow Simulation. J.
Aircraft, 41 (2004), pp. 110-118.
[158] Forsythe, J.; Squires, K.; Wurtzler, K.; Spalart, P.R.: Detached Eddy
Simulation of Fighter Aircraft at High Alpha. AIAA Paper 2002-0591,
2002.
[159] Forsythe, J.; Squires, K.; Wurtzler, K.; Spalart, P.R.: Prescribed Spin of
the F-15E Using Detached-Eddy Simulation. AIAA Paper 2003-839, 2003.
[160] Hamba, F.: A Hybrid RANS/LES Simulation of Turbulent Channel Flow.
Theoret. Comput. Fluid Dynamics, 16 (2003), pp. 387-403.
[161] Georgiadis, N.J.; Alexander, J.I.D.; Reshotko, E.: Hybrid Reynolds-
Averaged Navier-Stokes/Large-Eddy Simulations of Supersonic Turbulent
Mixing. AIAA Journal, 41 (2003), pp. 218-229.
Chapter 8
Boundary Conditions
Any numerical simulation can consider only a part of the real physical domain
or of the system. The truncation of the domain leads to artificial boundaries,
where we have to prescribe values of certain physical quantities. Furthermore,
walls which are exposed to the flow represent natural boundaries of the physical
domain. The numerical treatment of the boundary conditions requires a partic-
ular care. An improper implementation can result in an inaccurate simulation
of the real system. Additionally, the stability and the convergence speed of the
solution scheme can be negatively influenced.
The following types of boundary conditions are in general encountered in
the numerical solution of the Euler and the Navier-Stokes equations:
9 solid wall,
9 injection boundary,
9 symmetry,
271
272 Chapter 8. Boundary Conditions
F i g u r e 8.1: Two layers of dummy cells (dashed line) around the computational
domain (thick line) in 2D. Filled circles represent the standard stencil of a 2nd-
order cell-vertex (dual) scheme, filled rectangles outline the stencil of a 2nd-order
cell-centred scheme (see Section 4.3).
8.1. Concept of Dummy Cells 273
dummy cell layers must be such that the part of the stencil outside the physical
domain is completely covered. The conservative variables in the dummy cells
(points) are obtained from boundary conditions. The geometrical quantities
are usually taken from the corresponding control volume at the boundary. In
the case of boundaries between multiple grid blocks (like in Fig. 3.4), all flow
variables and the geometry are transferred from the neighbouring block.
The grey-shaded dummy cells (and the associated points) in Fig. 8.1 repre-
sent a certain problem, since it is not quite clear how to set their values if there
is no adjacent grid block. Their values are not required by the standard cross-
type discretisation stencil. However, the cells (points) are important for the
computation of gradients (viscous fluxes - see Section 4.4), or for the transfer
operators within multigrid (Section 9.4). The simplest way to solve the problem
is to average the values from the adjacent "regular" dummy cells, as indicated
in Fig. 8.1 by arrows. However, this does not work satisfactorily for wall or sym-
metry boundaries. In these cases, it is better to extend the physical boundary
into the dummy cell layers (see the structured 2-D code on the CD-ROM).
274 Chapter 8. Boundary Conditions
where ff denotes the unit normal vector at the surface. Hence, the contravariant
velocity V (Eq. (2.22)) is zero at the wall. Consequently, the vector of convective
fluxes Eq. (2.21) reduces to the pressure term alone, i.e,
0
-~ nx Pw
(Fc)w - ny Pw (8.2)
Pw - ~1(3p2 - P 3 ) (8.3)
In order to account for grid stretching, distances to the wall could be employed
instead of the constant coefficients [1].
The above extrapolation formulae (8.3), (8.4) do not account for the grid
and the surface geometry. An alternative a p p r o a c h - the so-called normal-
m o m e n t u m relation- was developed by Rizzi [2]. It is based on the fact that the
wall represents a streamline in inviscid flow. Differentiation of the zero-normal-
flow condition in Eq. (8.1) along the surface streamline, and the substitution of
the result into the momentum equation yields
Equation (8.5) relates the density, the velocity and the wall geometry to the nor-
mal derivative of the pressure. It was demonstrated that the normal-momentum
8.2. Solid WaN 275
F i g u r e 8.2: Solid wall boundary condition for the cell-centred scheme. Dummy
cells are denoted as 0 and 1. Location, where the convective fluxes Eq. (8.2) are
evaluated, is marked by a diamond.
F i g u r e 8.3: Solid wall boundary condition for the structured, cell-vertex dual
control-volume scheme. Dummy points are denoted as (i, 0) and (i, 1). Lo-
cations, where the convective fluxes Eq. (8.2) are evaluated, are marked by
diamonds. Compare also to the sketch in Fig. 4.6.
276 Chapter 8. Boundary Conditions
relation gives very accurate results [1]. However, problems can arise with the
numerical solution of the normal-momentum relation in the case of complex ge-
ometries. Detailed description of the implementation and accuracy comparisons
can be found in Ref. [1].
The values of the conservative variables in the dummy cells can be obtained
by linear extrapolation from the interior, i.e.,
w -2w2-w3
(8.6)
Wo-3W2-2W3.
The indices in Eq. (8.6) correspond to Fig. 8.2. If the dummy cells are to be
utilised within the spatial discretisation scheme (e.g., for the evaluation of the
dissipation operator), it is important that the calculation of the convective fluxes
is compatible to Eq. (8.2).
0 0
(nx)i-l,2 (Pw)i-1/4,2 (nx)i,2 (Pw)i+1/4,2
(Fc,w)i,2 -- (ny)i-l,2 (Pw)i-1/4,2 + (ny)i,2 (Pw)i+1/4,2 9 (8.7)
(nz)i-l,2 (Pw)i-1/4,2 (nz)i,2 (Pw)i+1/4,2
0 0
The pressures (P~)i-1/4,2 and (P~)i+1/4,2 in Eq. (8.7) can be obtained by linear
interpolation, e.g.,
1
(Pw)i+l/4,2 -- -~ [3(pw)i,2 + (Pw)i+l,2] . (8.8)
The corresponding 3-D formula will be presented further below in the subsection
on unstructured grids.
Another possible implementation employs the condition in Eq. (8.2) directly
in the respective wall node (i.e., node (i,2) in Fig. 8.3). The wall pressure
p~ is simply set equal to pi,2. The unit normal vector is computed as the
average of the normal vectors of all wall facets which share the node (i, 2). This
8.2. Solid Wall 277
approach requires a correction of the velocity vector. After the solution update
by the time-stepping scheme, the velocity vector at the wall is projected onto
the tangential plane [3], [4], i.e.,
-
(8.9)
with nay being the averaged unit normal vector. In this way, the flow will
become tangential to the wall.
In order to assign values to the dummy points, it is sufficient to extrapolate
the conservative variables (Eq. (2.20)) from the interior field by using a relation
similar to Eq. (8.6).
The wall boundary condition in Eq. (8.1) can be implemented for a cell-centred
unstructured scheme in a way similar to that on structured grids. If the bound-
ary cell is a quadrilateral, hexahedron or a prism (with triangular face on the
wall), the pressure can be extrapolated to the wall by using Eq. (8.3). The neigh-
bouring cell (number 3 in Fig. 8.2) is known from the face-based data structure
described in Subsection 5.2.1. For the case of a triangular or tetrahedral cell,
in Ref. [5] and [6] it was suggested to employ one layer of dummy cells. The
velocity components in the dummy cells were obtained by reflecting the velocity
vectors in the boundary cells at the wall. For example, in the dummy cell 1 in
Fig. 8.2, the velocity would become
V~l -- v~ - 2 V2 ~, (8.10)
The boundary condition Eq. (8.1) requires more attention in the case of the
median-dual unstructured discretisation scheme. The situation is shown in Fig.
8.4 for the 2-D and in Fig. 8.5 for the 3-D case. The convective fluxes in
Eq. (8.2) are computed separately at each face of the control volume which is
located on the wall. This is identical to the first approach discussed above for
the structured cell-vertex scheme with dual control volumes. For quadrilateral
elements (like 1-3-4-5 in Fig. 8.4), the pressure is interpolated correspondingly
to Eq. (8.8). In the case of hexahedra, prisms or pyramids, where the face of the
control volume is a quadrilateral (like face 1-4-5-6 in Fig. 8.5), the interpolation
formula reads
1
Pw -- --~ (9pl + 3p4 -t- 3p6 ~- P5). (8.11)
If the boundary elements are tetrahedra or prisms (or triangles in 2-D), the
pressure at the wall face should be evaluated like in the finite element method
278 Chapter 8. Boundary Conditions
F i g u r e 8.4: Solid wall boundary condition for the 2-D unstructured, dual-
control volume mixed-grid scheme. Locations, where the convective fluxes Eq.
(8.2) are evaluated, are marked by diamonds.
F i g u r e 8.5: Solid wall boundary condition for the 3-D unstructured, mixed-
grid scheme. Locations, where the convective fluxes Eq. (8.2) are evaluated, are
marked by diamonds.
8.2. Solid Wall 279
[7]. At the wall segment 1-2 in Fig. 8.4 for example, the pressure at the face
1-2" would be computed as
1
Pw -- ~ ( 5 p l -~- P2). (8.12)
In the case of a tetrahedra with, e.g., the wall face 1-2-3 in Fig. 8.5, the pressure
is evaluated as
1
Pw -- ~ ( 6 p l ~- P2 Jr- P3). (8.13)
For a viscous fluid which passes a solid wall, the relative velocity between the
surface and the fluid directly at the surface is assumed to be zero. Therefore,
we speak of noslip boundary condition. In the case of a stationary wall surface,
the Cartesian velocity components become
There are two basic consequences of the noslip condition. First, we do not need
to solve the momentum equations on the wall. This fact is utilised in the cell-
vertex scheme. Second, the convective fluxes through the~noslip wall are given
again by Eq. (8.2), and the terms in Eq. (2.24) simplify to (9 - k V T . Hence, the
wall pressure in the convective fluxes is obtained in the same way as described
above for the inviscid flow. However, the dummy cells (points) are treated in a
different way.
Cell-Centred Scheme
The implementation of the noslip boundary condition in Eq. (8.14) can be sim-
plified by the utilisation of dummy cells. In the case of an adiabatic wall (no
heat flux through the wall), we can set (see Fig. 8.2)
Pl--P2, E1 - E 2
(8.15)
Ul m QU2 , V l m __V2 , Wl m QW2
and likewise for the cells 0 and 3. The approach is applicable to both, structured
and unstructured schemes (el. Ref. [6]).
If the wall temperature is given, the velocity components are still reversed as
in Eq. (8.15). The temperature in the dummy cells is linearly extrapolated from
the interior field by using the specified wall temperature. Since the pressure
gradient normal to the wall is zero, the pressure in the boundary element is
prescribed also in the dummy cells (i.e., p0 = pl = p2). The density and the
total energy in the dummy cells are evaluated from the interpolated values.
280 Chapter 8. Boundary Conditions
Cell-Vertex Scheme
Since the momentum equations need not to be solved, there is no contribution
from the convective fluxes (Eq. (8.2)) at the wall. The viscous fluxes in Eq.
(2.23) contribute only the temperature gradient normal to the wall to the energy
equation. For an adiabatic wall, V T w . ~ is zero. Hence, we do not have to
compute any convective or viscous fluxes through the wall. The residuals of the
momentum equations should be set to zero, in order to prevent the generation
of nonzero velocity components at the wall nodes.
In the case of a prescribed wall temperature, we can directly set the total
energy at the wall (e.g., node (i, 2) in Fig. 8.3) using (perfect gas assumed)
cp
(pE)i,2 - - - Pi,2 T ~ , (8.16)
7
where Tw denotes the given wall temperature. The residuals of the momen-
t u m and of the energy equation have to be zeroed out. The same strategy is
applicable also to unstructured schemes.
Another approach for non-adiabatic walls, which seems to be more robust
for some applications, does not solve the governing equations at the wall at all.
Both, the density and the energy are directly specified
The relations in Eq. (8.17) assume that there is no pressure gradient normal to
the wall (therefore pi,2 - pi,3). Since all conservative variables are prescribed,
the residuals of all equations should be set to zero at (i, 2). This technique can
be utilised on unstructured grids as well. However, the extrapolation of the
pressure requires additional operations on triangular or tetrahedral grids.
If the wall is adiabatic, the values in the dummy points are obtained as
follows
Pi,1 -- Pi,3 , Ei,1 -- Ei,3 (8.18)
Ui,1 -- --Ui,3 ~ Vi,1 ~ --Vi,3 ~ Wi,1 ~ --Wi,3 9
The same applies to the nodes 0 and 4. If the wall temperature is given, the
temperature in the dummy points is extrapolated from the interior, i.e.,
with the indices according to Fig. 8.3. The velocity components are again re-
versed as in Eq. (8.18). The density and energy are computed with the inter-
polated temperature value and with the pressure pi,3.
8.3. Farfield 281
8.3 Farfield
The numerical simulation of external flows past airfoils, wings, cars and other
configurations has to be conducted within a bounded domain. For this rea-
son, artificial farfield boundary conditions become necessary. The numerical
implementation of the farfield boundary conditions has to fulfil two basic re-
quirements. First, the truncation of the domain should have no notable effects
on the flow solution as compared to the infinite domain. Second, any outgoing
disturbances must not be reflected back into the flow field [9]. Due to their
elliptic nature, sub- and transonic flow problems are particularly sensitive to
the farfield boundary conditions. An inadequate implementation can lead to
a significant slow down of convergence to the steady state. Furthermore, the
accuracy of the solution is likely to be negatively influenced. Various methodolo-
gies were developed, which are capable of absorbing the outgoing waves at the
artificial boundaries [10]-[15]. An review of different non-reflecting boundary
conditions can be found in [16].
In the following two subsections, we shall discuss the concept of characteristic
variables as it was described by Whitfield and Janus [12]. We shall also present
an extension of the farfield boundary conditions for lifting bodies.
9 supersonic outflow,
9 subsonic outflow.
282 Chapter 8. Boundary Conditions
(a) (b)
Flow
Boundary surface Flow
a b~ d d -q ~__b......
O . . . . . . . .
n n
A
Boundary surface v
F i g u r e 8.6: Farfield boundary: inflow (a) and outflow (b) situation. Position
a is outside, b on the boundary, and position d is inside the physical domain.
The unit normal vector ~ - [nz, ny, nz] T points out of the domain.
Supersonic Inflow
For supersonic inflow, all eigenvalues have the same sign. Since the flow is
entering the physical domain, the conservative variables on the boundary (point
b in Fig. 8.6) are determined by freestream values only. Thus,
wb- (8.20)
The values Wa are specified based on the given Mach number Moo and on two
flow angles (angle of attack, side-slip angle).
Supersonic Outflow
In this case, all eigenvalues have also the same sign. However, the flow leaves
now the physical domain and all conservative variables at the boundary must
be determined from the solution inside the domain. This can be accomplished
simply by setting
W b - Wd. (8.21)
Subsonic Inflow
Here, four characteristics enter and one leaves the physical domain. Therefore,
four characteristic variables are prescribed based on the freestream values. One
characteristic variable is extrapolated from the interior of the physical domain.
8.3. Fart~eld 283
1
P b - -~{Pa + Pd -- Poeo[?'tx(Ua -- Ud) -~- ny(Va -- Vd) + nz(Wa -- Wd)] }
P b - Pa + ( P b - Pa)/C 2
U b - - Ua -- n x ( p a --Pb)/(pOCO)
(8.22)
Wb = Wa -- n z ( P a - - P b ) / / ( P O C O ) ,
where P0 and co represent a reference state. The reference state is normally set
equal to the state at the interior point (point d in Fig. 8.6). The values in point
a are determined from the freestream state.
Subsonic Outflow
In the case of subsonic outflow, four flow variables (density and the three ve-
locity components) have to be extrapolated from the interior of the physical
domain. The remaining fifth variable (pressure) must be specified externally.
The primitive variables at the farfield boundary are obtained from [12]
Pb -- Pa
Pb - Pd --l- (Pb - - P a l ) / C 2
(8.23)
Wb -~- Wd + n z ( P d -- Pb)//(POCO)
V o r t e x C o r r e c t i o n in 2D
The approach, which we want to describe here, was suggested by Usab and
Murman [18]. The components of the corrected freestream velocity are given
by the expressions (compressible flow assumed)
u~ - u~ +
(r v/l-ML) 27r d 1 - M 2 sin2(O - a)
sin 0
(8.24)
/ "
with F being the circulation, (d, 0) the polar coordinates of the farfield point, a
the angle of attack, and M ~ denoting the freestream Mach number, respectively.
The circulation is obtained from
1
V = ~ll~lJ~ aCL (8.25)
where Xr~I and y~f are the coordinates of the reference point (location of the
vortex - e.g., at 1/4 chord).
The modified freestream pressure p ~ is given by
(s.2w)
( P~
0.36
- s ~ " -- - -- -- --
_
0.34
S
4r
/
/
0.32 /
.J
/
o
I
0.30
I
0.26
distance to farfield
investigated. The farfield radius was set to 5, 20, 50, and 99 chords. As we can
see, simulations without the vortex correction experiences a strong dependence
on the farfield distance. On the contrary, simulations with the vortex remain
sufficiently accurate up to a distance of about 20 chords. This leads to a sig-
nificant reduction of the number of grid cells/points. It was demonstrated in
Ref. [19] that by using higher-order terms in the vortex correction, the farfield
boundary can be placed only about 5 chords away without loss of accuracy.
V o r t e x C o r r e c t i o n in 3D
FZ 2
u~-u~ + -~A
F [ z+l z-1 x~ 2 ]
w~ w~ +
F Y Y ]
(z + l) 2 + y2 B - (z-/)2 + y2 c
286 Chapter 8. Boundary Conditions
where F denotes the circulation, (x, y, z) the Cartesian coordinates of the farfield
point, and 1 stands for the half span, respectively. Furthermore, in Eq. (8.29)
it was assumed that the flow is in the positive x-direction with the wing being
oriented along the z-axis. The terms .4, B and C in Eq. (8.29) read
z+l z-1
A ~
B=I+~ (s.3o)
C=IH-~
r = x 2 + 32(z + / ) 2 + y2/F2
#- vii -
z = +l, y = O,
z= -1, y = O,
and x = Xfarf. In order to avoid the numerical singularity, in Ref. [21] it was
suggested to constrain the values of
( z + / ) 2 +y2 and
(z - / ) 2 +y2
in Eq. (8.29) to the 1/4 wingspan, i.e., 1/2. This measure reduces the corrections
to the velocities v ~ and w ~ within the distance 1/2 around the vortex lines
z = 1 and z = -1.
The numerical results presented in [21] indicate a reduced sensitivity of the
lift and drag coefficient with respect to the farfield distance, if the vortex correc-
tion in Eq. (8.29) is applied. It was found that a distance of 7.1 to the farfield
boundary is sufficient for accurate results.
8.4. Inlet~OutletBoundary 287
Various approaches were devised for the implementation of numerical inlet, and
in particular, of outlet (also named open) boundary conditions for the Navier-
Stokes equations [22]-[26]. Here, we will concentrate on methodologies, which
were developed for turbomachinery applications. Suitable non-reflecting inlet
and outlet boundary conditions were described, e.g., in [27]-[301. Giles [31], and
Hirsch and Verhoff [32] suggested non-reflecting boundary conditions for the
Euler equations, which are intended for domains with a short distance between
the body and the inlet or the outlet plane.
In certain cases, the inlet and outlet boundary are additionally periodic with
respect to the velocity as well as the pressure and temperature gradient. This
type of flow is encountered, for example, in the simulation of heat exchangers
[33]. The implementation of periodic inlet and outlet boundary conditions was
presented in [34]-[36] for LES in channels.
Subsonic Inlet
2 Cd
n- - (s.32)
~-1'
where the index d denotes the state inside the domain (cf. Fig. 8.6a). The
Riemann invariant is used to determine either the absolute velocity or the the
speed of sound at the boundary. In practice, it was found that selecting the
speed of sound leads to a more stable scheme, particularly for low Mach-number
flows. Therefore, we set
with 0 being the flow angle relative to the boundary, and co denoting the stag-
nation speed of sound. Hence,
ve. n (8.34)
cos0 - I dll
and
cg - c~ + 7 - 1 2
2 II dll2, (8.35)
where Ilgdll2 denotes the total velocity at the interior point d (Fig. 8.6a). The
unit normal vector g in Eq. (8.34) was assumed to point out of the domain.
288 Chapter 8. Boundary Conditions
= To t 4 )
( Tb) ~'/(~-1)
Pb -- PO ~oo
(8.36)
Pb
P b - RTb
where To and p0 are the given values of total temperature and pressure, R and Cp
represent the specific gas constant and the heat coefficient at constant pressure,
respectively. The velocity components at the inlet are obtained by decomposing
II bll2 according to the two (one in 2D) prescribed flow angles.
Subsonic Outlet
In turbomachinery, the static pressure is usually prescribed at the outlet. The
subsonic outlet boundary can be treated in a way quite similar to the outflow
condition in Eq. (8.23). Only the ambient pressure Pa is replaced here by the
given static exit pressure.
Flow variables in the dummy cells (points) can be obtained by linearly ex-
trapolating the states at the boundary and at the interior point d.
8.5. Injection B o u n d a r y 289
The injection velocity and other flow variables are computed from the given
mass flow rate rh and the injection temperature Tinj. We will assume here that
the mass is injected perpendicular to the boundary. The convective fluxes are
evaluated using Eq. (2.21) with the contravariant velocity V set equal to the
injection velocity, i.e.,
rh
y- v~j = . (8.37)
Pinj
Velocity components are evaluated using the face normal vector as
v ~ - - ~ y~j (8.38)
(see Fig. 8.8). The density Piny in Eq. (8.37) is a function of Tinj and of the
pressure at the boundary Pb. Hence, in the case of perfect gas we have
Pb
. (8.39)
Pinj = R Tinj
For the cell-centred scheme sketched in Fig. 8.8a, Pb can be set identical to the
pressure in the boundary cell, i.e., Pb -- P2. The median-dual cell-vertex scheme
requires an interpolation of Pb from the points defining the particular face area
(i.e., from (i, 2) and (i + 1, 2) in Fig. 8.8b). Formulae like (8.8), (8.11)-(8.13) can
be utilised for this purpose. Values in the dummy cells (points) are obtained by
0-th order or by linear extrapolation from the interior.
(a) (b)
Figure 8.8: Injection boundary condition for the structured, cell-centred (a)
and the cell-vertex dual control-volume scheme (b). Dummy cells (points) are
denoted as 1 and 0. Locations, where the convective fluxes are evaluated, are
marked by diamonds.
290 Chapter 8. Boundary Conditions
Cell-Centred Scheme
The implementation of the symmetry boundary condition can be largely sim-
plified by employing dummy cells. The flow variables in the dummy cells are
obtained using the concept of reflected cells. This means that scalar quantities
like density or pressure in the dummy cells are set equal to the values in the
opposite interior cells, Le.,
(8.41)
The notation corresponds to that in Fig. 8.2. The velocity components are
reflected with respect to the boundary as indicated in Eq. (8.10). The normal
gradient of the normal velocity in the dummy cell equals to that in the opposite
interior cell, but it has a reversed sign.
8.7 C o o r d i n a t e Cut
This type of boundary condition is encountered only in the case of structured
grids. The coordinate cut represents an artificial, not a physical, boundary. It
is a line (plane in 3D) composed of grid points with different computational
coordinate(s) but the same physical location. This means that the grid is folded
such that it touches itself. As we shall see in Subsection 11.1.1, the coordinate
cut appears for the so-called C- (Fig. 11.5) or O-grid topology (Fig. 11.9). The
flow variables and their gradients have to stay continuous across the cut.
The best way to implement the cut boundary condition is to employ dummy
cells (points). The situation is sketched in Fig. 8.9. As we can see, the dummy
layers here are not virtual, but they coincide with the grid on the opposite side
of the cut. Hence, the values of physical quantities in the dummy cells (cell-
centred scheme), or in the dummy points (cell-vertex scheme), are obtained
directly from the opposite cells (points). In the case of the cell-centred scheme,
the fluxes across the faces of the boundary cell (shaded in Fig. 8.9a) are evaluated
exactly like in the interior field.
The cut boundary can be treated in two different ways for the cell-vertex
scheme. One possibility is to generate a complete control volume at the cut
(the second part is denoted by a dashed line in Fig. 8.9b). Using the dummy
points, the fluxes can be calculated in the same way as inside the domain. If
the implementation is done correctly, the flow quantities at the points 2 (upper
grid part) and 5 (lower part) will be equal. The second approach is to integrate
the fluxes separately for each half of the control volume. The residuals at the
points 2 and 5 in Fig. 8.9b are then added. It is important that the partial
control volumes at the points 2 and 5 are summed up as well.
(a) (b)
F i g u r e 8.9: Coordinate cut (thick line): cell-centred scheme (a), dual control-
volume scheme (b). Dummy cells (points) are numbered as 0 and 1.
292 C h a p t e r 8. Boundary Conditions
Cell-Centred Scheme
The utilisation of the dummy-cells concept enables a simple implementation of
the periodic boundary condition. Let us consider the example from turboma-
chinery in Fig. 8.10. The configuration is periodic in the vertical direction. The
shaded cells 1 and 2 are located on the lower and the upper periodic boundary,
respectively. Due to the periodicity condition, the first dummy-cell layer cor-
responds to the boundary cells at the opposite periodic boundary. The second
dummy-cell layer communicates with the second layer of the physical cells and
so on. Hence, all scalar quantities (density, pressure, etc.) in the dummy cells
are obtained directly from the corresponding physical cells, i.e,
UI' = U1 and U2, = U2. (8.42)
The same relations hold also for the vector quantities (velocity, gradients) in
the case of translational periodicity. Rotational-periodic boundaries require a
correction of the vector variables. This will be discussed further below.
C e l l - V e r t e x S c h e m e (Dual C o n t r o l Volume)
This situation is sketched in Fig. 8.11. One approach for the treatment of
periodic boundaries consists of the integration of the fluxes around the faces of
the shaded control volumes. The residuals at the points 1 and 2 in Fig. 8.11 are
then summed in order to obtain the complete net flux. Thus,
R 1 , s u m -----/~1 +/~2' and /~2,s u m -- /~2 -~- /:~1' 9 (8.43)
The partial control volumes at the points 1 and 2 (shaded in Fig. 8.11) have
to be added up as well. In the case of translational periodicity, the_.residuals_.
from the opposite boundary remain unchanged, i.e., R1, - R1 and R2, = R2.
This results in R l , sum - R2, sum. Rotationally periodic boundaries require a
transformation of the momentum equations before Eq. (8.43) can be applied.
8.8. Periodic Boundaries 293
.
----- ---,
3 ' :,
Figure 8.10: Periodic boundaries (thick lines) in the case of 2-D un-
/structured, cell-centred scheme. Dummy cells (dashed line) are denoted by
the (primed) numbers of the corresponding physical cells.
Figure 8.11: Periodic boundaries (thick lines) in the case of 2-D un-
/structured, cell-vertex scheme with dual control volumes. The "dummy" parts
of the control volumes (dashed line) are denoted by the (primed) numbers of
the corresponding control volumes at the opposite boundary. The same holds
also for the dummy points 3' and 4'.
294 C h a p t e r 8. Boundary Conditions
boundary A
%%%
.....--
boundary B
Rotational Periodicity
The rotational periodicity condition is based on a rotation of the coordinate
system. Therefore, all vector quantities like velocity or gradients of scalars have
to be transformed accordingly. Scalar quantities like pressure or density, which
are invariant with respect to coordinate rotation, remain unchanged. If we
assume the rotational axis is parallel to the x-axis (see Fig. 8.12), the rotation
matrix becomes
~=
[1 0 0]
0 cosr sine , (8.44)
0 -sine cosr
where the angle r between the periodic boundaries A and B is positive in the
clockwise direction. Hence, for example, the velocity vector transformed from
boundary A to B (cells 1', 2' in Fig. 8.10 and points 1'-4' in Fig. 8.11) reads
- (s.45)
It is easy to show that the x-component of gA (i.e., UA) is not changed by the
rotation. Thus, uB -- UA. The gradients of all flow quantities are transformed
in similar way.
As stated above, in the case of the cell-vertex scheme the residuals of the
momentum equations must be corrected before the summation in Eq. (8.43) can
take place. The application of the rotation matrix Eq. (8.44) leads to
/~u,v,w
B, ~.~ -- -- -'u,v,~
RB + ~ fi~'~'~
~ ~A 9
(8.46)
The superscript u,v,w in Eq. (8.46) denotes the three momentum equations.
8.9. Interface Between Grid Blocks 295
boundary 1: i = IBEG
boundary 2: i = IEND
boundary 3: j = JBEG
boundary 4: j = JEND
boundary 5: k= KBEG
boundary 6: k= KEND.
It is important that all blocks employ the same numbering scheme. The indices
i, j, k of the grid points in the computational space are defined in the ranges
The cell indices I, J, K, which are required by the cell-centred scheme are defined
in a similar way. Since the multiblock approach is usually implemented using
dummy cells/points, the physical cells/points will have a certain offset from the
start or the end of each range (see Fig. 8.1).
The boundary of each block is divided into a number of non-overlapping
patches. This allows the specification of different boundary conditions on the
same block boundary. The situation is depicted in Fig. 8.14. For a unique iden-
tification of each patch it is necessary to store the number of the corresponding
block and the number of the block boundary. Furthermore, the origin, the height
296 Chapter 8. Boundary Conditions
KEND
JEND
"j
KBEG
IBEG IEND
F i g u r e 8.15: Exchange of flow variables (in shaded regions A', B') between
two blocks A and B. Dummy layers are denoted by a dashed line.
and the width of the patch must be stored. For this purpose, the coordinates
L1BEG, L 1 E N D , L 2 B E G and L 2 E N D are used in Fig. 8.14. It is suggested
to orient the coordinate system of the patch according to the cyclic directions.
This means, that if we consider the/-coordinate, j and k will be the first and
the second cyclic direction. In the case of the j-coordinate, the cyclic directions
will become k and i, respectively. Therefore, since the patch in Fig. 8.14 is on
the j = J B E G boundary, the/1-coordinate is oriented in the k-direction and 12
in the/-direction. The application of the cyclic directions allows for a unique
definition of the orientation of each patch.
The remaining part of the data structure makes sure that data can be ex-
changed between those patches, which represent interfaces between the blocks
(we assume here that the blocks communicate only across their faces). For this
purpose, it is required to extend the above patch data structure by the num-
bers of the adjacent block and patch. It is furthermore necessary to code the
orientation of the communicating patches with respect to each other.
The exchange of flow quantities between two blocks is sketched in Fig. 8.15.
The procedure consists of two steps. In the first step, variables from the part of
the domain, which is overlapped by the dummy layers of the adjacent patch are
written to the own dummy cells/points or to a temporary storage (A' and B' in
Fig. 8.15). This is done for all blocks. In the second step, the data in A' and B'
is exchanged between both blocks. This means that A' is written to the dummy
layers of block B and B' to the dummy layers of block A. If the two patches
have a different orientation, the data must be transformed accordingly. In cases
where the grid lines do not match at the block interface, further operations are
required as described, e.g., in [52], [53].
298 Chapter 8. Boundary Conditions
_ iS12______~3
1 (6u + u2 + 3
8
with AS123/3 being the grey area in the triangle 1-2-3. On mixed grids, it is
more appropriate to employ the least squares approach with virtual edges [8]
(see Fig. 5.15).
The cell-centred scheme requires no special provisions at symmetry or peri-
odic boundaries. The implementation is identical to that discussed for the fluxes
in Section 8.6 or 8.8. This holds also for the median-dual scheme, if the gradi-
ents are evaluated using the least-squares approach. The only additional work
required is to set certain gradients to zero as described previously in Section 8.6
(cf. Eq. (8.40)).
If the Green-Gauss approach is employed within the median-dual scheme
(i.e., if Eq. (5.50) is applied), it is necessary to correct normal vectors of those
faces of the control volume, which touch the boundary (like at point 2* in Fig.
8.4). This is done by setting all components of the face vector to zero, which are
normal to the symmetry plane. Finally, the gradients are corrected as discussed
in Section 8.6. At periodic boundaries, the gradients and the volumes from both
sides of the boundary have to be summed up as presented in Section 8.8 for the
fluxes (Eq. (8.43)). In the case of rotational periodicity, the gradients needs to
be transformed by applying the rotation matrix in Eq. (8.44).
Bibliography 299
Bibliography
[1] Kroll, N.; Jain, R.K.: Solution of Two-Dimensional Euler Equations - Ex-
perience with a Finite Volume Code. DFVLR-FB 87-41, 1987.
[3] Hall, M.G.: Cell Vertex Multigrid Scheme for Solution of the Euler Equa-
tions. Proc. Conf. on Numerical Methods for Fluid Dynamics, Reading,
UK, 1985.
[4] Koeck, C.: Computation of Three-Dimensional Flow Using the Euler Equa-
tions and a Multiple-Grid Scheme. Int. Journal for Numerical Methods in
Fluids, 5 (1985), pp. 483-500.
[5] Frink, N.T.; Parikh, P.; Pirzadeh, S.: A Fast Upwind Solver for the Euler
Equations on Three-Dimensional Unstructured Meshes. AIAA Paper 91-
0102, 1991.
[6] Frink, N.T.: Recent Progress Toward a Three-Dimensional Navier-Stokes
Solver. AIAA Paper 94-0061, 1994.
[7] Luo, H.; Baum, J.D.; L6hner, R.: An Improved Finite Volume Scheme for
Compressible Flows on Unstructured Grids. AIAA Paper 95-0348, 1995.
[8] Haselbacher, A.; Blazek, J.: On the Accurate and Efficient Discretisation of
the Navier-Stokes Equations on Mixed Grids. AIAA Paper 99-3363, 1999;
also AIAA Journal, 38 (2000), pp. 2094-2102.
[9] Mazaheri, K.; Roe, P.L.: Numerical Wave Propagation and Steady-State
Solutions: Soft Wall and Outer Boundary Conditions. AIAA Journal, 35
(1997), pp. 965-975.
[10] Engquist, B.; Majda, A.: Absorbing Boundary Conditions for Numerical
Simulation of Waves. Mathematics of Computations, 31 (1977), pp. 629-
651.
[11] Bayliss, A.; Turkel, E.: Far Field Boundary Conditions for Compressible
Flow. J. Computational Physics, 48 (1982), pp. 182-199.
[13] Gustafsson, B.: Far Field Boundary Conditions for Time-Dependent Hy-
perbolic Systems. Center for Large Scale Sci. Comput., CLaSSiC-87-16,
Stanford University, 1987.
[15] Hayder, M.E.; Hu, F.Q.; Hussaini, M.Y.: Towards Perfectly Absorbing
Boundary Conditions for Euler Equations. ICASE Report No. 97-25, 1997.
[17] Kreiss, H.O.: Initial Boundary Value Problems for Hyperbolic Systems.
Comm. Pure Appl. Math., 23 (1970), pp. 277-298.
[18] Usab, W.J.; Murman, E.M.: Embedded Mesh Solution of the Euler Equa-
tion Using a Multiple-Grid Method. AIAA Paper 83-1946, 1983.
[19] Giles, M.B.; Drela, M.; Thompkins, W.T.: Newton Solution of Direct and
Inverse Transonic Euler Equations. AIAA Paper 85-1530, 1985.
[20] Klunker, E.B.; Harder, K.C.: Notes on Linearized Subsonic Wing Theory.
Unpublished.
[21] Radespiel, R.: A Cell- Vertex Multigrid Method for the Navier-Stokes Equa-
tions. NASA TM-101557, 1989.
[23] Sani, R.L.; Gresho, P.M.: Rdsumd and Remarks on the Open Boundary
Condition Minisymposium. Int. J. Numerical Methods in Fluids, 18 (1994),
pp. 983-1008.
[24] Baum, M.; Poinsot, T.; Thevenin, D.: Accurate Boundary Conditions for
Multicomponent Reactive Flows. J. Computational Physics, 116 (1994), pp.
247-261.
[25] Griffiths, D.F.: The 'No Boundary Condition' Outflow Boundary Condi-
tion. Int. J. Numerical Methods in Fluids, 24 (1997), pp. 393-411.
[28] Yokota, J.W.; Caughey, D.A.: An L-U Implicit Multigrid Algorithm for the
Three-Dimensional Euler Equations. AIAA Paper 87-0453, 1987.
[47] Benek, J.A.; Buning, P.G.; Steger, J.L.: A 3-D Chimera Grid Embedding
Technique. AIAA Paper 85-1523, 1985.
[48] Buning, P.G.; Chu, I.T.; Obayashi, S.; Rizk, Y.M.; Steger, J.L.: Numerical
Simulation of the Integrated Space Shuttle Vehicle in Ascent. AIAA Paper
88-4359-CP, 1988.
[49] Chesshire, G.; Henshaw, W.D.: Composite Overlapping Meshes for the
Solution of Partial Differential Equations. J. Computational Physics, 90
(1990), pp. 1-64.
[50] Pearce, D.G.; et al.: Development of a Large Scale Chimera Grid System
for the Space Shuttle Launch Vehicle. AIAA Paper 93-0533, 1993.
[51] Kao, H.-J.; Liou, M.-S.; Chow, C.-Y.: Grid Adaptation using Chimera
Composite Overlapping Meshes. AIAA Journal, 32 (1994), pp. 942-949.
[52] Rai, M.M.: A Conservative Treatment of Zonal Boundaries for Euler Equa-
tion Calculations. J. Computational Physics, 62 (1986), pp. 472-503.
[53] Kassies, A.; Tognaccini, R.: Boundary Conditions for Euler Equations at
Internal Block Faces of Multi-Block Domains Using Local Grid Refinement.
AIAA Paper 90-1590, 1990.
Chapter 9
Acceleration Techniques
1. local time-stepping,
2. enthalpy damping,
3. residual smoothing,
4. multigrid,
The local time-stepping, enthalpy damping, and the preconditioning are based
on a modification of the system of the ordinary differential equations (6.1), while
the two remaining techniques are improvements of the solution process. With
the exception of the residual smoothing, all methods can be applied to both
the explicit (Section 6.1) and the implicit (Section 6.2) time-stepping schemes.
Residual smoothing was developed especially for the explicit multistage schemes
(Subsections 6.1.1, 6.1.2). An overview of several acceleration techniques can
be found in Refs. [1] and [2].
303
304 Chapter 9. Acceleration Techniques
1.22 -
1.19 -
1.16 -
0
0,..
= 1.13 -
O
U
o,.
1.10
1.07
...... ~ ...... local time-stepping
," global time-stepping
1.04 I l I l I I I l I
CPU-time [s]
In Eq. (9.3), l~ (m) denotes the final solution of the m-stage explicit time-
stepping scheme. Numerical experiments in Ref. [1], which were conducted
for a transonic flow past the NACA 0012 airfoil ( M ~ - 0.8, c~ - 1.25~ con-
firmed that the number of time steps to reach the steady state can be reduced
by about factor of two.
306 Chapter 9. Acceleration Techniques
9.3 Residual S m o o t h i n g
The maximum CFL number and the convergence properties of the explicit multi-
stage time-stepping scheme (Subsections 6.1.1 and 6.1.2) can be influenced by
optimising the stage coeKicients [5]-[7]. Jameson and Baker [8] introduced the
residual smoothing technique with the aim to lend the explicit scheme an im-
plicit character and hence to increase the maximum allowable CFL number.
A further purpose of the residual smoothing is a better damping of the high-
frequency error components of the residual. This is of particular importance for
a successful application of the multigrid method.
The residual smoothing can be implemented in explicit, implicit or in mixed
manner [9], [10], respectively. The residual smoothing is usually applied in each
stage of the explicit time-stepping scheme (Eqs. (6.5), (6.7)). The previously
computed residuals/~(k) are replaced by the smoothed residuals/~* before the
solution I/V(k) is updated. In the following, we shall discuss the implementation
of the popular Implicit Residual Smoothing (IRS) on structured as well as on
unstructured grids.
* * * "-'~.
--s -Jr- (1 + 2cJ)R~,j,K -- s -- RI,J,K (9.5)
(9.6)
eJ - m a x ~ -a l+~/r -1 ,0 .
9.3. Residual Smoothing 307
Here, (7*/(7 denotes the ratio of the CFL numbers of the smoothed and un-
smoothed scheme. The variable r stands for the ratio of the convective spectral
radii (Eq. (4.53)), i.e., r - ~tJ/A/. The parameter ffJ ~ 0.125 ensures linear
stability of the smoothing operation.
In 3D, the smoothing coefficients can be evaluated using an expression similar
to Eq. (9.6)[12]
e1 -
max
{1[(_~
~ 1 +
1
f f ~ ( r J I -t- r K I )
)2 110}
{1[(_~ 1 )2]} (9.7)
eJ - m a x ~ l + ~ ( r K J + r I J) -1 ,0
{1[(~ 1 )2 ] }
e K -- max ~ 1 + q~(z"IK -t- r JK) - 1 , 0 ,
where
rJI " J " I I,.KI " K "I
_ Ac/nc, _ A c/Ac
O"
(9.8)
In practice, value of a*/cr ~ 2 can be reached (e = 0.8). Higher ratios reduce
the damping of the time-stepping scheme. There is no such simple condition like
(9.8) for the upwind spatial discretisation since the maximum of ~r*/cr depends
also on the stage coefficients. But normally, the CFL number (see Tables 6.1
and 6.2) can be raised by about factor two for inviscid and up to factor five
for viscous flows (using the hybrid scheme from Table 6.2). Figures 9.2 and 9.3
demonstrate the effect of the central IRS on the convergence for an inviscid and
viscous flow on structured grids. The comparison is done in terms of the CPU
time, in order to account for the additional numerical effort due to the IRS. As
we can see, the solution time can be significantly reduced especially for a viscous
flow. Even larger savings can be however realised when the IRS is employed
together with multigrid (Section 9.4).
The limitation of the time step due to the viscous spectral radius /1iv in
Eq. (6.18) can be offset with the aid of the implicit residual smoothing. The
maximum time step is calculated according to the formula (6.14) without/itv. In
flow regions where the viscous spectral radius dominates, smoothing is carried
out using higher coefficients cI, eJ, eK. Smoothing coefficients based on the
308 Chapter 9. Acceleration Techniques
v without IRS
c, with central IRS
A
m
v
O)
O
I I I I I I I I I I I I I I
without IRS
o with central IRS
0
-1-
-2-
O~
o
m
-3-
-4-
-5 I I I i I I I I I I l I I i
I C (~_~~_.) ~ AI
%- s + X~ + A~
J C ( - - ~ X~
%-
) A+JXJ + s (9.9)
~v - X / + XJ + X ~ '
where the constant C ~ 5/4. The maximum of the coefficients from Eqs. (9.7)
and (9.9) is then taken as the resulting smoothing coefficient.
NA
/~r + E e (/~r - / ~ ) ) - / ~ I . (9.10)
J=l
The sum includes all NA adjacent control volumes. The relation (9.10) is solved
for R I using Jacobi iteration. Useful values of the smoothing coefficient are
0.5 _< e _< 0.8. With these values of c it is possible to increase the CFL number
(and hence the time step) two to five times. Due to the diagonal dominance of
the matrix, the Jacobi iteration converges in about two steps.
eigenvalue. For the /-th component of the residual, the implicit operator is
defined in 1D as [15], [16]
eI - e . m i n ~jj,1 ] (9.13)
eJ -- e . min ~/-/, 1 .
The relation between the CFL number of the smoothed scheme and the coeffi-
cient e reads
O'*
1 + Ce. (9.14)
~T
The constant C depends on the kind of the spatial discretisation. In the case of
the central scheme C - 1. For the lst- or 2nd-order upwind scheme the value
is C - 2.
9.3. Residual Smoothing 311
- -
E1 R-~,
e_ 1 nc- (1 -J- EI)/-~7 -~-/~I if M I > 1
-- E1 R--~$
e _ l + (1 + 2EI)/~r - E I / - ~ + I - RI
--~ if {MZl _< 1 (9.15)
(1 nc E I ) / ~ -- EI /I~I_t-
1-'* -- /~I if M I <-1.
The Mach number M is based on velocity projected into the direction of the
particular computational coordinate (here: I). Due to the low operation count,
the simplified UIRS is especially suitable for 3-D flow problems. In Ref. [16] it
was demonstrated that the CPU time needed to reach the steady state can be
halved as compared to CIRS (hypersonic flow past a blunt cylinder, Moo = 8).
312 Chapter 9. Acceleration Techniques
9.4 Multigrid
The multigrid methodology is a very powerful acceleration technique (cf. Fig.
3.7). It is based on the solution of the governing equations on a series of suc-
cessively coarser grids. The solution updates from the coarse grid are then
combined and added to the solution on the finest grid. The technique was origi-
nally developed by Brandt [19] for elliptic partial differential equations and later
applied to the Euler equations by Jameson [20]-[22]. After that, the multigrid
scheme was employed to solve the Navier-Stokes equations [11]-[13], [23]-[31].
The multigrid method can be implemented for both the explicit and the implicit
time-stepping schemes [32]-[36]. The goal of the current research is the signif-
icant improvement of the efficiency of multigrid for hyperbolic flow problems
[37]-[40].
The basic idea of the multigrid scheme is to employ coarse grids in order
to drive the solution on the finest grid faster to steady-state. Two effects are
utilised for this purpose:
1. larger time steps can be employed on the coarser grids (owing to a larger
control volume) in conjunction with a reduced numerical effort. Since the
work for determining a new solution is distributed mainly over the coarser
grids, a more rapid convergence and a reduction of the computing time
results.
. The majority of the explicit and implicit time-stepping and iterative sche-
mes reduces efficiently mainly the high-frequency components of the solu-
tion error (see Section 10.3). The low-frequency components are usually
only hardly damped. This results in a slow convergence to the steady
state, after the initial phase (where the largest errors are eliminated) is
over. The multigrid scheme helps at this point - the low-frequency compo-
nents on the finest grid becomes high-frequency components on the coarser
grids and are successively damped. As a result, the entire error is very
quickly reduced, and the convergence is significantly accelerated.
Thus, as we can see, the success of the multigrid scheme depends heavily on
good damping of the high-frequency error components by the time-stepping or
iterative scheme.
An alternative to the geometrical multigrid is provided by the Algebraic
Multigrid (AMG) method [41]-[48]. The AMG technique was developed for
implicit schemes, where it operates directly on the system matrix (the left-hand
side operator). The basic idea of AMG is to apply a coarsening matrix in
order to reduce the dimension of the implicit operator and hence the number of
equations. The reduced system, which represents a coarse level, is then solved
to obtain the correction of the fine-level solution. The coarsening matrix is
constructed such that the equations with the strongest coupling (i.e., the largest
off-diagonals in the system matrix) are added together. Thus, the generation of
coarse levels is governed solely by the physics of the flow problem and not by the
grid. Therefore, the advantage of AMG is that no coarse grid topology has to be
9.4. Multigrid 313
1. T r a n s f e r of t h e S o l u t i o n a n d R e s i d u a l s to t h e C o a r s e r G r i d
The solution is transferred to the coarse grid by means of the interpolation
~r2(h) __ . ~ h ~ + 1 , (9.17)
where the subscript 2h denotes the coarse grid 1 and /*~h is the interpolation
operator. The residuals have to be transferred to the coarse grid as well, so that
their low-frequency error components can be smoothed. A conservative transfer
operator is employed for this purpose. This means that when the control volume
size increases, the value of the residual must increase by the same amount.
The residuals of the fine grid are also required in order to retain the solution
accuracy of the fine grid on the coarse grid. For this purpose, a source term,
the so-called forcing function [19], [22], is formed as the difference between the
residual transferred from the fine grid and the residual computed using the
initial solution W(h ) (Eq. (9.17)) on the coarse grid, i.e,
-~ __ i 2 h ~ n + l ~0) (9.18)
(QF) h h
1The notation 2h must not be understood in a strictly geometric sense. On unstructured
grids, the ratio of the characteristic dimensions of the control volumes on the fine and the
coarse grid will usually differ from two. The same holds also for semicoarsening.
314 Chapter 9. Acceleration Techniques
Here, I~ h represents the restriction operator which transfers residuals from the
fine to the coarse grid. This type of multigrid scheme is known as the Full Ap-
proximation Storage (FAS) method [19]. The FAS method is particularly suited
for non-linear equations because the nonlinearities in the system are carried
down to the coarse levels through the re-discretisation.
2. C a l c u l a t i o n of a N e w S o l u t i o n on t h e C o a r s e G r i d
The solution is evaluated on the coarse grid in the same way as on the fine grid.
The forcing function in Eq. (9.18) is added to the residual of the coarse grid,
i.e.,
(RF)2h -- R2h + (QF)2h. (9.19)
Hence, the time-stepping scheme can be written in the form
in accordance with Eq. (6.5). It has to be noted that during the first iteration
(stage in Eq. (9.21)), (RF)2h is identical to the residual transferred from the
fine grid (i.e., (RF)2h -- I~hR~ +a from Eq. (9.18)). This guarantees that the
solution on the coarse grid depends on the residual of the fine grid and thus
retains the accuracy of the fine grid.
An important question is the accuracy of the spatial discretisation scheme
on coarse grids. Since the coarse grids do not influence the accuracy of the
fine-grid solution, first-order schemes are sufficient. The advantages of first-
order accurate discretisation on coarse grids are the increased robustness, better
damping properties, and lower numerical effort in comparison to higher-order
schemes.
3. S o l u t i o n I n t e r p o l a t i o n f r o m t h e C o a r s e t o t h e F i n e G r i d
After one or several time steps (iterations) were carried out on the coarse grid,
the correction with respect to the i n i t i a l - interpolated - solution (Eq. (9.17))
is computed. This so-called coarse grid correction is given by
5I~2h -- I ~ + 1 - I~ (~ 9 (9.22)
Number of T i m e S t e p s
The optimum number of time steps before the restriction and after the pro-
longation depends on the type of the time-stepping scheme. In the case of the
explicit multistage scheme (Subsection 6.1.1 or 6.1.2), it is common to carry out
only one time step before the restriction of residuals and no time step after the
prolongation. However, the robustness of the multigrid scheme can be improved
by smoothing the coarse grid corrections (Eq. (9.22)) before adding them to the
fine grid solution I/V~+1 (Eq. (9.23)). The same central implicit smoothing (with
constant coefficients) as described in Section 9.3 is utilised.
The other popular time-stepping method, the implicit LU-SGS scheme (see
Subsection 6.2.4), requires two iterations before the restriction for the best
multigrid efficiency [34]. The number of time steps after the prolongation de-
pends on the spatial discretisation. In the case of the central scheme (Subsec-
tion 4.3.1), no time step is necessary [34]-[36], but the solution correction can
be smoothed. On the contrary, one time step should carried out after the pro-
longation if an upwind spatial discretisation is used. This (2,1)- strategy proved
to be an optimum with respect to robustness and computing time for various
flow conditions [35], [36].
Starting Grid
It should be pointed out that in practice the multigrid scheme is not started
directly from the finest grid. Instead, several multigrid cycles are executed from
one of the coarse grids. The approximate solution is interpolated to the next
finer grid (using the same operator as for the prolongation), few more cycles are
performed, the solution is again interpolated to the next finer grid and so on,
until the finest grid is reached. In this way, a good starting solution is obtained
316 C h a p t e r 9. Acceleration Tech n i q u es
) 2h~
4h
8hn
on the finest grid with only a moderate numerical effort. This very efficient
procedure is termed the Full M u l t i g r i d (FMG) method [19].
where m R and m p denote the degree plus 1 of the polynomial, which is exactly
interpolated by the restriction and the prolongation operator, respectively. For
example, m R or m R are equal to two in the case of linear interpolation. Fur-
thermore, m E represents the order of the governing equations. Thus, m E -- 1
for the Euler equations, and m E ----2 in the case of the Navier-Stokes equations.
If the condition (9.25) is violated, the additional errors introduced by the re-
striction and/or prolongation will disturb the fine-grid solution. Hence, such
multigrid scheme will converge only slowly or it will even diverge.
1
A m A m , A m A m A h
II
W m W m w I w m w
X . ~ IL I
W m W m W
w i w -Tll
F i g u r e 9.5: Representation of a fine (h) and of two coarse (2h, 4h) 1-D grids.
Circles denote grid points, rectangles represent cell centres.
As we can conclude from Fig. 9.5, the operators for the solution interpolation,
the restriction of residuals and the prolongation of corrections have to be defined
differently for cell-centred and node-centred (cell-vertex) schemes. For example,
two successive grids have every second grid point in common. On the contrary,
the cell centres are always at different locations. Therefore, we shall discuss
the standard forms of the transfer operators separately for the cell-centred and
node-centred (identical to cell-vertex) finite-volume schemes.
Apart from the symmetrical, purely geometrically defined restriction and
prolongation operators, which will be presented next, upwind-biased forms were
suggested in [16], Chapter 4. Upwind restriction and prolongation, which ac-
count both for the characteristics of the flow equations, improve the robustness
of the multigrid ~cheme for hypersonic flows. In order to save space, we shall
discuss the implementation of an upwind prolongation operator for the node-
centred spatial discretisation only.
T r a n s f e r O p e r a t o r s for t h e C e l l - C e n t r e d S c h e m e
The solution is transfered from the fine to the coarse grid by using a volume
weighted interpolation. In 2D, Eq. (9.17) becomes (see Fig. 9.6a)
and likewise in 3D. Those residuals/~+1 in Eq. (9.27), which are located outside
the physical domain, have to be set to zero.
318 Chapter 9. Acceleration Techniques
(a) (b)
(c)
lw
I-1, J I,J
[] D
X"
n
(I, J)h
/ I
L
E]
I-l, J-1 I,J-1
A 9
1
(I~a~),,, - ~ [9(51/V2h)i,a + 3(6W2h)i 1,J
(9.29)
+3 (aW2h)x,j-i + (~w2h)~-~,j-1 .
+ 3(SW2h)I,g-l,g-1
~
+ ((~W2h)I-1,J-1,K-1
] 9
T r a n s f e r O p e r a t o r s for t h e C e l l - V e r t e x S c h e m e
Because of the common nodes between the fine and coarse grid, the solution
can be transfered simply by injection, i.e.,
""'f2h
(0) )i,j,k -- ( ~ + l ) i , j , k (9.31)
(I h2hRh-~n+l)i,j __ (/~+l)i,j
1[
+ 2 (/~+l)i_l,j q_ (/~+ 1)i+l,j
-~-(/:~-t-1)i,j_ 1 -~-(/~+l)i,j+l j
(9.32)
1 [ -+n+l)i-l,j-1 q- (/~+l)i+l,j-1
Jr- -~ (R h
-~-(/~-t-1)i_i,j_t_ 1 -~ (/~+l)i+l,j+l ] 9
320 Chapter 9. Acceleration Techniques
(a) (b)
1/4 1/2 1/4 1/4 1/2 1/4
-( )--
) )i,j+l ( l~i,j+ 1 q
--( ).-
i-l, ~ . , ~ i,
) ()i, i,j-1
-( )-
1/4 1/2 1/4 1/4 112 1/4
F i g u r e 9.7: Interpolation factors in the case of the restriction (a) and the
prolongation (b) for a structured cell-vertex scheme in 2D. Filled circle = point
to which it is interpolated; circle = point f r o m which it is interpolated; thick
line = coarse grid; thin line = fine grid. Point (i, j) is common to both grids.
1
(I~hR~+l)i,j,k -- (R~+l)i,j,k -~- ~,A-~- ~1 nt- 18 C (9.33)
the contravariant velocity. Thus, for example, at the point e the formula
Me - n " Ve . (9.35)
c
is employed. The normal vector g in Eq. (9.35) can be obtained either by
averaging the face vectors of the control volume (in the direction A - B ) , or
by normalising the vector from point A to point B. Then, the correction is
transferred to point e according to the rule
(51~2h)A if Me > 1
(SW2h)B if M~ < - 1
The same procedure applies also to the points f to ft. The upwinding helps to
match the information exchange between the grids better to the real physics.
The interpolation to the point g is more difficult. In Ref. [16], the values at the
surrounding points A to D were simply averaged
Reviews of the above methods were presented in Refs. [53] and [54].
9.4. Multigrid 323
Nonnested Grids
The most obvious idea is to generate a sequence of completely independent,
increasingly coarser grids [56]-[61]. It is not necessary that the grids contain
any common nodes. Therefore, we speak of nonnested grids. However, it is
important that the main geometrical features (leading and trailing edge, fuselage
nose, etc.) are retained on all coarse grids. This is not easy to accomplish,
particularly in the case of a geometrically complex configuration. Multigrid
based on nonnested grids is hardly used today.
Topological Methods
One particular approach applies graph-based algorithms in order to remove
certain nodes from the fine grid. The remaining nodes are then re-triangulated
[62], [63]. On the contrary to the nonnested-grids approach, the interpolation
between the grids becomes easier, since the successive grids contain common
nodes. However, the method inherits the drawback of the nonnested grids with
respect to geometry conformance.
A further topological method employs grid refinement [64], [29], [65]. The
technique starts from a coarse grid and generates finer grids by element division.
The methodology can be applied either over the whole physical domain or only
locally (e.g., at boundary layers). The disadvantage of this approach is that
the quality of the finest grid strongly depends on the initial coarse grid and the
refinement procedure. The problem can be partially cured by edge swapping
[66], [67].
Another idea for the generation of coarse grids is based on edge collapsing
[68]. It was initially developed for inviscid flows on tetrahedral grids. The edge-
collapsing method was further extended to viscous flows on mixed-element grids
in [691.
Agglomeration Multigrid M e t h o d
A very efficient methodology for unstructured grids is the so-called agglomera-
tion multigrid. It was first presented by Lallemand [70], Lallemand et al. [71]
and by Koobus et al. [72]. Later on, the agglomeration multigrid was adopted
by various authors [73]-[77], [31]. The method generates a coarse grid by fusing
the control volumes of the finer grid with their neighbours. The resulting
324 Chapter 9. Acceleration Techniques
1. build a list of the so-called seed points. Seed points are grid points selected
to agglomerate the surrounding control volumes. The list of seed points
can contain either those points which form an approximate maximal in-
dependent set [75], or simply all points of the current grid level.
Check the coarsening ratio (i.e., how many fine-grid control volumes are
contained within a coarse-grid volume). If the ratio is less than four (eight
in 3D), the neighbours of the already agglomerated nearest neighbours
are added (if not associated with another seed point), until the optimum
coarsening ratio is achieved. In Ref. [27], it was proposed to agglomerate
those distance-two neighbours first, which are connected to at least two
(three in 3D) agglomerated nearest neighbours.
6. Eliminate singletons. These are single control volumes which could not be
agglomerated, because there were no unagglomerated neighbours. A sin-
gleton can be eliminated by agglomeration with such neighbouring control
volume, which has the smallest coarsening ratio. This leads to coarse-grid
levels with a more regular distribution of control-volume areas [31].
The above procedure is repeated until all coarse grids are generated.
The volume agglomeration has to start from the boundary in order to pre-
serve grid isotropy. In 3D, user intervention may be required to prescribe the
agglomeration direction depending on the shape of the boundary. To overcome
this difficulty, Okamoto et al. [77] proposed another algorithm denoted as global
coarsening. The method employs a global partitioning scheme, which is based
on edge colouring. The partitioning scheme is used to generate an independent
9.4. Multigrid 325
set of edges. In a second step, all control volumes, which share an edge of the in-
dependent set, are agglomerated. The procedure is repeated until the prescribed
coarsening ratio is achieved. The method does not require the specification of
an initial seed point or agglomeration direction. It can also treat any type of
grid cells.
(9.38)
The gradient (VhU2h)i in Eq. (9.38) is calculated by using the linear least-
squares reconstruction described in Subsection 5.3.4, Eq. (5.55). The values of
the limiter function ~i are evaluated according to the Barth-Jespersen limiter
function presented in Subsection 5.3.5.
9.5. Preconditioning for Low Mach Numbers 327
ow OF~
0---/- + ~ - 0, (9.41)
where I~ - [p, pu, pE]T is the vector of conservative variables and/~c denotes
the convective fluxes. In order to see the effect of preconditioning on the spectral
radii (important for the computation of the time step) and on the convective
flux Jacobian (important for upwind dissipation), the Euler equations (9.41) are
rewritten in the quasilinear form
OW OW
0--7- + 7t~ Ox = 0 (9.42)
with Ac - OFc/OW being the convective flux Jacobian (cf. Appendix A.2).
The idea behind low Mach-number preconditioning is to transform the gov-
erning equations (9.41) such that the new equations have more favourable prop-
erties at low Mach numbers (i.e. below M ..~ 0.2). First of all, we want to
equalise the convective eigenvalues in order to bound the condition number (see
Eq. (9.40)) and thus to remove the stiffness at M ~ 0. We further want to
change the scaling of the numerical dissipation in order to improve the accu-
racy. Finally, we want to couple the pressure and the velocity as it is done in the
pressure-based schemes. The transformation replaces the conservative variables
W by a different set of flow variables. Various choices are possible [90], but the
most often used are the pressure, the velocity components and the temperature.
Transforming the quasilinear form in Eq. (9.42) into the new variables Wp, we
obtain
- ow~ ow~
P Ot + f i ~ p Ox = 0. (9.43)
ow, ow,
P Ot +/tc,p Ox = o. (9.45)
- ow~ ow~
F Ot +fl~'p Ox = 0 ' (9.46)
9.5. Preconditioning for L o w M a c h N u m b e r s 329
or equivalently
0%
Ot ~- P - l ffic'P Ox = O. (9.47)
It is now possible to solve Eq. (9.47) in the new variables W p using any standard
spatial and temporal discretisation scheme. Another possibility is to transform
the preconditioned equations (9.47) back into the conservative variables W. We
have
OW
~Ot -~ p F _ l ~ c p '/ 5 _ 1 0Ox
W = 0, (9.49)
or
OW - - OW
0---( + P F - ~fit ~ O x = 0. (9.50)
9 Unsteady equations are different from the original form in Eq. (9.42) and
hence the solution is no longer time accurate.
The main task is now to find a suitable set of variables Wp and the matrix
F such that the convective eigenvalues of the preconditioned system (9.50) are
equalised as close as possible. But it is also important that the matrices remain
defined for M -+ 0. Furthermore, it is desirable that the preconditioned system
converts into the original system for higher Mach numbers.
Before we present the transformation and preconditioning matrices in Sub-
section 9.5.3, we shall discuss the implementation of the low Mach number
preconditioning in a flow solver.
330 Chapter 9. Acceleration Techniques
9.5.2 Implementation
Since we solve the governing equations in their integral form, we have to write
Eq. (9.50) as
oc9s 1~
a d~ t+ P r-1 ~ ~ ( F ~ - F v ) d S - P F - l s (9.51)
It is important to note that Eq. (9.51) is not conservative for unsteady flows.
Therefore, the dual time-stepping approach (see Section 6.3) has to be employed
in order to obtain a time-accurate solution.
The solution of the preconditioned governing equations (9.51) using an ex-
plicit multistage scheme (described in Section 6.1) proceeds according to the
following steps:
1. Compute a new time step based on the spectral radii of the matrix P F - lilac.
2. Evaluate artificial dissipation using the spectral radii (e.g., JST scheme)
or the eigenvalues and eigenvectors of the preconditioned flux Jacobian
(e.g., Roe upwind scheme). The dissipation can be formulated either in
the conservative or in the primitive variables [90].
3. Compute the convective fluxes (either without change or based on the new
..+
variables Wp).
8. Update the boundary conditions (note that all boundary conditions which
are based on the characteristic variables - like inflow, outflow, farfield -
need to be changed).
Similar procedure is followed for an implicit scheme, only the steps 5. and 6.
are omitted and the conservative variables are updated in a different way (cf.
Section 6.2). It should also be noted that the preconditioning has to be included
in the implicit operator since the Jacobian is P F-lfi~.
The preconditioned scalar dissipation scheme (JST) takes the form (see Eq.
(4.50))
-.
DI+1/2 - A"sI + I / 2 (:rP-") I+ -,/2 r[q-+,/2 ( i.'r,,+l -
(9.52)
--s (W,+2- a14/1+1+ 3~xI - W/-1)] 9
9.5. Preconditioning for Low Mach Numbers 331
Note that the term F P -1 is required if the complete residual is later multiplied
by P F -1, since the spectral radius /~s already contains the preconditioning
matrix (thus it is different from Eq. (4.53)). It is also possible to combine/5-1
and W into Wp in Eq. (9.52). Then, we can formulate the preconditioned scalar
dissipation scheme in primitive variables as
It is important to realize that in this case only the convective fluxes are multi-
plied by F -1 and the complete residual then by/5. The nonconservative form
in Eq. (9.53) is somewhat simpler than the relation (9.52), however there are
problems with the accuracy for internal flows or for flows containing shocks.
The preconditioned Roe upwind scheme can be written as (cf. Eq. (4.91))
-
1 [/~c(l~R)§ Fc(I~L)
(9.54)
-- (FP-J)I+I/2 IfiiRoelI+l/2 (I/VR - I~L)] ,
where IfilRoel - Tc,p [~-~,plTc,
---p1 . The left (T- -c,1p ) and right (r~c,p) eigenvectors, as
well as the eigenvalues (~-c,p) are those of the matrix P F-lfi,~ _ p F-1 Tic, p .~--1.
Values of the flow variables at (I + 1/2) are obtained by Roe's averaging given
in Eq. (4.89), and the whole residual is multiplied by P P -1. Again, the precon-
ditioned Roe scheme in Eq. (9.54) can be formulated in the primitive variables
Wp leading us to
-, - 1 [l~c(l~pR)+/~c(I~p,L)
(9.55)
-- ~1+1/2 ]fi~Ro~,plI+l/2 (I~p,R -- I/Vp, L)] 9
The eigenvalues and eigenvectors which compose ARo~,p are now determined by
the matrix F-l~ic,p (cf. Eq. (9.47)). The eigenvalues of F-1tic,; are identical
to the eigenvalues of P F-1A~, i.e. to A~,p, but the eigenvectors are different.
Thus, the Roe matrix in Eq. (9.55) is composed as IfiiRoe, p l - Tp I/k~,pl 2Pp 1. It
should be mentioned that also in this case the residual has to be multiplied by
P F -1 in order to obtain conservative variables.
9.5.3 F o r m of t h e M a t r i c e s
Among the various choices for the primitive variables Wp, the form
T r a n s f o r m a t i o n matrices
For a general fluid, the transformation matrix from the conservative into the
primitive variables 15-1 _ O t V p / O I ~ is given by [91]
p h T + p T ( H -- q2) PT U PT V PT W PT
al al al al al
u 1
- 0 0 0
P P
p-1 v 1
-- 0 - 0 0 (9.57)
P P
w 0 0 -1 0
P P
1 - pp ( H - q2) _ php pp u pp v pp w pp
al al al al al
with
q~ _ I1~112 - u~ + v2 + w ~
(9.58)
al -- p p p h T + pT(1 -- p h p ) .
The transformation matrix from the primitive into the conservative variables
P - Ol~/Ol~p reads [91]
Pp 0 0 0 PT -
pp u p 0 0 pT U
p- pp v 0 p 0 PT V (9.59)
pp w 0 0 p PT w
Derivatives of the density and of the enthalpy with respect to the pressure and
the temperature in Eqs. (9.57)-(9.59) can be written in the form
pp -- p OLp
RT -- --p O~T
(9.60)
1 --O~TT
hp :
P
h T - - Cp,
w h e r e O~p and OLT are the compressibility coefficients at constant pressure and
temperature, respectively. The speed of sound can be computed from
c2 = p h T . (9.61)
al
9.5. Preconditioning for Love Mach Numbers 333
In the case of a perfect gas (see Subsection 2.4.1), the compressibility co-
efficients in Eq. (9.60) become O~p - 1/p and C~T -- 1 / T . In this case, the
transformation matrix from the conservative into the primitive variables t5-1 _
O W p / O W from Eq. (9.57) can be cast into
q2
(~/- 1)-~- (1 - 7 ) u (1 - ~/)v ( 1 - 7)w 7-1
u 1
- 0 0 0
P P
p-1 v 1
0 0 0 (9.62)
P P
W
0 0
P
1 [Tq 2 ] 7u 7v 7w
The transformation matrix from the primitive into the conservative variables
P - OW/OWp reads for a perfect gas
P 0 0 0 P-
p T
pu pu
p 0 0
p T
p __ P~ o p o
p T (9.63)
w o o p pw
p T
pE pq2
pu pv pw
p 2T_
Preconditioning matrices
The construction of a preconditioning matrix is relatively easy in the case of the
Euler equations. The formulation proposed by van Leer at al. [92] achieves the
lowest attainable condition number. The methodology was discussed in detail
in [79]. However, the preconditioning of the Navier-Stokes equations is more
involved. The reason is that the viscous terms lead to complex wave speeds,
which makes the preconditioned system difficult to analyse. The most recog-
nised preconditioners for viscous flows were proposed by Choi and Merkle [93],
[94], Turkel [90], [95]-[97], Lee and van Leer [98], [99] and Lee [80], Jorgenson
and Pletcher [100], and by Weiss and Smith [101], [45], respectively. Examples
334 Chapter 9. Acceleration Techniques
0 0 0 0 P
T
pu
Ou p 0 0
T
pv
F- Ov 0 p 0 (9.65)
T
pw
Ow 0 0 p
T
pq2
OH- 1 pu pv pw 2T
where 0 is again the preconditioning parameter, which will be defined later. The
inverse of the preconditioning matrix is given by
c2
--a2u --a2v --a2w a2
u 1
- 0 0 0
P P
v 0 -1 0 0 (9.66)
P P
w 0 0
P
a3 [1 - O(H - q 2 ) ] -Oa3u -Oa3v --Oa3w ~a3
( ' 7 - 1)r
a3-- (9.67)
1
r 0c2-(7 -1)"
9.5. Preconditioning for Low Mach Numbers 335
1 PT
0- u~ phT ' (9.68)
1 1
0 - u--~+ ('y - 1)c 5" (9.69)
The reference velocity ur in Eq. (9.68) or Eq. (9.69) is obtained from the relation
where Ah is a measure of the control volume size, the quantity Ap stands for the
pressure difference between the adjacent control volumes and e is a small number
(~ 10-3). As we can see from the definition in Eq. (9.70), the reference velocity
is bounded by the local transport velocity. The terms ~,/Ah and ~ / A h become
important in boundary layers with dominant diffusion or heat conduction. The
pressure term is intended to prevent ur from vanishing at stagnation points. In
the case that ur - c, f' becomes identical to 15 and f,-1 is converted i n t o / 5 - 1 .
Hence, the preconditioning is turned off for a supersonic flow as intended.
Another possibility, which was devised for a perfect gas, is to set [104]
1 1
0- /3~RT = ~c 2" (9.71)
9- M]
1 + ( 7 - 1)Mr2 (9.72)
and M being the local Mach number (M 2 - I]g I~/c2). According to Ref.
[104], parameter Mini2 n - K M ~ and K ~ 3 (others choose K - 1 or even
K - 0.15; the exact value seems to depend on the number of control volumes in
the stagnation region or inside the boundary layer). As it can be easily verified,
when M > 1 the parameter/3 equals to 1/y and the matrix F becomes identical
to/5. It should be mentioned that both definitions of 0 in Eq. (9.69) and in Eq.
(9.71) are equivalent. Hence, the reference Mach number could be determined
as Mr - u,./c with the help of Eq. (9.70).
336 Chapter 9. Acceleration Techniques
The matrix of the eigenvalues of the preconditioned system Eq. (9.49), i.e,
P F - 1.~c - P F - l~c,p/5-1 is given by
V 0 0 0 0
0 V 0 0 0
0 0 V 0 0
Ac,p -
(9.74)
0 0 0 (a4 + 1) V + c ~ 0
2
0 0 0 0 (a4 + 1) V - c'
2
where V - ~. g represents the contravariant velocity, and
Ct -- ~1 v / V 2 ( a 4 - 1) 2 + 4a5 (9.75)
denotes the modified speed of sound. The parameters a4 and a5 in Eq. (9.74)
and Eq. (9.75) read in the general case
al
a4 -- a---~
(9.76)
phT
a 5 ~- a[ '
where al is defined in Eq. (9.58) and a r in Eq. (9.64). In the case of a perfect gas
and the definition of the preconditioning parameter ~ according to Eq. (9.69),
the parameters become a4 - r and a5 - r 2, with r given by Eq. (9.67). When
using the second definition of 0 from Eq. (9.71), the parameters in Eq. (9.76)
simplify to a4 - M 2 and a5 - M2c 2, respectively. As we can see, c' ~ (V/2)v/5
for IMI ~ 0 and hence the eigenvalues become equalised as intended. In this
way, the stiffness represented by the condition number Eq. (9.40) is reduced
(the condition number is CN ,z 2.6) and the convergence of the time-stepping or
iterative solution process is dramatically enhanced. On the other hand, a4 - 1
and c' - c for IMI > 1, and thus the eigenvalues of Ac are recovered.
Based on Eq. (9.74), the spectral radius of the preconditioned system be-
comes
Acp, _ [(a4 1+) 2 ,V] + c ' 1 AS (9.77)
with AS denoting the face area. This expression is employed to compute the
time step in Eq. (6.14), (6.18), (6.20) or (6.22). It also replaces the spectral
radius in Eq. (4.53) in the case of the central artificial dissipation (see also Eqs.
(5.33), (9.52), (9.53)).
9.5. P r e c o n d i t i o n i n g for L o w M a c h N u m b e r s 337
The left and right eigenvectors of the convective flux Jacobian (cf. Section A.11)
will be changed by the preconditioning. This is of importance for spatial discreti-
sations based on characteristic variables like Roe's upwind scheme (Subsection
4.3.3), or the upwind TVD scheme presented in the Subsection 4.3.4.
The matrix of the left eigenvectors of the preconditioned new flux Jacobian
in Eq. (9.47) can be written as [91]
F - l f i , c,p
1 a6 n x a6 n y a6 n z
. -~ - - a 7 0
2c' 2c' 2c' _
-asnx --ashy
-asu nx - a s u n y - C'nz
a[
P Tp -- p h T -asv nx + c'nz - a s v ny
where air is defined in Eq. (9.64). Further parameters in the above Eqs. (9.78)
338 C h a p t e r 9. Acceleration Techniques
V(a - 1)
a7 --
4d
fiT T
a8
P
1
a9 - - - ~ Y ( a 4 - 1) (9.80)
a l 0 - a s H + T hT
- c'( nz -
T~,p - P T p
(9.81)
--1 = ~ p l .~-1 .
Tc,p
Inserting the above relations (9.81) into the formula for the preconditioned Roe
scheme in the conservative variables Eq. (9.54), we obtain
(Pc) 1 + 1 / 2 - 1 [/~c(I~R)+/~(Is
(9.82)
-- (F TpIic,plTp 1/~-1)1+1/2 (~r R -- ~rL) ]
-- 13.0
0 t\ .......... convergence
- 11.0
lift
- 9.0
-1
- 7.0
- 5.0
.i,..
-2 - I:
4)
- 3.0 "~
...,.
,.,., .1.o g
-3 - F_
- -1.0 --
9 -3.0
-4 -5.0
- -7.0
1.50 --
Euler solver
1.25 -
9 exact solution
1.00
0.75
9 e
0.50
~"
!
0.25
0.00
-0.25
b
-0.50
-0.75
F i g u r e 9.10: Inviscid 2-D flow around symmetric Joukowsky airfoil (10% thick-
ness). Structured grid, Mc~ = 10 -2, a = 3~ central spatial discretisation,
explicit multistage time-stepping scheme, no preconditioning. Shown are the
convergence history (top), and comparison of the pressure coefficient with the
exact potential solution (bottom).
340 Chapter 9. Acceleration Techniques
0 I -I 13.0
convergence 11.0
lift
9.0
- 7.0
- 5.0
- Ir
q)
~" - 3.0 "5
~,' r
O~
o - 1.0 o
- .=_
- -1.0 ""
9- 3 . 0
' - -5.0
t1! 0 500
, , ' ,
1000
iteration
1500 2000
- -7.0
" -9.0
2500
1.50 :
Euler solver
1,25 - 9 9 exact solution
1.00 -
0.75 -
0.50 -
Q.
o, 0,25 -
0.00 -
-0.25 -
-0.50 -
-0.75 -
-1.00 I i I i i i I I I li I I
F i g u r e 9.11: Inviscid 2-D flow around symmetric Joukowsky airfoil (10% thick-
ness). Structured grid, M ~ = 10 -2, ol : 3 ~ 2nd-order Roe's upwind discretisa-
tion, explicit multistage time-stepping scheme, no preconditioning. Shown are
the convergence history (top), and comparison of the pressure coefficient with
the exact potential solution (bottom).
9.5. Preconditioning for Low Mach Numbers 341
-- 0 . 4 0
o- L
- 0.35
\ - 0.30
,i-,
- C
A ._o
m 0
.,..
- 0.25 q=
O) 0
0
o 0
- .=_
- 0.20
[]
-4
- 0.15
convergence
lift
-5 , .... , , , , I i I i I l I I I II , 0.10
iteration
1.50 ---
Euler solver
1.25 -
9 exact solution
1.00 -
0.75 -
0.50 -
Q.
o 0 . 2 5 -,
0.00 -
-0.25 - l
-0.50 -
-0.75 -
-1.00 , i I i I | I | I i ' I i I i I
x/L
F i g u r e 9.12" Inviscid 2-D flow around symmetric Joukowsky airfoil (10% thick-
ness). Structured grid, M ~ = 10 -2, a -- 3 ~ central spatial discretisation,
explicit multistage time-stepping scheme, Weiss-Smith preconditioning. Shown
are the convergence history (top), and comparison of the pressure coefficient
with the exact potential solution (bottom).
342 Chapter 9. Acceleration Techniques
Bibliography
[1] Kroll, N.; Jain, R.K.: Solution of Two-Dimensional Euler Equations -
[3] Jameson, A.: Iterative Solution of Transonic Flow over Airfoil and Wings
Including at Mach 1. Comm. Pure Appl. Math., 27 (1974), pp. 283-309.
[4] Jameson, A.; Schmidt, W.; Turkel, E.: Numerical Solutions of the Euler
Equations by Finite Volume Methods Using Runge-Kutta Time-Stepping
Schemes. AIAA Paper 81-1259, 1981.
[5] Van Leer, B.; Tai, C.H.; Powell, K.G.: Design of Optimally Smoothing
Multi-Stage Schemes for the Euler Equations. AIAA Paper 89-1933, 1989.
[6] Tai, C.-H.; Sheu, J.-H.; van Leer, B.: Optimal Multistage Schemes for
Euler Equations with Residual Smoothing. AIAA Journal, 33 (1995), pp.
1008-1016.
[7] Tai, C.-H.; Sheu, J.-H.; Tzeng, P.-Y.: Improvement of Explicit Multistage
Schemes for Central Spatial Discretization. AIAA Journal, 34 (1996), pp.
185-188.
[8] Jameson, A.; Baker, T.J.: Solution of the Euler Equations for Complex
Configurations. AIAA Paper 83-1929, 1983.
[10] Enander, R.; SjSgreen, B.: Implicit Explicit Residual Smoothing for Up-
wind Schemes. Uppsala University, Report No. 179, 1996.
[12] Turkel, E.; Swanson, R.C.; Vatsa, V.N.; White J.A.: Multigrid for Hyper-
sonic Viscous Two- and Three-Dimensional Flows. AIAA Paper 91-1572,
1991.
[13] Radespiel, R.; Kroll, N.: Multigrid Schemes with Semicoarsening for Ac-
curate Computations of Hypersonic Viscous Flows. DLR Internal Report,
No. 129-90/19, 1991.
[14] Jameson, A.; Baker, T.J.; Weatherill, N.P.: Calculation of Inviscid Tran-
sonic Flow over a Complete Aircraft. AIAA Paper 86-0103, 1986.
Bibfiography 343
[15] Blazek, J.; Kroll, N.; Radespiel, R.; Rossow, C.-C.: Upwind Implicit
Residual Smoothing Method for Multi-Stage Schemes. AIAA Paper 91-
1533, 1991.
[16] Blazek, J.: Methods to Accelerate the Solutions of the Euler- and Navier-
Stokes Equations for Steady-State Super- and Hypersonic Flows. Transla-
tion of DLR Research Report 94-35, ESA-TT-1331, 1995.
[17] Blazek, J.; Kroll, N.; Rossow, C.-C.: A Comparison of Several Implicit
Smoothing Methods. ICFD Conf. Numerical Methods for Fluid Dynamics,
Reading, England, 1992.
[lsl Blazek, J.; Kroll, N.; Rossow, C.-C.; Swanson, R.C.: A Comparison of
Several Implicit Residual Smoothing Methods in Combination with Multi-
grid. 13th Int. Conf. on Numerical Methods in Fluid Dynamics, Roma,
Italy, 1992.
[20] Jameson, A.: Solution of the Euler Equations for Two-Dimensional Tran-
sonic Flow by a Multigrid Method. MAE Report No. 1613, Dept. of Me-
chanical and Aerospace Engineering, Princeton University, 1983.
[24] Koren, B.: Multigrid and Defect Correction for the Steady Navier-Stokes
Equations. J. Computational Physics, 87 (1990), pp. 25-46.
[26] Radespiel, R.; Swanson, R.C.: Progress with Multigrid Schemes for Hy-
personic Flow Problems. ICASE Report, No. 91-89, 1991; also J. Compu-
tational Physics, 116 (1995), pp. 103-122.
[27] Mavriplis, D.J.; Venkatakrishnan, V.: A Unified Multigrid Solver for the
Navier-Stokes Equations on Mixed Element Meshes. ICASE Report No.
95-53, 1995.
344 Chapter 9. Acceleration Techniques
[32] Yoon, S.; Jameson, A.: A Multigrid L U-SSOR Scheme .for Approximate
Newton-Iteration Applied to the Euler Equations. NASA-CR-17954, 1986.
[33] Yoon, S.; Jameson, A.: Lower-Upper Implicit Schemes with Multiple Grids
for the Euler Equations. AIAA Paper 86-0105, 1986; also AIAA Journal,
7 (1987), pp. 929-935.
[35] Blazek, J.: Investigations of the Implicit L U-SSOR Scheme. DLR Re-
search Report, No. 93-51, 1993.
[36] Blazek, J.: A Multigrid L U-SSOR Scheme for the Solution of Hypersonic
Flow Problems. AIAA Paper 94-0062, 1994.
[37] Roberts, T.W.; Sidilkover, D.; Swanson, R.C.: Textbook Multigrid Effi-
ciency for the Steady Euler Equations. AIAA Paper 97-1949, 1997.
[38] Thomas, J.L.; Bonhaus, D.L.; Anderson, W.K.; Rumsey, C.L.; Biedron,
R.T.: An O ( N m 2) Plane Solver for the Compressible Navier-Stokes Equa-
tions. AIAA Paper 99-0785, 1999.
[39] van Leer, B.; Darmofal, D.: Steady Euler Solutions in O(N) Operations.
Proc. Sixth European Multigrid Conf., Gent, Belgium, Sept. 27-30, 1999.
Published by Springer, 2000.
[40] Nishikawa, H.; van Leer, B.: Optimal Multigrid Convergence by Ellip-
tic/Hyperbolic Splitting. AIAA Paper 2002-2951, 2002.
[41] Ruge, J.W.; Stiiben, K.: Algebraic Multigrid. Multigrid Methods, SIAM
Frontiers in Applied Math., McCormick S.F. (ed.), 1987, pp. 73-131.
Bibliography 345
[44] Raw, M.J.: Robustness of Coupled Algebraic Multigrid for the Navier-
Stokes Equations. AIAA Paper 96-0297, 1996.
[45] Weiss, J.M.; Maruszewski, J.P.; Smith, W.A.: Implicit Solution of Precon-
ditioned Navier-Stokes Equations Using Algebraic Multigrid. AIAA Jour-
nal, 37 (1999), pp. 29-36.
[46] Cleary, A.J.; Falgout, R.D.; Van Henson, E.; Jones, J.E.; Manteuffel, T.A.;
McCormick, S.F.; Miranda, G.N.; Ruge, J.W.: Robustness and Scalability
of Algebraic Multigrid. SIAM J. Sci. Comput., 21 (2000), pp. 1886-1908.
[47] Stiiben, K.: A Review of Algebraic Multigrid. J. Comput. Applied Math.,
128 (2001), pp. 281-309.
[48] Chang, Q.; Huang, Z.: Efficient Algebraic Multigrid Algorithms and their
Convergence. SIAM J. Sci. Comput., 24 (2002), pp. 597-618.
[50] Lynn, J.F.; van Leer, B.: A Semi-Coarsened Multigrid Solver for the Euler
and Navier-Stokes Equations with Local Preconditioning. AIAA Paper 95-
1667, 1995.
[54] Mavriplis, D.J.: Unstructured Grid Technique. Annu. Rev. Fluid. Mech.,
29 (1997), pp. 473-514.
[57] Peraire, J.; PeirS, J.; Morgan, K.: A 31) Finite-Element Multigrid Solver
for the Euler Equations. AIAA Paper 92-0449, 1992.
[58] Morano, E.; Dervieux, A.: Looking for O(N) Navier-Stokes Solutions on
Non-Structured Meshes. Proc. 6th Copper Mountain Conf. on Multigrid
Methods, 1993, pp. 449-464; also ICASE Report 93-26, 1993.
[59] Riemslagh, K.; Dick, E.: A Multigrid Method for Steady Euler Equations
on Unstructured Adaptive Grids. Proc. 6th Copper Mountain Conf. on
Multigrid Methods, 1993, pp. 527-542.
[61] Crumpton, P.I.; Giles, M.B.: Aircraft Computations Using Multigrid and
an Unstructured Parallel Library. AIAA Paper 95-0210, 1995.
[64] Parthasarathy, V.; Kallinderis, Y.: New Multigrid Approach for Three-
Dimensional Unstructured, Adaptive Grids. AIAA Journal, 32 (1994), pp.
956-963.
[68] Crumpton, P.I.; Giles, M.B.: Implicit Time Accurate Solutions on Un-
structured Dynamic Grids. AIAA Paper 95-1671, 1995.
[69] Moinier, P.; Mfiller J.-D.; Giles, M.B.: Edge-Based Multigrid for Hybrid
Grids. AIAA Paper 99-3339, 1999.
[77] Okamoto, N.; Nakahashi, K.; Obayashi, S.: A Coarse Grid Generation
Algorithm for Agglomeration Multigrid Method on Unstructured Grids.
AIAA Paper 98-0615, 1998.
[78] Volpe, G.: Performance of Compressible Flow Codes at Low Mach number.
AIAA Join'hal, 31 (1993), pp. 49-56.
[79] Lee, W.T.: Local Preconditioning of the Euler Equations. PhD Thesis,
University of Michigan, 1991.
[80] Lee, D.: Local Preconditioning of the Euler and Navier-Stokes Equations.
PhD Thesis, University of Michigan, 1996.
[81] Guillard, H.; Viozat, C.: On the Behavior of Upwind Schemes in the Low
Mach Number Limit. INRIA Report No. 3160, 1997.
[82] Patankar, S.V.: Numerical Heat Transfer and Fluid Flow. McGraw-Hill,
New York, 1980.
[84] Turkel, E.: Preconditioned Methods for Solving the Incompressible and
Low Speed Compressible Equations. J. Computational Physics, 72 (1987),
pp. 277-298.
[85] Rogers, S.E.; Kwak, D.: Upwind Differencing Scheme for the Time-
Accurate Incompressible Navier-Stokes Equations. AIAA Journal, 28
(1990), pp. 253-262.
348 Chapter 9. Acceleration Techniques
[86] Cabuk, H.; Sung, C.-H.; Modi, V.: Explicit Runge-Kutta Method for
Three-Dimensional Internal Incompressible Flows. AIAA Journal, 30
(1992), pp. 2024-2031.
[87] Shi, J.; Toro, E.F.: A Riemann-Problem-Based Approach for Steady In-
compressible Flows. Int. J. Num. Meth. Heat Fluid Flow, 6 (1996), pp.
81-93.
[88] Liu, C.; Zheng, X.; Sung, C.H.: Preconditioned Multigrid Methods for
Unsteady Incompressible Flows. J. Computational Physics, 139 (1998),
pp. 35-57.
[89] Briley, W.R.; Taylor, L.K.; Whitfield, D.L.: High-resolution viscous flow
simulations at arbitrary Mach number. J. Computational Physics, 184
(2003), pp. 79-105.
[90] Turkel, E.; Radespiel, R.; Kroll, N.: Assessment of Preconditioning Meth-
ods for Multidimensional Aerodynamics. Computers & Fluids, 26 (1997),
pp. 613-634.
[91] Mulas, M.; Chibbaro, S.; Delussu, G.; Di Piazza, I.; Talice, M.: Efficient
Parallel Computations of Flows of Arbitrary Fluids for All Regimes of
Reynolds, Mach and Grashof Numbers. Int. J. Num. Meth. for Heat &
Fluid Flow, 12 (2002), pp. 637-657.
[92] Van Leer, B.; Lee, W.T.; Roe, P.: Characteristic Time-Stepping or Local
Preconditioning of the Euler Equations. AIAA Paper 91-1552, 1991.
[96] Turkel, E.; Vatsa, V.N.; Radespiel, R.: Preconditioning Methods for Low-
Speed Flows. AIAA Paper 96-2460, 1996.
[98] Lee, D.; van Leer, B.: Progress in Local Preconditioning of the Euler and
Navier-Stokes Equations. AIAA Paper 93-3328, 1993.
[99] Lee, D.; van Leer, B.; Lynn, J.F.: A Local Navier-Stokes Preconditioner
for All Mach and Cell Reynolds Numbers. AIAA Paper 97-2024, 1997.
BibNography 349
[100] Jorgenson, P.C.; Pletcher, R.H.: An Implicit Numerical Scheme for the
Simulation of Internal Viscous Flow on Unstructured Grids. Computers
& Fluids, 25 (1996), pp. 447-466.
[101] Weiss, J.; Smith, W.A.: Preconditioning Applied to Variable and Constant
Density Flows. AIAA Journal, 33 (1995), pp. 2050-2057.
[102] Godfrey, A.G.; Wakers, R.W.; van Leer, B.: Preconditioning for the
Navier-Stokes Equations with Finite-Rate Chemistry. AIAA Paper 93-
0535, 1993.
[103] Dailey, L.D.; Pletcher, R.H.: Evaluation of Multigrid Acceleration for Pre-
conditioned Time-Accurate Navier-Stokes Algorithms. Computers & Flu-
ids, 25 (1996), pp. 791-811.
[104] Jespersen, D.; Pulliam, T.; Buning, P.: Recent Enhancements to OVER-
FL 0 W. AIAA Paper 97-0644, 1997.
[105] Sharov, D.; Nakahashi, K.: Low Speed Preconditioning and L U-SGS
Scheme for 3-D Viscous Flow Computations on Unstructured Grids. AIAA
Paper 98-0614, 1998.
[106] Nemec, M.; Zingg, D.W.: Aerodynamic Computations Using the Convec-
tire Upstream Split Pressure Scheme with Local Preconditioning. AIAA
Paper 98-2444, 1998.
[107] Merkle, C.L.; Sullivan, J.Y.; Buelow, P.E.O.; Venkateswaran, S.: Com-
putation of Flows with Arbitrary Equations of State. AIAA Journal, 36
(1998), pp. 515-521.
[108] Sockol, P.M.: Multigrid Solution of the Navier-Stokes Equations at Low
Speeds with Large Temperature Variations. J. Computational Physics, 192
(2003), pp. 570-592.
[109] Puoti, V.: Preconditioning Method for Low-Speed Flows. AIAA Journal,
41 (2003), pp. 81%830.
350 Chapter 9. Acceleration Techniques
Chapter 10
351
352 Chapter 10. Consistency, Accuracy and StabiBty
U n + l -- ~ -l- A t (ON'nOt/i-~- ( At
2 ) 2 . ( 02g~nOt
/i2-~- ... (10.3)
where (...) represents the higher-order terms. The Taylor series for the solution
un_l reads (cf. Eq. (3.1))
where p denotes the accuracy, r the refinement (coarsening) ratio and f the
numerical solution, respectively. Index 1 denotes the finest grid and index 3 the
coarsest grid. If the coarsening ratio is not constant between the grids, a more
general relation can be found in Ref. [1].
Besides the estimation of the truncation error, varying the grid resolution
is also used to obtain what is called grid converged solution. This is achieved
if the solution does not change (within a certain tolerance) with further grid
refinement. In this connection, we speak of grid convergence studies. Although
grid convergence studies can be very time consuming, it is recommended always
to check if the solution is grid converged.
354 Chapter 10. Consistency, Accuracy and Stability
where Ui denotes a scalar variable at point i, Ri stands for the residual, and
Ax represents the grid size. Assuming periodic boundary conditions, we can
expand the solution U in Eq. (10.7) into a finite Fourier series [6]-[8]
N
Ui - E Uk e 'pk(iax) (10.8)
k---N
with the point index i running from 0 to N (xi = iAx), Pk being the wave
number and I the imaginary unit. Due to the linearity of the model equation,
10.3. Von N e u m a n n Stability Analysis 355
since the entire influence can be obtained by superposition. If we now insert the
Fourier mode Eq. (10.9) into the discretised model equation (10.7), we get
d(
At-~ U elpl
(,A~)) At
- - --Ax Ri -
At
Ax z
U.eX,r (10.10)
with e (4) denoting the dissipation coefficient. In order to simplify the analysis,
only the 4th-order differences were retained in Eq. (10.14). The Fourier symbol
of the spatial operator is obtained according to Eq. (10.10) by inserting the
harmonic Eq. (10.9)into Eq. (10.14)
Upwind Scheme
Using the 1st-order upwind scheme (see Eq. (4.46)), the residual Ri becomes
R i "-- A ( U i - U i _ l ) (10.16)
A (3U/-
R i -- -~ 4U/_ 1 + U/-2) 9 (10.18)
OU OU 02U
ot + ATx - ~' Ox 2 ' (10.20)
where v represent the viscosity coefficient. The diffusion term 0 2 U / O x 2 is nor-
mally approximated by 2nd-order central differences. Thus,
At R}k_l)
U (k) - U (~ - a k ~ , k - 1,..., m (10.25)
~(o) = ~
r)(m).
The amplification factor of the above m-stage explicit scheme is given by Eq.
(10.12). Based on Eq. (10.26) it can be shown that the Fourier symbol of the
time-stepping operator f resumes the form [9]
f - -~z am-am-lain ~ z
(10.27)
( Z~~_Xt )rn-11
-]- . . . . (--1)mo~10~2 9 9 9Ctm Z ,
provided the convective and the dissipative part of z are evaluated at each stage
(so-called (m, m)-scheme). The derivation of f becomes more involved for the
hybrid multistage schemes (Subsection 6.1.2). In the case of the (5,3)-scheme
358 Chapter 10. Consistency, Accuracy and Stability
(Eq. (6.7)), the Fourier symbol of the time-stepping operator reads [10]
At
f - ~xx { ~ - ~ 4 ( z i + ~zR)(1- ~zi)
-~~(1 - ~lZ,)(z~ + & z R ) [ ~ ( z , + &zR)z, - &zR] (10.2s)
with
zR---~xReal(z)
At and z I - ~ xAt
x Imag(z) (10.29)
representing the real and the imaginary part of z. The stage coefficients ak and
the blending coefficients/3k are shown in Table 6.2.
The time step At can be determined with the aid of the Courant-Friedrichs-
Lewy (CFL) condition [11]. The following formula can be found for the convec-
tion model equation (10.13)
Ax
A t - o- tA-Z (~0.30)
The parameter a in Eq. (10.30) denotes the CFL number. Its magnitude de-
pends on the type and on the stage coefficients of the time-stepping scheme.
The derivation of Eq. (10.30) is presented in Subsection 10.3.6. In the case of
the convection-diffusion model equation (10.20), the relation
Ax
At=a (10.31)
IAI + CA~
holds for the time step. The factor C in Eq. (10.31) varies with the spatial dis-
cretisation. For the central scheme Eq. (10.15), C - 4 results in good damping.
In the case of the Ist-order upwind scheme Eq. (10.17), C - 2 guarantees that
the Fourier symbol of z - z c - Z v (Eq. (10.23)) remains bounded by Z c . In fact,
the Fourier symbol with the diffusion term is identical to the Fourier symbol of
Zc for @- ;r, regardless of the ratio A~/]A[. The same situation is encountered
for the 2nd-order upwind scheme Eq. (10.19) if one sets C - I.
(a) 3- 1
Igl = 1
0.9
0.8
0.7
1
0.6 =
_~ 0.s:. _
0.4 ::
-1
0.3 ::
0.2i
-2
Oli
-3
-5
i , , , i
-4
| , , i i
-3
i i , i ,
-2
| L i t ,
-1
i . . . .
0
| , , , , |
1
"o--
0 05 1 15 2 25 3
Real(z) phaseangle
(b) 3- 1.4
1.3
2
1.2
1.1
1
0.9
0.8
0.7
0.6
~ I , , , i | . . . . I , , i , | . . . . .
I IS , , , I , , i i I i i , ,
~ 1, 2 2,5 ;
,
(c) 3 1
0.9
0.8
0.7
0.6 ~-
0.3
/ \
o1~ \/ \
n~ .... i .... i .... i,,,
"3-5 . . . . . .-4
. . . . . . . . -3 -'2 . . . . . .-1
........ 0 "0 0.5 1 1.5 2 2.5 3
Real(z) phase angle
upwind scheme Eq. (10.16) is shown in Fig. 10.16 and 10.1b. As we can see, the
locus of the Fourier symbol passes all three minima of Igl (small circular areas
on the isoplot). This leads to very low magnitude of the amplification factor
for a phase angle 9 > ~/2, which is particularly important for an efficient
multigrid scheme (~ _> ~//2 on coarse grid corresponds to 9 < ~//2 on fine grid).
We can also observe that the damping properties are poor for (I) < ~/2. This
behaviour is typical for the multistage schemes. It explains their low asymptotic
convergence rate, which can be best improved by multigrid. It should be noted
that the range 0 _< 9 < ~ represents the first half of the locus on the left-hand
side.
The next diagram (Fig. 10.1b), demonstrates what happens, if the CFL-
number a is increased too much. As expected, the Fourier symbol extends
behind the stability boundary. Consequently, the magnitude of g becomes larger
than unity (dashed line). This means that the solution errors are amplified for
the corresponding phase angles (frequencies). Such a time-stepping scheme will
clearly diverge. Part (c) of Fig. 10.1 shows the properties of the 2nd-order
upwind scheme Eq. (10.18). In principle, the behaviour is similar to that of the
1st-order upwind scheme.
The following plots in Fig. 10.2 display the loci of the Fourier symbols and
the damping properties of the hybrid (5,3)-scheme (Subsection 6.1.2) applied to
the convection model equation (10.13). The spatial discretisation utilises the
central scheme with artificial dissipation (Eq. (10.14)). In order to demonstrate
the influence of the dissipation coefficient e (4), its value is varied from 1/16 (Fig.
10.26) to 1/256 (Fig. 10.2c). We can conclude from the results that the locus is
contracted along the real axis with decreasing amount of artificial dissipation.
This effect is caused by down-sizing the term (1 - c o s ~)2 in Eq. (10.15). More
important is the fact that the damping properties deteriorate with reduced
artificial dissipation. This means in practice that the convergence speed and
the robustness of the scheme will degrade with lower dissipation level.
The properties of the hybrid (5,3)-scheme employed to solve the convection-
diffusion equation (10.20) are investigated next. At first, the scheme is coupled
to the 1st-order upwind spatial discretisation Eq. (10.16). In Fig. 10.3, compari-
son is made between the cases Av - 0 (pure convection) and Av/A - 2 (denoted
by dashed line). As we can see, the locus of the Fourier symbol is contracted
along the imaginary axis due to the influence of the diffusion term z~, which has
only a real component. The extension of the Fourier symbol along the real axis
is kept, if the time step is computed according to Eq. (10.31) with C - 2. The
damping of the scheme remains on about the same favourable level as for pure
convection. This is caused by the optimised, flat minimum of Igl in the region
surrounded by the locus of zc (right-hand side of Fig. 10.3).
The behaviour of the hybrid (5,3)-scheme with central discretisation (Eq.
(10.14)) is displayed in Fig. 10.4. The dissipation coefficient was set to ~(4) =
1/64 and the ratio of the eigenvalues to A~/A - 2, respectively. We can observe
that the locus of the Fourier symbol changes its form completely as compared
to the convection equation. In the limit case A~ ~ c~, the locus would degrade
to a line. Therefore, it is important that the time-stepping is optimised to have
10.3. Von Neumann Stability Analysis 361
(a) s 1
4 0.9
3 0.8
2 0.7
,~, 1 o.61
0 -~ 0.5 !
0.4
-2 0.3
-3 0.2
-4 0.1
-5.9.........
-8 . ~ ;. ' " .6 ' ". 5 ........
4 -3 .............
-2 -1 0~'~ ~ 0:5 ~ . . . . 1 5, , , , i
2 .... ! ....
2.5 ~
Real(z) phase angle
5 1
(b) 4 0.9
3 0.8
2 0.7
~, 1 0.6
~o -~ o.5
_E -1 0.4
-2 -2 0.3
-3
0"2 I
-4 0.1
.R 1,1,1[lllLil||lll,l|lll,,l|l,,I .... I I1,1,l .... i , i i , , I , , | L I A | i I i
:~
. . . .
(c) s 1
4 0.9
3 0.8
2! 0.7
,-, 1 0.6
N
v
o ~_ 0.5
E
"" "1 0.4
-2 0.3
-3 0.2
-4 0.1
-5.9~....-~"-'~ . . . .-8
. . . . . . . . .-s
. . . . . . . . . -4
. . . . . . . . . -3
.. -2 -1 ~ .... l
Real(z) phase angle
4 1 -.~ convection
0.9
: y 11.7
~" i 0.6
"~ -~ 0.5
E
- - 0.4
11.2
I1.1
g
-o -7
........ - ;'"';'- .............
-4 -3 - ~'"'~,- .... 6 .......
1 ~ 0.5 1 1.5 2 2.5 3
Real(z) phase angle
5- 1~ convection
4 0.9 " " "
3 0.8
2 0.7
~, 1 0.6
o _~ o.5
E -1 0.4
-2 0.3
-3 0.2! '",,,,,,,, ,-'"
-4 0.1 -" . . . . . . . . . . . . . . . . . . .
, , , , , i , i | , l : , J , l , , , , 1 , , , ,I,
-5 -9
" ..................................................
-8 -7 -6 -5 -4 -3 -2 -1 0 1 0 ' {}:5' 1 1.5 2 2.5 3
Real(z) phase angle
a shallow minimum of ]g] along the real axis. It should be mentioned that the
time step was evaluated with Eq. (10.31) and C = 4.
Further examples related to the von Neumann stability analysis can be found
in the Refs. [9], and [12]-[18]. Program for the linear analysis of explicit multi-
stage schemes (with implicit residual smoothing) is provided on the CD-ROM.
A X +/3 [ ( D Ix ) ~ - ( D ~)~]~
I } / k U n -- - R in. (10.33)
The convection difference-operator can take various forms. For instance, in the
case of the central scheme with artificial dissipation it becomes (of. Eq. (6.47))
I A
(Dz)cAU n - - -~ ( A g / n + l - Ag?_l)-t- AeI(AUin+l - 2 A U n + Agn_l), (10.34)
z~ - z~E represents the Fourier symbol of the explicit operator. The forms of
364 Chapter 10. Consistency, Accuracy and Stability
the Fourier symbols correspond to those derived in Sections 10.3.2 and 10.3.3.
The amplification factor results with Eq. (10.12) as
ZE
x~ + ~ zI] .
g-- 1-- [A (10.39)
el_ 1( Ax ) (10.40)
4r 4[AiAt 9
The second curve (dashed line) demonstrates that the artificial dissipation has
to be included in the implicit operator. For r __ 0, the scheme becomes unstable
at high frequencies ((I) --, 7r). The last curve (dash-dotted) shows the magnitude
of g for fl = 1/2, i.e., for second-order accuracy in time. As we can see, the
damping properties are much worser than for fl - 1. Therefore, this value
should be preferred. Unsteady flows are more efficiently solved by the dual-time
stepping described in Section 6.3.2.
The effect of increasing CFL number is illustrated in Fig. 10.6. First-order
upwind scheme (nqs. (10.16) and (10.35)) is employed on both sides. The
damping is very good due to the similarity between the explicit and the implicit
operator. This confirms our remark with respect to Newton's scheme.
In the next diagram (Fig. 10.7), we compare the amplification factors for
two different discretisations of the implicit operator (the left-hand side - LHS).
The explicit operator is in both cases discretised using 2nd-order upwind scheme
10.3. Von Neumann Stability Analysis 365
1 ................. I
0.9 ~.., I
"\. I
0.8 \. f
\'\ I
0.4
F\ // '\\
phase angle
100
a=lO
a = 100
a = 1000
10 "1
\
\
01 \
O1
o
\ " ---.
10 -2 .....
"\
\,\
"~.
~'~-.,....~ .~.
10 3
0.7 /I
0.6 f ////
7
/
-~ 0.5 ~ I \ \ .-
0.4
...... 2nd-order upwind on LHS
0.3
0.2
0.1
1.8 i
t
I
J
f
f
1.6 J
/
/
1.4 /
/
1.2 /
/
1 /
viscous term on LHS
/// no viscous term on LHS
0,8
0.6
0.4
0.2
Eq. (10.18). It is evident that the exact representation of the explicit operator
on the LHS leads to significantly better damping properties and thus to faster
convergence. This observation was often confirmed in practice. The damping
properties of a mixed lst-/2nd-order discretisation can be improved by increased
overrelaxation as demonstrated for the LU-SGS scheme [19], [20].
The last example in Fig. 10.8 deals with the convection-diffusion model equa-
tion (10.20). We want to compare two cases. In the first one, the discretisation
of the diffusion term is also contained in the implicit operator (solid line). We
can observe that the damping properties are very favourable - similar to those
found for the convection model problem. However, if the diffusion term is re-
moved from the implicit operator (dashed line in Fig. 10.8, the scheme becomes
unstable, even at this low ratio of viscous to convective eigenvalue (Av/A = 2).
Therefore, the viscous fluxes should be always included in the approximation of
the flux Jacobian to obtain a robust scheme.
In summary, we can state that the implicit operator should include at least
the most important features of the spatial discretisation and of the physical
problem. Rather crude approximations of the flux Jacobian OR/OW can easily
lead to an unstable scheme. Therefore, it is very important to find a reasonable
compromise between the numerical effort and the accuracy of the numerical flux
Jacobian.
A comparison to the results of the explicit multistage scheme reveals that
the damping properties of a properly designed implicit scheme are significantly
better. This is especially true for the damping at low phase angles (frequencies).
Therefore, we can expect faster asymptotic convergence rates from an implicit
scheme as compared to a multistage scheme.
Ax
A At<_Ax or At< A " (10.41)
368 Chapter 10. Consistency, Accuracy and Stability
C F L C o n d i t i o n by von N e u m a n n A n a l y s i s
The CFL condition in Eq. (10.42) can be also derived by the von Neumann
stability analysis. Let us consider for this purpose the convection model equation
(10.13) discretised using the lst-order upwind scheme Eq. (10.16) and a one-
stage explicit scheme. The domain of dependence of this numerical scheme
corresponds to the shaded region in Fig. 10.9. According to Eq. (10.12), we
obtain the amplification factor g from the relationship
At
g- 1 z, (10.43)
zxt(zxt)
Igl2-2 xx A 1-1 (1-cos(I))+l. (10.45)
In order for the time-stepping scheme to be stable, it must hold t h a t Igl 2 < 1.
This condition can only be fulfilled if
At
A--~A < 1 (10.47)
and hence
Ax
At < A " (10.48)
Bibliography
[1] Roache, P.J.: Quantification of Uncertainty in Computational Fluid Dy-
namics. Annu. Rev. Fluid Mech., 29 (1997), pp. 123-160.
[2] AIAA: Guide for the Verification and Validation of Computational Fluid
Dynamics Simulations. AIAA G-077-1998, 1998.
[3] De Vahl, D.G.: Natural Convection of Air in a Square Cavity: A Bench
Mark Numerical Solution. Int. J. Num. Meth. Fluids, 3 (1983), pp. 249-264.
[4] Cranck, J.; Nicholson, P.: A Practical Method for Numerical Evaluation of
Solutions of Partial Differential Equations of the Heat Conduction Type.
Proc. Cambridge Philosophical Soc., 43 (1947), pp. 50-67.
[5] Charney, J.G.; Fjortoft, R.; von Neumann, J.: Numerical Integration of the
Barotropic Vorticity Equation. Tellus, 2 (1950), pp. 237-254.
[6] Hirsch, C.: Numerical Computation of Internal and External Flows. Vol.
1, John Wiley and Sons, 1988.
[7] Roache, P.J.: Computational Fluid Dynamics. Hermosa Publishers, Albu-
querque, USA, 1972.
[8] Roache, P.J.: Fundamentals of Computational Fluid Dynamics. Hermosa
Publishers, Albuquerque, USA, 1998.
[9] Kroll, N.; Jain, R.K.: Solution of Two-Dimensional Euler Equations -
Experience with a Finite Volume Code. DLR Research Report, No. 87-41,
1987.
[10] Radespiel, R.; Swanson, R.C.: Progress with Multigrid Schemes for Hyper-
sonic Flow Problems. ICASE Report No. 91-89, 1991; also J. Computa-
tional Physics, 116 (1995), pp. 103-122.
[11] Courant, R.; Friedrichs, K.O.; Lewy, H" Uber die partiellen Differenzen-
gleichungen der mathematischen Physik. Math. Ann., 100 (1928), pp. 32-74.
Transl.: On the Partial Difference Equations of Mathematical Physics. IBM
Journal, 11 (1967), pp. 215-234.
[12] Jameson, A.: Multigrid Algorithms for Compressible Calculations. Multi-
grid Methods II, Lecture Notes in Mathematics No. 1228, Springer Verlag,
New York, 1985.
[13] Van Leer, B.; Tai, C.-H.; Powell, K.G.: Design of Optimally Smoothing
Multi-Stage Schemes for the Euler Equations. AIAA Paper 89-1933, 1989.
[14] L5tstedt, P.; Gustafsson, B.: Fourier Analysis of Multigrid Methods for
General Systems of PDE. Report No. 129/1990, Dept. Scientific Comput-
ing, Uppsala University, Sweden, 1990.
Bibliography 371
[15] Blazek, J.; Kroll, N.; Radespiel, R.; Rossow, C.-C.: Upwind Implicit Resid-
ual Smoothing Method for Multi-Stage Schemes. AIAA Paper 91-1533,
1991.
[16] Blazek, J.: Methods to Accelerate the Solution of the Euler- and the Navier-
Stokes Equations for Steady-State Super- and Hypersonic Flows. Transla-
tion of DLR Research Report, No. 94-35, ESA-TT-1331, 1995.
[17] Tai, C.-H.; Sheu, J.-H.; van Leer, B.: Optimal Multistage Schemes for
Euler Equations with Residual Smoothing. AIAA Journal, 33 (1995), pp.
1008-1016.
[18] Tai, C.-H.; Sheu, J.-H.; Tzeng, P.-Y.: Improvement of Explicit Multistage
Schemes for Central Spatial Discretization. AIAA Journal, 34 (1996), pp.
185-188.
[19] Blazek, J.: Investigations of the Implicit L U-SSOR Scheme. DLR Research
Report, No. 93-51, 1993.
[20] Blazek, J.: A Multigrid L U-SSOR Scheme for the Solution of Hypersonic
Flow Problems. AIAA Paper 94-0062, 1994.
372 Chapter 10. Consistency, Accuracy and Stability
Chapter 11
Principles of Grid
Generation
9 structured, and
9 unstructured
grids. An example of structured grid for a civil aircraft [1], [2] is presented in
Fig. 11.1 and 11.2. For comparison, an unstructured surface and volume grid
for a similar configuration [3]-[6] is displayed in Fig. 11.3 and 11.4.
The structured as well as the unstructured grids have their specific advan-
tages and shortcomings, which we mentioned in Section 3.1. However, regardless
of the grid type, the main bottleneck is currently the quality of data being im-
ported from a CAD (Computer Aided Design) system into the grid generation
program. The surface description is usually transfered via a standard format like
IGES [7]. A direct transfer of CAD native data is rather rate [8]. The experi-
ence shows that this process can impair the accuracy of the data. Furthermore,
the surface representation in the CAD system itself is often imprecise. This
leads mostly to gaps, overlaps or discontinuities between neighbouring surface
patches. Such errors have to be eliminated before the surfaces can be discretised.
We speak in this respect of "CAD repair" [9], [10].
In the following, we shall present the basic methodologies applied for the
generation of structured (Section 11.1) as well as of unstructured grids (Section
11.2). Due to the restricted space, we can provide here only a brief descrip-
tion. We refer the reader to Ref. [11] or [12] for a deeper discussion of surface
modelling, structured and unstructured surface and volume grid generation. A
review of the development of grid generation can be found in Ref. [13].
373
374 Chapter 11. Principles of Grid Generation
11.1 S t r u c t u r e d Grids
The distinguishing feature of structured grids is that the grid points in the
physical space are mapped in an unique way onto a continuous set of three
integers i, j, k (one for each coordinate direction). The set of integers defines
what is called the computational space (see Fig. 3.2). The coordinates ~, U, ~ in
the computational space are related to i, j, k as follows
~--i/imax, i - - 0 , 1, 2, . . . , imax
U= j/jmax, j -- 0, 1, 2, . . . , jmax (11.1)
r k=0,1,2,.-.,kmax
This mapping implies that 0 < ~ < 1, 0 < ~ < 1, and 0 < ~ < 1. Neighbouring
grid points can be connected to form cubes in the computational and hexahedra
(quadrilaterals in 2D) in the physical space. Structured grid generation systems
discretise the boundary surfaces of the flow domain using quadrilaterals - termed
the surface g r i d - and fill the interior with hexahedra. The grid inside the
domain is named the volume grid.
The generation of a structured grid starts by distributing grid points along
boundary curves (boundaries of surface patches). The usual procedure is to
place the nodes more dense in regions with high curvature. Using the point
distribution on boundary curves, the surface grid can be generated. Based on
the surface grids which enclose the physical domain, we can finally construct
the volume grid. Thus, the common problem is how to generate a grid inside
the domain based on known boundary discretisation. This can be solved by two
different approaches:
9 hyperbolic equations.
Elliptic grid generation also guarantees a smooth grid in the entire domain.
Thus, high quality, boundary orthogonal grids can be generated. The downside
of the elliptic method is a much longer computing time as compared to alge-
braic or hyperbolic grid generation approaches. The method also suffers from
numerical difficulties.
Hyperbolic PDE's can also be utilised for the grid generation (Subsection
11.1.4). This technique generates the volume grid by marching between two sur-
faces in the direction of one particular computational coordinate. The marching
procedure is explicit, i.e., based on a known surface point distribution a new
layer is generated. A natural restriction of the hyperbolic grid generation is
that the shape of the outer grid boundary cannot be fully controlled. However,
this may represent no real problem like in the case of external flows. The hy-
perbolic grid generation can provide approximate grid orthogonality over the
entire domain. It is also computationally inexpensive.
Before we can start to generate any grid, we have to think about its topology.
This means, we have to decide how many grid blocks are necessary and how the
blocks should be ordered with respect to each other (by the way, this work may
take weeks to months in the case of a complex geometry). For each grid block,
we have to assign boundaries (or their parts) in the computational domain to
particular boundaries in the physical space (e.g., solid wall, farfield, etc.). The
appearance of the grid in the physical space will depend strongly on this assign-
ment. In practice, three standard single-block grid topologies are established.
They are named as the C-, H-, or the O-grid topology because in a plane view
the grid lines resemble the corresponding capital letter. A grid in 3D can be
described as a combination of two topologies. For example, the grid around a
wing usually consists of a C-grid in the flow direction (cf. Fig. 11.2) and of an
O-grid (or an H-grid) in the spanwise direction. In this case, we speak of a
C-O-grid. In the following, we shall discuss all three topologies in more detail.
C-Grid Topology
In the case of the C-topology the aerodynamic body is enclosed by one family
of grid lines, which also form the wake region (if present). The situation is
sketched in Fig. 11.5. As we can see, the lines ~ - const, start at the farfield
(~ - 0), follow the wake, pass the trailing edge (node b), wrap in clockwise
direction round the body, and finally continue to the farfield again (~ - 1). The
other family of grid lines (~ - const.) emanates in the normal direction from the
body and the wake. The part (segment) a-b of the grid line r / - 0 represents
a coordinate cut. This means that the segment a-b in the physical space is
mapped onto two segments in the computational space, namely a _< ~ _< b and
b' < ~ <_ a'. Hence, the nodes on the upper (b'-a') and the lower part (a-b) of
the cut are kept separately in the computer memory. The appropriate boundary
condition was presented in Section 8.7.
378 Chapter 11. Principles of Grid Generation
H - G r i d Topology
The H-grid topology is quite often employed in turbomachinery for grid genera-
tion in the bladed flowpath. The topology is displayed in Fig. 11.7. As one can
observe, the surface of the aerodynamic body is described here by two different
grid lines, i.e., 71 = 0 and r / = 1. On the contrary to the C-grid, one family of
grid lines (7 - const.) closely follows the streamlines (inlet located at ~ = 0,
outlet at ~ = 1).
At the first sight, there is no obvious coordinate cut. However, in turbo-
machinery the segments a-b and e - f are periodic (rotationally periodic in 3D)
to each other. The same is true for the segments c-d and g-h. This type of
boundary condition is treated in Section 8.8. Figure 11.8 shows an example of
a non-orthogonal H-grid between turbine blades.
O - G r i d Topology
We can see from the rendering of the O-topology in Fig. 11.9 that one family of
grid lines (U = const.) forms closed curves around the aerodynamic body. The
second family of grid lines (~ = const.) is spanned in radial direction between
the body and the outer boundary (farfield in this case). The complete boundary
line ~ = 0 represents the contour of the body (from a to at). The coordinate
cut is defined by the boundaries ~ = 0 (nodes a-c) and ~ = 1 (nodes a'-c') in
the computational space. The example in Fig. 11.10 shows a standard O-grid
used to simulate inviscid flow past an airfoil. A disadvantage of the O-topology
is the poor grid quality at a sharp trailing edge.
n
i = 1 n--0
M Q VJ, r
t ~ - E E fl}n(~7) (11.2)
j = 1 m--0 (~?~m
k=l /=0
Figure 11.8: Partial view of an H-grid between turbine blades (dotted line).
11.1. Structured Grids 381
The approach in Eq. (11.3) guarantees that in 2D all four boundary curves and
in 3D all six boundary faces are matched. The tensor products in Eq. (11.3) are
evaluated as follows
L M Q P omn~(~i, ?]J, ~)
Ulfr -- E E E E OLn~ ? O~m O~n
i = 1 j = 1 m=O n=O
- ~j % 0(0vm
j = l k = l /=0 m = 0
L M N R Q P olmn~(~i, ?~j, ~k)
EEEE E E
i--1 j = l k = l /=0 m = 0 n = 0
O~lO?~mO~n
More details on Boolean operators and tensor products related to grid generation
can be found in [15] or [16].
Various types of interpolation functions can be employed - linear, Lagrangian,
Hermite, spline, etc. The most widespread method is the linear TFI. It is ob-
tained by setting L = M = N = 2 and P = Q = R = 0 in Eqs. (11.2) and
(11.4). With this, the volume grid can be generated based solely on the given
point distribution on the six bounding surfaces (we set ~1 = 0, ~2 = 1, and
similarly for ~j and ~k). The blending functions of the linear T F I read [17]
~0(~)_ 1 - ~, ~0(~) _
z 0(~) - 1 - ~, z~ - (11.5)
~0(r _ 1 - r ~o(r _ r
O~11
0~ 0~ .
Elliptic equations for the generation of 2-D or surface grids are easily derived
from Eq. (11.6) by omitting the derivatives with respect to the ~-direction. We
obtain
02x 02x 02x 1 p_~
Ox Ox)
0/11 ~ - - 20/12 (~(~?~ -~- 0/22 (9?"--~ --- j2 + Q
(11.8)
02y 02y 02y 1 p~__~. ~
0/11 ~ - ~ -- 20/12 0~0~?~ + 0/22 0~?---"
~ --- j2 + Q "
0/11 -- ~ -~-
Ox Ox Oy Oy
0/12 = O~ (9?7 at- Oq~ OT] (11.9)
The elliptic equations (11.6) or (11.8) are usually discretised using second-
order central finite differences. The resulting set of linear algebraic equations
can be solved by any standard technique, e.g., by the Gauss-Seidel relaxation
scheme accelerated by multigrid. The values of the control functions are updated
in an outer iteration. In order to increase the robustness of the procedure, it is
advisable to carry out several iterations with the Laplace equations (P = Q =
R = 0), in order to smooth the initial (usually algebraic) grid [24].
The effect of the elliptic equations is demonstrated in Fig. 11.12. The grid
around an airfoil is generated first by using the TFI methodology from the
previous subsection. The result is shown at the top of Fig. 11.12. The algebraic
grid is then smoothed by the Laplace equation, i.e., Eq. (11.8) with P = Q = 0
is employed. As we can see, the Laplace smoothing improves the grid around
the leading edge of the airfoil. However, the spacing of the grid normal to the
surface cannot be controlled. This is only possible with the aid of the control
functions P(~, r/) and Q(~, r/), as it is presented at the bottom of Fig. 11.12. The
control functions also ensure that the grid lines are orthogonal to the surface of
the airfoil. Further examples of elliptically generated grids are shown in Figs.
11.1, 11.2 and 11.6, respectively.
Hyperbolic PDE's are suitable for grid generation in cases where the shape of
the outer boundary need not to be exactly controlled. In order to generate
the grid, an initial point distribution has to be prescribed. Then, the grid is
build by marching a given distance in the normal direction from a previous
386 Chapter 11. Principles of Grid Generation
Figure 11.12: Sequence of grids generated for the same airfoil (top to bottom):
algebraically by TFI, by the Laplace equation (P = Q = 0), and by the elliptic
equation (11.8).
11.1. Structured Grids 387
to a new layer of grid points. The application of hyperbolic PDE's for grid
generation was proposed by Starius [25], and by Steger and Chaussee [26]. A
recent discussion of the hyperbolic grid generation methodology can be found in
Ref. [12], Chapter 5. Various extensions and improvements of the scheme were
described in Refs. [27]-[32].
The hyperbolic equations for the generation of a volume grid read
=0
o{ o<
9 (11.10)
ov or
where ~"= Ix, y, z] T denotes the Cartesian coordinates of the grid points, ~, r/,
stand for the computational coordinates (Eq. (11.1)), and ft is the user-specified
cell volume. Furthermore, we assumed in Eq. (11.10) that the surface ~ = const.
represents the initial state. The first two relations in Eq. (11.10) represent
orthogonality conditions (~ = const, and 7/ = const, orthogonal to ~ = const.
plane). The last relation in Eq. (11.10) guarantees that the cell volume becomes
equal to f~. This opens the possibility to control the spacing between the grid
layers.
The 2-D formulation of the hyperbolic equations can be written as
Ox Ox Oy Oy
=0
o~ ov o~ ov
(11.11)
Ox Oy Oy Ox
0~ 0~ 0~ 0~
where f~ denotes now the prescribed cell area. The initial point distribution is
given here on the curve 7/= 0.
The hyperbolic grid generation equations (11.10) or (11.11) are discretised
with respect to the ~ and ~ coordinate (in 3D) or the ~ coordinate (in 2D)
using second-order central differences. The marching in the ~-direction (Eq.
(11.10)) or in the r/-direction (Eq. (11.11)) is carried out by a first-order implicit
scheme (ADI s c h e m e - see Subsection 6.2.3). In this way, the marching step
can be selected based only on the desired grid spacing. The implicit operator is
inverted using a standard tridiagonal solver. Artificial dissipation terms (second
differences) have to be added to the discretised equations in order to stabilise
the marching procedure. The solution of the hyperbolic equations (11.10) or
(11.11) is faster and usually also easier than that of the elliptic system from the
previous subsection.
388 Chapter 11. Principles of Grid Generation
9 Delaunay, or
9 advancing-front
method. Both approaches can also be combined together. Depending on the
base methodology, we speak either of advancing-front Delaunay [33] or of frontal
Delaunay schemes [34]-[36]. Besides the both standard techniques, there are also
rather new and interesting methods like the so-called bubble packing algorithm
[37]-[39]. Here, we shall describe only the basic features of the Delaunay and
the advancing-front method. A survey of both approaches is contained, e.g., in
Refs. [40], [41] and [12].
The Delaunay approach refers primarily to a particular way of connecting
grid points to form triangles in 2D and tetrahedra in 3D. The most important
feature of the Delaunay triangulation is that the circumcircle (or the circum-
sphere in 3D) of any triangle (tetrahedron) contains no other grid point. The
consequence of the empty circumcircle criterion is that in 2D the minimum an-
gle is maximised for all triangles (max-rain triangulation). Thus, a high grid
regularity can be achieved.
The idea of the advancing-front method is to generate the grid sequentially
element by element starting from a known boundary discretisation (surface
grid). The open surfaces of the elements constitute the front. New triangles
(tetrahedra) are constructed by placing points ahead of the front. In this way,
11.2. Unstructured Grids 389
the front moves through the domain until all cavities are filled. The point
placement is controlled by the so-called background grid. The advancing-front
approach offers the advantages of smooth point distribution and implicitly as-
sured boundary integrity. However, it is slower than the Delaunay method.
D 9
. . . . tl
F i g u r e 11.13: The Delaunay triangulation (left) and the Voronoj diagram (left
as dashed line, right as solid line).
390 Chapter 11. Principles of Grid Generation
(a) (b)
A A
/
v w
IL
launay grid is to insert sequentially nodes into an initial triangulation. The grid
is then locally retriangulated in order to fulfil the empty circumcircle (circum-
sphere) criterion. The incremental point-insertion strategy can be described by
the following steps:
2. Generate an initial Delaunay grid which covers all boundary nodes. This
can be either a triangulation of the boundary nodes itself (Fig. ll.14a)
or a surrounding quadrilateral (hexahedron in 3D), which is decomposed
into triangles (tetrahedra) as displayed in Fig. ll.14b.
3. If not already done, insert all boundary nodes into the initial triangulation
using a Delaunay-conforming technique.
4. Build a list of all triangles (tetrahedra) in the grid which violate some size
or quality measure. Order the list to start with the worst element.
8. Check the grid quality (Subsection 11.2.5). Smooth the grid and/or swap
edges if necessary.
11.2. Unstructured Grids 391
Alternatively, boundary recovery (step 7) can be carried out after the step 3.
As we can see, the core task of the Delaunay-grid generation is the insertion
of a new point into a valid triangulation (steps 3 and 5). Several algorithms
were proposed for this purpose. The most popular approaches are due to Green
and Sibson [50], Bowyer [51], and Watson [52]. We shall describe Watson's
algorithm further below.
In order to accomplish the steps 4 and 5, we have to assess the elements
with respect to some appropriate measure. This can be either the quality of the
element (minimum angle, aspect ratio - see [53], [54]), or the size (volume, edge
length) of the element. The quality of an element can be assessed directly from
its geometry. However, the size measure has to be formulated as a function of
the spatial position within the domain. Several approaches are possible:
9 specification of sources (point, line, etc.) inside the domain (see, e.g., [12],
Chapter 1, pp. 20-22).
Furthermore, the points can be placed with the aid of the advancing-front tech-
nique [34]-[36].
Watson's Algorithm
The point insertion and retriangulation method of Watson consists of the fol-
lowing steps [52]:
1. locate the element which contains the inserted point P (Fig. 11.15).
4. Form new elements by connecting the points on the boundary of the convex
cavity to the point P (right-hand side of Fig. 11.16).
This data structure allows for an efficient search of intersected elements in the
step 2. We start the search with the neighbours of the element which contains
the inserted point. Then, we proceed to the neighbours of these neighbours
and so on. We stop the search in a particular direction, if the circumcircle
(circumsphere) of the element is not intersected. The geometrical properties
of the Delaunay triangulation make sure that the neighbours of this element
are not intersected. It is also guaranteed that all elements being involved are
localised by this simple strategy [52], [60]. The numerical effort of Watson's
algorithm is of the order of N log(N), where N is the number of grid points.
This results in a very fast grid generation methodology.
2. Generate a list of edges (faces in 3D) which represent the front. Initially,
these are the boundary edges (faces). Sort the list in the order of increasing
edge (face) size [40]. This strategy helps to generate smoothly varying
elements.
3. Select the first edge (face) of the list and place a new point P0 in the
normal direction above the centre of the front edge (face). The situation
is displayed in Fig. 11.18. The distance d into the domain is governed by
the local values of the size-distribution function (see, e.g., [41]).
4. Define a circle (sphere) with radius r centred at the point P0. The radius
r depends on the local grid size.
5. Determine all points which are located within the circle (sphere).
. If there are no intersected points, generate a new element with the point
P0. Otherwise, order the intersected points with respect to their distance
to P0 (i.e., P1, P2, P3). Form elements with the points and accept the first
one which does not intersect any other element and satisfies given quality
measure(s).
. Delete the current front edge (face) and add the newly formed edges (faces)
to the list. Sort the list again.
9. Check the quality of the grid (see Subsection 11.2.5). Smooth the grid
and/or swap edges if required.
Different stages of the advancing-front process are shown in Fig. ll.19a-d for
an exemplary 2-D configuration.
The distribution of the element size in the domain is mostly governed by the
point density on the boundaries. Additionally, the distance d in step 3 can be
controlled by placing sources of various t y p e - point, line, cylinder, etc. - inside
the domain (see, e.g., [12], Chapter 1, pp. 20-22). The local element size can
be obtained from a background grid based on the quadtree (octree in 3D) data
structure [55]-[59]. Another possibility is to interpolate the sizes by employing
the Delaunay triangulation of the boundary nodes [34]-[36], [68], or to use a
Cartesian background grid [69]. The quadtree (octree) data structure can also
be used to search efficiently for nearby points (step 5) as well as to check for
possible intersections between the elements. A simple test for the intersection
11.2. Unstructured Grids 395
between fronts based on spring analogy was devised in [70] and [3]. A detailed
comparison of different search algorithms can be found, e.g., in [71].
The advantages of the advancing-front method as compared to the Delaunay
triangulation scheme are the implicitly retained boundary discretisation and
the better control over element size and grid smoothness. Furthermore, the
Delaunay approach is less robust (more sensitive to round-off errors) than the
advancing-front method. However, the point searching and intersection checking
algorithms require significant numerical effort. Today, a combination between
the advancing-front and the Delaunay methodology is often employed in CFD,
particularly in 3D [33]-[36], [72].
11.2.3 G e n e r a t i o n of A n i s o t r o p i c Grids
In the preceding Subsections 11.2.1 and 11.2.2, we described two methodolo-
gies for the generation of isotropie triangular or tetrahedral elements. This is
appropriate for the simulation of inviscid flows. However, an accurate solution
of the Reynolds-averaged Navier-Stokes equations requires high spatial resolu-
tion in the direction across boundary layers and wakes. Thus, in the case of
high Reynolds-number flows, isotropic grid would result in an excessively large
number of elements. Clearly, we have to employ anisotropie, high aspect-ratio
elements in the viscous flow regions. Basically, we can utilise quadrilaterals
(hexahedra or prisms in 3D), which allow quite naturally for stretching. This
leads to mixed-element grids which are very popular today (see next subsec-
tion). Of course, it is possible to decompose the hexahedra or prisms in order
to obtain a purely tetrahedral grid. On the other hand, we can generate di-
396 Chapter 11. Principles of Grid Generation
(a) (b)
(c) (d)
rectly stretched triangular (tetrahedral) grids. In any case, the grid generation
scheme should prevent the creation of obtuse triangles (tetrahedra) of the form
sketched in Fig. l l.20a. It was demonstrated in [73] that such elements lead to
an exceedingly high truncation error of the spatial discretisation. Therefore, it
is advised to generate right-angle elements like those displayed in Fig. l l.20b
and 11.20c. However, depending on the type of the control volume, right-angle
elements may also induce discretisation errors [74], [75] (eft Subsection 5.2.3).
Advancing-Layers Method
The specification of the stretching vector in the anisotropic Delaunay trian-
gulation is quite involved for geometrically complex domains. Therefore, the
so-called advancing-layers method proposed by Pirzadeh [79], [80], [3], [4] and
others [81], [82], is more widely utilised. The advancing-layers method is similar
398 Chapter 11. Principles of Grid Generation
3. Place grid points along the surface normals and form layers of quadrilateral
(prismatic in 3D) elements of increasing thickness.
5. Continue growing each stack of elements until the front intersects either
itself or another front, or until the cell aspect-ratio becomes close to unity.
The rest of the flow domain is then filled with isotropic tetrahedra. Usually,
the advancing-front methodology is employed, which starts from the surface
represented by the last layer of boundary cells. Figure 11.4 shows an example
of a grid generated using the above procedure.
In principle, two options exist for the evaluation of the normal vectors at
the boundary nodes (step 2). First, if the bounding surfaces are described by
(a) (b)
~r
(d)
(c)
(1-w) ~ t~ij
gj l "
_~ -- w ~(o) + E j 1/Ir~j l
ni (11.12)
In above Eq. (11.12), gi and gi (~ denote the new and the initial node-normals,
respectively. Furthermore, gj represents the normal vectors at the adjacent
nodes and Irqj} is the distance between the nodes i and j. The weighting factor
w depends on the surface curvature. It takes small values in concave regions
and large values in convex ones. The smoothing is applied separately for each
layer. A common procedure is to use the initial node-normals for the first few
layers and then to smooth increasingly the normal vector. The reason is that a
boundary orthogonal grid helps to reduce the discretisation error.
The size of the marching step is calculated based on a user-specified thickness
of the first layer and on stretching rate in the normal direction. Hence, for
example, the spacing can be obtained from [3]
where A n k represents the spacing of the k-th layer, An0 is the given first-
layer thickness, and 0.04 < a _< 0.2 and 0 <_ b < 0.07 stand for the stretching
parameters. The marching step Ank can be additionally modified at convex
and concave corners [88]. It is also possible to increase A n k in the direction of
growing boundary layer to keep y+ constant.
Each stage of the advancing-layers algorithm generates in 2D a layer of
quadrilaterals and in 3D a layer of prisms. Whereas the quadrilaterals can be
easily divided into two triangles (along the shortest diagonal), the decomposition
of prisms into three tetrahedra requires some care. The point is that faces
between the prisms have to be divided in the same way. An integer based
400 Chapter 11. Principles of Grid Generation
S t r e t c h e d Surface Grids
behind the use of either the mixed or the hybrid grids is to employ the best
suitable elements or grid topology in each flow region. The goals are to increase
the accuracy of the simulation and to reduce the computational costs. However,
the constraint is that the generation of such grid has to proceed in largely
automatic way. It has also to be sufficiently fast.
Hybrid grids are relatively seldom employed in practice. The problem is that
two different flow solvers are n e e d e d - one structured and one unstructured,
which have to be coupled. The effort required not only to write, but primarily
to update and to maintain two codes is significant. It is therefore necessary to
develop a special data and program structure. The classical application of hybrid
grids consists of the discretisation of the near-wall regions using structured grids
(hexahedral or possibly semi-structured prismatic grids), which allow for an
easier implementation of higher-order spatial schemes, implicit methods [105],
or multigrid [106], [107]. The rest of the domain is filled with an unstructured
grid, which offers considerable advantages in geometrically complex areas. The
idea of hybrid grids can also be utilised in the case of rotor-stator interaction,
like encountered in turbomachinery. Here, the interface between the structured
grids around the rotor and the stator consists of a slice of unstructured grid
(similar to the idea in [108]). The unstructured grid is re-generated with each
rotor movement. In this way, the accuracy and the conservation properties of
the discretisation scheme are retained across the interface.
402 Chapter 11. Principles of Grid Generation
Mixed grids may offer a larger flexibility than the hybrid grids, especially for
complex geometries. Mixed grids can also be more easily generated and refined.
However, the challenge is to develop data structures and numerical schemes
for the flow solver, which can handle varying element types in a seamless and
efficient way. We discussed some of the associated problems in Chapter 5.
In the following, we briefly present methodologies for the generation of mixed
prismatic/tetrahedral and prismatic/Cartesian grids.
In order to improve the grid quality, the edge swapping algorithm due to
Lawson [122], [123] can be used. Edge swapping is particularly suitable for
removing sliver elements from the grid [36].
404 Chapter 11. Principles of Grid Generation
Grid Smoothing
Another technique, which is used quite often in order to improve the grid reg-
ularity, is smoothing. Here, the grid nodes are moved by using an approximate
Laplacian operator
~d NA
~.?+1 __ r-~n_~_~ ~ ( ~j _ ~i), (11.14)
3=1
where NA denotes the number of nodes adjacent to i and w is the relaxation
factor (0.5-1.0 in the interior, 0.25 at points adjacent to the boundaries, 0.0 at
the boundary nodes - cf. Ref. [36]). The relation in nq. (11.14) has to be solved
iteratively. The point Gauss-Seidel scheme was preferred in [35] over the point
Jacobi scheme because of the better control over negative volumes.
Bibliography 405
Bibliography
[1] Brodersen, O.; Hepperle, M.; Ronzheimer, A.; Rossow, C.C.; SchSning,
B.: The Parametric Grid Generation System MegaCads. Proc. 5th Int.
Conf. Numerical Grid Generation in Comput. Field Simulations, NSF Eng.
Center, Mississippi, 1996, pp. 353-362.
[2] Brodersen, O.; Ronzheimer, A.; Ziegler, R.; Kunert, T.; Wild, J.; Hep-
perle, M.: Aerodynamic Applications using MegaCads. Proc. 6th Int. Conf.
Numerical Grid Generation in Comput. Field Simulations, Univ. of Green-
wich, London, England, 1998, pp. 793-802.
[6] Pirzadeh, S.: Unstructured Grid Generation for Complex 319 High-Lift
Configurations. Paper No. 1999-01-5557, World Aviation Congress and
Exposition, San Francisco, October 1999.
[7] Reed, K.: The Initial Graphics Exchange Specification (IGES) Version
5.1. September 1991; see: h t t p s : / / ~ . u s p r o , org.
[10] Gu~ziec, A.; Taubin, G.; Lazarus, F.; Horn, W.: Cutting and Stitching:
Efficient Conversion of a Non-Manifold Polygonal Surface to a Manifold.
IBM-RC-20935, IBM Research Div., Yorktown Heights, 1997.
[12] Thompson, J.F.; Soni, B.K.; Weatherill, N.P. (eds.): Handbook of Grid
Generation. CRC Press, Boca Raton, 1999.
[13] Baker, T.J.: Three Decades of Meshing; a Retrospective View. AIAA Pa-
per 2003-3563, 2003.
406 Chapter 11. Principles of Grid Generation
[17] Soni, B.K.: Two- and Three-Dimensional Grid Generation for Internal
Flow Applications of Computational Fluid Dynamics. AIAA Paper 85-
1526, 1985.
[18] Thompson, J.F.; Thames, F.C.; Mastin, C.W.: Automatic Numerical
Generation of Body-Fitted Curvilinear Coordinate System for Field Con-
taining Any Number of Arbitrary Two-Dimensional Bodies. J. Computa-
tional Physics, 15 (1974), pp. 299-319.
[19] Sorenson, R.L.: A Computer Program to Generate Two-Dimensional
Grids About Airfoils and Other Shapes by the Use of Poisson's Equation.
NASA TM-81198, 1980.
[2o] Hsu, K.; Lee, S.L.: A Numerical Technique for Two-Dimensional Grid
Generation with Grid Control at All of the Boundaries. J. Computational
Physics, 96 (1991), pp. 451-469.
[21] Thomas, P.D.; Middlecoff, J.F.: Direct Control of the Grid Point Dis-
tribution in Meshes Generated by Elliptic Equations. AIAA Journal, 18
(1980), pp. 652-656.
[22] Sorenson, R.L.: Three-Dimensional Elliptic Grid Generation About
Fighter Aircraft for Zonal Finite Difference Computations. AIAA Paper
86-0429, 1986.
[23] Thompson, J.F.: A General Three-Dimensional Elliptic Grid Generation
System Based on a Composite Block Structure. Comp. Meth. Appl. Mech.
and Eng., 64 (1987), pp. 377-411.
[24] Sonar, T.: Grid Generation Using Elliptic Partial Differential Equations.
DFVLR-FB 89-15, 1989.
[25] Starius, G.: Constructing Orthogonal Curvilinear Meshes by Solving Ini-
tial Value Problems. Numerische Mathematik, 28 (1977), pp. 25-48.
[30] Sethian, J.A.: Curvature Flow and Entropy Conditions Applied to Grid
Generation. J. Computational Physics, 115 (1994), pp. 440-454.
[31] Jeng, Y.N.; Shu, Y.L.: The Grid Combination Method for the Hyperbolic
Grid Solver in Regions with Enclosed Boundaries. AIAA Paper 95-0857,
1995.
[32] Jeng, Y.N.; Liou, Y.-C.: Hyperbolic Equation Method of Grid Generation
for Enclosed Regions. AIAA Journal, 34 (1996), pp. 1293-1295.
[34] Mfiller, J.D.; Roe, P.L.; Deconinck, H.: A Frontal Approach for Internal
Node Generation in Delaunay Triangulations. Int. J. Numerical Methods
in Fluids, 17 (1993), pp. 241-256.
[35] Mfiller, J.D.: On Triangles and Flow. PhD Thesis, The University of
Michigan, 1996.
[37] Bern, M.; Eppstein, D.: Quadrilateral Meshing by Circle Packing. Proc.
16th Int. Meshing Roundtable, Park City, Utah, Oct. 13-15, 1997, pp.
7-19.
[38] Liu, J.; Tang, R.: Ball-Packing Method: A New Approach for Quality
Automatic Triangulation of Arbitrary Domains. Proc. 16th Int. Meshing
Roundtable, Park City, Utah, Oct. 13-15, 1997, pp. 85-96.
[41] Weatherill, N.P.; Hassan, O.; Morgan, K.; Peraire, J.; Peiro, J.; Marchant,
M.J.: Unstructured Grid Generation. COSMASE: Short Course on Grid
Generation, Automation and Parallel Utilisation, Lausanne, Switzerland,
Sept. 23-27, 1996.
[42] Dirichlet, G.L.: Uber die Reduktion der positiven quadratischen Formen
mit drei unbestimmten ganzen Zahlen. Z. Reine Angew. Math., 40 (1850),
pp. 209-227.
[43] Voronoj, G.: Novelles applications de param~tres continus ~ la thdorie des
formes quadratiques. Z. Reine Angew. Math., 134 (1908).
[44] Delaunay, B.: Sur la sphere vide. Bull. Acad. Science USSR, Class. Science
Mat. Nat., 7 (1934), pp. 793-800.
[45] Holmes, D.G.; Snyder, D.D.: The Generation of Unstructured Meshes
Using Delaunay Triangulation. Proc. 2nd Int. Conf. on Numerical Grid
Generation in CFD, Pineridge, Swansea, Wales, UK, 1988, pp. 643-652.
[46] George, P.L.; Hecht, F.; Saltel, E.: Fully Automatic Mesh Generator for
3-D Domains of any Shape. Impact of Computing in Science and Eng., 2
(1990), pp. 187-218.
[47] Weatherill, N.P.; Hassan, O.; Marcum, D.L.: Compressible Flowfield So-
lutions with Unstructured Grids Generated by Delaunay Triangulation.
AIAA Journal, 33 (1995), pp. 1196-1204.
[48] Rebay, S.: Efficient Unstructured Mesh Generation by Means of Delaunay
Triangulation and Bowyer-Watson Algorithm. J. Computational Physics,
106 (1993), pp. 125-138.
[49] Baker, T.J.: Triangulations, Mesh Generation and Point Placement
Strategies. Proc. Conf. Frontiers of Computational Fluid Dynamics 1994,
Ithaca, New York, Nov. 1994.
[50] Green, P.J.; Sibson, R.: Computing the Dirichlet Tessellation in the Plane.
Computer Journal, 21 (1977), pp. 168-173.
[51] Bowyer, A.: Computing Dirichlet Tessellations. Computer Journal, 24
(1981), pp. 162-166.
[52] Watson, D.F.: Computing the n-Dimensional Delaunay Tessellation with
Application to Voronoj Polytopes. Computer Journal, 24 (1981), pp. 167-
172.
[53] Ruppert, J.: A Delaunay Refinement Algorithm for Quality 2-Di-
mensional Mesh Generation. J. Algorithms, 18 (1995), pp. 548-585.
[54] Shewchuk, J.R.: Triangle: Engineering a 2D Quality Mesh Generator and
Delaunay Triangulator. Proc. 1st Workshop Appl. Computational Geom-
etry, Philadelphia, USA, May 1996, pp. 124-133.
Bibliography 409
[55] Finkel, R.A.; Bentley, J.L.: Quad Trees, A Data Structure for Retrieval
of Composite Keys. Acta Informatica, 4 (1974).
[56] Samet, H.: The Quadtree and Related Hierarchical Data Structures. Com-
puting Surveys, 16 (1984), pp. 188-260.
[57] Samet, H.: The Design and Analysis of Spatial Data Structures. Addison-
Wesley, 1990.
[62] George, P.L.; Hecht, F.; Saltel, E.: Automatic Mesh Generator with Speci-
fled Boundary. Comp. Meth. Appl. Mech. and Eng., 33 (1991), pp. 975-
995.
[63] Weatherill, N.P.; Hassan, O.; Marcum, D.L.: Calculation of Steady Com-
pressible Flowfields with the Finite-Element Method. AIAA Paper 93-0341,
1993.
[64] Sharov, D.; Nakahashi, K.: A Boundary Recovery Algorithm for Delau-
nay Tetrahedral Meshing. Proc. 5th Int. Conf. Num. Grid Generation in
Comput. Field Simul., Mississippi State Univ., 1996, pp. 229-238.
[65] Peraire, J.; Vahdati, M.; Morgan, K.; Zienkiewicz, O.C.: Adap-
tive Remeshing for Compressible Flow Computations. J. Computational
Physics, 72 (1987), pp. 449-466.
[66] Peraire, J.; Peiro, J.; Formaggia, L.; Morgan, K.; Zienkiewicz, O.C.: Fi-
nite Element Euler Computations in Three Dimensions. Int. J. Numerical
Methods in Engineering, 26 (1988), pp. 2135-2159.
[67] LShner, R.; Parikh, P.: Three-Dimensional Grid Generation by the Ad-
vancing Front Method. Int. J. Numerical Methods in Fluids, 8 (1988), pp.
1135-1149; also AIAA Paper 88-0515, 1988.
[68] L5hner, R.: Progress in Grid Generation via the Advancing Front Tech-
nique. Engineering with Computers, 12 (1996), pp. 186-210.
410 Chapter 11. Principles of Grid Generation
[81] Hassan, O.; Probert, E.J.; Weatherill, N.P.; Marchant, M.J.; Morgan,
K.; Marcum, D.L.: The Numerical Simulation of Viscous Transonic Flow
Using Unstructured Grids. AIAA Paper 94-2346, 1994.
[82] Marchant, M.J.; Weatherill, N.P.: Unstructured Grid Generation for Vis-
cous Flow Simulations. Proc. 4th Int. Conf. Num. Grid Generation in
Comput. Fluid Dynamics an Related Fields, Swansea, UK. Weatherill,
N.P. et al. (eds.), Pineridge Press, 1994, pp. 151-162.
Bibliography 411
[83] Piegl, L.; Tiller, W.: The NURBS Book. 2nd edition, Springer, 1997.
[84] Whitmire, J.B.; Dollar, T.W.: Prismatic Grid Generation for NURBS
Bounded Triangulations. AIAA Paper 98-0219, 1998.
[85] Kallinderis, Y.; Ward, S.: Prismatic Grid Generation with an Efficient
Algebraic Method for Aircraft Configurations. AIAA Paper 92-2721, 1992.
[86] Kallinderis, Y.; Ward, S.: Prismatic Grid Generation for 3-D Complex
Geometries. AIAA Journal, 31 (1993), pp. 1850-1856.
[87] Kallinderis, Y.; Khawaja, A.; McMorris, H.: Hybrid Prismatic/Tetra-
hedral Grid Generation for Viscous Flows Around Complex Geometries.
AIAA Journal, 34 (1996), pp. 291-298.
[88] Sharov, D.; Nakahashi, K.: Hybrid Prismatic/Tetrahedral Grid Genera-
tion for Viscous Flow Applications. AIAA Paper 96-2000, 1996; also AIAA
Journal, 36 (1998), pp. 157-162.
[89] Connell, S.D.; Braaten, M.E.: Semistructured Mesh Generation for Three-
Dimensional Navier-Stokes Calculations. AIAA Journal, 33 (1995), pp.
1017-1024.
[90] Dompierre, J.; Labb5, P.; Vallet, M.-G.; Camarero, R.:How to Subdivide
Pyramids, Prisms and Hexahedra into Tetrahedra. Report CERCA R99-
78, 1999; also 8th Int. Meshing Roundtable, Lake Tahoe, CA, 1999.
[91] Miiller, J.D.:Quality Estimates and Stretched Meshes Based on Delaunay
Triangulations. AIAA Journal, 32 (1994), pp. 2372-2379.
[92] Marcum, D.L.: Generation of Unstructured Grids for Viscous Flow Appli-
cations. AIAA Paper 95-0212, 1995.
[93] Marcum, D.L.; Gaither, J.A.: Mixed Element Type Unstructured Grid
Generation for Viscous Flow Applications. AIAA Paper 99-3252, 1999.
[94] McMorris, H.; Kallinderis, Y.: A Combined Octree-Advancing Front
Method for Tetrahedra and Anisotropic Surface Meshes. AIAA Paper 96-
2442, 1996.
[95] McMorris, H.; Kallinderis, Y.:Octree-Advancing Front Method for Gene-
ration of Unstructured Surface and Volume Meshes. AIAA Journal, 35
(1997), pp. 976-984.
[96] Chen, H.; Bishop, J.:Delaunay Triangulation for Curved Surfaces. Proc.
6th Internat. Meshing Roundtable '97, October 13-15, 1997, Park City,
Utah, USA, pp. 115-127.
[97] Nakahashi, K.: FDM-FEM Zonal Approach for Computations of Com-
pressible Viscous Flows. Lecture Notes in Physics, 264 (1986), Springer
Verlag, pp. 494-498.
412 Chapter 11. Principles of Grid Generation
[98] Nakahashi, K.; Obayashi, S.: FDM-FEM Zonal Approach for Viscous
Flow Computations over Multiple Bodies. AIAA Paper 87-0604, 1987.
[99] Nakahashi, K.; Obayashi, S.: Viscous Flow Computations Using a Com-
posite Grid. AIAA Paper 87-1128, 1987.
[101] Shaw, J.A.; Georgala, J.M.; Peace, A.J.; Childs, P.N.: The Construc-
tion, Application and Interpretation of Three-Dimensional Hybrid Meshes.
Proc. 3rd Int. Conf. Num. Grid Generation in Comput. Fluid Dynamics
an Related Fields, Barcelona, Spain. Arcilla, A.S. et al. (eds.), North-
Holland, 1991.
[111] Nakahashi, K.: Marching Grid Generation for External Viscous Flow
Problems. Trans. Japan Society of Aerospace Sciences, 35 (1992), pp. 88-
102.
[112] Kallinderis, Y.: A New Finite-Volume Navier-Stokes Scheme on Three-
Dimensional Semi-Structured Prismatic Elements. AIAA Paper 92-2697,
1992.
[113] Kallinderis, Y.: Adaptive Hybrid Prismatic/Tetrahedral Grids. Int. J. Nu-
merical Methods in Fluids, 20 (1995), pp. 1023-1037.
[114] Melton, J.E.; Pandya, S.A; Steger, J.L.: 3-D Euler Flow Solutions Using
Unstructured Cartesian and Prismatic Grids. AIAA Paper 93-0331, 1993.
[116] Smith, R.J.; Leschziner, M.A.: Automatic Grid Generation for Complex
Geometries. Aeronautical Journal, 100 (1996), pp. 7-14.
[119] Hitzel, S.M.; Tremel, U.; Deister, F.; Rieger, H.: Complex Configuration
Meshing - An Industrial View and Approach. AIAA Paper 2003-4130,
2003.
[120] Rai, M.M.: A Conservative Treatment of Zonal Boundaries for Euler
Equation Calculations. J. Computational Physics, 62 (1986), pp. 472-503.
The accompanying CD-ROM contains the source codes of several 1-D and 2-D
flow solvers and grid generators. Provided are also input datasets and grids
for various 1-D and 2-D examples of flow cases. Furthermore, there are two
programs for the von Neumann stability analysis of explicit and implicit time-
stepping schemes. Finally, a graphical tool is provided for the visualisation and
printing of the results. In total, the CD-ROM comprises more than 60 MBytes
of source codes and data.
The aim of the software is to demonstrate how to translate the theoretical
principles of the computational fluid dynamics, which were presented in the
previous chapters, into a computer code. The programs should be conceived as
a basis for further experimentation and enhancements. The source codes are
provided under the terms of the GNU General Public License, which means that
they may be freely copied and re-distributed free of charge. See the file LICENSE
in one of the directories for more details.
The source codes of the flow solvers and grid generators are written in stan-
dard FORTRAN-77 language with the exception of REAL*8 statements and
few inline comments (! ...). However, this presents in general no problem to
recent FORTRAN-77 or even FORTRAN-90 compilers. The programs do not
contain any system calls or references to external libraries. The source codes are
kept as simple as possible, but still flexible enough. No a t t e m p t s were made to
optimise for the execution speed or the memory. Where applicable, vectors of
major variables (conservative variables, coordinates, metrics, residuals, etc.) are
dimensioned in the main program main. f and then passed to the subroutines
via parameter lists. The same holds also for the "dummy" vector alum, which is
employed to store temporary variables. This means that the dimensions of the
problem are to be set only in the main program, which has then to be recom-
piled. With a few exceptions, the source codes are organised in such a way that
there is just one subroutine or function per file.
415
416 Chapter 12. Description of the Source Codes
All grid, solution and convergence files are stored in a plain ASCII format.
The convergence and the solution files are written out in a form suitable for
visualisation with the program Vis2D, which is also contained on the CD-ROM.
The format of the convergence and solution files is always the same - there is one
column for each variable. The names of the variables are given in the header.
In the case of the solution files generated by the unstructured flow solver, the
indices of the nodes of each element are stored after the coordinates and the
flow quantities. The first column represents node 1, the second one node 2, etc.
The file format is described in detail in the documentation of Vis2D. Because of
its simple form, the format can be easily adapted for other visualisation tools if
necessary.
The directory structure on the CD-ROM consists of two highest-level direc-
tories m s w i n and unix. Both directories contain the same data, but in the first
case formatted for MS Windows 1, and in the second case for UNIX (also Linux
and Mac OS X). The CD-ROM itself is formatted according to the ISO-9660 file
system with Rock Ridge and Joliet extensions. The format is fully compatible
to UNIX, Linux, Windows and Mac OS X operating systems.
Within either the main mswin or u n i x directory, you will find the following
subdirectories:
The last remark concerns the convergence history. The convergence of all
flow solvers provided here is measured as the 2-norm of the difference of the
density variable from two consecutive time steps, i.e.,
A ( x ) - 1 + ~I(A 1 --
1 ) { 1 + cos for O <_ x <_ x t ~
Xthr
(12.2)
l(A2-
A ( x ) - 1 + -~ 1){ 1 - cos
1 -
-
Xthr
for X t h r < X ~ 1,
where X t h r denotes the location of the throat. The length of the nozzle is
supposed to be one. Furthermore, in Eq. (12.2) A1 represents the inlet area and
A2 the outlet area (see the sketch in Fig. 12.1). The area of the throat results
418 Chapter 12. Description of the Source Codes
A2
A1
A i+1/2
flow
ib2 imax
control
volume
F i g u r e 12.1: Grid and control volume for the 1-D Euler solver; points i = 1
and i = imax are dummy points.
from Eq. (12.2) to A* ( x = Xthr) = 1. The grid generated by this program serves
as an input to the quasi 1-D Euler solver from Section 12.5.
12.4 S t r u c t u r e d to U n s t r u c t u r e d Grid
Converter
The directory mswin\grid2du or unix/grid2du contains a program for the con-
version of 2-D structured grids into unstructured triangular grids. The program
divides each quadrilateral of the structured grid into two triangles by connecting
the diagonal nodes with the shortest distance. The triangulated grids can be
used as an input for the unstructured flow solver in Section 12.7.
ow
0---t- + - ~ x -- (~" (12.3)
The vectors of conservative variables, convective fluxes, and the source term
read
I~- puA
pEA
1 [ uA] [0]
, ff~- (pu 2 + p ) A
pHuA
, Q,- pdA/dx
0
, (12.4)
where A denotes the nozzle area. The total enthalpy H is given by the formula
(2.12), and the pressure results according to Eq. (2.29) from
The discretised equations are advanced in time using the explicit multistage
scheme (Subsection 6.1.1 or 6.1.2). The program uses local time-stepping (Sec-
tion 9.1) and the central implicit residual smoothing technique (Subsection
420 Chapter 12. Description of the Source Codes
9.3.1) for convergence acceleration. The source code can be found in the subdi-
rectory src, the input files and the results in the subdirectory run.
A second version of the flow solver employs the multigrid method from Sec-
tion 9.4 for convergence acceleration. The spatial and temporal discretisation
schemes are otherwise the same as above. The multigrid scheme uses the FAS
formulation for the solution on coarse grids and FMG to initiate the flow on the
finest grid. The source code is contained in the subdirectory srcmg, exemplary
input files can be found in the subdirectory runmg.
The boundary conditions at the inlet and the outlet are implemented in
characteristic variables as presented in Section 8.4. The concept of dummy
points, described in Section 8.1, is utilised for this purpose (see Fig. 12.1).
9 Coordinate cut
9 Inflow
9 Outflow
9 Injection
9 Line periodic
9 Solid wall
12.7. Unstructured 2-D Euler/Navier-Stokes Solver 421
9 Symmetry.
The implementation of the above boundary conditions closely follows the dis-
cussion in Chapter 8.
The four boundaries in the computational space can be divided into an
arbitrary number of segments. Each of the segments can be associated with a
different boundary condition. This approach is quite similar to the description
of block interfaces presented in Section 8.9. In fact, the program could be
relatively easily extended to multiblock grids. Definitions of the segments are
stored separately from the grid in the topology file (extension . top).
The definition of the face vectors SI and SJ (i.e., g . AS) employed in the
solver can be seen in Fig. 12.3. The face vectors are associated with the left and
the bottom face of the control volume VOL(I,J) (corresponds to fti,j). They
point outwards of the control volume. The face vectors of the remaining two
sides of the control volume are obtained as - S I ( I + l , J ) and - S J ( I , J + I ) . In
this way, we have to store only two face vectors for each control volume.
|
. . . . . r . . . . . i. . . . .
JM
JL . . . . ...i . . . . . .i
J2 . . . . 9...i . . . . . 4
!
!
|
|
|
. . . . . 1" . . . .
i
| i
|
| |
!
_ ...i . . . . . . . . .J . . . . . .i
- - - i- i i
i i i
i ! !
. . . . --.i . . . . .
| | |
| | |
- - "l . . . . --i . . . . . 1
i i i I I I i i i i
i i i I I i i i
. . . . . ~. . . . . -~ . . . . . L . . . . 2 . . . .
i i i / . . . . . . . 1. . . . . •i - - !| |
i i i i | ! | i | |
i i i i ! | ! ! !
i i i i i i i i |
0 1 2 Q 12 IL IM
Figure 12.2: Grid in the computational space for the structured 2-D Euler/
Navier-Stokes solver. There are two layers of dummy cells at each boundary
(dashed line). Numbers in circles denote the sides of the computational domain.
i,j+l i+l,j+l
I,J / I+l,J
SI(I,J) I I
VOL(I,J)
i,j I I / i+l,j
SJ(I,J)
F i g u r e 12.3: Control volume and face vectors for the structured 2-D Euler/
Navier-Stokes solver. Indices (I, J) denote the cell, indices (i, j) represent the
grid node.
12.8. Visualisation Tool 423
Bibliography
[1] Farin, G.E.: Curves and Surfaces for Computer Aided Geometric Design -
A Practical Guide. 3rd ed., Academic Press, Boston, 1993.
[2] Hoschek, J., Lasser, D.: Fundamentals of Computer Aided Geometric De-
sign. Wellesley, A.K. Peters Ltd., MA, 1993.
2http://www.opengroup.org/openmotif/downloads.html or http://www.motifzone.net
3see, e.g., http://cygwin.com
424 Chapter 12. Description of the Source Codes
F i g u r e 12.5: Demonstration of the use of second y-axis in Vis2D for the display
of convergence data.
Bibliography 425
Supposed the convective and viscous fluxes are continuous, the governing equa-
tions (2.19) can be transformed from integral to differential form by first apply-
ing Gauss's theorem. This leads to
:11,
where Fc and Fv denote the tensors of the convective and viscous fluxes, re-
spectively. Equation (A.1) can then be written for an arbitrary control volume
ft in the differential form as
OW (~c ) Q :A.2)
Ot + V " -F~ - .
In order to account for arbitrary body-fitted grids, we introduce a mapping
function between the Cartesian (x, y, z) and a curvilinear (~, 7, r coordinate
system (el. Fig. 3.2)
~=~(x,y,z,t)
v=v(z,y,z,t) (A.3)
r =r
With this, the differential form of the three-dimensional Navier-Stokes equations
(A.2) transforms into
P
pu
~ , _ j-1 pv . (A.5)
pw
pE
427
428 Appendix A. Appendix
pV1 p 89
pVlu + ~ p pV2u + ~TxP
gc,1 - - j-1 pV1 v + ~yp , Fc,2 - j-1 pV2v + ~TyP ,
pV1 w + ~zP pV2w + 71zp
pV1H pV2H
(A.6)
p 89
pV3u + r
Pc,3 -- J - 1 p V3v + 6,p ,
pV3w + (zP
pV3H
0
TIx Txx -~ T]y Txy -71-TIz Tx z
Fv,2 - j - 1 ~lx'ryx + ~TyTyy + 71zTyz , (A.7)
?']x T"zx --1- ?']y T"zy --[- ~ z T z z
?']xOx + T l y O y "1- T I z ~ z
0
r + Cy~~, + r
Fv,3-- j - 1
0
pf~,x
(~, j-1 flfe,y 9 (A.8)
Pf~,z
yl = ~ u + ~,V + ~zW
I12 = ~7~u + 7?yv + ~?zW (A.9)
v3=C~u + 6 v + r
A.1. Governing Equations in Differential Form 429
The components of the viscous stress tensor and of the thermal fluxes read
Ov
- 2U-S;z + A ( + + )
(OuO )
(A.10)
7-vz-hv-# -~z+
OT
(~x -- UTxx @ VTxy -Jr- WTxz -~- k
Ox
OT
Oy -- u'ryx + W-yv + wZyz + k Oy
OT
O z - UWzx + v%~ + Wrzz + k 0--~"
In the above Eq. (A.10), k stands for the thermal conductivity coefficient, # for
the coefficient of the dynamic viscosity, and A denotes the second viscosity co-
efficient (A = - ( 2 / 3 ) # according to Stokes's hypothesis). The diffusive thermal
fluxes can also be written in the following modified form
OT # Oc2
Ox ( 3 ' - 1)Pr Ox
OT # Oc2
k O--y = ( ~ / - 1)Pr Oy (A.11)
k O T __ # Oc2
Oz ( ~ / - 1)Pr Oz
with c representing the speed of sound and P r the Prandtl number. The deriva-
tives of the velocity components u, v, w and the temperature T in Cartesian
coordinates x, y, z can be expressed with the aid of the chain rule as derivatives
of ~, r/and ~. For example,
Ou Ou Ou Ou
(A.12)
Ou On Ou Ou
etc.
430 Appendix A. Appendix
( OyOz OyOz)
r]z- J 0r 0~ 0~ 0r
(o o ozox) (A.14)
r]z- J
(oxo o o )
0~ 0~ 0~ 0~
( Oy Oz Oz Oy)
~x - J O~ Or] 0~ 077
( Oz Ox Ox Oz)
~Y = J O~ Or] O~ Or]
( Ox Oy Oy Ox )
r - J O~ Or] O~ Or] "
It is important to see how the above metric terms from Eqs. (A.13), (A.14)
are related to geometrical quantities like the volume or the face vectors. Let us
for this purpose consider a 2-D structured grid, as it is sketched in Fig. A.1. We
want further assume that the ~-coordinate corresponds to the/-direction, and
the r]-coordinate to the j-direction, respectively. Then, the derivatives of the
Cartesian coordinates with respect to the curvilinear coordinates in Eq. (A.14)
can be approximated at point (i, j) as
1
[(Xi,j "-~ Xi+l,j) - (Xi,j -Jr-Xi-l,j)]
__-- 1 ( X i + l , j -- X i - - l , j )
(i + 1 / 2 ) - ( i - 1/2) 2
(A.15)
12 [(Yi,j --~ Yi+l,j) --(Yi,j "-~ Yi-l,j)] --_1 (Yi+l,j -- Yi-l,j)
(i + 1 / 2 ) - ( i - 1/2) 2
A.1. Governing Equations in Differential Form 431
and
1
[(Xi,j "-~ Xi,j+l ) - (Xi,j -t- Xi,j-1)]
_ 1 (xi,j+l - xi,j-1)
(j + 1/2) - ( j - 1/2) 2
(A.16)
1
Oy
_- ! (y ,j _
(j + 1/2) - ( j - 1/2) 2
Thus, using the above approximations of Eqs. (A.15) and (A.16), the formulae
in Eq. (A.14) become
Oy
~x- J ' - ~ ' ~ J S I
Ox
(A.17)
Oy
Ox
~?y -- J - ~ ,~ J S J ,
where ~I _ [S~ ' SI] y T denotes the average face vector in/-direction, and SJ -
( S Jx, Syg ) T the vector in j-direction, respectively (cf. Fig. A.1). The relationships
in Eq. (A.17) can also be expressed in the form
r
~J _ j - 1 | r/x
(A.18)
~ 1' LUy
432 Appendix A. Appendix
From the above we can see that the metric terms correspond to the components
of the face vectors in the finite volume scheme, divided by the determinant of
the coordinate transformation Jacobian J.
The question is now, what is the geometrical interpretation of j - l ? Using
Eq. (A. 13) which reads in two dimensions as
j - 1 = Ox Oy Ox Oy (A.19)
o~ o,7 orion'
and inserting the expressions Eq. (A.17) for the metric terms into Eq. (A.19),
it can be shown that
j-1 =2f~- 1~,. (A.20)
The volumes ft and f~* (with constant depth b=l) are displayed in Fig. A.1.
They are defined by the points (i+1/2, j), (i, j + l / 2 ) , (i-1/2, j), (i, j - l / 2 ) in the
case of f~, and by the grid nodes (i, j-l), (i+1, j), (i, j + l ) , (i-1, j) in the case
of ft*, respectively. It should be noted that on a rectangular grid j - 1 equals to
the dual control volume which was presented in Subsection 4.2.3.
The same derivations for the metric terms as above can be conducted in three
dimensions. The results are shown in Fig. A.2. The inverse of the determinant
of the transformation Jacobian ( j - i ) equals to twice the volume defined by the
grid nodes (i, j, k-l/2), (i+1/2, j, k), (i, j, k + l / 2 ) , (i-1/2, j, k), (i, j-l/2, k),
and (i, j + l / 2 , k). On a rectangular grid, this again corresponds exactly to the
dual control volume of Subsection 4.2.3.
where I/V* - J - 1 I ~ and the convective fluxes ffc,1/2/a are defined in Eq. (A.6).
The linearisation replaces the spatial derivatives of the fluxes by derivatives of
the conservative variables. For example,
OFc,1 OFc,10W
: (A.22)
The effect is that the spatial derivatives are now linear functions of the conserved
variables. Using the definition of the convective flux Jacobian from Eq. (A.65),
we obtain the quasilinear form of the Euler equations
j - 10W 0W 0W (~W
- - ~ -+-Ac, l - ~ -~-A c , 2 ~ -+-Ac,3W - 0. (A.23)
The Jacobian A~,~ is given by the formula (A.68) (or Eq. (A.66) in 2D) with
(n~, ny, n~) replaced by J - ~ ( ~ , ~y, ~z). The convective flux Jacobians Ac,2 and
A~,3 are defined in a similar way with derivatives of 7/and (, respectively. The
eigenvalues of the Jacobians determine the speed and the direction of propaga-
tion of waves (with convective and acoustic modes) through the flow domain.
Therefore, the eigenvalues determine the time step of explicit time-stepping
schemes. The eigenvalues and eigenvectors of the Jacobians also play an impor-
tant role in upwind spatial discretisation schemes, where the stencil is biased in
the direction of the wave propagation.
434 Appendix A. Appendix
2. Unsteady flow:
The governing equations are in this case hyperbolic in time. Of course,
the equations can be of different type in space. Hence, it then does not
matter whether the flow is locally subsonic or supersonic. Because of the
(partial) hyperbolic nature, it is necessary to specify an initial solution
which is then advanced in time.
the entire boundary (A, B, C). The boundary conditions can assume one of the
two following forms:
P
pu
I~- pv , (A.29)
pw
pE
where p, u, v, w, E denote the density, the Cartesian velocity components in the
relative frame, and the relative total energy per unit mass, respectively. The
relative total energy is given by
E c -4- [Vr [2 I?~e12 ?~2 ~_ v 2 ~_ w 2 ~d2 1rn 12
- = e + - (A.30)
2 2 2 2
A.4. Navier-Stokes Equations in Rotating Frame of Reference 439
Vr relative (rotating)
flame of reference
rn .1/.I "/~
absolute flame
of reference 1~otational
r axis
t
.I
.i
./
1
t
./
Y ~ I / / x
pV
puV + nzp
Fc - pvV + nyp (A.31)
pwV + nzp
pIV
with p being the static pressure, and nx, ny, nz representing the components
of the outward pointing unit normal vector of the surface 0~, respectively.
Furthermore,
I -h~ =H- I nl
2 2 2
(A.32)
where I stands for the rothalpy, H for the relative total enthalpy, and V for the
contravariant velocity, respectively. The rothalpy represents the total energy
content in a steadily rotating frame of reference.
The vector of the viscous fluxes Fv retains the same form as presented in
Eq. (2.23). Also the components of the viscous stress tensor remain formally
as given by Eq. (2.15). However, the source term Q is extended by the Coriolis
440 Appendix A. Appendix
0
Pf~,x
(~- peal (yea1 + 2W) -/- Pfe,y (A.33)
p Wl (Z Wl -- 2V) -~- Pfe,z
+ Oh
with Pfe being the body force per unit volume (in addition to Coriolis and
centrifugal forces), and qh being the time rate of heat transfer per unit mass,
respectively.
The transformed governing equations (A.28) are closed using thermodynamic
relations between the state variables. In the case of a perfect gas, the pressure
is computed from the formula
u2 + v2 + w2 - w 2 I~nl2] (A.34)
p- ( 7 - 1)p E - 2 '
where V denotes the ratio of the specific heat coefficients. Additionally, the
viscosity and the thermal conductivity coefficients have to be supplied as a
function of the state of the fluid.
A.5. Navier-Stokes Equations Formulated for Moving Grids 441
P
-, pu
W- pv , (A.36)
pw
pE
with F~ given by Eq. (2.21) and Vt being the contravariant velocity of the face
of the control volume. Hence,
Ox Oy Oz
Vt - g - g - n ~ - ~ + ny O7 + n~ 0-7' (A.38)
where j represents the grid velocity, and nx, ny, nz denote the components of
the outward facing unit normal vector of the surface Oft, respectively. Using
Eq. (2.21), the convective fluxes/FM can be written in the form
pVr
puVr + nxp
-Fy - pvVr + nyp , (A.39)
pwV~ + nzp
pHV~ + Vtp
where H stands for the total enthalpy and p for the static pressure, respectively.
Furthermore, V~ represents the contravariant velocity relative to the motion of
the grid, i.e.,
V,. = nxU + nyv + n~w - Vt = V - Vt. (A.40)
442 Appendix A. Appendix
The vector of the viscous fluxes Fv and the source term Q retain the same
forms as already presented in Eq. (2.23) and Eq. (2.25), respectively. The same
holds also for the components of the viscous stress tensor Eq. (2.15). On the
other hand, the Jacobian of the convective fluxes (Section A.9), its eigenvalues
(Eq. (A.84) or (A.88)) and hence the spectral radii are changed due to the grid
motion (Y is replaced by Vr in Eq. (4.53), (5.33) or (9.77)).
It was first pointed out by Thomas and Lombard [8] that besides the conser-
vation of mass, momentum and energy, the so-called G e o m e t r i c C o n s e r v a t i o n
L a w (GCL) must be satisfied in order to avoid errors induced by a deformation
of the control volumes [7], [9]-[11]. The GCL results from the requirement that
the computation of the control volumes or of the grid velocities must be per-
formed in such a way that the resulting numerical scheme preserves the state of
a uniform flow, independently of the deformation of the grid [11]. The GCL is
derived from the continuity equation. The equation for the mass conservation
(2.3), formulated for moving grids, reads
0--~ p da +
/o p ( V - Vt) d S -- O . (A.41)
The above Eq. (A.41) must hold also for the case of a uniform fluid velocity
(and hence V) and a constant density. Assuming that the control volume is
always closed, the integral over the contravariant velocity V is zero. Herewith,
we obtain the integral form of the GCL
0/o /;
-~ da - Vt d S - O. (1.42)
As we can see, the GCL relates the change of the control volume to the motion
of its faces. It is obvious that the GCL is automatically satisfied for such
moving grids, where the shapes of the control volumes do not change in time.
It is essential that the GCL in Eq. (A.42) is temporally discretised using the
same scheme as it is applied to the governing equations (A.35) in order to
obtain a self-consistent solution method. Furthermore, the GCL has to be
solved concurrently with the fluid equations. We shall demonstrate this on two
exemplary temporal discretisations.
Since the faces of the control volume ~ consist of convex facets, the total change
of the volume in Eq. (A.43) is equal to the sum of local changes at each facet. If
we consider now one particular facet m of the control volume, like it is sketched
in Fig. A.7, we can formulate the local GCL as
A.5. Navier-Stokes Equations Formulated for Moving Grids 443
Under the assumption the grid motion is linear in time and in space, the term
Af~m in Eq. (A.44) represents the volume ABCA'B'C' in Fig. A.7 swept out by
the facet during At. Since the local change of the control volume is known (in
general with a certain approximation in 3D), we can compute Vt AS, which is
needed for the evaluation of the convective fluxes TTM in Eq. (A.35), directly
from Eq. (A.44). The normal vector in Eq. (A.44) is defined as the arithmetic
average of the normals at t and t + At, i.e.,
(~, AS)n+ll2
m -_- ~1 [(/~ n s ) n q - 1 q - (/~ n S ) ~ n ] . (A.45)
It is used for the computation of the convective as well as the viscous fluxes in
Eq. (A.35).
When we employ the explicit multistage scheme from Section 6.1.1 for the
temporal discretisation of Eq. (A.35), the flow solution at a stage k will be given
by the relation
w(k)-w(~ ~~nq-1
~tn akAt [ NF
~"~nq-1 ~ (tiM _ / ~ ) m ASn~+1/2 - (~fY'
], (A.46)
m=l
where NF denotes the number of facets 1 of the control volume ft. The convective
and viscous fluxes as well as the source term are functions of the solution from
1note t h a t the n u m b e r of facets m a y be different from the n u m b e r of faces; this is especially
the case for the median-dual scheme on u n s t r u c t u r e d grids.
444 Appendix A. Appendix
the previous stage l/~z(k-1). Furthermore, the grid velocity is obtained from
in order to be consistent with the multistage scheme Eq. (A.46). Finally, the
normal vector is computed by Eq. (A.45).
The convective and viscous fluxes as well as the source term are in this case
functions of the new solution IY n+l. The grid velocity is computed in line with
the time integration scheme from
where the terms at the levels (n + 1/2) and ( n - 1/2) are obtained from Eq.
(A.45). The definitions in Eq. (A.49) and (A.50) make sure that the tempo-
ral discretisation remains of second order on a moving grid (compare to the
conditions given in Ref. [12]).
The vectors of the conservative variables (W*), of the convective fluxes (Fc,1/2/3),
and of the diffusive flux (Fv,2), respectively, are given by the relationships (A.5)-
(A.7). Furthermore, the source term (Q*) also remains in the form given by Eq.
(A.8). However, the components of the viscous stress tensor (Eq. (A.10)) and
of the thermal fluxes transform to
Ou ( Ou Ov Ow )
~xz-~z~-, ~zN+~ N
( ov
ryz - Tzy - It r]z-~ + r]y
OT
~)x - - U T x x @ V T x y -'~ W T x z nt- k r]x Or]
OT
0 v - UTyx + VTVV + WTyz + k r]v Or]
OT
O z - UTzx + VTzy + Wrzz + k r]z Or] "
446 Appendix A. Appendix
In the above formulae (A.52), the partial derivatives with respect to the Carte-
sian coordinates were approximated as
Ou Ou
Ox N
Ou Ou
~~% (A.53)
Ox ~
Ou Ou
etc.
Oy --~ '
in accordance with the TSL assumption.
A. 7. Parabolised Navier-Stokes Equations 447
the Navier-Stokes equations (2.19) can be simplified to a form called the Parabo-
lised Navier-Stokes (PNS) equations [23]. Then, the derivatives of the velocity
components and of the temperature with respect to the streamwise direction
can be dropped from the viscous stress terms. Furthermore, the components in
the streamwise direction of the viscous stress tensor ~ and of its work (~. g) can
be neglected in the viscous flux vector in Eq. (2.23).
In order to demonstrate the PNS approach, let us consider the differential
form of the Navier-Stokes equations written for a general curvilinear grid as
given by Eq. (A.4). Let us also assume that the streamwise direction corresponds
to the coordinate ~ and the cross-flow directions to the coordinates ~ and ~,
respectively. Then, the differential form of the 3-D PNS equations reads in a
curvilinear coordinate system (~, ~, ~)
Hence, the viscous flux in the streamwise direction (Fv,1) was assumed to be
zero. The partial derivatives of the Cartesian velocity components and of the
temperature, which appear in the viscous stress tensor and in the thermal fluxes
(A.10), are approximated as
Ou Ou Ou
~ r]~ + ~x
Ox N or
Ou Ou Ou
(A.55)
oy N
On Ou On
~z etc.
Oz N + ~z
within the PNS approach instead of using the exact formulae (A.12). The
definition of the conservative variables (A.5), the relations for the convective
fluxes (A.6), for the two remaining viscous fluxes (A.7), as well as for the source
term (A.8) remain all unchanged.
448 Appendix A. A p p e n d i x
where r is the coordinate in the radial direction. The vector of the conservative
variables consists of the four components
l~- pu (A.57)
pv
pE
with u, v being here the velocity components in the axial and the radial direction,
respectively. The vector of the convective fluxes is given by
-. p u V + n~p (A.58)
Fc - p v V + nrp '
pHV
where nx is the unit normal vector in the axial direction, nr in the radial direc-
tion, and the contravariant velocity V = n z u + nrv. The vector of the viscous
fluxes is defined as
I ~
p~ _ nxTzx + n~Tzr (A.59)
nx Trx ~- nr 7rr '
nxOz + nrOr
where
OT
~9~ = u T ~ + w ' ~ + k Ox
(A.60)
OT
e ~ - u r ~ + v r ~ + k Or
are the terms describing the work of the viscous stresses and of the heat con-
duction in the fluid. Finally, the source term reads
-~
Q- r
1
i 010
p-O~'OO " (A.61)
A.8. A x i s y m m e t r i c Form o f the Navier-Stokes E q u a t i o n s 449
The components of the viscous stress tensor are given by the relations
2#
TX x z 9 . g + 2p Ou
3 Ox
2# 9 . ~ + 2~ Ov
7-rr
3 Or
(A.62)
2#
7-00- 9 . ~ + 2~ ~-
3 r
~ -~ - ,
Ou
-SVr+ Ux
Ov )
with the divergence of the velocity
Ou 10(rv) Ou Ov V
v.~-~x~ = ~Ox
+ (A.63)
r Or -~r + - 'F
The boundary conditions at the symmetry line read
pv -- 0
(A.64)
Ou OvOT
= - ---" = O.
Or Or Or
It should be noted t h a t the volume 9t is the product of the area of the control
volume and an average radius r. Thus as we can see, the axisymmetric equations
(A.56) are like the 2-D Navier-Stokes equations, except for the multiplication
by the radius, the additional source term ( p - T o o ) / r , and the changed definition
of V 9~7.
450 Appendix A. Appendix
OF~
fi-c = 0 I ~ ' (A.65)
2-D F o r m u l a t i o n
The Jacobian matrix of the convective fluxes takes in two dimensions the fol-
lowing form [24]
fi, c - -
I -Vt
nxr - uV V - Vt -
n~ a3nxu nyu -
ny a2nxv
0 1
a2nx
(A.66)
nyr - vV nxV - a2nyU V - Vt - a3nyv a2ny .'
V(r - al) nxal - a2uV nyal - a2vV ",/V - Vt
where
al=VE-r
a2=,7-1
a3 = ~ - 2 (A.67)
V = nxu + nyV
r -
1 +
and nx, n y denote the Cartesian components of the unit normal vector ~ (Fig.
2.1). Furthermore, V stands for the ratio of specific heat coefficients and V
represents the contravariant velocity. The contravariant velocity of the face of
the control volume (Vt- see EQ. (A.38)) is set to zero for stationary grids.
3-D F o r m u l a t i o n
The expression for the convective flux Jacobian reads in three dimensions [24]
-Y t nx Try
nxr - uV V - Vt - a3nxu nyU - a2nxv
AC nyr - vV nxv - a2nyU V - Vt - a3nyV
nzr - wY nxW - a2nzU nyW - a2nzV
V(r - al) nxal - a2uV nyal - a2vV
(A.68)
nz 0
n z U -- a 2 n x W a2nx
n z V -- a 2 n y w a2ny
V - Vt - a3nzW a2nz
nzal - a2wV vV - Vt
A.9. Convective Flux 3acobian 451
a2=~'- 1
a3 = ~ / - 2 (A.69)
V =nxu+nyv+nzW
r - - 51( ' 7 - 1 ) ( u 2 + V2 + W 2 ).
In the above relations (A.68) and (A.69), respectively, nx, ny, and nz denote
the Cartesian components of the unit normal vector g (see Fig. 2.1). In the case
of stationary grids, we have to set Vt = 0.
452 A p p e n d i x A. A p p e n d i x
0F~
A v - 0I,V' (A.70)
where Fv is given by Eq. (2.23). In the following, we shall consider for simplic-
ity the Thin Shear Layer (TSL) approximation of the Navier-Stokes equations
only (cf. Subsection 2.4.3 and Section A.6). Furthermore, it is assumed that
the dynamic viscosity and the thermal conductivity coefficients are frozen with
respect to changes of the conservative variables and in space.
2-D F o r m u l a t i o n
The 2-D viscous flux Jacobian reads in curvilinear coordinates for the TSL
approximation [24]
0 0 0 0
Av-~
#
I 521 al0r
531 a20r
b41 b42
a20r -1)
a30r -1)
b43
0
0
a4Oc(p -1)
542 - - a 4 O o ( u / p ) - 521
(A.72)
b43 - - a 4 0 r - b31
al - ( 4 / 3 ) r + r
a2 - (1/3)r
a3 - r + (4/3)r
a4 - ( 7 / P r ) ( r + r .
In the above relations, # stands for the dynamic viscosity coefficient, 7 for the
ratio of specific heat coefficients and P r denotes the Prandtl number, respec-
tively.
A.IO. Viscous Flux Jacobian 453
If we discretise now the above term on structured grid using backward differ-
ences, we obtain at the mid-point ( i + 1 / 2 )
P ~+1 P i
[A22 AW2]i+1/2 = JLll/2 #i+1/2 (al)i+1/2 9 (A.74)
3-D F o r m u l a t i o n
The 3-D viscous flux Jacobian takes in curvilinear coordinates the following
form for the TSL approximation [24]
0 0 0 0 0
# 521 alOr -1) a20r -1) a30r -1) 0
Av-j b31 a20r a40r a50r -1) 0 , (A.75)
541 a30~(f1-1) a50~(f1-1) a60r 0
b51 b52 b53 b54 aTOr -1)
where
521 -- -alOr - a20r - a30r
and
al- (4/3)~ + ~ + r 2
a2 --(1/3)r
a3--(1/3)r
a5 -- (1/3)r (A.77)
a4- r 4-(4/3)r 2 4- r
+ +
a 7 - (7/Pr) (r 4- r +r .
It should be noted that the face area was included in Eq. (A.78) to reflect the
multiplication of the viscous fluxes with AS when the residual is c o m p u t e d - Fv
itself contains only the components of the unit normal vector. The discretisation
at the mid-point (i+ 1/2) then becomes
where we assumed A r - 1 due to the definition of ~I and SJ (see Fig. A.1 and
Equations (A.15), (A.16)).
A.11. Transformation from Conservative to Characteristic Variables 455
fi~ - T A ~ T -1 , (A.80)
where T-1 denotes the matrix of the left eigenvectors, T of the right eigenvectors
and Ar represents the diagonal matrix of the eigenvalues, respectively. The
__+ ._+
2-D Formulation
The matrix of the left eigenvectors of Ac appears as follows in two dimensions
[24]
(1 - r -2) a l u c -2
~ - 1 __ --(nxU- n y V ) p -1 rtyP -1
a2(r - cV) a 2 ( n x c - alu)
a2(r + cV) -a2(nxC + alu)
(A.82)
al v c - 2
- n x p -1
--ale-21
0
a2(nyc-alv) ala2
-a2(nyc+alv) ala2
The matrix of the right eigenvectors assumes the form [24]
I 1 0
T- ~p a~(~a3 a3
+ ~x~) aa(~- ~) 1 (A.83)
-~xP a3(~ + %~) a~(~ - n ~ )
r ~ P(%~ - ~x~) a3(a4 + ~V) a3(a4 - ~Y)
456 Appendix A. Appendix
A1 0 0 0
/~ _
I0
0
0
The following definitions apply in the above relationships
A2
0
0
0
A3 0
0 A4
0
(A.84)
a~ - 3 , - 1
a2 --
p~v~
a3 z
P
r c2
a4 --
3/-1 (A.85)
V --nxUff-nyV
r - ~ 1( 7 - 1 ) ( u 2 + v 2)
A1- A2 - V- Vt
A3-V-Vtq-c
A4-V-Vt-c.
3-D F o r m u l a t i o n
The matrix of the left eigenvectors of Ac becomes in three dimensions [24]
nxalW c - 2 -- n y p - 1 --nxalC -2
nyalW C - 2 -- n x p - 1 --nyalC -2
-2
nzalW c --nzalC -2 .
- - a 2 ( a l w - nzC) ala2
- - a 2 ( a l w + nzC) ala2
(A.86)
A. 11. Transformation from Conservative to Characteristic Variables 457
a3 a3
a3(~ + ~ ) a~(~- ~ )
a~(~ + ~ ) a3(~- ~ )
a3(~ + ~zC) a3(~ - ~z~)
a3(a4 + ~Y) a3(an - ~V)
(A.87)
The diagonal matrix contains the real eigenvalues
A1 0 0 0 0
_ 0 A2 0 0 0
A~ - 0 0 A3 0 0 . (A.88)
0 0 0 A4 0
0 0 0 0 A5
The following abbreviations were used
al - ~ / - 1
1
a2 =
pc v/2
P
a3 =cv/- ~
r 2
a4 --
7-1
r
a5 - 1 c2 (A.89)
r
a6 =
'7-1
V -nxU fl- n y V -F n z W
r - ~1( ~ - 1 ) ( ~ ~,+ v 2 + w 2 )
A1 - A 2 - A3 - V - Vt
A4-V-Vt §
As-V-Vt-c.
In the above relations Eqs. (A.86)-(A.89), 7 denotes the ratio of specific heat
coefficients, c the speed of sound, g - [nx, ny, nz] T the unit normal vector, and V
the contravariant velocity, respectively. Finally, Vt represents the contravariant
velocity of the face of the control volume as given by Eq. (A.38). In the case of
stationary grids, Vt has to be set to zero.
458 A p p e n d i x A. A p p e n d i x
A.12 G M R E S Algorithm
Consider the system of linear equations
q --~
A ~ - b. (A.90)
where x0 represents an initial guess and 2' is a member of the Krylov subspace
with r'0 - b - Ax0, and m being the dimension of/C. The parameter m is also
termed the number of search directions. The Generalised Minimal Residual
(GMRES) algorithm [27] determines 2' in such a way that the 2-norm of the
residual, i.e., --~
1. C o m p u t a t i o n of t h e o r t h o n o r m a l basis of/Cm
We employ the modified Gram-Schmidt procedure
r~o - ~ - A~0
vq - ~o/ I ~o
DO j - 1, m
-...,
~y+l - Agj
DO/- 1,j
h~,j - Vj+ l 9v i
v-~+l - ~j+l/hj+l,j
ENDDO
where hi,j denotes the coefficients of the upper Hessenberg matrix (i - line,
j - column). However, the matrix is extended by the dements hj+l,j. There-
fore, the dimensions becomes (m + 1) x m.
A.12. G M R E S Algorithm 459
2. G e n e r a t i o n of t h e u p p e r H e s s e n b e r g m a t r i x
- (m+l) xm
h1,1 hl,2 .-- hi,m-1 hl,m
h2,1 h2,2 -'- h2,m-1 h2,rn
9
0 h3,2 ". .
H;- 9 (A.94)
0 ". hm_l,m_ 1 hm- l~m
9 . o
9 9 "" hm,m- 1 h IYt ~Trt
0 0 ... 0 h m + l,rn _
It is used further below to formulate and solve the minimisation problem for
the residual (Eq. (A.93)).
3. M i n i m i s a t i o n of t h e r e s i d u a l
Z -- yjvj (A.95)
j=l
- - [ Y l , Y2, 9 1 4 9y m ] T 9 (A.96)
with
Vrn-- [Vl, v2, 9149149
V~rn] (A.98)
being a matrix with gj as columns 9 Let us introduce the notation
where ~' has ( r e + l ) elements. Using the definition of Eq. (A.99), we observe
that F0 - b ' - AS0 - I?m+l~'. Hence, we obtain for the residual Eq. (1.93)
=ll Fo - g l
(A.IO0)
-H* y)
460 Appendix A. Appendix
We employed the orthonormality of lgm+1 in the last step (this means v-~T. gj - 0
for i ~- j and v-~T. ,Tj - 1 for i - j). Therefore, the problem of the minimisation
of the residual can be simplified as
min
~'~tgm
II 6 - . (Wo + z-3 II- min tl g - / - } * ff II 9
~ E ~ '~
(A.101)
The solution of the minimisation problem can be obtained with the aid of the
Q-R algorithm which is described next.
4. Q - R a l g o r i t h m
Let us define/~m - Q- m H-*m with
(m+l) x (m+l)
/j-1
(A.103)
-sj cj _
Im_j
--*
II H~ff II - II -T U~y) II
(A.104)
=ll ff-RmVll,
where g - (~mg
_ denotes the transformation of the vector g (Eq. (A.99)). The
last line of Rm consists of zeros, _ therefore only the term gm+l is nonzero in the
row ( r e + l ) of the vector ( ~ - Rm if). If we denote the first m-components of
( j - / ~ m g) as pj (j - 1, . . . , m), then the norm in Eq. (A.104) becomes
I m
IIg -- gm+l + EP~ 9 (A.105)
j=l
The components yj results from the solution of the following system of linear
equations
. . . .
9
(A.107)
". Rm- 1,m- 1 . R m - 1,m Ym- 1 gm-
0 9' ' 0 Rm,m Ym gm
(A.108)
=llg-Rmfll
= Ig +ll.
This means that the actual residual can be easily determined as Igm+ll.
462 A p p e n d i x A. Appendix
A.13 Tensor N o t a t i o n
Expressions like coordinate (xi) or velocity components (vi) represent first-order
tensors. They have three components and thus correspond to vectors. Hence,
[VlVlVlVlV]
Second-order tensors consist of nine components and can be written as 3•
matrices, e.g.,
_ ~ 1 if i - j
(A.112)
[0 if i ~ j .
Bibliography
[1] Sommerfeld, A.J.W.: Partial Differential Equations in Physics. Academic,
New York, 1949.
[3] Hirsch, C.: Numerical Computation of Internal and External Flows. Vol.
1, John Wiley and Sons, 1988.
[8] Thomas, P.D.; Lombard, C.K.: Geometric Conservation Law and Its Appli-
cation to Flow Computations on Moving Grids. AIAA Journal, 17 (1979),
pp. 1030-1037.
[9] Tamura, Y.; Fujii, K.: Conservation Law for Moving and Transformed
Grids. AIAA Paper 93-3365, 1993.
[10] Lesoinne, M.; Farhat, C.: Geometric Conservation Laws for Flow Prob-
lems with Moving Boundaries and Deformable Meshes and their Impact on
Aeroelastic Computations. AIAA Paper 95-1709, 1995; also in Comp. Meth.
Appl. Mech. Eng., 134 (1996), pp. 71-90.
[11] Guillard, H.; Farhat, C.: On the Significance of the GCL for Flow Compu-
tations on Moving Meshes. AIAA Paper 99-0793, 1999.
[12] Geuzaine, P.; Farhat, C.: Design and Time-Accuracy Analysis of ALE
Schemes for Inviscid and Viscous Flow Computations on Moving Meshes.
AIAA Paper 2003-3694, 2003.
[13] Nkonga, B.; Guillard, H.: Godunov Type Method on Non-Structured Meshes
for Three-Dimensional Moving Boundary Problems. Comp. Meths. Appl.
Mech. Eng., 113 (1994), pp. 183-204.
464 Appendix A. Appendix
[14] Singh, K.P.; Newman, J.C.; Baysal, O.: Dynamic Unstructured Method for
Flows Past Multiple Objects in Relative Motion. AIAA Journal, 33 (1995),
pp. 641-649.
[15] Venkatakrishnan, V.; Mavriplis, D.J.: Implicit Method for the Computation
of Unsteady Flows on Unstructured Grids. J. Computational Physics, 127
(1996), pp. 380-397.
[16] Slater, J.W.; Freund, D.; Sajben, M.: Study of CFD Methods Applied to
Rapidly Deforming Boundaries. AIAA Paper 97-2041, 1997.
[17] Vierendeels, J.; Riemslagh, K.; Dick, E.: Flow Calculation in Complex
Shaped Moving Domains. AIAA Paper 97-2044, 1997.
[18] Koobus, B.; Farhat, C.: Second-Order Time-Accurate and Geometrically
Conservative Implicit Schemes for Flow Computations on Unstructured Dy-
namic Meshes. Comp. Meths. Appl. Mech. Eng., 170 (1999), pp. 103-130.
[19] Dubuc, L.; Cantariti, F.; Woodgate, M.; Gribben, B.; Badcock, K.J.;
Richards, B.E.: A Grid Deformation Technique for Unsteady Flow Com-
putations. Int. J. Numer. Meth. Fluids, 32 (2000), pp. 285-311.
[20] S0rensen, K.A.; Hassan, O.; Morgan, K.; Weatherill, N.P.: A Multigrid
Accelerated Time-Accurate Inviscid Compressible Fluid Flow Solution Al-
gorithm Employing Mesh Movement and Local Remeshing. Int. J. Numer.
Meth. Fluids, 43 (2003), pp. 517-536.
[21] Steger, J.L.: Implicit Finite Difference Simulation of Flows About Arbitrary
Geometries. AIAA Journal 17 (1978) 679-686.
[22] Pulliam, T.H.; Steger, J.L.: Implicit Finite Difference Simulations of 3-D
Compressible Flows. AIAA Journal 18 (1980) 159-167.
[23] Patankar, S.V.; Spalding, D.B.: A Calculation Procedure for Heat, Mass
and Momentum Transfer in Three-Dimensional Parabolic Flows. Int. J.
Heat Mass Transfer, 15 (1972), pp. 1787-1806.
[24] Pulliam, T.H.; Steger, J.L.: Recent Improvements in Efficiency, Accuracy,
and Convergence for Implicit Approximate Factorization Algorithms. AIAA
Paper 85-0360, 1985.
[25] Warming, R.F.; Beam, R.; Hyett, B.J.: Diagonalization and Simultaneous
Symmetrization of the Gas-Dynamic Matrices. Math. Comp., 29 (1975), p.
1037.
[26] Whitham, G.B.: Linear and Nonlinear Waves. Wiley, New York, 1974.
[27] Saad, Y.; Schulz, M.H.: GMRES: A Generalized Minimum Residual Algo-
rithm for Solving Nonsymmetric Linear Systems. SIAM J. Scientific and
Statistical Computing, 7 (1986), pp. 856-869.
Index
465
466 Index
V-Cycle, 315
Validation, 352
Van Albada limiter, 113, 116
Van Leer's flux-vector splitting, 101
Variational principle, 39
Vector of convective fluxes, 16
Vector of viscous fluxes, 16
Verification, 352
Virtual edges, 168
Viscous flux Jacobian, 190, 201,203,
205, 206, 209, 452
Viscous fluxes, 16, 118, 172
Viscous stress tensor, 9, 230