Professional Documents
Culture Documents
EngAn3 CFD 2013 14 Lect - 4
EngAn3 CFD 2013 14 Lect - 4
Engineering Analysis 3
2013-2014 / 2nd semester
Lecture 4
2
Dr Edmondo Minisci EngAn3-CFD
3
Dr Edmondo Minisci EngAn3-CFD
i, j 1 i 1, j 1
j 1 j
Oy
y j y y
x i 1, j
i 1, j i, j
Then
i, j 1
j 1 j j 1 j
2 y i 1 y i
Ox, y difference in y
Forward
x y i , j x y j i x
2 i 1, j 1 i 1, j i , j 1 i , j
Ox, y
x y i , j x y j i x y
4
Dr Edmondo Minisci EngAn3-CFD
i, j 1 i 1, j 1
j 1 j
Oy
y j y y
x i 1, j
i 1, j i, j
Then
i, j 1
j 1 j j 1 j
2 y i 1 y i
Ox, y
x y i , j x y j i x
i, j 1 i 1, j 1
y
x i 1, j
The accuracy of the approximation
is determined by the terms of the i 1, j i, j
lowest order with respect to both x
and y.
i, j 1
Approximation of
second order in
both directions
2 i 1, j 1 i 1, j 1 i 1, j 1 i 1, j
O x 2 , y 2
x y i , j x y j i 4x y
7
Dr Edmondo Minisci EngAn3-CFD
x 3 3
( xi 1/ 2 ) ...
48 x 3
x x 2 2
( xi 1 ) ( xi 1/ 2 ) ( xi 1/ 2 ) ( xi 1/ 2 )
2 x 8 x 2
x 3 3
( xi 1/ 2 ) ...
48 x 3
8
Dr Edmondo Minisci EngAn3-CFD
( xi 1 ) ( xi ) x 2 2
( xi 1/ 2 ) ( xi 1/ 2 ) ...
2 8 x 2
( xi 1 ) ( xi ) x 2 2
( xi 1/ 2 ) ( xi 1/ 2 ) ...
2 8 x 2
( xi 1 ) ( xi )
( xi 1/ 2 )
2
O x 2
9
Dr Edmondo Minisci EngAn3-CFD
2T 2T
k
k
0
(3,2) (3,3)
x 2 y 2
x y
Discretise using the central finite difference (2,2) (2,3)
10
Dr Edmondo Minisci EngAn3-CFD
12
Dr Edmondo Minisci EngAn3-CFD
2 2 1 0 T6 TB TL
2 2 0 T T T
1
7 B R
0 2 2 T10 TL Ttop
1
0
1 2 2 T11 TR Ttop
14
Dr Edmondo Minisci EngAn3-CFD
Class exercise
x0 0m x9 1m
T ( x0 ) 0 C
0
T ( x9 ) 1000 C
The figure represents a grid to solve the following conduction equation
in one dimensional configuration :
2T ( x)
k 0
x 2
2-) Deduce the set of linear algebraic equations giving internal node
temperatures writing in matrix representation.
3-) Plot the temperature distribution obtained and compare it with the exact
solution of this conduction equation.
15
Dr Edmondo Minisci EngAn3-CFD
MX B
note that most of these methods already exist in algorithms and we only need
to choose a convenient one for a particular problem
16
Dr Edmondo Minisci EngAn3-CFD
once the algebraic equations are solved the solutions are sent to a graphical
package (software) for visualisation
17