CFD Notes
CFD Notes
com
10/9/2007
Chapter 1
Introduction
What is CFD?
www.Vidyarthiplus.com
www.Vidyarthiplus.com
10/9/2007
Aerospace
used?
Aerospace
Automotive
Biomedical
Chemical
Processing
HVAC
Hydraulics
Marine
Oil & Gas
Power Generation
Sports
Biomedical
F18 Store Separation
Automotive
www.Vidyarthiplus.com
10/9/2007
www.Vidyarthiplus.com
Aerospacee
Automotive
Biomedical
Chemical
Processing
HVAC
Hydraulics
Marine
Oil & G
Gas
Power Generation
Sports
Hydraulics
HVAC
Streamlines for workstation
ventilation
Sports
Aerospace
Automotive
Biomedical
Chemical Processing
HVAC
Hydraulics
Marine
Oil & Gas
Power Generation
Sports
Oil & Gas
Flow of lubricating
mud over drill bit
Power Generation
Flow around cooling
towers
www.Vidyarthiplus.com
www.Vidyarthiplus.com
10/9/2007
COMMERCIAL SOFTWARE
The market is currently dominated by four codes:
1) PHOENICS
2) FLUENT
3) FLOW3D
4) STAR
STAR-CD
CD
www.Vidyarthiplus.com
www.Vidyarthiplus.com
10/9/2007
CFD process
Purposes of CFD codes will be different for different
applications: investigation of bubble-fluid
interactions for bubbly
y flows,, studyy of wave induced
massively separated flows for free-surface, etc.
Depend on the specific purpose and flow conditions
of the problem, different CFD codes can be chosen
for different applications (aerospace, marines,
combustion, multi-phase flows, etc.)
Once purposes and CFD codes chosen,
chosen CFD
CFD
process is the steps to set up the IBVP problem
and run the code:
Physics
Mesh
Solve
Reports
PostProcessing
Select
Geometry
Heat Transfer
ON/OFF
Unstructured
(automatic/
manual)
Steady/
Unsteady
Forces Report
(lift/drag, shear
stress, etc)
Contours
Compressible
ON/OFF
Structured
(automatic/
manual)
Iterations/
Steps
XY Plot
Vectors
Flow
properties
Convergent
Limit
Verification
Streamlines
Viscous
Model
Precisions
(single/
double)
Validation
Boundary
Conditions
Numerical
Scheme
Geometry
Parameters
Domain Shape
and Size
Initial
Conditions
www.Vidyarthiplus.com
www.Vidyarthiplus.com
10/9/2007
1)
Pre-processor
Provides the input of the problem and transforms
this input in a form suitable for use by the solver.
Preprocessing involve:
a)
www.Vidyarthiplus.com
www.Vidyarthiplus.com
10/9/2007
b) Grid Generation
Grids can either be structured
structured
(hexahedral) or unstructured
(tetrahedral). Depends upon type of
discretization scheme and application
Scheme
Finite differences: structured
Finite volume or finite element:
structured or unstructured
Application
Thin boundary layers best
unstructured
resolved with highly-stretched
structured grids
Unstructured grids useful for
complex geometries
Unstructured grids permit
automatic adaptive refinement
based on the pressure gradient,
or regions interested (FLUENT)
2) SOLVER
There are three basic numerical solution techniques:
a) Finite difference methods
b) Finite element methods
c) Spectral methods
All of these numerical methods perform the following steps:
Approximation of the unknown flow variables by means
of simple functions.
functions
Discretisation by substitution of the approximations into
the governing flow equations and subsequent
mathematical manipulations.
Solution of the algebraic equations.
www.Vidyarthiplus.com
www.Vidyarthiplus.com
10/9/2007
Di
Discretise
i the
h governing
i differential
diff
ti l equations
ti
directly; e.g.
0=
u v ui +1, j ui 1, j vi , j +1 vi , j 1
+
+
2 x
2y
x y
( x) = S ( x)
where S is the shape function.
The finite element method is popular in solid mechanics.
c) Spectral Methods
Approximate the unknowns by means of
Fourier
F
i S
Series
i
Or series of Chebysev polynomials.
www.Vidyarthiplus.com
www.Vidyarthiplus.com
10/9/2007
, within a control
volume with
convection into
due to
+
diffusion into the
control volume
Net rate of creation
+ of inside the
control volume
www.Vidyarthiplus.com
www.Vidyarthiplus.com
10/9/2007
3) Post Processor
The leading CFD packages are now equipped with
versatile data visualization tools. These include:
www.Vidyarthiplus.com
10
www.Vidyarthiplus.com
10/9/2007
www.Vidyarthiplus.com
11
www.Vidyarthiplus.com
10/9/2007
Vorticity z
Eddy viscosity
www.Vidyarthiplus.com
12
www.Vidyarthiplus.com
10/9/2007
Streamwise velocity
Zoom in
www.Vidyarthiplus.com
13
www.Vidyarthiplus.com
10/9/2007
= x2 + y2 + z2
1 2
p
2
3D Iso-surface plots: Q criterion
Second eigenvalue of
Q=
1
(ij ij Sij Sij )
2
ij = (ui , j u j ,i ) 2
Sij = (ui , j + u j ,i ) 2
www.Vidyarthiplus.com
14
www.Vidyarthiplus.com
10/9/2007
Post-Processing (streamlines)
Streamlines (2D):
Post-Processing (Animations)
Q=0 4
Q=0.4
www.Vidyarthiplus.com
15
www.Vidyarthiplus.com
10/9/2007
www.Vidyarthiplus.com
16
www.Vidyarthiplus.com
10/9/2007
Boundedness:
is crucial for stability and requires that in a linear
problem without sources the solution is bounded by
the maximum and minimum boundary values of the
flow variable.
Transportiveness
is a property that accounts for the directional
property of convection terms.
in co
convection
vect o pphenomena
e o e a a po
pointt oonly
y eexperiences
pe e ces
effects due to changes at upstream locations.
a finite volume scheme should consider the relative
strength of diffusion to convection.
www.Vidyarthiplus.com
17