01 Introduction
01 Introduction
Introduction
2
Other Sources
3
Grading Policy
• Quizzes = 5 to 10%
• Assignments = 15 to 20%,
• Sessional Exams = 25%,
• Final Exams = 50 %
David F. Fletcher (2022), The future of computational flid dynamics (CFD) simulation
in the chemical process industries, Chemical Engineering Research and Design, vol.
187 pp. 299-305
5
Governing Equation of Fluid Flow
6
General Transport Equations
There are significant commonalities between the various equations.
𝜕 𝜌𝜙
+ div 𝜌𝜙𝐮 = div Γ grad 𝜙 + 𝑆𝜙
𝜕𝑡
Or, in words:
Net rate of flow
Rate of increase Rate of increase Rate of increase
of 𝜙 out of
of 𝜙 of fluid + = of 𝜙 due to + of 𝜙 due to
fluid element
element diffusion sources
(convection)
7
Integral Form
The key step of the finite volume method is to integrate the differential
equation shown in the previous slide, and then to apply Gauss’ divergence
theorem, which for a vector a states:
න div 𝐚𝑑𝑉 = න 𝐧 ⋅ 𝐚𝑑𝐴
𝐶𝑉 𝐴
This then leads to the following general conservation equation in integral
form:
𝜕
න 𝜌𝜙𝑑𝑉 + න 𝐧 ⋅ 𝜌𝜙𝐮 𝑑𝐴 = න 𝐧 ⋅ Γ grad 𝜙 𝑑𝐴 + න 𝑆𝜙 𝑑𝑉
𝜕𝑡
𝐶𝑉 𝐴 𝐴 𝐶𝑉
Net rate of Net rate of
Rate of Net rate of
decrease of 𝜙 due increase of 𝜙 due
to convection =
increase + + creation
to diffusion
of 𝜙 of 𝜙
across boundaries across boundaries
This is the actual form of the conservation equations solved by finite
volume based CFD programs to calculate the flow pattern and associated
8
Integral Form
𝜕 𝜌𝜙
න 𝑑𝑉 + න div 𝜌𝜙𝐮 𝑑𝑉 = න div Γ grad 𝜙 𝑑𝑉 + න 𝑆𝜙 𝑑𝑉
𝜕𝑡
𝐶𝑉 𝐶𝑉 𝐶𝑉 𝐶𝑉
න 𝐧 ⋅ 𝜌𝜙𝐮 𝑑𝐴 = න 𝐧 ⋅ Γ grad 𝜙 𝑑𝐴 + න 𝑆𝜙 𝑑𝑉
𝐴 𝐴 𝐶𝑉
In time-dependent problems it is also necessary to integrate with
respect to time t over a small interval ∆t from, say, t until t + ∆t.
This yields the most general integrated form of the transport equation:
𝜕
න න 𝜌𝜙𝑑𝑉 𝑑𝑡 + න න 𝐧 ⋅ 𝜌𝜙𝐮 𝑑𝐴 𝑑𝑡
𝜕𝑡
∆𝑡 𝐶𝑉 ∆𝑡 𝐴
= න න 𝐧 ⋅ Γ grad 𝜙 𝑑𝐴 𝑑𝑡 + න න 𝑆𝜙 𝑑𝑉 𝑑𝑡
∆𝑡 𝐴 ∆𝑡 𝐶𝑉
9
Classification of Physical Behaviors
P(x, t)
Domain of Domain of
dependence Domain of dependence
dependence
TL t=0
T0 T0 T0
t=∞
13
Classification Method for Simple PDEs
Second-order PDEs in 𝑁 independent variables (x1, x2, . . . , xN) can be
classified by rewriting them first in the following form with Ajk = Akj :
𝑁 𝑁
𝜕2𝜙
𝐴𝑗𝑘 +𝐻 =0
𝜕𝑥𝑗 𝜕𝑥𝑘
𝑗=1 𝑘=1
15
CFD Methodology
Step I: Geometric and Physical
Modeling
17
Solution Process
Analytical solution gives us 𝜙(𝑥, 𝑦, 𝑧, 𝑡).
Discretization involves
Discretization of space using mesh generation
Discretization of governing equations to yield sets of
algebraic equations
18
Mesh or Grid
19
Mesh Terminology