NIT, Hamirpur: CFD: Developments, Applications & Analysis
NIT, Hamirpur: CFD: Developments, Applications & Analysis
1
FUNDAMENTS OF CFD
1.
33:45 PM
Introduction
2.
3:45 AM 5 PM
Computational
Heat Transfer
Development
Seri es of Invi ted Lecture on
CFD: Developments, Applications & Analysis
NI T, Hami rpur
Topi c I : I ntroducti on
1.
CFD:
What is it?
3.
CFD:
Why?
2.
CFD:
How it is ?
Seri es of Invi ted Lecture on
CFD: Developments, Applications & Analysis
NI T, Hami rpur
Contents
01. CFD: What is it?
Definition
Role
Major Aspects
03. CFD: Why
02. CFD: How is it?
Grid Generation
Finite Volume Method
Solution Methodology
1/23/2014
2
01. CFD: What is it?
Definition
Role
Major Aspects
1
CFD: Defination
Computational Fluid Dynamics (CFD) is a theoretical
method of scientific and engineering investigation,
concerned with the development and application of a
video-camera like tool - a software - which is used to
analyze a fluid dynamics as well as heat and mass
transfer problemin a unified way.
Here, the software is like a virtual video-camera and
results in a movie where each picture gives a fluid-
dynamics information, i.e., flow-properties.
Vortex Shedding Fluid Flow
across a Circular Cylinder at Re=100
Vortex Shedding Fluid Flow
across a Circular Cylinder at Re=100
1/23/2014
3
Vorticity Contours at Re=100 Group of Fish Like Locomotion
Dam Break Simulation
2D Film-Boiling Over a Superheated Plate
1/23/2014
4
Granular Flow CFD: Role
Analogy between a video-camera and a CFD
software.
Analytical (CFD) solution are like a virtual video
camera of infinite (finite) spatial as well as temporal
resolution.
The role of CFD software is not limited to creating
scientifically exciting fluid dynamic movie of flow
properties but also to create engineering relevant
movie of engineering parameters, for a unified
cause-and-effect study of various heat and fluid
flow situations.
CFD: Major Aspects
There are three major aspects of CFD
Development
Application
Analysis
With a continuous development and a wider
application of CFD, the definition of Navier-
Stokes equations and CFD has broaden.
02. CFD: How is it?
Grid Generation
Finite Volume Method
Solution Methodology
2
1/23/2014
5
CFD: How is it?
Solution
Methodology
It consists of
1. Solution Method: A
method to solve the
set of algebraic
equations
Explicit and Implicit Method
for unsteady state formulation
Iterative method for steady
state formulation.
2. Implementation Details
3. Solution Algorithm
Grid-Generation
A method to convert the complete
domain into certain fixed number
of Control Volumes (CVs). The
points located at the centroid of
the CVs are called as grid points.
They are of two types:
Cartesian, Cylindrical and Spherical
Grid: used for simple geometry.
Curvilinear-Structured and
Unstructured Grid: used for complex
geometry.
Finite Volume Method
A method to obtain a system
of algebraic equations, with
unknowns as flow properties
at the grid points, obtained by
Physics based Approach:
Applying conservation laws to the CVs
and using certain approximations.
Mathematics based Approach:
Applying volume integral to the
governing partial differential equations,
using gauss divergence theoremfor
certain terms and using certain
approximations.
L
2
L
1
i
j
1 imax
1
jmax
Boundary CVs:
i=1 & imax;
j=2 to jmax-1
j=1 & jmax;
i=2 to imax-1
P
N
S
E
W
Interior CVs:
i=2 & imax-1;
j=2 to jmax-1
j=2 & jmax-1;
i=2 to imax-1
Outer Square Boundary
Plate
Inner Square Boundary
Square Hole
Both the Boundaries are
aligned along direction of
Cartesian Coordinates
Heat Transfer in a Square
Plate with a Square Hole
1/23/2014
6
Heat Transfer in a Square
plate with a Circular Hole
The Outer Square
Domain Boundary is
aligned along the
direction of Cartesian
Coordinates
Inner Circular Domain
Boundary is aligned
along the direction of
cylindrical coordinates
Complex Domain & Unstructured Grids
x
y
Pressure
Force
Pressure
Force in
X-direction
Pressure
Force in
Y-direction
ZERO
Body Force
or Heat
Generation
Body Force
in
X-direction
Body Force
in
Y-direction
Heat
Gained by
Heat
Generation
Viscous
Force or
Heat
Conduction
Viscous
Force in
X-direction
Viscous
Force in
Y-direction
Heat
Gained by
Conduction
ACROSS
the CV
X-
Momentum
Y-
Momentum
Energy
Conservation Laws: Mass, Momentum & Energy
INSIDE the
CV
Mass
X-
Momentum
Y-
Momentum
Energy
Rate of Change
Unsteady Advection Diffusion Source
Mass Zero
X-Mom.
Energy
Y-Mom.
Mass
1/23/2014
7
CFD: How is it?
Fi ni te Volume Method for Computational Fluid Dynamics
A Novel
Physics
based
Control
Volume
The
Traditional
Mathematics
based
Two Levels of
Approximations
Governing
PDEs
Gauss Div. Theorem
Approximations
V A }}}
Discretized LAEs
(Linear Algebraic Equations)
Fluid
Mechanics
& Heat
Transfer
Course
limV 0
N
a
v
i
e
r
-
S
t
o
k
e
s
E
q
u
a
t
i
o
n
s
Mass
Momentum
Energy
C
o
n
s
e
r
v
a
t
i
o
n
L
a
w
s Continuity
Momentum
Energy
T
nb
=400
0
C T
i,jmax
=400
0
C
Grid Points
Internal:
at 250
0
C
Boundary:
at 100/200/
300/400
0
C
T
wb
=100
0
C
T
1,j
=100
0
C
jmax=7
6
5
4
3
2
j=1
x
y
T
eb
=300
0
C
T
imax,j
=300
0
C
T
sb
=200
0
C T
i,1
=200
0
C
i=1 2 3 4 5 6 imax=7
n+1
n
Expli ci t Method
Unsteady State Heat Conduction: Computational Stencil
1
, , ,
n n
P P nb nb
nb E W N S
a T a T b
+
=
= +