Professional Documents
Culture Documents
4. Solve 2 = to obtain k
5. Calculate = and = from k
7. March forward one step in time to obtain k+1 for the vorticity transport equation:
1 2
+ + =
It would be important to note that the grid points are inclusive of boundary points.
1.0
80
0 1.5
x 120
Re = 200
i,0 = 0
For the left wall above the inlet,
0, () = 100 ( 2 ) ( 0.1)
3
0.1
0, () = 100 ( 2 ) ( 0.1)
3
0, () = 100 ( 2 ) ( 0.1) 0.1
3
= 0.0133333333
Since the left wall, right wall and top wall are linked and in contact with each other, their
wall boundary conditions for are the same throughout.
, () = 100 ( 2 ) ( 0.1) 0.1
3
4. Solve = to obtain k
2 =
2 2
+ =
2 2
Using second order (five point) central difference scheme at the interior points i,j:
+1, 2, + 1, ,+1 2, + ,1
+ = ,
2 2
Since x =y,
+1, 2, + 1, + ,+1 2, + ,1 = , ( 2 )
1
( + 1, + ,+1 + ,1 + , ( 2 )
4 +1,
1) The Gauss-Seidel (GS) Step to calculate from the current SOR values at i,jk and
k+1 (where j < i) at an intermediate
i,j +1 : ,
1
, +1 = (+1, + 1, +1 + ,+1 + ,1 +1 + , ( 2 )
4
, +1 =
, +1 + (1 ) ,
( ) = cos ( )
2
= 1 0.5 ( ) where M and N are the no. of grid points
= 0.999486
Using the computed spectral radii, opt can be calculated:
2
=
1 + 1 ( )2
2
=
1 + 1 (0.99486)2
= 1.93787
5. Calculate = and = from k
Using 2nd order central difference scheme, the interior values of u and v can be computed
as follows:
,+1 + ,1
, =
2
+1, + 1,
, =
2
, = 100()( 0.2)
0.1
, = 100()( 0.2)
, = 100()( 0.2)(0.1)
, = 0
Due to the no-slip boundary conditions at the wall, the velocities at the walls are zero for
case 1.
, = 0
, = 0
For case 2, the top wall comprises of a section between 0.4L and 1.1L which slides to the
left at = 1.0
= 1.0 for i = 32 to 88
2
,0 = ( ,1 )
2 ,0
2
, = ( ,1 )
2 ,
For case 2 where the wall at 0.4L to 1.1L slides with velocity Uslide,
2
, = ( ,1 + , ())
2 ,
2
, = ( ,1 )
2 ,
2
0, = ( 0,1 )
2 0,
At the top left and right (concave) corners,
, = 0
0,+1 0,1
0, = ( ) = |
0, 0, 2
where | 0
0,
Hence,
0,+1 0,1
0, =
2
| =0
,
, = 1,
7. March forward one step in time to obtain k+1 for the vorticity transport equation
For the vorticity transport equation, we would use the Forward-Time Central-Space
difference (FTCS) scheme to obtain k+1.
This method makes use of 2nd order central difference scheme for space operator and
forward Euler for time integration.
1 2
+ + =
1 2 2
+ + = ( + )
2 2
+1
, , +1, 1, ,+1 ,1
+ , + ,
2 2
+1, 2, + 1, ,+1 2, + ,1
= ( + )
2 2
+1
, .
, .
, = , (+1, 1, ) ( ,1 )
2 2 ,+1
. .
+ 2 (+1, 2, + 1, ) + 2 (,+1 2, + ,1 )
Where = 1 / Re = 0.005
However, we would have to compute for the limitation on the timestep h for stability from
von Neumann analysis:
1 2 2 2
2 min{ , }
2 2 + 2 2
200 0.01254 2
2 min{ 2 2
, }
2 0.0125 + 0.0125 200(1)
2 min{0.0078125 , 0.01}
+1 < 106
When solving for the Streamfunction-Vorticity equation in Pt. 4, the solution is not iterated
to convergence. Instead, it is iterated 20 times at each time level so as to reduce the
computational time.
The Successive Over-relaxation (SOR) method was used to solve for the Streamfunction-
Vorticity equation in this case. However, to hasten convergence, other iterative methods
such as the Red Black Point (RBP) method may also be used in place of SOR.
Although the Streamfunction-Vorticity scheme would have a time lag of uk and vk due to
the implicit computation of k+1, however, since this problem requires the steady state flow
field to be determined only, the lagging would not bear any important significance in this
regard.
Case 1: Uslide = 0
0.025
Non-dimensional U-velocity
0.02
0.005
0
0 0.2 0.4 0.6 0.8 1 1.2
y/L
0.04
0.03
Non-dimensional V-velocity
0.02
0.01
0 y/L = 0.2
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 y/L = 0.6
-0.01
-0.02
-0.03
-0.04
-0.05
x/L
Case 1: Uslide = 0
86
1
6
11
16
21
26
31
36
41
46
51
56
61
66
71
76
81
91
96
101
106
111
116
121
0-0.005 0.005-0.01 0.01-0.015
0.014
0.012
0.01
0.008
0.006
0.004
0.002 Series69
Series52
0
Series35
1
6
11
16
21
26
31
36
41
Series18
46
51
56
61
66
71
76
81
86
91
Series1
96
101
106
111
116
121
1
Series69
Series52
0
Series35
1
6
11
16
21
26
31
36
41
Series18
46
-1
51
56
61
66
71
76
81
86
91
Series1
96
101
106
111
116
-2
121
0.2
0
Non-dimensional u-velocity
-0.8
-1
-1.2
y/L
0.2
0.1
Non-dimensional v-velocity
0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6
-0.1 y/L = 0.2
y/L = 0.6
-0.2
-0.3
-0.4
-0.5
x/L
Case 2: Uslide = 1
0.14
0.12
0.1
0.08
0.06
0.04
0.02 Series69
Series52
0
Series35
1
6
11
16
21
26
31
36
41
Series18
46
51
56
61
66
71
76
81
86
91
Series1
96
101
106
111
116
121
56
101
1
6
16
21
26
31
36
41
46
51
61
66
71
76
81
86
91
96
106
111
116
121
-100--50 -50-0 0-50 50-100
100
80
60
40
20 Series69
Series52
0
Series35
1
6
11
16
21
-20
26
31
36
Series18
41
46
51
56
61
66
71
76
-40
81
86
Series1
91
96
101
106
111
116
121
-60
-80
-100
-100--80 -80--60 -60--40 -40--20 -20-0 0-20 20-40 40-60 60-80 80-100