cfd1 Intro
cfd1 Intro
CFD-1 ◮ Experiments provide useful data, but are often costly and
time-consuming. It can also be difficult to measure the details required:
T. J. Craft
◮ Measurement probes may disturb the flow excessively, and/or optical
George Begg Building, C41
access may not be convenient.
◮ Obtaining the correct parameter scaling may be difficult.
Reading:
◮ Reproducing some flow conditions safely (eg. explosions) may be
J. Ferziger, M. Peric, Computational Methods for Fluid difficult.
Dynamics
H.K. Versteeg, W. Malalasekara, An Introduction to ◮ Empirical correlations can be useful for simple problems – or first
Computational Fluid Dynamics: The Finite Volume
Method estimates – but are usually not available or applicable for complex
S.V. Patankar, Numerical Heat Transfer and Fluid Flow problems.
Notes: http://cfd.mace.manchester.ac.uk/tmcfd
- People - T. Craft - Online Teaching Material
CFD-1 2010/11 2 / 21
◮ The equations governing fluid flows are a set of coupled, non-linear ◮ Note the use of the word “approximations”: all CFD solutions have some
partial differential equations: error associated with them.
Continuity: ◮ CFD does not remove the need for experiments: numerical models need
∂ ρ ∂ ρ Ui to be validated to ensure they produce reliable and accurate results.
+ =0
∂t ∂ xi
◮ With the growth of available computing power it has become possible to
Momentum: apply CFD even to very complex flowfields, giving detailed information
∂ ρ Ui ∂ ρ Ui Uj ∂P ∂ ∂ Ui
about the velocity field, pressure, temperature, etc.
+ =− + µ
∂t ∂ xj ∂ xi ∂ xj ∂ xj ◮ The key to successful use of CFD is an understanding of where the
◮ Many real problems include additional terms and/or equations, governing errors come from; their implications, and how to ensure they are small
heat-transfer, chemical species, turbulence models, etc. enough to be acceptable in a particular application.
◮ Analytic solutions are known only for a few very simple laminar flow ◮ The main aims of this course are thus to:
cases. ◮ Give an understanding of the processes involved in approximating
◮ An alternative is to “solve” the governing equations numerically, on a differential equations by a set of algebraic (discretized) equations.
computer. ◮ Allow an appreciation of the accuracy and stability issues associated
◮ Computational Fluid Dynamics (CFD) is this process of obtaining with different approximations.
numerical approximations to the solution of the governing fluid flow ◮ Provide an understanding of how the resulting set of equations are
equations. solved, and how coupled sets of equations are handled.
CFD-1 2010/11 3 / 21 CFD-1 2010/11 4 / 21
◮ A number of commercial CFD codes are available (Fluent, Star-CD, The CFD Process
CFX,. . . ).
◮ Grid Generation
◮ These may appear “easy -to-use”, but to do so reliably requires a good
understanding of the above issues and of the numerical methods ◮ Structured, unstructured,. . .
employed by the programs. Only with this can one select appropriate
options for particular problems.
◮ Approximating the differential equations by a set of algebraic ones ◮ The discretized equations can be written in matrix form
linking the variable nodal values.
Ax = b
For example, a central difference
scheme might use: x is the vector of unknowns (the nodal variable values). The values
U U U
W P E in A and b depend on the discretization method adopted.
∂ 2 U (UE − UP )/∆x − (UP − UW )/∆x
≈
∂x2 ∆x ◮ Different methods can be employed to solve this set of equations
(usually in an iterative fashion).
◮ This process involves approximating derivatives, and often entails ◮ The choice of method depends on the particular type of problem,
interpolating variable values. form of the matrix A, etc.
◮ The methods employed for these approximations can affect both the
◮ Post-Processing
accuracy and stability of the numerical scheme.
◮ The result is a (large) set of algebraic equations.
◮ Experiments by Lienhart et al (2000). ◮ Near-field development of the wing-tip vortex off a NACA 0012 aerofoil at
10o incidence.
◮ A rear slope angle of 25o .
◮ Experiments by Chow et al (1994) show an accelerated core region.
◮ Linear and non-linear EVM’s, and stress transport schemes have been
tested (all with wall-functions over the wing surface).
◮ Adequate resolution of the downstream vortex requires grids of 5-6M
cells (even with wall-functions on all walls).
Cp
−0.1 −0.05 0.0 0.05 −0.1 −0.05 0.0 0.05
z/c z/c
Non−linear
Kok k− k− TCL
TCL 0.0
−0.1 −0.05 0.0 0.05 −0.1 −0.05 0.0 0.05
−0.1 −0.05
z/c
0.0 0.05 −0.1 −0.05
z/c
0.0 0.05
◮ TCL scheme shows good
agreement with the limited
◮ Fine downstream grid required to resolve vortex development.
available data.
◮ Advanced stress transport scheme (TCL) does capture the flow
development.
CFD-1 2010/11 13 / 21 CFD-1 2010/11 14 / 21
◮ The second is the accuracy question that will addressed in most detail in
this course. Different approximation schemes and grid arrangements can
have a significant effect on the accuracy of the solution.
◮ Most CFD schemes employ an iterative solution procedure to solve the ◮ In general, there is often a trade-off between accuracy and stability.
resulting system of discretized algebraic equations. Stability in this
context refers to the convergence (or otherwise) of this process. ◮ A numerical scheme that is very diffusive, for example, can be very stable
because it is effectively adding too much “viscosity” to the problem.
◮ In time-dependent problems stability refers to whether the method
produces a bounded solution (assuming the exact solution should remain ◮ However, by doing so it may be smoothing out steep gradients, and will
bounded). not, therefore, be very accurate.
◮ A stable scheme thus ensures that small errors (which inevitably appear ◮ Understanding these effects, and how to get the right balance between
in a numerical solution) do not get magnified. the two, is a crucial aspect of CFD.
◮ Assessment:
◮ Three hour examination in January (80%)
◮ Reports on lab exercises (20%)
CFD-1 2010/11 21 / 21