CFD Lecture Notes
CFD Lecture Notes
Numerically: CFD
Computational
Fluid
Dynamics
What is CFD?
Virtual Flow
Laboratory
What is CFD?
Troubleshooting
Redesign
CFD Applications
CFD Applications – Automotive
Aerodynamics
Brake cooling
Climate and Comfort
control
Engine flow and
combustion
Flow induced noise
Fuel systems
Power train
Rotating machinery
CFD Applications – Aerospace & Defence
1
CFD Applications – FSI
Interaction between
complex fluid flow
and complex
structural and/or
thermal behavior
Displacement,
Temperature,
boundary velocity
Structural CFD
analysis analysis
Pressure,
Heat Flux,
HTC
CFD Applications – Turbo machinery
Fan
Blower
Turbine
Boilers
Burners
Coal Handling
Combustors
Duct flows
Hydro power
Silencers
Wind boxes
CFD Applications – Oil and Gas
Burners
Furnaces
Deep water
Technology
Drilling
Downhole analysis
Emission control
Offshore rigs
Pipeline flow analysis
Oil spill clean up
CFD Applications – Chemical
Combustion
Filtration
Fluid Handling
Heat and Mass
Transfer
Pumps
Reactions
Refining operations
Waste handling
Fluidized bed
coater Water treatment
CFD other Applications
Biomedical
Healthcare and Pharmaceutical
Electronics
Marine
Glass processing
Home and Security
Environmental and Water quality
Metals, Minerals and Mining
Sports Equipment
Experiments Vs Simulations
Experiments Vs Simulations
Expensive Cheaper
Slow Fast
Sequential Parallel
Single- Purpose Multi- Purpose
Pre-Processing
Analysis
Post-Processing
Pre-Processing
Pre-Processing
Creation of Geometry
Grid generation
Selection of the physical and chemical phenomena
that need to be modeled
Definition of fluid properties
Specification of appropriate boundary conditions
Pre-Processing - Geometry
Selection of an
appropriate
Cross sectional view of the 3D coordinate
Supersonic intake Determine the
domain size and
shape
Simplifications, if
any
Pre-Processing – Grid Generation
Cells/ control
volumes/ elements
Grid/ Mesh
Pre-Processing – Grid Generation
tetrahedron pyramid
triangle
hexahedron
prism or wedge
quadrilateral
Pre-Processing – Grid Generation
air fuel
Pre-Processing – Grid Generation
Number of cells
Computer memory
tet
mesh
hex
mesh
Steady/ Unsteady
Combustion
air
fuel
HSTDV
Flow through Backward Facing Step
Laminar flow
Smooth
Steady
No eddies
No swirl
Transition to
Turbulent flow
occurs at Re >
2300
Boundary layer over a flat plate
Re = 60000 at point A
Re = 5 x 105 at point B
Pre-processing – Selection of material
properties
Fluid/ Solid
Density
Specify capacity
Thermal conductivity
Viscosity
Typical flow boundary conditions
Oldest Method
Easiest Method for simple Geometries
Differential equations are converted into difference
expressions
Not suitable for complex flows
Ti1 Ti
or
dx x x
i-1 i i+1
Finite Volume Method (FVM)
Packages:
ANSYS
ABACUS
Analysis
Conserved equations solved iteratively
Convergence is reached when
Changes in the solution variables from one iteration to
the next are negligible
Overall property conservation is achieved
Accuracy depends on
Accuracy of physical model
Grid resolution
Problem setup
Post-Processing
Visualization
Visualization tools
Grid plot
Vector plot
Contour plot
Stream line and path line tet
mesh
Isosurface hex
mesh
XY plots
Animations
wedge mesh
Visualization tools
Grid plot
Vector plot
Contour plot
Stream line and path line
Isosurface
XY plots
Animations
Post-Processing
Visualization tools
Grid plot
Vector plot
Contour plot
Stream line and path line
Isosurface
XY plots
Animations
Visualization tools
Grid plot
Vector plot
Contour plot
Stream line and path line
Isosurface
XY plots
Animations
Post-Processing
Visualization tools
Grid plot
Vector plot
Contour plot
Stream line and path line
Isosurface
XY plots
Animations
Visualization tools
Grid plot
Vector plot
Contour plot
Stream line and path line
Isosurface
XY plots
Animations
Post-Processing
Visualization tools
Grid plot
Vector plot
Contour plot
Stream line and path line
Isosurface
XY plots
Animations
Numerically reporting tools
Flux balances
Surface integrals
Volume integrals
Averages
Forces and moments
CFD Process
Geometry Physics Mesh Solve Reports Post-
Processing
Boundary Numerical
Conditions Scheme
Step - 1
Geometry Physics Mesh Solve Reports Post-
Processing
Select
Geometry
Geometry
Parameters
Domain
Shape and
Size
Step - 2
Geometry Physics Mesh Solve Reports Post-
Processing
Heat
Transfer
ON/OFF
Compressible
ON/OFF
Flow
properties
Viscous
Model
Boundary
Conditions
Initial
Conditions
Step - 3
Geometry Physics Mesh Solve Reports Post-
Processing
Unstructured
Structured
Step - 4
Geometry Physics Mesh Solve Reports Post-
Processing
Steady/
Unsteady
Iterations/
Steps
Convergent
Limit
Precisions
Numerical
Scheme
Step - 4
Geometry Physics Mesh Solve Reports Post-
Processing
Steady/
Unsteady
Iterations/
Steps
Convergent
Limit
Precisions
Numerical
Scheme
Step - 4
Geometry Physics Mesh Solve Reports Post-
Processing
Steady/
Unsteady
Iterations/
Steps
Convergent
Limit
Precisions
Numerical
Scheme
Step - 4
Geometry Physics Mesh Solve Reports Post-
Processing
Steady/
Unsteady
Iterations/
Steps
Convergent
Limit
Precisions
Numerical
Scheme
Step - 5
Geometry Physics Mesh Solve Reports Post-
Processing
Forces
Report
XY Plot
Verification
Validation
Geometry Physics Mesh Solve Reports Post-
Processing
Contours
Vectors
Streamlines
Summary
Convective Derivative –
Local Derivative – physically the time rate of
physically the time rate change due to the movement of
of change at a fixed the fluid element from one
point location to another in the flow
field where the flow properties
are spatially different
Divergence of Velocity
It is physically time rate of change of the volume of the
moving fluid element, per unit volume
Assumptions in deriving governing equations
Continuum
Analysis at macroscopic length scale
Molecular structure of matter and molecular motions
may be ignored
Behavior of fluid expressed in terms of macroscopic
properties – Pressure, Velocity, Density, Temperature
and their space and time derivatives
The values are average over suitably large numbers of
molecules
Assumptions in deriving governing equations
A Fluid particle or point in a fluid is the smallest possible
element of fluid whose macroscopic properties are not
influenced by individual molecules
The element under
consideration is so small
that fluid properties at the
faces can be expressed
accurately enough by
means of the first two
terms of a Taylor Series
Turbulent Flow and its Modeling
Examples:
Flow around cars, aeroplanes and buildings
Boundary layers and wake around and afterbluff
bodies such as cars, aeroplanes and buildings
Flow and combustion in IC engines, gasturbines,
combustors
Air movements in rooms
Flow around chimney
Why to study Turbulence?
Examples:
ū - Mean velocity
u’(t) -Fluctuating
Reynold’s Experiment
Laminar
Flow Turbulent Flow
Re < 2000
Maintains Stability Dye filament explode
Mixing is molecular Rapidly mix across the
tube
Concentration
gradient is so small
What is Turbulence?
Turbulent fluctuations are macroscopic in nature
and are subjected to continuum laws
Non-repeatability
Diffusivity
High Reynolds number
Three dimensional vorticity fluctuations
Dissipation
Continuum
Characteristics of Turbulent Flow
Irregularity
Source : http://www.biophysics.uwa.edu.au/turbulence/animations
Characteristics of Turbulent Flow
Non-repeatability
Transition to
Turbulent flow
occurs at Re >
2300
Boundary layer over a flat plate
Re = 60000 at point A
Re = 5 x 105 at point B
Characteristics of Turbulent Flow
Three Dimensional Vorticity Fluctuations
Highly Rotational
Vortex Dynamics plays an important role
Energy is transferred from large to small scales
by the interaction of vortices
2D Flow?
Vortices
Source: http://www.math.waikato.ac.nz/~seano/research/turbulence-pictures.html
Characteristics of Turbulent Flow
Continuum
Small turbulent scales in the flow are very
much larger than molecular scale
Smallest eddy
Largest eddy
Characteristics of Turbulent Flow
Dissipation
Cascading process
Energy mopped
up due to
Extracts energy
viscous
from the mean
dissipation
flow
Homogeneous Turbulence:
Turbulence statistics are independent of
coordinate translation.
In other words, turbulence statistics are
position independent
Isotropic Turbulence:
Turbulence statistics are independent of
rotation and reflection of coordinates and
translation invariant
Isotropic turbulence is homogeneous
Time averaging
Space averaging
Ensemble averaging
Types of averaging
Time averaging
At a given location, measure the property
as a function of time and then take the
average
Mathematical representation
Space averaging
At a given time, average over position
Ensemble averaging
Statistical average of repeated
experiments under different condition
Why Model Turbulence?
Eddy viscosity μt = ρ lm v’
Velocity fluctuation v’ = k
where k is turbulent kinetic energy
Eddy viscosity μt = ρ lm k
Eddy viscosity