Professional Documents
Culture Documents
CFD Introduction
CFD Introduction
CFD Introduction
Introduction
History of CFD
Basic concepts
CFD Process
Derivation of Navier-Stokes Duhem Equation
Example Problem
Applications
Laminar Turbulent
What is CFD?
Finite Element
method Ri=Equation residual at an element vertex
Q- Conservation equation expressed on element
basis
Ri i
e
W Qdv Wi= Weight Factor
Q F G H
0
Q – Vector of conserved variables
t x y z
F,G,H – Fluxes in the x ,y, z directions
Viscosity μ:
resistance to flow of a fluid
Ns
3 ( Poise)
m
Substance Air(18ºC) Water(20ºC) Honey(20ºC)
Density(kg/m3) 1.275 1000 1446
Viscosity(P) 1.82e-4 1.002e-2 190
Physics of Fluid
m in m out
in M out
dM
m in m out
dt
m in m out
Mass
dM Momentum
0
dt Energy
Conservation Law
Mass ConservationContinuity Equation
D U i
0 Compressible
Dt xi
D
const, 0
Dt
U i
0 Incompressible
xi
Navier-Stokes Equation I
Momentum ConservationMomentum Equation
U j U j P ij
U i g j
t xi x j xi
I
V
II III IV
U j U i 2
ij ij U k
I : Local change with time
xi x j 3 xk
II : Momentum convection
III: Surface force
IV: Molecular-dependent momentum exchange(diffusion)
V: Mass force
Navier-Stokes Equation II
Momentum Equation for Incompressible Fluid
ij U j U i 2
ij U k
xi xi x x j 3 xi xk
i
U i
0
xi
ij 2U j U i 2U j
xi xi2 x j xi xi2
U j P U j 2U j
U i g j
t xi x j xi
2
Navier-Stokes Equation IV
Discretization
Analytical Equations Discretized Equations
Discretization Methods
Finite Difference
Straightforward to apply, simple, sturctured grids
Finite Element
Any geometries
Finite Volume
Conservation, any geometries
Discretization
General Form of Navier-Stokes Equation
U i q 1, U j , T
t xi xi
Local change with time Flux Source
Finite Volume I
Conservation of Finite Volume Method
V t dV S U i xi ni dS V q dV
A B
A B
Finite Volume II
UP UE
Approximation of Volume Integrals
m dV pV ; mu i ui dV P u PV
Vi Vi
P dV P dS Pk S k k n, s, e, w
Ue Vi Si
k
Interpolation
U P if (U n ) e 0
Upwind Ue
U E if (U n )e 0
xe xP
Central U e U E e U P (1 e ) e
xE xP
( qi )
qi q j , j f i ji, j (1)
t
dqi qi 1
q j qi , j f i ji, j . (2)
dt t
dqi 1 ~
f i p ,i qi , jj
dt
~ 2 ~
3
BITS Pilani, Dubai Campus
DERIVATION (Cont’d)
dqi 1 1 ~ ~
f i p ,i q j , ji qi , jj ,
dt 3
dqi 1 ~
q j qi , j f i p,i qi , jj
dt
1 ~
q j qi , j p,i qi , jj
qi 0 at y 2 a
d 2 q1 dp
2
dy2 dy1
q1
1 dp 2
2 dy1
y2 a 2
The results, assumptions and boundary conditions of this
problem in terms of, mathematical symbols are as follows:
Constant
fi 0 0 0
t y 3
q1
1 dp 2
2 dy1
y2 a 2
Types of Errors:
Modeling Error.
Discretization Error.
Convergence Error.
Streamlines in a vehicle without (left) and with rear center and B-pillar ventilation (right)
In above figure, influence of the rear center and B-pillar ventilation on the
rear passenger comfort is assessed. The streamlines marking the rear
center and B-pillar ventilation jets are colored in red. With the rear center
and B-pillar ventilation, the rear passengers are passed by more cool air. In
the system without rear center and B-pillar ventilation, the upper part of the
body, in particular chest and belly is too warm.
BITS Pilani, Dubai Campus
The following are the details of conducting practicals
Five experiments are to be conducted in the CAD lab using ANSYS fluent software
1. Laminar flow through a circular pipe with constant radius
2. Turbulent flow though a circular pipe with constant radius
3. Compressible flow through a CD Nozzle
4. Steady flow over a rotating cylinder
5. Unsteady flow over rotating cylinder.