Professional Documents
Culture Documents
Open Boundary Conditions For The Streamfunction - Vorticity Formulation of Unsteady Laminar Convection
Open Boundary Conditions For The Streamfunction - Vorticity Formulation of Unsteady Laminar Convection
(M +.2-M
o
) = (_1 K+A)]wm+ 1
se u; Re 2 Re
= +.2-M )- A)]W
m
+ (18)
so u; Re 0 2 Re Fr
for the vorticity, and
(M +.2- M
o
) + K+A)]t
m
+
1
/i.O u; Pe 2 Pe
= [_1 (M +.2-M
o
) - +A)]t
m
(19)
s u; Pe 2 Pe
for the temperature. In the above equations t/I, w, t, r, b, and Po are vectors of
length n (the number of node points), while M, K, A, and M
o
are (n x n) matrices.
The mass matrices M, the Laplacian matrix K, the advection matrix A, the
body force vector b, and the load vector r are evaluated from the usual definitions:
Mj j = 1
v
1
(
aN; aN;
K .. = --+-- dV
'I v ax ax az az
(20)
(21)
1
(
aN aN) 1 [(a'l') aN (a'l') aN] A .. = N U _I + V _I dV = N _ _I - - -r-_I dV (22)
II v I ax aY v I az ax ax oz
b. = ( N( aT) dV (23)
I lv I ax
and
(24)
D
o
w
n
l
o
a
d
e
d
b
y
[
T
e
l
A
v
i
v
U
n
i
v
e
r
s
i
t
y
]
a
t
1
1
:
5
1
0
9
M
a
r
c
h
2
0
1
4
OPEN BOUNDARY CONDmONS FOR UNSTEADY CONVEcrlON 223
where N ; , ~ are shape/weighting functions, with i, j = 1, n. The derivatives
a'I'/ ax, a'I'/ az, and aT/aX are computed at the integration points using the
most recent values of '" and t. The expanded matrix M
o
and the expanded vector
Po have nonzero entries only on the outflow boundary. The nonzero entries in M
o
correspond to the entries in the matrix M
o
' evaluated from the definition
(25)
with i, j = 1, no' The nonzero entries in Po correspond to the entries in the vector
Po' and Po is computed, at each new time step m + 1, from the discretized version
of Eq. (15),
(26)
using the null vector p ~ = 0 as a starting value at tm = 1). The additional
definitions
and
f.
aN aN
(K ) .. = -' _J dS
o IJ So as as
a'I'
(P)i = - f. N;-dS
So an
(27)
(28)
hold good for the outflow boundary calculations, again with i,j = 1, no' It must be
pointed out, however, that we do not form Eq. (28) explicitly, since the vector Po is
evaluated directly from Eq. (26).
At this point, we must still impose the condition (5) in Eq. (17) on the nodes
that belong to internal wall boundaries in multiply connected domains. This can be
done by following an assembly procedure which can be better explained by
referring to a practical situation, such as the one illustrated in Figure 1. Let us
assume, for example, that we look for a solution of Eq. (17) where the streamfunc-
tion values at nodes 3, 5, and 7 must coincide with the streamfunction value at .
4
Figure 1. Internal boundary 1357 sur-
rounded by elements (1), (2), (3), and (4).
D
o
w
n
l
o
a
d
e
d
b
y
[
T
e
l
A
v
i
v
U
n
i
v
e
r
s
i
t
y
]
a
t
1
1
:
5
1
0
9
M
a
r
c
h
2
0
1
4
224 G. COMINI ET AI..
Table I. Connectivity lists for the internal boundary represented in Figure 1
Element Node Numbers Connections
1 1 2 4 3 Real
1 1 2 4 1 Auxiliary
2 3 4 6 5 Real
2 1 4 6 1 Auxiliary
3 5 6 8 7 Real
3 1 6 8 1 Auxiliary
4 7 8 2 1 Real
4 1 8 2 1 Auxiliary
node 1. Then, in addition to the "real" connectivity lists for the element nodes, we
can define "auxiliary" lists, where the "master" node 1 substitutes the "slave"
nodes 3, 5, and 7. These lists are reported in Table 1 for the elements (1)-(4) that
surround the internal wall boundary 1357. Obviously, we use the real lists for
computing the element contributions to the global matrices, while we refer to the
auxiliary lists in the assembly process. In this way, the algebraic equations corre-
sponding to the slave nodes are effectively eliminated from the global system of
algebraic equations (17). The only penalty is the bandwidth of the system increases,
but this can be a minor difficulty if one uses, as we do, an iterative solver.
Alternative methods for dealing with multiply connected domains, in the context of
streamfunction-vorticity formulations, are illustrated in [4], but we believe that the
procedure suggested here has the advantage of simplicity.
Equations (17)-(19) and (26) can be decoupled and solved in sequence,
provided that special care is taken to represent properly the vorticity. boundary
conditions at inflow and wall boundaries. The calculation procedure, to advance
from the step m ;;. 0 to the step m + 1, can be described as follows.
Once we have determined the contributions of the outflow boundary condi-
tion from Eq. (26), we can impose the boundary conditions (4) and (5) at the
appropriate nodes. Therefore, we can eliminate from the system (17) the nodal
equations that correspond to "slave" nodes or to points where the streamfunction
is known. Afterward, the new values of the streamfunction at the remaining nodes
can be computed from the reduced system (17) as
(29)
where w
m
is the vorticity solution at the previous step, while pm+ 1 has been
obtained from the solution of Eq. (26). Once Eq. (29) has been solved, we can go
back to the original equation (17) and, using the most recent values of the
streamfunction '"m+ 1, we can calculate the vorticity at inflow boundaries, wall
boundaries, and symmetry boundaries as
(30)
Actually, in Eq. (30), we do not have to consider a complete new solution, since the
computations involve only a strip of elements adjacent to the boundaries consid-
ered. Finally, having obtained the boundary values of vorticity from Eq. (30), we
can solve in sequence Eqs. (18) and Eq. (19), advancing to the next time step.
D
o
w
n
l
o
a
d
e
d
b
y
[
T
e
l
A
v
i
v
U
n
i
v
e
r
s
i
t
y
]
a
t
1
1
:
5
1
0
9
M
a
r
c
h
2
0
1
4
OPEN BOUNDARYCONDmONS FOR UNSTEADY CONVECTION 225
CALCULATION OF STRESS COMPONENTS
In the solution of fluid flowproblems, a very important issue is the evaluation
or pressure distributions along internal or external wall boundaries. To this
purpose, in the streamfunction-vorticity formulation, we can utilize the projection
of the momentum equation in the direction s tangential to the wall boundary [221,
au. 1 a(u.
2
+ U}) ap 1 an 1 g
- + - - un + - + - - + - T- s = 0 (31)
ao 2 as n as Re an Fr g
At no-slip walls we assume U; = U. = 0 and thus, by integrating Eq. (31) from a
reference point So to the point of interest s, we obtain
,( 1 an 1 g )
P - Po = - f - - + - T- . s tis
'0 Re an Fr s
(32)
where the unit gravity vector is defined as gig = (0, -1). After having computed
the pressure distribution from Eq. (32) we can calculate, if required, the normal
and tangential components of the stress vector, using the dimensionless expressions
u= -P
and
1
r > --n
Re
which are normalized with respect to pu
2