1 2 *
3
1 -
2 -
3 -
143 * - 14115
kiumars@modares.ac.ir
) :
1382 :
1384 (
- )
(
.
. .
- - .
.
-
(Navier-Stokes)
. .
: .
1 -
) (
.
.
. .
.
.
11. Checkeboard Problem
[ Downloaded from mme.modares.ac.ir on 2022-10-31 ]
1
- ] 1 [ .
2 3
] 2 [.
] 3 4[
. ]
5 [ .
] 6 [ .
] 4 [ . .
4] 7 [ . ]
8 [ .
] 9 [ .
.
] 10 [.
.
1. Stream Function – Vorticity 2. Staggered Grid
3. Cell and Marker 4. Collocated Grid
.
5
1600
4/
2 ]
11 [.
. .
2 -
-
:
) 1 (
y x
y x
T R
G
F
F G R : T
) 2 (
uh uv
p uu
u
F
,
vh p vv
vu v
G
) 3 (
e v
u
y yy yx
yy yx
q v
u
0
T
xy x xx
xy xx
q v
u
0
R
) 4 ( :
) 5 (
)( y
v x u x
u
xx 2 32
5. Sparse Matrices
[ Downloaded from mme.modares.ac.ir on 2022-10-31 ]
) 6 (
)
(
xv y
u
yx
xy
) 7 ( )
(
yv x
u y
v
yy 2 32
:
) 8 (
yk t qy
,
x k t qx
) 9 (
)
(
2 221 u v t
c h p
3 -
. -
. .
:
1
1
- 2
2
-
3
3
- . .
.
.
.
1. Convection 2. Diffusion Terms 3. Pressure Terms
.
.
4
.
- -
) 1 .(
1
) p
2
( .
.
.
4. Sub-Control Volume (SCV)
1 3
2
SCV1
SCV2
SCV3
ip1
ip2
ip3 3
S
[ Downloaded from mme.modares.ac.ir on 2022-10-31 ]
2
P
.
. )
v(
u,.
)
v(
u,x y
. ]
1 [ .
. .
:
.
4 -
) 1 ( -
:
) 10 (
i i
i i
s s
s s
ds j i ds
j i
ds j i ds
j i
2 2
1 1
. ˆ) ( ˆ
. ˆ) ( ˆ
. ˆ) ( ˆ
. ˆ) ( ˆ
T R T
R
G F G
F
) 10 (
i s1 is2
.
F G R T
.
1
:
) 11 ( 0
g a
f
apfm pgm
) (
p)
c( .
)
10 ( .
. 3
3 ×
) 11 ( :
) 12 (
else i S j
i S j
i S x
i S x m
f p
j
i
S
S
a
0
2 1
2 1
) (
) (
,
) 13 (
else i S j
i S j
i S y
i S y m
pg j
i
S
S
a
0
2 1
2 1
) (
) (
,
i
1. Integration Point (ip)
P
[ Downloaded from mme.modares.ac.ir on 2022-10-31 ]
x
j
ssy
x
. y
f
g
.
x
y
.
) 14 (
G F.
.
:
) 15 (
f
u u u u
u ( )
"
"
.
.
: x
) 16 (
3 1 j
j
j x
N
x
1
Nj .
1. Shape Function
:
T A
G A
F
Atfd tgd ttk
) 17 (
td ttc
tgc
tfc f a g a t A
a
] 12 [ .
5 -
.
. -
2 3
] 13 [ . .
. ]
414
5
[.
2. Convecting Velocity 3. Convected Velocity 4. False Diffusion 5. Raithby
d g pp
g ggc
d g g d
f
g F A G a g a p A
A
d Af pp p
a f c f
f a f d G
g A f d F
f Af
[ Downloaded from mme.modares.ac.ir on 2022-10-31 ]
.
.
:
) 18 (
ip up
ip
ip ip
.
ip
f g
.
f
3 )
19 ( .
) 19 (
up ipi up tot
ipi
tot L
f V f
s V f
fup
F
:
) 20 (
l ipi ipi up
r ipi up
up F
b F a
b
f a
1
]
13 [ .
. .
0 Error Eq.
Continuity Error
Eq.
Momentum u
x
) 21 (
0 Error Eq.
Continuity Error
Eq.
Momentum v
y
) 22 (
3
y
.
)
21 ( ) 22 (
.
.
f p
f g
f f
f
F C G C P C
f ˆ C
ˆ ˆ ˆ ˆ) 23 (
g p
g g
g f
g
F C G C P C
C
g ˆ
ˆ ˆ ˆ ˆ) 24 (
.
16 -
6000
10
876 × /5
1. Assemble
1
2
3
ip1 ip2
ip3
V
ip3×
L
upup
ip
b
a
[ Downloaded from mme.modares.ac.ir on 2022-10-31 ]
4395 .
95 .
.
.
.
. 4 .
4
i
)
Nc
i( )
25 (
:
) 25 (
1eq
i N
Nc Zero
Non_
Neq
.
.
.
.
.
.
- -
.
.
5 .
i
. .
.
m q
s r n
p
i
[ Downloaded from mme.modares.ac.ir on 2022-10-31 ]
5
7 -
.
.
17 - 1 -
1. Driven Cavity
. 6
] 11 [ .
1600 4/
2
3/
1
. 6
7
. 6
7 5
21 21 × 31 31 × 35 35 × 51 51 × 71
71 ×
.
6
. .
1 i i
i
Number of Nodes
MemoryUsage(MBytes)
0 1000 2000 3000 4000 5000 6000
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
34
31 31
51 51
71 71
35 35
)(
[ Downloaded from mme.modares.ac.ir on 2022-10-31 ]
7
.
1000 8
.
8
7 2 - -
.
. .
.
.
.
FG
x
.
y. .
9 21 21 × .
.
F=1.0 G=0.0
.
Re=1/
.
. 1000 5000
7500 ) 10
16 .(
) 21 21 × ( .
Number of Nodes
MemoryUsage(MBytes)
0 1000 2000 3000 4000 5000
0 500 1000 1500 2000 2500 3000 3500
34
51 51
71 71
35 35
Number of Nodes
CPUTime(Sec)
0 1000 2000 3000 4000 5000 6000
0 500 1000 1500 2000 2500 3000
)(CPU)(
3
4
[ Downloaded from mme.modares.ac.ir on 2022-10-31 ]
9
10
1000 = Re
11
5000 = Re
12
7500 = Re
13
1000 =
Re
14
1000 = Re
u velocity
Y
-0.5 -0.25 0 0.25 0.5 0.75 1
0 0.25 0.5 0.75 1
Ghia 129 129 [15]
Chen & Pletcher 71×71[16]
51×51
+ +
+ + + + + + + + + + + + + + +
+ +
+
u velocity
Y
-0.25 0 0.25 0.5 0.75 1
0 0.25 0.5 0.75 1
+
21 21 51 51 71 71
Ghia 129 129 [15] Wall
Wall
Wall
+ ++
+ +
+ +
+ +
+ + +
u velocity
Y
-1 -0.5 0 0.5 1
0 0.25 0.5 0.75 1
+
21 21 31 31 51 51
Ghia 257 257 [15]
X
vvelocity
0 0.25 0.5 0.75 1
-0.5 -0.25 0 0.25 0.5
Ghia 129 129 [15]
Chen & Pletcher 71×71[16]
51×51 +
+ +
+ +
+ +
+ +
u velocity
Y
-1 -0.5 0 0.5 1
0 0.25 0.5 0.75
+
21 21 31 31 51 21
Ghia 257 257 [15]
[ Downloaded from mme.modares.ac.ir on 2022-10-31 ]
15
3200 = Re
16
3200 = Re
51
51 × 1000
3200 ]
15 16 [ .
3000
450 .
.
51 51 × .
8 -
.
. .
9 -
[1] Darbandi, M., “A Momentum Variable Calculation Procedure for Solving Flow at All Speeds”, PhD Dissertation, University of Waterloo, Ontario, Canada, 1996.
[2] Harlow, F.M., and Welch, J.E., “Numerical Solution of Time Dependent Viscous Incompressible Flow with Free Surface”, Physics of Fluids, Vol. 8, 1965; pp. 2182-2189.
[3] Raithby, G.D., and Schneider, G.E.,
“Numerical Solution of Problems in Incompressible Fluid Flow; Treatment of the Velocity-Pressure Coupling”, Numerical Heat Transfer, Vol.2, 1979; pp.417-440.
[4] Patankar, S.V., “A Calculation Procedure for Two Dimensional Elliptic Situations”, Numerical Heat Transfer, Vol. 4, 1981;
pp.409-425.
[5] Zedan, M., Schneider, G.E., “A Coupled Strongly Implicit Procedure for Velocity and Pressure Computation in Fluid Flow
X
vvelocity
0 0.25 0.5 0.75 1
-0.6 -0.4 -0.2 0 0.2 0.4 0.6
Ghia 129 129 [15]
Chen & Pletcher 129×129 [16] 51×51
u velocity
Y
-0.5 -0.25 0 0.25 0.5 0.75 1
0 0.2 0.4 0.6 0.8 1
Ghia 129 129 [15]
Chen & Pletcher 71×71 [16]
51×51
[ Downloaded from mme.modares.ac.ir on 2022-10-31 ]
Problems”, Numerical Heat Transfer, Vol. 8, 1985; pp.537-557.
[6] Patankar, S.V., and Spalding, D.B., “A Calculation Procedure for Heat, Mass and Momentum Transfer in Three-Dimensional Parabolic Flows”, International Journal of Heat and Mass Transfer, Vol. 15, 1972;
pp.1787-1806.
[7] Baliga, B.R., and Patankar, S.V., “A Control-Volume Finite-Element Method for Two Dimensional Fluid Flow and Heat Transfer”, Numerical Heat Transfer, Vol. 6, 1983; pp.245-261.
[8] Prakash, C., and Patankar, S.V., “A Control-Volume Based Finite-Element Method for Solving the Navier-Stokes Equation Using Equal Order Variable Interpolation”, Numerical Heat Transfer, Vol. 8, 1985;
pp.259-280.
[9] Peric, M., Kessler, R., and Sheerer, G.,
“Comparison of Finite-Volume Numerical Methods with Staggered and Collocated Grids”, Computers and Fluids, Vol. 16, 1988;
pp.389-403.
[10] Darbandi, M., Schneider, G.E. and Javadi, K., “The Performance of a Physical Influence Scheme in Structured Triangular Grids.”, 41st AIAA Aerospace Sciences Meeting & Exhibit, January 6-9, Reno, Nevada, 2003.
[11] Philip C.E. Jorgenson, R. H. Pletcher “An Implicit Numerical Scheme for the Simulation of Internal Viscous Flow on Unstructured Grids.” Computers & Fluids, Vol. 25, No. 5, pp. 447-466, 1996.
] 12 [ .
"
-
"
1381 .
[13] Darbandi, M., and Schneider, G.E.,
“Momentum Component Variable Procedure for Flow at All Speeds”, The Proceeding of the Third Annual Conference of the CFD Society of Canada, Banff, Alberta, Canada, June 25- 29, 1995; pp.145-156.
[14] Raithby, G.D., “A Critical Evaluation of Upstream Differencing Applied to Problems Involving Fluid Flow”, Computer Methods in Applied Mechanics and Engineering, Vol. 9, 1971; pp.75-103.
[15] Ghia, U., Ghia, K.N., and Shin, C.T.,
“High-Resolutions for Incompressible Flow Using the Navier-Stokes Equation and a Multigrid Method”, Journal of Computational Physics, Vol. 48, 1982; pp. 378-411.
[16] Chen, K.H., and Pletcher, R.H., “Primitive Variable, Strongly Implicit Calculation Procedure for Viscous Flows at All Speeds”, AIAA Journal, Vol. 29, 1991; pp. 1241-1249.
[ Downloaded from mme.modares.ac.ir on 2022-10-31 ]