Full text
Introduction
The original state of the driven cavity f low ,
in
a rec tangular domain, is assumed to be
two dimensional, static and incompressible. The
top lid of the cavity flow
is moving at a positive, constant velocity top u in the positive x−direction
(2013) -
© The American Computational Science Society. All rights reserved.
while the other walls of the cavity keep still. The height and length of the rectangular domain are H. Fluid density is .The d ynamic viscosity of the fluid is [1] .
The purpose of th is
paper is to determine the dimensionless velocity U in x d irection in the place of H x , the dimensionless velocity V
in y direction in the place of H y ,the mean value s of | U | and | V |, separately; and draw the ve locity distribution curve
while the flow is on steady state
in the cavity for Re=1000.
2.
Mathematical Model
By considering H , , top u dimensionless metric, which were equal to 1,the Navier - Stokes e quations
were simplif ied into
the dimensionless equations [2] .
The
dimensionless
pressure - Poisson equation
can be solved by the TDMA [ 3] .
) ( X V Y U Y V X U Y P X P . (1)
2.1 The finite diferrence method
2.1.1 The description of the grids and
conditions [4]
The dimensionless governing equations were discretized with 80×80 uniform staggered mesh grids. ij P
was in the central of the grid. The numbers of U, V deviating from ij P , were the same as the number of P .The dimensionless velocity U was staggered in half a grid with ij P in x direction and the dimensionless velocity V was staggered in half a grid with ij P in y direction.
The grid generation is described in detail as follows.
a)
For pressure P: in x direction, the distance between interior points is X and the boundary point is X from the interior point, including 83 points from 0 (t he left boundary point) to 82 (the right boundary point); in y direction, the distance between interior points is Y and the boundary point is Y from the interior point, including 83 points from0 (the bottom boundar y point) to 82 (the top boundary point).
b) For velocity U:In x direction, the distance between points is X , including 82 points from 0 (the left boundary point) to 81 (the right boundary point);in y direction, the distance between int erior points is Y and the boundary point is Y from the interior point, including 83 points from0 (the bottom boundary point) to 82 (the top boundary point).
c) For velocity V: in x direction, the distance between in terior points is X and the boundary point is X from the interior point, including 83 points from0 (the left boundary point) to 82 (the right boundary point); in y direction, the distance between points is Y , including 82 points from 0 (the bottom boundary point) to 81 (the top boundary point);
2.1.2 The process of the discretization based on MAC
The
central difference format was used to separately discretize
t he
convective term and the diffusi on term of the Navier - Stokes equations. The velocities term were discretized in explicit format and the p ressure gradient term adopted the implicit format. The time step
(2013) -
© The American Computational Science Society. All rights reserved.
is , the steps of x, y are separately
considered as X , Y .The velocity in x direction was discretized as follow s.
The discretization of interior point s:
n j i n j i U U U , ,
,
X U U U X U U n j i n j i n j i , , , ,
Y U U V V V V Y U V n j i n j i n j i n j i n j i n j i ) ( , , , , , ,
X P P X P n j i n j i , , ,
, , , X U U U X U n j i n j i n j i ,
, , , Y U U U Y U n j i n j i n j i .
The interior point s next to the boundary
were s pecially handled, setting the points next to the top boundary as example [5] . Taylor expansion of , i j U and , i j U were conducted at j U , i .
) ( , , , , Y Y U U U Y U n j i n j i n j i j i
,
(2)
) ( , , , , Y Y U U U Y U n j i n j i n j i j i
,
(3)
U can be conve rted using ( ) and(3) to
the following form :
X P P U U n j i n j i n j i n j i , , , , . (4 )
, n j i V can be obtained with the same theory .
Y P P V V n j i n j i n j i n j i , , , , .
(5)
2.2 The finite
volume method
The dimensionless governing equations were discretized with 80×80 uniform st aggered mesh grids using the same theory as the finite difference method.
We used the control volume integration method based on MAC to solve this problem. The central difference format was used to separately discretize the convective term and the diffusi on term. The velocities term were discretized in explicit format and the pressure gradient term adopted the implicit format. The time step is , the steps of x, y are separately considered as X , Y .
For interior points:
) ( ] [ , , n j i n j i n p n p n s e w t t t U U U U d d d U 2 2 , 1, , 1, ( ) ( ) ( ) [ ] 4 4 n n n n t t n e i j i j i j i j t s w U U U U UU d d d , 1, , , 1 , 1 1, 1 , , 1 ( )( ) ( )( ) ( ) [ ] 4 4 n n n n n n n n t t e n i j i j i j i j i j i j i j i j t w s V V U U V V U U VU d d d ] ) ( ) ( [ e ) ( e , , , , w n j i n j i e n j i n j i t t t n s e w U U U U R d d d U R ] ) ( ) ( ) ( ) ( [ e ) ( e , , , , s n j i n j i n n j i n j i t t t e w n s U U U U R d d d U R ,
The pressure term
) ( , , n j i n j i t t t n s e w d d d P .
The diffusion term of the top and bottom boundary points
, 8 1 1 1 1 ( ) e e e ( ) ( ) 2 2 n p i p n n n U U U U U R R R ) ( Re ) ( Re ) ( Re , Y U U Y U U dY dU i p s p s .
Then the interior points’ velocity U can be converted into the following format
, n j i U , , , n j i n j i n j i U . (6)
(2013) -
© The American Computational Science Society. All rights reserved.
The velocity V can be derived in the same theory
1 1 , , 1 , , ( ) n n i j i j n n i j i j V V Y
.
(7)
3.
Solution
The discretization control equation and its diffusion coefficient expression were shown as follows [6] .
1 1 1 1 1 . 1. 1. . 1 . 1 n n n n n P i j E i j W i j N i j S i j a P a P a P a P a P b , (8)
Where
E W a a X ,
N S a a Y ,
1 , , , 1 , n n n n i j i j i j i j U U V V b X X Y Y .
The interior point s next to the top boundary:
Y V Y V a n j i n j i N , , , .
The interior point s next to the bottom
boundary:
Y V Y V a n j i n j i S , , , .
The interior point s next to the left boundary:
X U X U a n j i n j i E , , , .
The interior point s next to the right boundary:
X U X U a n j i n j i W , , , .
4.
Conclusion
According to the results presented in Table 1and figure.1 to figure.3, it’s shown that MAC has high calculation precision to solve the problem of driven cavity flow. To accelerate computation speed, 20×20 grid systems can be adopted since results change little in the grid systems of 20×20,40×40 and 80×80.The time of calculation can be shortened by choosing a large time step with little effect on the precision.
However, divergence occurred when time s tep is larger than t=0.02s.
T able 1
iterative times of CACULATION
( R E =1 000,
P RECISION = - )
Grid numbers
0×
20×20
40×40
0×
Grid numbers
0×
0×
0×
0×
t
0.001
0.001
0.001
0.001
t
0.000
0.001
0.002
0.005
I terative times (P)
178085
284516
471512
70879
I terative times (P)
76745
708796
640421
537223
I terative times
(UV)
51142
47085
38042
36499
I terative times
(UV)
65017
36499
20926
10430
(2013) -
© The American Computational Science Society. All rights reserved.
F ig .
T he velocity distribution of the steady flow
while N = ; Re = 400; t=0.0005 , 0.001, 0.002 , 0 .005, 0.01 (The upper pictures are results of the f inite volume method and the lower pictures are obtained by the finite difference method)
F ig . T he velocity distribution of the steady flow determined by t he finite volume method while N = ; Re =1 ,400 ,1000
F ig .
3 T
he velocity distribution while the flow is on steady state by t he finite volume method while N =20,40, ; Re =1
Figures




