De Zg515 Computational Fluid Dynamics: BITS Pilani
De Zg515 Computational Fluid Dynamics: BITS Pilani
DYNAMICS
Dr. K. Ram Chandra Murthy
BITS Pilani Assistant Professor, BITS Pilani, Hyderabad Campus
"Pilani | Dubai | Goa | Hyderabad"
[email protected]
Review
Introduction
Introduction to Finite Differences
Difference Equations, Explicit and Implicit Approaches: Definitions and Contrasts
Errors and an Analysis of Stability
Stability Analysis: A Broader Perspective
2
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
Scope of the lecture
3
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
BITS Pilani
"Pilani | Dubai | Goa | Hyderabad"
INTRODUCTION
4
Introduction
The arrangement of the discrete points where the calculation is made throughout the
flow field is called as grid.
There is no direct way of solving the flow equations over a non-uniform grid using finite
difference method.
Consider the airfoil as shown in the figure.
5
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
Introduction
6
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
Introduction
7
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
BITS Pilani
"Pilani | Dubai | Goa | Hyderabad"
GENERAL TRANSFORMATION
8
General transformation of the equations
The subscripts emphasize the variables that are held constant during differentiation.
9
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
General transformation of the equations
Also,
The coefficients of the derivatives w.r.t , and are called as metrics.
The metrics can be evaluated using central differences.
For second order terms,
10
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
General transformation of the equations
11
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
General transformation of the equations
When the governing equations are used in the strong conservation form, the need to
apply transformations for the second derivatives disappears.
12
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
BITS Pilani
"Pilani | Dubai | Goa | Hyderabad"
𝜕 𝜕
The terms involving the geometry of the grid such as , etc are called as metrics.
𝜕𝑥 𝜕𝑦
In many applications the transformation may be more conveniently expressed as
inverse as that of discussed above.
Consider,
14
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
Metrics and Jacobians
𝜕𝑢 𝜕𝑢
Solving the above equations for and we have
𝜕𝑥 𝜕𝑦
15
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
Metrics and Jacobians
In general and
16
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
Metrics and Jacobians
17
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
Metrics and Jacobians
18
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
Metrics and Jacobians
19
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
BITS Pilani
"Pilani | Dubai | Goa | Hyderabad"
21
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
Form of governing equation suited for CFD
22
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
Form of governing equation suited for CFD
The last two terms in the above equation are zero as shown below.
23
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"
Form of governing equation suited for CFD
The newly defined flux vectors are the combination of physical flux vectors F and G and
jacobian.
The new flux vectors can also be expressed as
24
"BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956"