Introduction To Computational Fluid Dynamics
Introduction To Computational Fluid Dynamics
Introduction To Computational Fluid Dynamics
Fluid Dynamics
Adapted from notes by:
Tao Xing and Fred Stern
The University of Iowa
Outline
What
is CFD?
Why use CFD?
Where is CFD used?
Physics
Modeling
Numerics
CFD process
Resources
What is CFD?
use CFD?
Chemical Processing
HVAC&R
Hydraulics
Marine
Oil & Gas
Power Generation
Sports
Wing-Body Interaction
Appliances
Automotive
Biomedical
Chemical Processing
HVAC&R
Hydraulics
Marine
Oil & Gas
Power Generation
Sports
Automotive
Biomedical
Chemical Processing
External Aerodynamics
HVAC&R
Undercarriage
Aerodynamics
Hydraulics
Marine
Oil & Gas
Power Generation
Sports
Interior Ventilation
Engine Cooling 7
Biomedical
Chemical Processing
HVAC&R
Hydraulics
Marine
Oil & Gas
Power Generation
Sports
Spinal Catheter
Chemical Processing
HVAC&R
Hydraulics
Marine
Oil & Gas
Power Generation
Twin-screw extruder
modeling
Sports
Shear rate distribution in twinscrew extruder simulation
9
HVAC&R
Hydraulics
Marine
Oil & Gas
Power Generation
Sports
Mean age of air contours indicate
location of fresh supply air
Hydraulics
Marine
Oil & Gas
Power Generation
Sports
11
Marine
Oil & Gas
Power Generation
Sports
12
Appliances
Automotive
Biomedical
Chemical Processing
HVAC&R
Hydraulics
Marine
Power Generation
Sports
Flow of lubricating mud
over drill bit
13
Flow in a burner
Power Generation
Sports
Flow pattern through a water turbine.
Sports
15
Physics
CFD
16
Physics
Fluid Mechanics
Inviscid
Viscous
Laminar
Compressible
(air, acoustic)
Incompressible
(water)
Internal
(pipe,valve)
Turbulence
External
(airfoil, ship)
0
x
y
z
tutxuxxyuxyxzuzxyxpzxyyxzzxgx
Governing Equations
Continuity
Equation of motion
18
Navier-Stokes Equations
Claude-Louis Navier
C.L. M. H. Navier, Memoire sur les Lois du Mouvements des Fluides, Mem. de lAcad. d. Sci.,6, 398 (1822)
C.G. Stokes, On the Theories of the Internal Friction of Fluids in Motion, Trans. Cambridge Phys. Soc., 8, (1845)
D
tvpvg
utuxtyzuxxuxuxxyzuyyuyuxyyzzuzuzxuzzyxpzyp2xu22xxuzy2yu22yxzy2zu22zxuzygxgzy
2
Navier-Stokes Equations
(constant and )
20
uadtyyp
yxu0dydauyx2txyu2xy20,duguyypyy0aztguzyLC11x2yp2xuy2yy2zuygy
0IBn.tCegr
12Ldypg C
2
NavierStokes Example
FinalExpresion
uy21dypg(Lx-2)
Fluid
L
Laminar Flow
Static Parallel Plates
21
Modeling
22
23
Bulk Stream
x
U0
dy
y u y
y
Friction Velocity
u
y 0
25
Numerics / Discretization
Computational
27
uxi,ji1,jxi,jx2ui,j2x3ui,j6x2
Finite Differences
Finite difference
representation
Truncation error
Methods of Solution
Direct methods
Iterative methods
ui1,ji,jui,jx2ui,j2x23ui,j6x3
Numeric Solution
(Finite Differences)
jmax
j+1
j
j-1
i-1 i i+1
imax
29
2
n
2
n
afft((:x)x
2
x
xi,jn!
x)s0in.?2ff((xx))f(x)f0.9xx512 xi,j2
fE
(x0a.c2ts)olui0n.2for
c(0.os[)2
(09.8)]302E
)r
.o98075percnt
30
CFD process
Geometry
description
Specification of flow conditions and properties
Selection of models
Specification of initial and boundary conditions
Grid generation and transformation
Specification of numerical parameters
Flow solution
Post processing: Analysis, and visualization
Uncertainty assessment
31
Geometry description
Typical
approaches
simplifications
CAD/CAE integration
Engineering drawings
Coordinates include Cartesian
system (x,y,z), cylindrical system (r,
, z), and spherical system(r, , )
32
form
Because of focused application, research codes
often use non-dimensional variables.
33
34
steady/unsteady flow
Boundary
conditions
35
Grid generation
36
Grid Resolution
37
38
Grid transformation
y
o
Physical domain
Transformation
Computational domain
f f f
f
f
x
x
x x x
f f f
f
f
y
y
y y y
39
40
time
history of
residuals
The closer the
flow field to the
converged
solution, the
smaller the speed
of the residuals
decreasing.
Post-processing
Vorticity
Wall shear stress
Calculation of integral parameters: forces, moments
Visualization (usually with commercial software)
Simple X-Y plots
Simple 2D contours
3D contour carpet plots
Vector plots and streamlines (streamlines are the lines
whose tangent direction is the same as the velocity vectors)
Animations (dozens of sample pictures in a series of time
were shown continuously)
42
43
Post-Processing (example)
Pressure
contour and
velocity vectors .
Note the locations of
the highest and lowest
pressure regions.
44
Uncertainty assessment
45
CFD Example
Sulzer Chemtech
250 Y Plastic
Structured Packing
46
Geometry
CT > STL > CFD
CT = 0.322 mm
Min Resolution
Copy/Pasted 2x
Surface Wrapping
Adaptive Meshing
Tetrahedral Mesh
Polyhedral Mesh
47
Mess Dimensions
48
49
Velocity Map
50
51