Professional Documents
Culture Documents
CFD
Computational
Computational
Fluid
Fluid Dynamics
Dynamics
(with
(with heat
heat and
and mass
mass
transfer)
transfer)
MECH3950
Methods
Methods ofof
prediction
prediction
Experimental investigation:
full scale
expensive and often impossible
measurement errors
on a small scale model
simplified
difficult to extrapolate results
measurement errors
Theoretical calculation:
analytical solutions
exist only for a few cases
sometimes complex
numerical solutions
for almost any problem
Modeling
Modeling vs.
vs.
experimentation
experimentation
Advantages of modeling:
cheaper
more complete information
can handle any degree of
complexity as long as…
Disadvantages of modeling:
deals with a mathematical
description not with reality
mathematical description can
be inadequate
multiple solutions can exist
with respect to xj :
1D, 2D, 3D
with respect to t :
steady
unsteady
(transient, time dependent)
x
Example:
Example: steady
steady
1D
1D heat
heat conduction
conduction
x
Integration
Integration
x)w x)e
w e x
W P E
x
Discretization
Discretization
T TE
Tp
Tw
w e
x
W P E
Discretization
Discretization
equation
equation
conductances
heat generation
Boundary
Boundary
conditions
conditions
B i
I W P E
x)i
S
qB i qi
B I
x
Boundary
Boundary
conditions
conditions
x)i
S
qB i qi
B I
x
Boundary
Boundary
conditions
conditions
if qB specified as a constant
then:
Boundary
Boundary
conditions
conditions
if qB specified via a
heat transfer h coefficient
and the temperature of the
surrounding fluid Tf :
Solution
Solution of
of the
the linear
linear
algebraic
algebraic equations
equations
Possibilities
Iteration
Gaussian elimination
Tri-Diagonal-Matrix-Algorithm
TDMA
W P E
1 i-1 i i+1 N
change of notation
TDMA
TDMA
W P E
1 i-1 i i+1 N
1 i-1 i i+1 N
TDMA
TDMA
W P E
1 i-1 i i+1 N
TDMA
TDMA algorithm
algorithm
Calculate:
P1=b1/a1 and Q1=d1/a1
Set TN =QN