Professional Documents
Culture Documents
Multidimensional Effects in TW PDF
Multidimensional Effects in TW PDF
In the unlikely event that the author did not send UMI a complete
manuscript and there are missing pages, these will be noted. Also, if
unauthorized copyright material had to be removed, a note will indicate
the deletion.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Order Number 9111063
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
NOTE TO USERS
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
MULTIDIMENSIONAL EFFECTS IN TWO-PHASE FLOW
by
Necdet Kurul
DOCTOR OF PHILOSOPHY
Approved by the
Examining Committee:
Michael K senL/Member
August 1990
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
CONTENTS
Page
NOMENCLATURE ................................................. ix
ACKNOWLEDGEMENTS............................................. xiii
ABSTRACT..................................................... xiv
I. INTRODUCTION ........................................... 1
ii
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
V. 2.3. MultipleBubbles inInfinite Medium .............. 147
iii
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
LIST OF TABLES
Table Page
111.1 The Geometry and Heat Transfer Conditions for the Test
Cases in Figures III.l through III.5 .................. 64
111.4 The Flow and Heat Transfer Conditions Used in Figs. III. 13
and III. 1 4 ........................................... 72
IV. 1 Geometry of the Test Section.................... 105
IV. 2 Distance of Measuring Stations From Steam Inlet .. 105
IV.3 Inlet/Exit Conditions for Tests Selected for Numerical
Calculations ........................... 106
iv
with permission of the copyright owner. Further reproduction prohibited without permission.
LIST OF FIGURES
Figure Page
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
partially heated pipe ................................ 87
IV.3a Pressure distribution along the test section, test A-ll . Ill
IV.3b Pressure distribution along the test section, test A-31 . Ill
IV.3c Pressure distribution along the test section, test B-14 . 112
IV. 3d Pressure distribution along the test section, test B-25 . 112
IV. 3e Pressure distribution along the test section, test C-12 . 113
IV. 3f Pressure distribution along the test section, test C-35 . 113
IV. 3g Pressure distribution along the test section, test D-06 . 114
vi
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
IV. 3h Pressure distribution along the test section, test D-31 . 114
V.7a. Fine mesh used for the solution of flow around a cylinder 155
V.7b,c Mesh used for the solution of flow around cylinders 156
vii
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
V.lib. Drag coefficient for a cylinder in uniform liquid velocity
f i e l d ............................................... 161
viii
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
NOMENCLATURE
A : Cross-sectional area
X-8
Cd :Drag coefficient
c : Specific heat
p
D :Pipe diameter
G :Mass flux
g :Gravitational acceleration
h :Enthalpy
j :Superficial velocity
conductivity
I :Mixing length
ix
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
n : Unit outward vector
P : Heated perimeter
H
p :Pressure
Apkj :The pressure difference between the bulk of phase k and the
interface.
Apkw : The pressure difference between the bulk of phase k and the
wall.
U : Relative velocity
V : Volume
v : Velocity
Greek Symbols
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
a :Void fraction (without index, void fraction of vapor)
H :Dynamic viscosity, pv
v :Kinematic viscosity
p :Density
(T :Surface tension
r :Stress tensor
Indices:
f :Saturated liquid
g :Saturated vapor
1 :Liquid phase
ki :Phase k at interface
t :Turbulent
v :Vapor
w :Wall
xi
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Superscripts:
d :drag related
nd :non-drag related
xii
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
ACKNOWLEDGEMENTS
Jensen, R.T. Lahey, B. K. Malaviya and J.E. Shepherd was most helpful.
xiii
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
ABSTRACT
inclined channel.
xiv
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
An analysis of various aspects of developing mechanistic closure
laws for two-phase flows has been presented in the second part of this
uniform and shear flows, and the interaction of particles, have been
xv
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
CHAPTER I
INTRODUCTION
electronics, etc.
behavior of large and complicated systems on the other hand, the most
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
2
One of the least known aspects of the combined two-phase flow and
few years, the majority of applications of this model have been focused
non-equilibrium occurs between the region and the bulk of the fluid,
the local lateral effects are dominant mechanisms of phase change and
two-fluid models.
empiricism in such equations is still very high, they are not fully
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
3
solved for each phase separately, and are then used to track the
two-fluid models.
problems which have been investigated Eire given in Chapters III and
IV. One of them, presented in Chapter III, deals with the phase,
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
4
the effect of channel wall, on the trajectory of, and forces exerted
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
CHAPTER II
Table II. 1 for each specific conservation law. The boundary conditions
(II.2)
k=l
The terms in Eq. (II. 2) are given in Table 2.2 for each conservation law
separately.
even impossible for most cases of practical interest, even with the
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
6
TABLE II.1
Momentum vk p I-T
k= k K
Energy ek“Pk/pk q"-(-p I+x)°v
k k= =k k V V
i
TABLE II.2
the fact that the conservation equations of each phase are coupled
explicitly solved only for very special cases. Some theoretical and
of these equations.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
7
etc. The resultant equations describe the average motion and heat
or 1 for phase k, and applying time, space, space and time, or ensemble
entire flow region (i.e. the same domain applies to both phases). It
has been shown by Delhaye & Archard (1977) that the order of averaging
when both space and time averaging are applied to Eq.(II.1) does not
space and time averaging for some cases such as stationary two-phase
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
8
■ ApkWski+ikioSki+7 Vo[Vakcik+iT)] +V A
0 r
+ Tv* +M + M (II.4)
k kl kl kw
3 t 1
It [ V k CV e k )1 - v 7 o ( v ^koakpk( e k+ ek ) v k ) = - P k ilF 1 + a kpk
3(a p )
- g j p - - 1 V.[V<rt( , ^ ,"T)] ♦ | V.[Vo-k(Tt+
Mass,
Fi + ra " 0 (II.6)
Momentum,
rt*
+ T oS = M (II.7)
=21 21 1
Energy,
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Equations (II.3) through (II.5) form 10 scalar equations in three
c^+a^l), vfc, and efc (k=l,2). Also, we have five scalar equations
data wherever such data are available. However, there are certain
as follows.
system of coordinates.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
10
particle solution, and the solution for the other phase must
In addition, the overall model should not violate the second law of
thermodynamics.
through (II.8) (336 as given by Lahey and Drew, 1988). However, such a
possible with the present knowledge; only those terms that are known to
between the bulk of each phase and the wall is small and can be
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
11
reduces to,
Q 999
sr (ap v.) + V»(ap v v ) = -a Vp - Ap S +
St k k k k k k k k *k *kl kl
’” r
t °S + V»[a (t + t )] + a p g + r v + M. + M (II.9)
=kl ki k =k =k k k k k kl kl kw
e. = h + i v ov (11.10)
k k 2 k k
for efc in the energy conservation equation, Eq.(II. 5), and combine this
,,, o _ Dp 3a
+v »Ap S — v «r v1 + a -kt — + aZ~ + q" A - V° (<r(q"+ q"T)]
k kl kl kl kl kl k Dt *klSt H kw kw k Hk Mk
D. *** ***
+ a (t + t ):Vv + a q + T e + q" A (II. 11)
k =k =k k kMk k kl kl kl
The last two terms on the left hand side represent the propagation of
case of diabatic channels, this term is small and can be dropped. The
first two terms on the right hand side are due to the mechanical energy
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
12
a Dp da
5
at
V C a p e ) + V o ( a o h v ) = a.-kt- + Ap,
kk k kk k k k Dt MciSt
+ a, (r + tRo):Vv
k =k =k k
This concludes the simplifications that are usually made to put the
equations.
Since the physical phenomena leading to flow regime transition are not
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
13
well understood, the existing closure relations are usually given for a
another set of closure relations is used. Among many flow regime maps
suggested by different authors, the most widely used ones are given by
Taitel et.al. (1980), Taitel & Dukler, (1976), Govier & Aziz (1972),
the flow regime is not explicitly specified, are valid for all flow
conditions.
The second term on the right hand side (RHS) of Eq.(II.9), the
momentum source due to the pressure difference between the bulk of the
solution, the pressure difference between the liquid phase and the
(11.13)
S, = Va. (11.14)
kl k
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
14
Eqs.(11.13) and (11.14) is much smaller than the seventh term on the
RHS of Eq.(II.9) (involving the drag force). Therefore this term can be
The third term on the RHS of Eq.(II.9) is due to the shear stress
dv
O V dv
UY s
adjacent to the wall. The force exerted by the wall in the direction-t
999
V i ' V V . (II'16)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
15
au (11.17)
th "-**Sy
y=0
fine mesh near the wall due to a very thin laminar sublayer. Because of
a lTJ
ur = i r - (II-19)
+ U +
U = g , and y = (11.20)
T
In the buffer layer (20 < y+ < 500), the velocity can be represented by
U+ = i In y+ + B (11.21)
lu5 l i f v«t i
"TjT- K ln [ J* B (II 22)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
16
obtained by,
J ^ = l ln + B t n -23)
where Re^ is the Reynolds number based on the distance 6 and the
contact area between the wall and the bubbles, M can be assumed to
2w
be zero.
two-phase flow modeling, since they include all the detailed phenomena
There has been a considerable amount of work to model these terms. The
ir= -v r ( n -24)
where v^ is the fluctuating component of the velocity. In order to
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
17
Due to the importance of bubbly flow, and due to the insight that
can be gained from it, the main efforts in the modeling of turbulence
only for the (continuous) liquid phase. The general approach used in
flow are extensions of the turbulence models developed for single phase
flows. These models (both for single-phase and two-phase flows) can be
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
18
theory,
distance from the wall, and U is the mean velocity in the main flow
direction. Numerous expressions for the mixing length have been given
by many authors. Among those, Von K&rm&n’s mixing length derived from
length (Schlichting, 1979) are known to give good agreement with the
The expressions for the wall-generated turbulent viscosity, p”, and the
Sato & Sadatoml (1981) and Michiyoshi & Serizawa (1984). In general,
the same as in singlephase flow. However, both Sato & Sadatomi (1981)
for the wall generated turbulence from the expressions commonly used
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
19
< - ( n -28)
momentum equation (Harlow & Nakayama, 1967). It has been observed for
algebraic function of the distance from the wall (Launder et.al. 1972).
were originally derived by Harlow & Nakayama, (1967 & 1968). The form
and parameters of these equations have later been worked out by Launder
as,
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
20
Ht = C^p (11.29)
For high Reynolds numbers, the transport equations and the coefficients
of the k-e model are given by Launder & Spalding (1974) as follows,
me ia f ^ 3k | / ■ [ aY 8ujl8u.
Dt “ P aXj[ ax. JP [ a x * axj aX] ' E (11.30)
^
Dt = p 3X] (_ <re (ii
dxj p k [ dx* axj dx. 2k l an J
TABLE II.3.
The coefficients of k-e Turbulence Model
1 i i T" \-- 1
c c C or or
1 f.
2 k e
r i
1 1 I i i
0.09 1.44 1.92 1.0 1.3
l i
The k and e equations of two-phase flow have the same form as Eqs.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
21
(11.30) and (11.31), but with the addition of production terms due to
the presence of bubbles in both equations. The k-e equations for the
(1986) as,
(11.32)
it +hi =
(11.33)
Eqs.(11.32) and (11.33) are the same as those given in Table (II.3) for
single phase flow. The last terms in Eqs.(11.32) and (11.33) represent
velocity with respect to the liquid phase. For vertical flow they are
given by,
<f>. = -C a (u - u ) (11.34)
k 3 aZ g I
(11.35)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
22
—0.344•10~SRe + 0.243
C3= 0.03 + -(Re -60000)/2000 ’ C4=1-92 (11.36)
1 + e l
main reason that the Reynolds stress models are attractive when the
The sixth term on the RHS of Eq. (II.9) includes two terms to be
with the other constitutive relations for the energy equation. The
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
23
(11.37)
assume that,
c 1 for T < 0
(11.38)
0 for T > 0
where F = r = - r .
1 2
Interfacial Forces
area density, A’’*, are known, the interfacial forces appearing in the
obtained from,
(11.39)
Both the interfacial area density and the force per unit area of
the interface strongly dependent on the flow regime. The flow regime,
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
24
is given below, in which two flow regimes, bubbly flow and separated
the form of bubbles in the continuous liquid phase. The forces exerted
the bubbles. However, the liquid phase flow is also affected by the
between the shape of a single bubble and the fluid flow, or the
interaction between the fluid flow and the motion of a single bubble.
mm) is close to spherical, whereas large bubbles have a cap and highly
the surface tension force is much higher than the forces related to the
dynamic pressure and inertia of the liquid phase). This has also been
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
25
two other studies concerning the effect of the shape can be cited.
flow equations around a bubble attached to a wall and away from the
surrounding liquid.
spherical. One of the first solutions of this kind is the Stokes’ drag
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
26
interface would be expected to have much less shear (due to the low
density of the vapor phase). The agreement between the data for solid
spheres and the bubbles at low Re numbers has been explained by Levich
and the shear boundary condition to a solid sphere case. This argument,
the basis for the solid sphere assumption used in the majority of the
force in the main direction of motion. This lateral force has two
shear in the liquid phase, and exists even for spherical particles
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
27
observed by Oliver (1962), Segr& & Silberberg (1962), Eichhorn & Small
(1964), and Hall (1988). The solid spheres heavier than the liquid in
pipe flow were observed to move towards the center, and lighter spheres
towards the wall. In the laminar flow experiments of Segr6 & Silberberg
position between the wall and the center-plane (about 0.5 to 0.68 radii
from the wall, but the specific distance is quite sensitive to the
sphere in pure shear and in pure rotation are given by Saffman (1962)
equations. These analytical results are only valid for very low
Reynolds numbers (Re«l) and very weak shear (»cd2/i>«l). The lift
inviscid flow around a sphere is given by Auton (1987) for a weak shear
particle. One them is due to the acceleration of the liquid phase, and
is known as virtual mass force. The virtual mass force in uniform flow
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
28
0.1, some interactions occur between the pairs of particles, and when
the void fraction is higher than 0.1, the interactions occur between
(1989).
limitations, are not directly used in the closure relations for the
on the particle are coupled. For example, the drag force on a particle
in shearing flow at a given local velocity is not the same as the drag
force for the same velocity in a uniform velocity field in viscous flow
(Saffman, 1962). These forces can be superposed only when the inviscid
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
29
viscous flows and inviscid flows that the interfacial forces can be
lift force. M°*her includes the Basset force and the Marangoni force
Marangoni and Basset forces are almost always neglected. They are used
discussed below.
Drag Force:
For a spherical particle (bubble), the drag force per unit interfacial
F» = - ? < ’i C d I v vJ (v V (II-42)
Several expressions for the drag coefficient C^are recommended by
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
30
0.7S
C = 24 (1 + 0.IRe )/Re (11.43)
D dm dm
,1.286 -v2
' 1 + 17.67 (1-a) y
r - - — / 8P (11.44)
D ~ 3 2 / <r
18.67 (1-a)1'5 J
where,
p 1 |v
* V
- vI Id
I R
**-«-
m
~ (II'45)
-0.25a u .^ .
( a > n m \i + 0.4u
m ■* v 1
4 f«
Cn - I dB [ <r(T-aT J
-|1/2
(II'47)
as,
6.297
C = -- — — (11.48)
D j^O.385
d
area density can be expressed in terms of the bubble diameter and the
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
31
A’*» = (11.50)
B
When the bubbles are distorted, the interfacial area density can still
significant, and large bubbles form. In this range, both large and
, _ <a> - aU. 6a
U U r i1 -— <a>
r «
i* > » _ 4. 5 ________ go gs I ________
D 1 - a as d I 1 - an J (II.51)
gs R
—B 1^ ” gsr J
that can be cited are the works by Hinze (1955), Kirkpatrick & Lockett
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
32
3/5 -2/5
d (o'/p) e" (11.52)
B.max
In diabatic flows, on the other hand, the bubbles form at the wall
critical Weber number, and they diffuse towards the centerline. If the
centerline of the pipe, the bubbles collapse before they can coalesce
diameter which accounts for the heat transfer effects will be given
in Chapter III.
(11.53)
cond.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
33
splitting and coalescence, the existing works are mostly concerned with
The virtual mass force is given by Drew and Lahey (1979) as,
to be 0.5, which can be obtained from the potential flow solution for
form of the virtual mass force is given by Best ion (1990) as,
*i: - 4 V , ’ (T T - I T ) (I1-561
This form of the lift force is based on the inviscid flow solution. The
the theoretical value for a single spherical bubble is 0.5 (Auton, 1987).
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
34
The third term on the RHS of Eq. (II. 12) is obtained from the
q* = _k = (II-57)
P»k
written as,
= -ktVTk (11.58)
approximation as,
- -fer CH-59)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
35
Reynolds analogy (Eqs. 11.58 and 11.59) cannot be used to obtain the
turbulent energy exchange term in the thermal energy equation with the
(11.61)
compensated by the effect of phase change. For bubbly flow, the heat
transfer between the interface and the vapor phase can be neglected,
» f t
l (11.62)
where
(11.63)
Using Eq. (11.61), and neglecting the potential and kinetic energy
of the interface, the sixth and seventh terms on the RHS of Eq. (11.12)
where m=l for k=2 and m=2 for k=l. In bubbly flow, the second term on
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
36
(1954) is,
k, f r p d |v -v I ,°-sr c f1 I0'33!
H,,— a-.S.O + O.Bsf— ] [-PjLi] (11.65)
The last term on the RHS of Eq.(11.12), the heat transferred from
the wall to each phase, involves far more complicated processes. The
main modes of heat transfer from the wall to the liquid in nucleate
boiling are: heat convection to the liquid phase away from the
modes of wall heat transfer have been given for pool boiling (Bergles
et al., 1981). The same correlations are generally used for forced
Chapter III.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
37
effect on the overall system dynamics, they constitute only some of the
less accurate but fester models have been very attractive. Because of
Mass conservation:
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
38
Momentum conservation:
d 2 ’’’
5T- (a p u. ) + 7 » ( a p u ) = -a. 3= ApS on - a p e sine
ot kk K k k k kaz kl kl z kkk
a 0 r
+ 3-
OZ
[a (t
k k, zz
+ tk,zz
0 )] + r v on + M o n
k kl z kl z
+ Mkw onz (11.68)
to zero, we have in effect extended the control volume over which the
the channel. Hence, the velocity ufc is now the velocity averaged over
single-phase flow, the last two terms in the momentum and energy
equations now play a bigger role, since they have to compensate for the
used for one-dimensional models. Obviously, the lift force does not
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
39
flows is the wall force, since all the most significant effects of
account for the effect of both phases, the wall friction is modified by
flow since, due to the low vapor phase density, the interfacial forces
are dominant in the vapor phase momentum equation. With this in mind,
the vapor phase velocity can be correlated to the liquid phase velocity
so that the vapor phase momentum equation can be eliminated. The most
u = C J + V , (11.69)
9 o 9J
where
J = J + J , J = au J = a u (11.80)
l g g gg, 1 11
for the drift flux parameters to cover all flow regimes in a boiling
channel.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
40
Drift-Flux Model does not introduce any more generality than the
one-dimensional model.
§F+ § =0 (II*71)
where the interfacial jump condition for mass, Eq. (II.6 ), has been
p = pa + pa (11.72)
1 11 g g
equation,
da a T a dp A dp
— 1 + ?-(a u )= - £ - _ 2 _ S - _ i _ £ (II 73)
St Sz g q P P dt P dZ
9 9 9
Generally, the liquid phase is denoted by the index, ’1’, and the vapor
phase by ’v’. The saturated liquid and saturated vapor are denoted by
the indices *f’ and ’g’, respectively. However, when the liquid phase
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
41
emphasize that the vapor phase is actually superheated, the indices ’v*
and ’g* are interchangeably used for the vapor phase. In the present
carrying out the algebra, we can simplify Eq. (11.68) even further by
neglecting the terms with lower order effects. With the assumption that
the pressures of both phases are the same, the second term on the RHS
of Eq. (11.68) can be dropped. Also, the fourth term of on the RHS of
Eq. (11.68), i.e. the term involving the shear stresses, can be
neglected. Note that the shear stresses due to the velocity gradient in
each phase are the same as the bulk velocities of the phases. With
- ||
dz - g? sine - TA
- p - - rglf a
~ - -
a 1 I - .1
P «idt
tr
x-s •• g g J
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
42
be noticed in Eq. (11.74), that the interfacial forces cancel out since
becomes trivial. Neglecting all the terms due to the mechanical energy,
and using the lnterfac'^1 Jump condition for energy, Eq.CII.8 ) together
q "PH 3n Sh i 9hi
-5♦
'V Vr, ■X
x-s
♦f?- <vsar- ".W-
deduced from the interfacial Jump condition for enthalpy. Then, the
problem of obtaining the phase change rate turns into the problem of
Model (HEM), in which both phases have the same velocity and
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
43
1977) and (Yadigaroglu & Lahey, 1976); They will not be reproduced
here.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
44
w.-w
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
CHAPTER III
distinct objectives:
45
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
46
two-phase flow equations has been developed only during the last few
Bartolomei (1967), and, more recently, by Hino & Ueda (1984). The
quality and the flow quality is known, or alternately, if the net vapor
simple two-phase flow model, such as the Drift-Flux model. The former
the experimental data. Such curve fits were recommended by Levy (1966)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
47
and Zuber et.al. (1966). The latter approach, such as the one proposed
Point or Void Detachment Point. The most widely used correlation for
the net vapor generation point is given by Saha & Zuber (1974). As will
scarce. One of very very few experimental results was given by St.
Pierre (1965).
in the single phase section of a heated pipe near the onset of boiling
point has been provided by Roy (1965). Roy’s analysis was intended to
transients.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
two-phase flow are known (which is questionable), one-dimensional
this Chapter.
relations developed for the purpose of the present analysis, and the
next section.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
49
extends over heat fluxes below CHF, the channel-area averaged void
fraction 0.3, and the bubbly flow regime. The channel width (or pipe
diameter) is much larger than the average bubble diameter. The time
scale of the transients must be greater than the time scale of bubble
Based on the arguments made in Chapter II, the second and third
written as,
d p*.
at (V k vk} + Vo(<W k V = -“A + 7o[ak(V ik
° r
+ a„
k pk^k+ r,v
k kl + mkl + Mkw (III. 1)
and the energy source due to the interfacial pressure differences, are
second and third terms on the right hand side of Eq. (11.12) can be
dropped, to obtain,
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
50
(III.2)
heat transfer conditions are collected in Chapter II. Since they have
bubble diameter and heat flux partitioning at the wall. The resultant
(III.3)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
51
and,
(III.5)
v ~ v 4 p
with y being the distance from the wall. The wall-generated turbulence
flow rate and the same geometry using the k-e equations, given by Eqs.
Ishii’s correlation for small bubbles, Eq.(11.43), has been used, and
for the virtual mass force, Drew & Lahey correlation, Eq. (11.54), has
been applied. The effect of the lift force as given by Eq. (11.56) is to
concentrate the bubbles near the wall (the direction of the lift force
section of the channel, the vapor is formed at the wall, so that the
is negligible.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
52
the subcooled liquid section of the channel, but lower than the CHF),
the vapor phase superheat is only a few degrees. Considering the low
density and heat capacity of the vapor phase, even at high void
fractions (around 0.3) the energy carried by the vapor phase in excess
of the saturation enthalpy of the vapor phase is very small. Also, the
heat transfer from the bulk of the vapor phase (bubbles) to the
role on the overall energy balance and the calculated rate of phase
change.
(III.6 )
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
53
be calculated from Eqs. (11.62) and (11.63), where the heat transfer
Eq.(11.65).
The last term in Eq. (III.2), the wall heat flux, is the dominant
in the wall) and bubble growth have been investigated by many authors.
sufficient to mention that, due to a very small contact area between the
bubbles and the wall, the wall heat flux is almost entirely transferred
to the liquid phase, and the bubble growth is supported by the liquid
the heat transfer from a thin layer of liquid between the bubble and
form vapor. After the bubble detaches, the volume vacated by the bubble
is filled with the cooler liquid. The heat transfer from the wall to
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
54
the relatively cold liquid has a rapid transient nature. This mode of
We can also partition the interfacial Jump condition for energy as,
(rA }
1 fg cond
“ <rA J ,,
1 fg wall
= q"AJ
11 1
’* + q" A’”
w,e w
(III.8)
and
-<rA
1
}
fg wall w,e A'”
w (III.9)
The interfacial area density and the interfacial heat flux can be
obtained from the correlations given for inner regions of the channel.
N", as,
q"
w,o
= 6
i ndfp
Bw v
fN"hfg (III. 11)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
55
2k (T -T )
q" = t fA --- ■ * ----------------- (III.12)
H’q q q Atlt/pc
q 1 *1 p
the quenching heat flux given by Eq. (III. 12) is only a rough estimate.
The last part of the wall heat flux, the heat flux to the liquid
q”M
19 = A 19C h
p c u 1
1 p,l (T w
-T 1
) (III. 13)
strongly dependent on the wall heat flux (DelValle & Kenning, 1985),
model based on a rather large data base, to express the bubble diameter
as,
2 .42ol0"5p°'70Sa
d = ---- — ----------------------- (III.14)
Bw VbT
where
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
h (i [c ,/(0.013h Pr1,7)]1/3
C = f9 pl---------- (III. IB)
[«r/(pi-pv )g] '
AT
b = b / /p,)
2(l-p i \ (III.17)
v 1
extrapolat ion.
models are related to pool boiling. A theoretical model for the bubble
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
57
frequency as,
4 gAp
f (III.19)
the material and finishing of the wall, and of the wall heat flux or
Cornwell (1978) etc. In particular, the data of Lemmert & Chawla (1977)
(III.21)
d<Ct> „ 8<a> _
(III.22)
at k az p
where
dC dV
C = C <J> + V + <a> <j>-j-A-
0
+
j. 9 (III.23)
k o J gj ° d<ot> d<oc>
(III.24)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
58
void fraction and flow rate used to obtain the pressure distribution
The relation between the void fraction and the quality is given
by,
<x>
<0t> = (III.25)
P„ P V
9 9J
<x> + -2- (l-<x>)
P«
1/4
■ <rg (p -p ) 1.7S
V = (C -l)<j> + y~2 l 9 (l-<a>) (III.27)
<jJ o
P1P9
Although the drift flux parameters given by Eqs. (III.26) and (III.27)
Chapter.
The phase change term in the drift flux model is given by Park
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
59
*1
where h is the liquid bulk enthalpy at the axial location where the
la
Correlations for the net vapor generation point are given by many
EPRI correlation (Ansari et.al. 1981), etc. In the present analysis the
q"P c
0.0022 H -pl for Pe < 70000
k
(III.29)
for Pe > 70000
where
boiling on the wall temperature is seen soon after the wall temperature
prior to the net vapor generation point the newly formed bubbles
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
60
using a two-phase flow code, PHOENICS, Versions 1.3 and 1.4 (Rosten &
has a variety of built-in models. It also offers the user the freedom
Illinois.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
61
two-fluid model, the heat flux into each phase and the rate of
part of HEATFLUX.FOR.
The PHOENICS code has been checked for many simple cases to verify
sources of the momentum and energy equations associated with the phase
change were incorrect. The necessary changes have been made and the
Appendix A).
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
62
closure relation, keeping all the other models the same. The geometry
of the test section and the flow and heat transfer conditions are
listed in Table III.1. All the tests were centered around a set of
III.2. The axial void fraction and temperature distributions are shown
used for the drag force, virtual mass force and the interfacial heat
area density, and the partitioning of heat flux at the wall. This is
the reason why a more mechanistic model for partitioning of the heat
flux at the wall had to be developed. Taking into account that the
has been of interest in the present work, the model formulated here is
limited to bubbly flows only, i.e. are valid as long as the average
(1966) and St.Pierre (1965). The average void fraction, and liquid
temperatures for each data set are shown in Figs. III.6, III.7 and
III.8, respectively. The first two data sets are for a pipe, the last
the average void fraction and the average liquid temperature predicted
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
63
III.6 and III.7, good agreement has been obtained between the
predictions made by the present model and the experimental data. There
data, as shown in Fig. III.8. The data indicates that the void fraction
as the flow regime changes from bubbly to slug or churn flow, only the
rate of increase in the void fraction, not the void fraction itself, is
large bubbles. The decrease in the measured void fraction can only be
Given the fact that the lateral distributions were measured using a
suspected.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
64
TABLE III.l
The geometry and the flow and heat transfer conditions for
the test cases in Figures III.l through III.5.
TABLE III.2
SUBCOOLED BOILING
are,
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
65
2. Unsteady-state conditions:
such conditions. However, when the inlet subcooling is reduced, the net
vapor generation point falls inside the developing flow region. Since
parameter predict the net vapor generation point closer to the inlet
onset-of-boiling point and the net vapor generation point. Even though
the volume of the vapor phase formed in this region is very low, the
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
66
developing flow has been performed using the present 2-D model. The
criterion used to define the net vapor generation point has been
selected to be the void fraction near the wall rather than the
for a high inlet subcooling, and the void fraction near the wall was
vapor generation point. Once the void fraction near the wall at the net
vapor generation point was determined, the inlet subcooling was reduced
and the axial location of the same void fraction at the same radial
distance from the wall was tracked. The average enthalpy at this point
was used as the enthalpy at the net vapor generation point. An example
This procedure was repeated for a matrix of wall heat fluxes, mass
fluxes and pipe diameters, given in Table III.3. The final results are
shown in Fig. III. 11. As seen there, the effect of pipe diameter is
mass flux and heat flux, the Saha-Zuber correlation can be modified to
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
67
GAh , GAh •
in I _ in
D = 0.044 — -P- exp 1-0.0223 — ^ 1 + exp ■0.0505
TABLE III.3
been considered, uniformly heated right from the entrance, and having
conditions. The results are shown in Fig.III.12 for two values of the
heated length. In the first case (Fig. III. 12a), the average enthalpy of
the two-phase mixture was slightly higher than the liquid saturation
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
68
value of 0.2. This value was close to the void fraction calculated by
the 1-D model. The latter reached a maximum at the heated channel exit
and then slightly decreased. In the other case, (Fig. III.12b), the
exit subcooling of 3°C was already high enough to cause the void
models are the bulk temperature, velocity and void fraction, all
models.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
69
thickness used in Roy’s study was very small, the effect of lateral
shown below.
3T ^ 3T P.
= q^ (III.34)
pCr at u az
x-s
0T
pwc pWAV do
_Ji=:q*” Aw - q" P„ (III.35)
w H
where heat conduction in the axial direction has been neglected, both
in the wall and in the liquid. The heat flux from the wall to the
q"
w = H (Tw - T) (III.36)
obtain,
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
70
q
H0 f_ ST .1
a
H
*-o I® 1+ST " I f r r - i n i *
ST = 1 - exp
- + a yt—
u 1+ST
(III.37)
where
p c A HP
T = ~V Pp w • ■ a = g252 (ii i. 38)
“ o h W oC p
The index "0" refers to the steady state values; the hat,
Nu = C RemPr°‘33 (III.39)
details),
q"Su r ,
ST = -J— - aw f(t) - e-nzh(t) J (III.41)
where,
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
71
oo
h(t) = f
’ -i— f“ ]k I
0 Ck! )2tT J T |
j— '
I 1____ jk
(auox+l)w2 exp T
(-1)
22
t w (m-1) - (au t+1)
______________ o____
[ «s("(t-jj-)) I*OB * sin[w(t-2-)] Ikln ]
(4>Z [T2w2+(au T+1)2] L uo
0
[(
t•. n im
u -l
i)M(
oau u tt+1)
-rxj +
T 1]
u r r r *\ t
+ ----- — -------- — f Sin|w(t-5_)| Ik - cos|w(t-— )| Ik 1
w [t w +(au t +1) ] I- *- o J 008 *• uo J sln
o
(III.43)
t-z/u_
. [I vae ^ d v
I*u| (x) = (III.44)
t-z/u
0
I"-
■k, =
- f| vke"v/T sin wv dv (III.45)
sln Jo
t-z/u
o
rk .
f vke -v/T
[ = I I cos wv dv (III.46)
J
o
time, the exponential terms involving time decay off, and the solution
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
72
inlet velocity perturbations of 0.2 Hz. The flow and heat transfer
conditions for Fig.III.13 are given in Table III.4. As seen from the
explain. The amplitude given by Roy (1975) is even higher than the
value for the case without wall inertia, whereas it is expected that,
in the present case, the thermal inertia of the wall should attenuate
TABLE III.4
The Flow and Heat Transfer Conditions Used in Figs. III. 13 and III. 14
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
73
radius are shown in Fig. III.14. It can be observed from Figs. III. 13
and 111.14 that the trends of the numerical calculations using PHOENICS
agree well with the analytical and experimental data. It is known that
frequencies.
correlation for the net vapor generation point, the error made in the
phase angle is between 10° to 20° for 0.2 Hz oscillations in the inlet
flow rate. This difference in the phase lag is solely due to the
temperature distribution in the single phase flow region. The fact that
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
74
there are already bubbles formed at the net vapor generation point
has been used to study the response of a boiling channel to the wall
However, the conditions of the predictions and the experiment are not
exactly the same. In the experimental data the amplitude of the wall
heat flux oscillations was not kept constant, but varied from 7% to
15%. Although the heat flux oscillations data given by St.Pierre (1965)
have been normalized to the 10% amplitude, they are not necessarily
oscillation were used for all the data points shown. As in the
Another set of flow and heat transfer conditions has also been
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
75
of 20% and periods ranging from 0.25 sec to 8 sec. The void fraction
generation point from both 1-D and 2-D calculations for different
generation point in the 1-D model was obtained based on the void
differences in both the amplitude and the phase shift of the location
of the net vapor generation point between the 1-D and 2-D predictions
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
1.50 1.00
0.90
1.25
< jl> 0.80
0)
fraction
E 0.70
1.00
o 0.60
<jg>
void
0.75 0.50
fshll. 1984
0.40
Average
Ishll & Zuber. 1978
0.50
Wollla, 1976 <00 0.30
0.20
0.25
0.10
0.00 0.00
0.50 0.80 1.10 1.40 1.70 2.00
-o
cn
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
1.00
0.90
1.25
(0
<i,> 0.80
fraction
E 0.70
1.00
a 0.60
void
0.75 with virtual m a s s 0.50
TJ
c without virtual m a s s
0.40
Average
0.50
<00 0.30
0.20
0.25
0.10
0.00
0.50 0.80 1.10 1.40 1.70 2.00
-j
78
In subcooled
,s
E
o
o
o
c
(0
boiling.
+■»
cn
Q III.3.
Figure
-i in
o in o in © in o d
in <M o
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
20 1.00
10 0.90
0.80
fraction
-10 0.70
McAdams, 1954
<T,>
-20 0.60
Wolfert 1978
void
(0 -3 0 0.50
i-
-4 0 0.40
Average
-5 0 <a> 0.30
-6 0 0.20
-7 0 0.10
-8 0 0.00
0.00 0.40 0.80 1.20 1.60 2.00
o
o_ Drag
o Force
CM
Virtual Mass
Force _
Heat flux x 1 0 6
Quenching
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
20 1.00
0.80
fraction
-10 2-D Two-fluid
0.70
U -20 Drift Flux
0.60
O Bartolomei, 1967
-3 0
void
h 0.50
-4 0
I
0.40
Average
j__ -5 0
<00 0.30
-6 0
-7 0 0.20
-8 0 0.10
-9 0 0.00
0.00 0.40 0.80 1.20 1.60 2.00
30 1.00
20
M 0.80
10
fraction
a 0
Q) 0.60
-10 2 -0 two—fluid
void
5
(d
b_ A Rauhanl. 1966
0) -20
a 0.40
Average
E
a) -3 0
I"
-4 0
0.20
-5 0
-6 0 L— 0.00
1.00 1.50 2.00 2.50 3.00 3.50 4.00 4.50 5.00
1.00
Wall temperahra
0.80
fraction
O
2-0 two-fUd
0.60
Drift flue
Canterllna terrpcrutira
void
1988
<D '
0.40
Average
I °
I? Average temperahre
-2
-3 020
Void fraction
0.00
030 0.60 0.7S 0.90 1.05 1.50
1.00 0.60
0.90
0.50
(/) 0.80
E
0.70
0.40
fraction
+j
O 0.60
O
> 0.50 Tw o—fluid model 0.30
Void fraction
Void
.S3 0.40
o St. Pierre. 1 9 6 5
«♦- 0.20
L.
Q) 0.30
a
D
(/) 0.20
0.10
0.10
0.00 0.00
0.00 0.20 0.40 0.60 0.80 1.00
y/H
Figure III.9. Lateral distributions of superficial velocities and void
fraction at 0.65 m. from inlet; same conditions as in
Figure III.8 .
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
0.50
o
tri
WaK temperature
0.25
Near wall
temperature
0.20
Centerline
temperature
Void fraction
0.10 0.15
Channel
inlet Void fraction
0.05
0.00
Distance (m)
Figure III.10. Temperature and void fraction distributions in a heated
channel; z is the location of the void detachment point
for fully developed flow, as obtained from the Saha-Zuber
correlation. 00
01
86
0 fe
Dt/«2) M
0.4 2.8
hf - IhJs.
Figure III. 11. Void detachment point for different pipe diameters and
various heat transfer conditions.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
87
Void
temperature (C) Fraction
Average void
fraction
r n rfi 11 1 | 1 r i i | r n i | i i i i | ir
0 1 2 3 4 5
Distance from inlet (m)
(«)
Void
Temperature (C) Fraction
Average void
fraction
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
0.40 200
Lumped well
0.35 (analytical)
Phoenlca, 1 -0
0.30 150
Roy. 1978
(analytical)
(C).
0.25
O
angle
0.20 100
0.15
0.10 50
0.05
0.00
0 1 2 3 4
Distance from inlet (m)
Figure III.13. Amplitude and phase angle of temperature oscillations
with respect to inlet velocity oscillations in a heated
single-phase pipe (Refrigerant);
co
0=0.02438 m, q"=1.063 W/m2, Gq=924 kg/m2, P=0.3 MPa. CO
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
160
O) 120
Lines: predictions
Figures; Roy. 1975
JZ 80
a t 0 .7 4 5 m
O — at. 0 .9 4 2 m
40 V a t 1.210 m
a t 1.63B m
Radius (cm)
0.50
-10
0.40
-20
angle
OJ 0.30
-30
Phase
-40
Amplitude
R'edietion
■• Phase angle -50
R-ediction
A Amplitude
StPierre. 1965 O -60
° Phase Angle
StPierre. 1965
0.00 I -70
0.40 0.60 0.80 1.00 1.20 1.40
1.00
-1 0
0.80
-20
0)
•O
-30
angle
a
E 0.60
-40
T"
Q)
Phase
N -50
0.40
Id
E -60
o Amplitudes normalized as
ST -70
0.20
«T„ = r ^ r
0 In
-80
0.00 -90
0.40 0.60 0.80 1.00 1.20 1.40
Void
rj— Fraction
o -
At 3.1 m from inlet
a -
Drift flux model
2 —D model
2.7 m from inlet
o - ^\
o -
Time (s)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
S3
— 2— D Model
CM
- - Drift Flux Model
***-~| i ri i i i i i | r r i n i i i r | i i r i |"vt n -|
0.00 0.25 0.50 0.75 1.00 1.25 1.5
Time (s)
CM .
m
0.0 2.5 5.0 7.5 10.0
Time (s)
co
m
0.0 5.0 10.0 15.0 20.0
Time (s)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
94
20
_o
to
_o
o
10
Frequency (1/s)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
CHAPTER IV.
vapor flows over a cold surface. The heat transfer from vapor to the
have shown that when vapor comes in contact with subcooled liquid, the
Nusselt number obtained for film condensation does not predict the
Section II.2) for energy and mass apply to a small control volume
95
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
96
temperature gradients are known. This will be shown more clearly in the
observed. The test section was a rectangular channel, 0.38 m wide and
1.27 m long. Two channel heights were used, 0.076 m and 0.028 m. Also,
experiments, 4°, 30°, 33° and 87° from the horizontal. As shown in Fig.
IV. 1, the liquid water entered the test section through an opening near
the upper end of the channel, and was flown down towards the exit near
the lower end. The vapor at a pressure of 0.1 MPa was flowing in the
opposite direction.
The measured flow parameters were: the inlet mass flow rates of
both the liquid and vapor phases, their inlet and exit temperatures,
and the liquid film thickness, steam flow rate and pressure drops at
five different locations along the channel (see Fig. IV. 1).
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
97
geometrical configuration for each series are given in Table 4.1, and
Modeling Concent
(a) The width of the test section is 5 to 10 times larger than its
(b) The liquid film occupies only a small fraction of the channel
(c) The condensation of steam has a very small effect on the liquid
channel inlet and exit does not exceed 10%); hence, a constant
(d) The pressure drop along the channel is very small compared to
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
98
(e) The calculated Reynolds number (see Table IV.7) indicates that the
one for the vapor, the other for the liquid. In each case, physical
the difference between the heat flux on the liquid side and that on the
vapor region and an inflow term in similar equations for the liquid
region.
Equations Used
The generic conservation equations are given by Eq. (II. 1). Under
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
99
the assumptions made above, the momentum equation for each separate
vapor flow is always turbulent. In the letter case, the Prandtl mixing
length was used for the Reynolds stress term, as given in Chapter II.
where H is the height of the channel (here, the name "channel" refers
condition was used both at the walls and at the interface. For a flat
shear stress balance (i.e. the shear stresses at the vapor and liquid
sides of the interface are equal to each other). Also, using the
determined.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
100
can be derived from the generic conservation equation, Eq. (II. 1), under
where Eq. (11.64) was used to combine the interfacial heat transfer and
The last term in Eq. (IV. 3) is zero for the inner control volumes.
(k=l, m=2), and h =h in the vapor phase (k=2, m=l). The phase change
f
rate can be calculated from the interfacial Jump condition given by
from,
The heat transfer coefficient for the laminar liquid phase is,
81 |
H.i ■ w |i— (IV-5)
The heat transfer coefficient on the vapor phase side of the interface
CV2
C c fTV 7)
h 1 + W.StPr0-68- l)*C/2)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
101
parameters in each region, i.e. in the vapor region and the liquid film
vapor to the liquid on the flow conditions in each region was ignored.
region was calculated and the resulting shear stress values were used
Iterative method described above was very fast, so that no more than 5
mainly due to the fact that the density of steam was much smaller
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
102
than that of water and, consequently, the velocity field in the vapor
both the vapor and liquid regions, calculated previously, were used to
condensation was then used as. a mass outflow from the vapor region and
a mass inflow to the liquid film. For such modified flow interfacial
is shown in Fig. IV. 2. As seen, a fine grid was required near the
channel ends, at both sides along the interface, and near the wall in
the vapor region, but no grid refinement was necessary near the channel
bottom wall.
the steam inlet and each measuring station are show in Fig. IV. 3, and
the steam mass flow rates at each station as given in Figs. IV. 4 and
IV. 5.
As seen in Fig. IV. 3, the measured pressure drop between the steam
inlet and the first station is much higher than between individual
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
103
resulting in a high local pressure loss which was not accounted for in
at the first station has been assumed. The results of calculations for
this case are shown in Figs. IV.3(a) through IV.3(h). In general, the
data. The most significant differences are observed in the case of test
C-35.
vapor phase due to condensation, reduces the pressure drop. The trends
through IV.3d), the calculated pressure drops are lower than the
larger than the laminar sublayer thickness. In test cases C-12 and C-35
deceleration of the vapor phase should not be blamed for this reduction
in the pressure drop since there is no sudden change in the steam flow
rate in this region, as cam be seen in Fig.IV.4. Figs. IV.3a and IV. 3f
show that the magnitudes of the pressure drops are very low in all the
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
104
cases. Since the accuracy of the experimental data is not known for
such a low pressure drop (the error bars are not given), it is very
assumptions.
condensation rates were lower than the experimental data. Test case
D-31 shows a good agreement, whereas test case B-14 shows the largest
difference.
both an extra shear stress slowing down the steam flow and an increase
in the contact area between the phases. In order to account for the
the area of the interface. The results obtained for three cases, given
values than the calculations performed for the actual interfacial area.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
105
TABLE IV. 1
Geometry of the Test Section
TABLE IV. 2
Distance of Measuring Stations From Steam Inlet (m)
Data Station #
set
1 2 . 3 4 5 6
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
106
TABLE IV.3
Inlet/Exit Conditions for Tests Selected for Numerical Calculations
Test # T T T
nG,in BL,ia G,in G,out L,in T
L.out
kg/sec kg/sec °C °C BC °C
A-li 0.0806 0.3955 136.9 122.3 2.3 74.2
A-31 0.0601 0.7920 136.1 121.6 29.6 54.8
B-14 0.1605 0.7952 136.3 129.1 19.1 93.2
B-25 0.0808 0.8026 128.1 119.6 60.0 97.5
C-12 0.1030 0.3986 140.4 124.7 9.1 96.6
C-35 0.0930 0.5000 140.4 130.8 59.2 99.7
D-06 0.0695 0.3871 130.5 111.7 8.8 87.4
D-31 0.0691 0.3022 135.2 119.8 38.6 96.5
TABLE IV. 4
Measured Liquid Film Thickness for Tests Selected
for Numerical Calculations (mm)
Test # Station §
1 2 3 4 5
A-ll 3.646 3.264 3.182 3.280
A-31 4.417 4.078 4.002 3.773
B-14 2.199 2.179 2.145 2.001
B-25 1.854 1.803 1.854 1.930
C-12 0.920 0.949 0.953 0.963
C-35 0.876 0.887 0.895 0.894
D-06 2.410 2.440 2.366 2.386 *
-B-31 1.456 1.376 1.313 1.194 -
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
107
TABLE IV . 5
Measured Local pressure Drop for Tests Selected for
Numerical Calculations (Pa)
Tese t Station #
1 2 3 4 5 .6
A-ll 3.240 4.511 5.399 5.942 6.482 6.659
A-31 2.579 3.328 3.724 4.083 4.298 4.298
B-14 21.771 26.292 27.514 28.375 29.176 28.830
B-25 4.373 4.955 4.851 4.947 4.896 4.550
C-12 5.072 5.626 5.279 5.582 5.734 4.549
C-35 5.390 5.485 4.369 3.972 3.684 3.209
D—06 22.107 23.784 27.529 30.585 32.323 31.664
D-31 • • • —
TABLE IV. 6
Measured Local Steam Flow Rate for Tests Selected
for Numerical Calculations (kg/sec)
Test # Station #
1 2 3 4 5
A-ll 0.0693 0.0604 0.0510 0.0430 0.0353
A-31 0.0469 0.0352 0.0283 0.0259 0.0199
B-14 0.1256 0.1145 0.0997 ' 0.0809 0.0669
B-25 0.0629 0.0577 0.0520 0.0426 0.0338
C-12 0.0936 0.0833 0.0808 0.0669 0.0537
C-35 0.0926 0.0891 0.0821 0.0702 0.0613
D-06 0.0630 0.0528 0.0413 0.0303 0.0175
D-31 0.0705 0.0660 0.0624 0.0584 0.0585
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
108
TABLE IV.7
Calculated Reynolds Numbers for Tests Selected
Numerical Calculations
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
log
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
•1.27 ■
VAPOR PHASE
VAPOR IN IT Ay/It,
=t> 1.2,10,11 0.0093
3.9 0.0185
4 thru 8 0.1850
110
Ill
S* o. 4
a.
Figure IV.3a Pressure distribution along the test section, test A-ll
6 1 i ' I
— •
A aaasured
ipor exit
A
— ■©— —
•C 3 - O O O
O
sr O
*» •
2 22
£2. » I
l • 1 .
t
0 i i 1 1
0*2 0.4 0.6 0.8 1.0 1.2
Distance from vapor Inlet (a)
Figure IV.3b Pressure distribution along the test section, test A-31
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
112
O calculated
*2 8
-24
9 23
Figure IV. 3c Pressure distribution along tbe test section, test B-14
2% 7 O calculated
i
■ sW
s *
3
0.4 0.6 0.8
Distance froa vapor Inlet (a)
Figure IV.3d Pressure distribution along the test section, test B-25
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
113
1 1 1 1 1
1 "1
1
•a 7 A asasursd 1 «
O ealeulacsd 1
s -« O O 1
io»s ‘
■ 0
A ♦i -
u I
6 A
A. ”2 1
• ^ 5 O 8 1•
«>*w to A
to A*
• §•«-
• • f
0.2 0.6 0.8 1.0 1.2
Diseases fros sapor laloe (a)
Figure IV.3e Pressure distribution along tbe test section, test C-12
10 i i 1
—
-- ^
A asasursd
1
'!>
------
O caleulaead
a O
1
-«
-- r-
O
m O
V
— 6 a O 1
to
-- i
■ !'
O A
is a 81
s
a
A I
"o 1
!
: * A t 1a
5 A
Z 3 a 4.
a • * • • • • ----------- 1-1 1
—
Figure IV.3f Pressure distribution along the test section, test C-35
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
114
O calculated
Figure IV. 3g Pressure distribution along tbe test section, test D-06
1 • 1 ■1 1
1T
0
-
o i >"
- m
o
o M
•
U
- 8.
m
5 1
- o r
I f * . i
0.2 0.4 0.6 0.8 1.0 1.2
Distance f m vapor lalae (a)
Figure IV. 3h Pressure distribution along the test section, test D-31
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
US
o.u
0.12
O.U
0.09
0.01
(kg/Me)
0.07
0.00
flow nta
0.09
mm
0.04
0.03
• Alt A A3t
• BU ▼ B25
■ C12 • C3S
0.02 + 006 T 031
Ciramcribad figiraiedoMad
SoBd figtros rmawrad
0.01 i x
0.2 0.4 0.« 0.8 1.0
U ic h m fm Tepor la la e (a)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
116
aoa
007
Mass flow rate fcgfeed
OuOS
003
CX02
•a
O01
*v ■
ooo 1 A
OOO 020 040 060 080 1.00
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
117
0.11
0.10
009
rate fcgfoec)
OlOB
Musa flow
OL06
005
004 th>
003
002 1
OOO 020 040 060 080 1.00
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
118
0.10
0108
007
006 -
005
004 I
OUOO 020 040 060 080 1.00
Dlatanoe from vapor H at M
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
CHAPTER V.
119
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
120
three-dimensional bubbles.
+ u^VS = 0 (V. 1)
due to the fact that, as mentioned in Chapter II, the impurities in the
stresses across the interface may become so large that the bubble acts
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
121
the liquid phase, the stresses at the interface are very small due to
the low density of the vapor phase, and can be neglected. It should be
noted here that the no-shear boundary condition at the interface does
1962).
the bubble/liquid interface are: (a) no-slip at the interface when the
the interface (for pure liquids and low density bubbles). In both
field inside the bubbles does not affect the motion of the bubbles.
Chapter II, the lift force used in the two-fluid model is based on an
lnviscid flow solution, wheras the drag force correlations (such as the
one given by Eq. 11.43) are based on the viscous flow solution. One of
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
122
flow of continuous liquid and moving particles has been developed. The
model was then used to analyze the configurations which have not been
a shear flow (both simple shear and laminar channel flow), a freely
moving particle near channel wall, and the interaction between closely
Navier-Stokes equations were solved using the FIDAP code. The solution
elements. Besides the solution algorithm used in the fluid flow solver,
domain. Although the FIDAP code has a built-in grid generator, it could
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
123
algorithm was developed for the purpose of the present work. The basic
particles, and (c) does not experience instability problems. The grid
The grid generation scheme was then combined with the FIDAP code
to track the motion of particles. The algorithm which has been used for
fixed in space and the steady state Navier-Stokes were solved to obtain
the initial flow field of the continuous phase and the forces exerted
reference to the mesh after the particles were displaced, were obtained
previous time step. Starting with this interpolated velocity field, the
marching in time without correcting the results for a given time step,
become unstable if the time step is too large. On the other hand,
acting on a bubble does not change much during a time step, the results
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
124
this case the time step does not have to be repeated (i.e. an explicit
average force during this time step. The time step is repeated for the
new displacement of the bubble, until the change in the average force
steps used in the algorithm, namely, the grid generation scheme, the
far away from the particles as desired, it is not practical from the
view point of the computer time and memory requirements. Since the
achieved if the particles stay far enough from the numerically (not
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
125
the long wake behind the particles, the velocity boundary conditions
particle is moving faster than the fluid, the boundary condition would
all could be attained (similar behavior has been observed using the
the outlet condition has turned into an inlet condition and the
particles when the particles were first set free after the initial
suddenly), the Iterations for the first time step were carried out
hours of the CRAY-2 CPU time (85% of this CPU time was used by FIDAP
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
126
fluid flow solver converge fester. Thompson et. al. (1985) gave an
For a static case, the basic grid generation methods fall into three
are specified, as shown in Fig. V. 3. In the next step, the nodes on the
border lines are specified. And finally the subdomain is filled with
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
127
equations Eire solved in this domain. However, in the present case the
computational domain does not have any significance other than being an
The mapping between the computational and the physical domains can
equations,
€xx + € yy + € zz = P
7} + V + V zz = R (V. 2)
xx yy
where £, 7) and < are the coordinates of the computational domain and
x, y and z are the coordinates of the physical domain, and the subscripts
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
128
--J2
x = (V + xvQ + XCR)
(V. 3)
Vk y = _j2 (y^ + V + y?R)
z = -Jz (z^P + z^Q + z^R)
x€ % XC
J = det (V. 4)
y€ y* y<
z€ zu 2C
a ■= ( y ^ - y^ ) 2 . (x ^ - x^ ) 2 . (x ^ - x^ ) 2
c ■ (V b ' V c ’2 * (V b ■ V c ’2 * (V b ■ V s ’2
d ’ ’‘c ' W 2c V * yc ‘W zc V * zc (* c V yc V
"V V W V c ’ ‘ V b ‘V c * V c ’ ' W V c * V c ’
f * xI l V c * V c ’ * yc ( V c * V b ’ * 2c ‘ V c * V c ’
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
129
-x ^ ' w ‘ * s V N V * c V ‘ y« V \ V y? V
In two-dimensions, Eqs. (V.3), CV.4) and (V.5), respectively reduce to,
4 x = -J <V +
(V. 6)
y = -J (y^5 + y„Q)
(V. 8)
especially for small number of nodes on the boundary. Ryskin & Leal
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
130
(Thompson et al, 1985), their form used In any given given case is
the heat transfer from an array of fixed particles is given by Chen &
Tong (1988).
easily.
When the particles are allowed to move freely, the mesh must
a wave front in the continuous phase flow field, such as the scheme
approximately 60 to 100 seconds of the CPU time on Cray-2 for one time
step, whereas the grid generation phase takes less than 10 sec, a new
grid was generated for each new position of the particles in the
distortion.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
131
the metric tensor (see the RH5 of Eq.V.4) as 1, the sizes of the
physical and computational domains are made the same. For equal
the particles are known prior to the generation of the grid, the node
a single particle and unequal spacing, the mesh sizes in each direction
A£^ = f^ and A tj^ f1* At) ^ . Since at the center of the particle
conditions at the interface are the same for multiple particles. At the
x = x t ,1^ = 0 at £ «= £ ,
■in o£ Bin
x = x ,55 = 0 at £ = £
■ax o£ max
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
132
y = = ° ■*' = % (v'9)
With the boundary conditions given above, Eqs. (V.6) were solved to
obtain the coordinates of the internal nodes and the nodes on the outer
elements were constructed. Some examples of the grids used for the
The FIDAP code used in the solution of the continuous phase flow
fiuj
0^ = 0 (V. 10)
f au au i . a2u
p[ W * uj axj J * " ax^ M e X jd X j + p f i (v .ii)
In Eqs. (V. 10) and (V. 11), constant properties of the fluid have been
assumed.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
133
time integration schemes are also available, namely the backwards Euler
second order accuracy. However, the time steps are adjusted during the
method, namely the backwards Euler method. At each time step, the
solution was restarted from the velocity field in the previous time
over one time step. Note that, for incompressible flows, the pressure
field can be recovered from the velocity field at any given time, since
The last term in Eq.(V.11) includes only the gravity force for the
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
134
effectively.
written as,
Fi “ K * F! + g i V (p c"pP) (V*12)
equations, the last term is the buoyancy force instead of the gravity.
elements, the pressures are known at the center of each element. For a
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
135
= P0 + a ^ V — (v-13)
an flui
a l ' - P ”, » r 'v » >
The pressures at the Interface evaluated from Eqs. (V. 13) and (V. 14) can
on the particle,
* i = ~ J p in i ^ (V*15)
S
where n is the unit outward vector at the interface, and S is the
surface area.
The shear force and the moment exerted on the particle are
evaluated as,
fflu. flu.i 1
mr l‘,*>
*r t «
F. -J •*[sr♦ <vl6)
S J 1
du. 8u
r f aui Suj1
M = J "I
“ 155T * s r Jtir,cij.ds (V17)
s
e J *
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
136
after a time interval, At, can be evaluated from the basic laws of
particle was not allowed to move more than half the size of a typical
error code to the shell script indicating whether or not the time step
is to be repeated.
Interpolation Scheme
the elements of the mesh to the new mesh generated for the new
irregular mesh structure. The fastest and most accurate algorithm was
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
137
calculated by,
The velocity field in the vicinity of each node of the mesh for
the previous time step is now known. The next step is to determine the
node number of the mesh before the particles are displaced, which is
closest to a given node of the mesh after the displacement. Even for
small displacements, the nodes which are closest to each other before
and after the displacement are not necessarily the same. This happens
especially near the particle. Very often, a node originally on the left
nodes in the old and new meshes involves too many floating point
of the mesh before the displacement, to node-k of the mesh after the
mesh before the displacement, the distances between node-k and the four
node-1 rather than node-i, then ncde-i is replaced by node-1 and the
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
138
node-i, then node-i becomes the closest node to node-k. However, if, by
any chance, the starting node-i is on the other side of the particle,
the search may suddenly stop at a node on the interface at the opposite
side of the particle, since this node has only three neighbors. To
solve this problem, the nodes on the opposite sides of the interface
vectorizable), and ran for less than 0.2 sec. for (70x40) nodes. The
between the two meshes, and writing into the restart file of FIDAP, is
given in Appendix C.
other hand, for very high Reynolds numbers and no-shear boundary
except for the region close to the bubble. In practical cases, the
situations both the acceleration and viscous terms are important. Thus,
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
139
analyze the mechanics of the flow rather than to create a data base,
In the results shown below, a cylinder radius of 0.5 mm. hag been
used. The liquid properties have been chosen as p=1000 kg/m3, and
two, the former was studied much more extensively before, so that the
accuracy of the present solution method. The latter, on the other hand,
from Fig.V.9, the boundary layer seperatlon occurs in all the cases
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
140
Fig. V. 10.
is the drag force. The drag coefficient, defined by Eq. 11.41, has been
most recent numerical work. As seen from Fig. V. 11, a good agreement was
observed that the contribution of the shear force to the total drag
respectively.
mesh, shown in Fig. V.7b (approximately 5 times larger linearly near the
cylinder), were compared with the fine mesh. The results of this
comparison are also shown in Fig. V. lib. It can be seen that there is
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
141
shown in Fig. V. 11. In the absence of other data, these results can be
calculated to be approximately 0.4 for Re=100, and 4.5 for Re=5 (Ryskin
8> Leal, 1984). The drag coefficient for a solid sphere is 1.19 for
Re=100 and 7.1 for Re^S (White, 1974). As can be seen in Fig. V. lib, in
for no-slip boundary condition is 4.5 to 6 times larger than that for
theoretical works to obtain an expression for the lift force have been
moves with a higher velocity than the liquid, and the far field
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
142
analysis, it should be noted that the lift force for a sphere is in the
both viscous flow solution for low Reynolds numbers and inviscid flow
solution (see Chapter II). For a cylinder, the inviscid flow solution
1961).
One of them is the lift force due to the local shear. When the particle
yet another force, the so-called Magnus force, may become important.
flow. The geometry considered in this case is shown in Fig. V. 12a. Such
The range of the Reynolds numbers was 15 < Re^ < 23 and 15 < Re < 70.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
143
condition is shown in Fig.V. 13. As it is seen from Fig.V. 13, the lift
both the Re and Re^ numbers in the range considered here, and is
circular cylinder and 0.5 for a sphere in simple shear (Batchelor, 1967
and Auton et al, 1988). The sign of the calculated lift force agrees
with the analytical solution for ideal flow. As it will be seen in the
next case, the lift force on a cylinder with no-slip boundary condition
inequalities,
Fig. V. 14, the results are in good agreement, especially for low values
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
144
solution has been observed In the case of drag force, good agreement
higher.
higher ReK numbers, the calculated lift force for the no-slip case is
compared in Fig. V. 13 with the lift force for the no-shear condition.
The simple shear flow case discussed above was later replaced by
fluid near the channel wall. The Reynolds number of the liquid based on
adjusted in such a way that the Re^ numbers would be the same as in the
configuration have been compared with the slmple-shear case, and are
shown in Fig.V. 13. As seen there, the existence of the wall increases
applies. The magnitude of the torque for each case considered above
is given in Fig. V. 15, with the sign selected to be positive when the
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
14S
lateral force for a rotating cylinder in simple shear and near a wall
is shown in Fig.V.17.
parallel to the wall may change when the particle is displaced in the
freely moving particle near the wall were examined by solving the
the continuous liquid was released at a distance from the wall equal to
slightly lower than the value at which the drag and buoyancy forces are
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
146
pointed out that, for the purpose of a more clear illustration, the
vertical scale in Fig. V. 18 was made larger than its horizontal scale.
direction than in the lateral direction. During this time interval, the
The initial lateral force on the particle is quite large, as was also
lateral direction, initially away from the wall, decreases rapidly, and
still moves towards the centerline. Although the motion was not
anticipated that the present trends that the net lateral force will
can be deduced from this result that the actual value of the lift
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
147
motion of the other bubbles around it. As mentioned in Chapter II, the
theoretical works for multiple bubbles indicate that when the void
particles (40% lighter than the liquid) were placed at the corners of
the area occupied by the bubbles within the triangle to the triangle
area. The particles were set free with an inital velocity corresponding
to Re=50, and the motion of them was followed. The trajectories of the
in the wake of other two particles accelerates faster than the leading
from each other. Since the liquid velocity (in the opposite direction
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
148
to the particle motion) between the particles ’1’ and *2 ’ is higher than
’1* and ’2 ' is in accordance with the conclusions drawn from the
results for a particle moving in a shear flow, i.e. that the particles
experience a higher drag than the other particles since its relative
Fig. V. 22, the differences between the forces exerted on each particle are
small. After the particles are set free, the pressure force on particle
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
149
Evaluate forces on
each bubble moving with
a fixed velocity
NO YES
IS P '-P r” > oF
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission
If A
E
wake wake
(a ) (b)
150
(b) The frame of reference used in the calculations
151
e
o
(.
o>
e
v
00
•o
60
O
a
c.
J3
H00
as
§
e
S.
«
Cm
O
e
o
<8
tm
*>
3 scheme
o
3
00
■N
u*
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
_ (a) PHYSICAL D O M A I N
•* • • • • •
••■%•*•*%*••%•••*•••§•••*•••#
• • • • •
(b) C O M P U T A T I O N A L D O M A B M
• • • •••
Figure V.4. Happing between the physical (a) and computational (b)
domains for a single bubble
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
th permission of the copyright owner. Further reproduction prohibited without permission.
■■■■■■■SBSSaaiaaaaaiaaiaaiaaaaiiaa
iEBaaaaSSSSaaaaaaaaaaaaaaaaaflBflaaa
jiiflBaaSSSMBBBaBBBBflaBflBfliaaflaBflB
iBflBBBaillSlSaaaBBBBBBBBBBaBBBSaSaB
iBBBlBaiaaaiaaaBBBBBBBBBaaiBBBBiiBa
■aBiBBaaiiiiiaaBaaiaflaBBBBafiaaaaa|B
BBBBflBBflBBBBaBBBflBflBflBBBBBBBBflBBBBB
(a) (b)
BBiiiiHiuiiiiiliiiiiiiBBaiaarBiBiaBi
(c) (d)
s A
Figure V.6 .
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
155
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
bb!S2!2!J!!!!2S!I, *bbb, bbbbbbbbb
iiiiiliBiiiiiiaiiiiiiiHiRiiaiiiiiiiaiiiMa«iiaiiiiiii>iiii>aii>aaiaianniiiaMiiiaiii
ifiiiHiHaiiiiaMi«iniiaiiiiiiiiiiiaiiaaiii>aiiiii»iiiiBiiiiiaiaiaiNiaiHMiMiiiiiii
aaaaaaaaaaaaiaaBaaaiaaiaaaaiiaiaaBaaiaaaiiiaBaBaaiiaaaiaaaiaaaaiaBSiiaaaiaaaaaaaaaaBBBaa
BBBBBBBBBBBBBBBaBBaBBBBaiBBBIBBBBBBBBBBBaBIBBBBBBBaaaaBBBIBBBBBaaBIBaaBBtaaaBBBIBaaaBBBI
aaaaaaaBBBBBaBIBBBBBaBaBaflBBBBBBBBBBBBBB8BaBBBaBBBBBBBaBBaBBBBBa8BBSaBaaBBBBBBBBBBBaaaai
BB8RB8BBBBBBBBBBBBBB8BflBBB88BSiaBBBB88BiB88BBa8aBBBBBB8BBBBB8BBBBBBBBB8BaBBBBB8BBB8BBaaB
BBaBBBBBBBBBBBBfllBBBIIIKIIiiiii*11*111**"***1*'*********'**''**'
!!!.!5!£-b-bbbbbbbbbbb»r»
............. B B I B I B
BBBBBBBIBBBIIBBIBIBBBB
BBBBBBBIBBBBBIBBBBIBBB
aaiBBBBBBBIBIBBIBIIIBB
aaBBfllBailBIBBBIBBBBBB B I M B B B B B I I B B ....... BBBBBBBIBBB
IBIBBIBBiaiBBBBIBBBBBBBBBBBBBBBBBBaBBIBiaiBS
Figure V.7. Mesh used for the solution of flow around a cyllnder(s)
(b) Coarse mesh used for uniform flow
(c) Mesh used for tracking the motion of three particles
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
157
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
158
LEGEND Re = 100
*
A 3.667
___
B 2.883
C 1.667
D 0.836
—
E 0.500
F 0.250
' G 0.117
H 0.050
I 0.017
J 0.001
K 0.0
Re = 60
•
Re ■ 20
■A"■ 1~ ■■-
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
VORTICITY
(1/sec)
A 40
B 100
C 150
D 200
E 500
F 1000
G 1500
H 2000
I 2500
J 5000
STREAMLINES
A 1.000
B 0.667
C 0.333
D 0.250
E 0.167
F 0.100
G 4.433
H 0.033
I 0.170
J 0.008
K 0.000
L -0.008
M -0.017
N -0.025
0 -0.033
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
3.00
1.50 B o
+
A
T
t
O
1.00
▼ o
o
0.50
0.00 _L
10 100
Reynolds rurfcer
160
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
□
Nft-flhMT
□
O
• • • 1
10 100
Reynolds number
161
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
, r
L c r tC O J lL L
(a) (b)
Re NOr-SlIp
1S charnel flow
30
48
3H 70
TJ
No-sllp
Simple shear flow
a
No-shear
simple shear flow
-1. — B-
10 12 14 16 18 20 22 24 26
dUj/dy (1/sec)
Figure V.13. The lift force exerted on a cylinder in simple shear and
channel flows.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
100
10
s
4
\ Analytical solution
Brethertor\ 1962
A Present numerical
solution
0.1
0.1 1 10
dUj/dy (1/sec)
164
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
400
200
300
100
o
H
(l/sec)
0
A
HV 100
velocity
4-> -100
•H
S
u Oi r
8. -200
Angular
100
-300
200
IS 400
17 19 21 23 25
dUj/dy (l/sec)
c.
0)
•o
c
mh
>»
o
00
c
o
u
a
G
O
•o
0)
■<->
o C.
0
01 X
\ 0)
0
u
>> u
a
9 a
U u
0
*>
a
■aM
o
0
JS
H
CD
00
*p/np n* A U d / Ti
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
1B7
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
110 30
(l/sec)
100
VWadty carpa 20
90*
parallel to wall
direction
80
10
70
in clockwise
60
W
50
40
-10
velocity
20 Velocity ccirpanant bi
Angular
-30
0.00 002 006 0.07 0110
Tine ( m c )
300 30
200 20
Fore* In tranavarae
(10~9 N)
direction
o
H 100 10
length
Hfl>
-300 -30
0.00 0.02 0.07 0.10 0.12
Time (sec)
s
170
8
7 -
6 -
5 -
4 -
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
80 10
Velocity In
flow (fraction
60 — D ~t3—
* V
20 - V -2
-6
Velocity in
traneveree (fraction
-20 -1 0
0.00 0.0S 0.10 0.15 0.25
Time (sec)
2000
1900
I
o
H
W
1000
Fare* in flew
■p
•H 900
§
Q...
.o ..
Fare* In tranavr—
■ i it ■ i
GnVCuOrl
-900
aoo aog ai o 0.19 0.20 0.25
Time (sec)
172
CHAPTER VI
CONCLUSIONS
obtained by using these models have been discussed separately for each
summarized as follows.
steady-state.
173
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
174
requires more attention than it has attracted so far. Since the model
heat transfer limits the level at which two-phase flows can be modeled
liquid flow and the resultant interfacial forces. The results indicate
the effect of viscosity has been found to reduce the lift coefficient
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
175
force for a sphere is towards the wall). A large reduction (on the
order of 10 times) in the lift force was observed when the particle was
allowed to move freely. Even the sign of the lateral force switched due
of time (such as the time scale used in two-fluid models) is much lower
been found to be very significant. This result does not apply to the
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
176
commonly used lateral forces In the two-fluid models, since the lift
used in the same two-fluid models are based on a viscous flow solution
for a solid sphere. Because the two boundary conditions yield different
very limited and there is much more work to be done. For example,
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
REFERENCES:
Auton, T.R., Hunt, J.C.R. and Prud'homme M., 1988, "The force Exerted
Bergles, A.E., 1981, "Pool Boiling," Two-Phase Flow and Heat Transfer
Bestion, D., 1990, "The Physical Closure Laws in The CATHARE Code,“
177
with permission of the copyright owner. Further reproduction prohibited without permission.
178
Hemisphere.
Chexal, B. and Leilouche, G., 1985, "A Full Range Drift Flux
Transfer Conference.
PB-8,Toronto, Canada.
Celeta, G.P., Cumo, M., Farello, G.E. and Focardi, G., 1987, "Direct
Cook, D., Bankoff, S.G., Tankin, R.S. and Yuen, M. C., 1981,
NUREG/CR-205B
Delhaye, J.M. & Achard, L., 1977, "On the Use of Averaging Operators in
Nuclear Reactor Safety. Ed. Jones, 0.C. and Bankoff, S.G., ASME,
NewYork.
DelValle M., V.H. and Kenning, D.B.R., 1985, "Subcooled Flow Boilingat
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
179
Dennis, S.C. and Chung, G.Z., 1970, "Numerical Solutions for Steady
Drew, D.A., 1978, "The Force on a Small Sphere in Slow Viscous Flow,"
Drew, D.A. and Lahey, R.T., 1987, "The Virtual Mass and Lift Force on a
Eichhorn, R. and Small, S., 1964, "Experiments on the Lift and Drag of
pp. 513-527.
Foraberg, B., 1980, "A Numerical Study of Steady Viscous Flow Past a
Govier, G. W. and Aziz, K., 1972, The Flow of Complex Mixtures in Pipes.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
180
Boundary in Turbulent Flow," .L. Fluid Mech. Vol. 187, pp. 451-466.
Hancox, W. T. and Nicoll, W. B., 1971, "A General Technique for the
Hancox, W. T., Ferch, R.L., Liu, W. S. and Nieman, R. E., 1980, "One-
Eyrolles, France
NY.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Ishii, M. and Mishima, K., 1984, "Two-Fluid Model and Hydrodynamic
107-126.
Ishii, M. and Zuber, N., 1978, 1978, "Relative Motion and Interfacial
Florida.
Kim, H.J., Lee, S.C. and Bankoff, S.G., 1985, "Heat Transfer and
Lahey, R.T. and Drew, D.A., 1988, "The Three Dimensional Time and Space
Lahey, R.T. and Moody, F.J., 1977, The Thermal Hydraulics of a Boiling
Launder, B.E., Morse, A., Rodi, W and Spalding, D.B., 1972, "Prediction
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Turbulence Models," Proc. Free Turbulent Shear Flows. NASA Langley
Lopez de Bertodano, M., Lee, S.J., Lahey, R.T. and Drew, R.T., 1990,
NY.
Mishima, K and Ishii, M., 1984, "Flow Regime Transition Criteria for
with permission of the copyright owner. Further reproduction prohibited without permission.
Niuwstadt, F. and Keller, H.B., 1973, "Viscous Flow Past Circular
No, H.C. & Kazimi, M.S., 1985, "Effects of Virtual Mass on the
Two-Fluid Model,11 Nuclear Scl. and Engr.. Vol. 89, pp. 197-206.
Park, G.C., Podowski, M.Z., Becker, M. & Lahey, R.T., 1986, “The
556-573.
California, Berkeley.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
184
Gas Bubble Through a Quiescent Liquid," .L. Fluid Mech.. Vol. 148,
pp. 19-35.
Saffman, P.G., 1965, "The Lift on a Small Sphere in a Slow Shear Flow,"
Saha, P. and Zuber, N., 1974, "Point of Net Vapor Generation and Vapor
pp. 167-177.
Segev, A., Flanigan, L.J., Kurth, R.E. and Collier, R.P., 1981,
Sevik, M. and Park, S. H., 1973, "The Splitting of Drop and Bubbles by
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
185
Channel," ANL-7041.
Shoukri, M.S.M. and Judd, R.L., 1978, "A Theoretical Model for
Taitel, Y. and Dukler, A.E., 1976, “A Model for Predicting Flow Regime
Taitel, Y., Barnea, D. and Dukler, A.E., 1980, "Modeling Flow Pattern
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
186
B-2.8, Paris.
Tsuji, Y., Morlkawa, Y. and Fujiwara, Y., 1985, "Pipe Flow with Solid
177-188.
Unal, H.C., 1976, "Maximum Bubble Diameter, Maximum Bubble Growth Time
643-649.
Bubble or Drop in a Uniform Flow," JL. Fluid Mech. Vol 101, pp.
673-686.
Wallis, G.B., 1969, One Dimensional Two Phase Flow. McGraw Hill.
Report NP-275.
Wolfert, K., Burwell, M.J. and Enlx, D., 1978, "Non-Equilibrium Mass
Zuber, N., Staub, F.W. and Bijwaard, G., 1966, "Vapor Void Fractions in
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Subcooled Boiling and Saturated Boiling Systems," 3rd
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
APPENDIX A
The first set of FORTRAN programs listed in this Appendix are the
1.4). The include file MYGRDLOC must also be in the path inaddition to
the include files of PHOENICS. Secondly, a sample input for one of the
wall heat flux as given in Chapter III. The results of WALHEAT.FOR are
written in two binary files (see code listing for the format). One of
188
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
189
* Subcooled Boiling *
* GROUND SUBROUTINE FOR VI.4 *
* (MODIFIED FOR CFT-77) *
»**#»•»*****»»******•***•*******••»*»
PROGRAM MAIN
1 The following two COMMON'S, which appear identically in the
satellite MAIN program, allow up to 50 dependent variables to
be solved for (or their storage spaces to be occupied by
other variables, such as density). If a larger number is
required, the 50's should be replaced, in the next 8 lines,
by the required larger number; and the 200 in COMMON/FOl/
should be replaced by 4 times the required number. Numbers
less than 50 are not permitted.
CQMMON/LGE4/L4(SO)
1/LDB1/L5(50)/IDA1/I1(50)/IDA2/I2(50)/IDA3/I3(50)/IDA4/I4(50)
1/IDA5/15(50)/IDA6/I6(50)/GI1/I7(50)/GI2/I8(50)/HDA1/IH1(50)
1/GH1/IH2(50)/RDA1/R1(50)/RDA2/R2(50)/RDA3/R3(50)/RDA4/R4(50)
1/RDA5/R3(50)/RDA6/R6(50)/RDA7/R7(50)/RDA8/R8(50)/RDA9/R9(50)
1/RDA10/R10(50)/RDA11/R11(50}
1/GR1/R12(50)/GR2/R13(50)/GR3/R14(50)/GR4/R15(50)
1/IPIP1/IP1(50)/HPIP2/IHP2(50)/RPIP1/RVAL(50)/LPIP1/LVAL(50)
1/IFPL/IPL0(50)/RFPL1/ORPRIN(50)/RFPL2/ORMAX(50)
1/RFPL3/ORMIN(50)
LOGICAL L1,L2,L3,L4,L5,DBGFIL,LVAL
CHARACTER*4 IH1,IH2,IHP2,NSDA
o
COMMON/FOl/19(200)
COMMON/DISC/DBGFIL
COMMON/LUNITS/LUNIT(60)
EXTERNAL WAYOUT
oooo
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
190
CHARACTER*4 CSGD
C
C 4 Set dimension of patch-name array here. WARNING: the array
C NAMPAT in the MAIN program of the satellite must have the
C dimension.
COMMON/NPAT/NAMPAT(100)
CHARACTER*8 NAMPAT
C
C
C CONFIG FILE name declaration.
COMMON/CNFG/CNFIG
CHARACTER CNFIG*48
C
C 5 The numbers in the next two statements (which must be ident-
C ical) indicate how ouch computer memory is to be set aside
C for storing the main and auxiliary variables. The user may
C alter them if he wishes, to accord with the number of
C grid nodes and dependent variables he is concerned with.
COMMON F(160000)
NFDIM-160000
C
C 6 Logical-unit numbers and file names, not to be changed.
CALL CNFGZZ(2)
CALL EARSET(l)
CALL OPENFL(6)
C
C User may here change message transmitted to logical unit
C LUPR3
C
OPEN (UNIT-80,FILE-'DUMP.DAT' ,FORM-'UNFORMATTED' ,STATUS-’NEW’)
C
CALL WRIT40{'20 NODE LOCAL GROUND USED ')
CALL MAINl(NFDIM)
CALL WATOUT(O)
STOP
END
C****•«••*********•*•*»*****•**••••*•*•**••»••*•*•****»«»•*•***•
C$DIR**GROSTA
SUBROUTINE GROSTA
INCLUDE 'SATEAR'
INCLUDE 'GRDLOC*
INCLUDE 'GRDEAR'
C.... This subroutine directs control to the GROUNDS selected by
C the satellite settings of USEGRX, NAMGRD a USEGRD.
c
C Subroutine GREX2 contains options for fluid properties,
C turbulence models, wall functions, chemical reaction etc. It
C was introduced in version 2.0 of PHOENICS.
C
IF(USEGRX) CALL GREX2
C
C
C.... BTSTGR contains the seguences used in conjunction with
C the BFC test battery.
C
IF(NAMGRD.EQ.'BTST') CALL BTSTGR
C
C.... TESTGR contains test battery seguences used in conjunction
C with the test-battery SATLIT subroutine, TESTST.
C
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
191
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
192
C used below but the user must check GREX for any conflicting
C uses. The same comment applies to the EARTH-spare working
C arrays EASP1, EASP2,.... EASP10. If the call to GREX has been
C deactivated then they can all be used without reservation,
c
IXL-IABS(IXL)
IF(IGR.EQ.13) GO TO 13
XF(IGR.EQ.19) GO TO 19
GO TO (1,2,3,4,5,6,24,8,9,10,11,12,13,14,24,24,24,24,19,20,24,
124,23,24),IGR
c
C-— GROUP 1. Run title and other preliminaries
c
1 GO TO (1001,1002),ISC
1001 CONTINUE
Q2PR-RG(11)
C
C variables to be used in Group 13.
c
C RG{16) : Virtual mass coefficient
C RG(17) : lift force coefficient
C RG(18) : multiplier for momentum source at wall
C RG(19) : hfg
C RG(20) : heat flux to liquid phase (GROUP 13 and 19)
C
C
C EASP1 Bubble Reynolds number
C EASP2 Temporarily used in virtual mass calculation
C EASP3 Virtual mass source in z direction
C EASP4 Interfacial area per cell
C EASP5 Bubble diameter
C EASP6 Used to be earlier values for virtual mass, now commented out
C EASP10 turbulent kinematic viscosity
C
c
CALL NAKE(EASPl)
CALL MAKE(EASP2)
CALL MAKE(EASP3)
CALL MAKE(EASP4)
CALL MAKE(EASP5)
CALL MAKE(EASP6)
CALL MAXZ(EASPIO)
CALL MAKE(VOL)
CALL MAKE(ANORTH)
RETURN
1002 CONTINUE
C interfacial heat transfer
Q2PR«RG(11)
RETURN
C•*****•**••*•»•*•»•*•*•••*•*»«•**•**••*»••*••*»•»*•**
c
C GROUP 2. Transience; time-step specification
c
2 CONTINUE
RETURN
C******************************************************
c
C-— GROUP 3. X-dlrection grid specification
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
193
3 CONTINUE
RETURN
noon
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
194
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
195-
94 CONTINUE
C * ------------------SECTION 4 -----------------------
C For DRH2DP.LE.GRND D(LN(DEN) )/DP for phase 2 (D2DP) .
RETURN
95 CONTINUE
c * ------------------SECTION 5 -----------------------
C For ENUT.LE.GRND reference turbulent kinematic viscosity.
CALL SETYX(EASP10,GVTW1,NY,1)
CALL SETYX(AUX(VIST),GVTW2,NY,1)
CALL FN26(AUX(VIST),R2)
CALL FN34(AUX(VXST),EASP10,1.)
CALL FN23(AUX(VIST),5.E-4)
RETURN
96 CONTINUE
C * ----------------- SECTION 6 -----------------------
C For ENUL.LE.GRND reference laminar kinematic viscosity.
RETURN
97 CONTINUE
C * ----------------- SECTION 7 -----------------------
C For PRNDTL( ).LE.GRND laminar PRANDTL nos., or diffusivity.
RETURN
98 CONTINUE
C * SECTION 8 -----------------------
C For PHIHT( ).LE.GRND interface value of first phase(FIIl).
C
RETURN
99 CONTINUE
c * ----------------- SECTION 9 -----------------------
C For PHINT( ).LE.GRND-— interface value of second phase(FII2)
c
RETURN
noon
RETURN
102 CONTINUE
» ---------------- SECTION 2 --
ooono
103 CONTINUE
*---------------- SECTION 3 --
nnononn
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
196
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
197
RETURN
135 CONTINUE
SECTION 6 coefficient » GRND5
RETURN
136 CONTINUE
SECTION 7 coefficient - GRND6
RETURN
137 CONTINUE
SECTION 8 coefficient * GRND7
RETURN
138 CONTINUE
SECTION 9 coefficient - GRND8
RETURN
139 CONTINUE
SECTION 10 coefficient “ GRND9
RETURN
1310 CONTINUE
SECTION 11 coefficient “ GRNO10
RETURN
1311 CONTINUE
SECTION 12 ------ value - GRND
RETURN
1312 CONTINUE
SECTION 13 value “ GRND1
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
198
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
199
1354 CONTINUE
C
END IF
no
RETURN
1316 CONTINUE
---------------- SECTION 1 7 ------------------------- value - GRND5
noon
IF (INDVAR.EQ.V1) THEN
CALL FN2 (VAL,C2,0.,-1.)
ELSE
CALL FNO (VAL,C2)
END IF
RETURN
1317 CONTINUE
---------------- SECTION 1 6 ------------------------- value - GRND6
oono
GVSRCE - GEVAP
GVSRCE - RG(18)*GVSRCE+GVSRCE/RH02
o
IF (INDVAR.EQ.V1) THEN
CALL FN2(VAL,ANORTH,0.,GVSRCE)
ELSE IF (INDVAR.EQ.V2) THEN
CALL FN2(VAL,ANORXH,0.,-GVSRCE)
END IF
o
RETURN
1318 CONTINUE
n
14 CONTINUE
RETURN
oonnnooooo
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
200
19 GO TO (191,192,193,194,195,196,197,198),ISC
191 CONTINUE
C * -------------------- SECTION 1 ---- START OF TIME STEP.
C
Q2PR = RG( 11)*(1.+0.2*SIN(2.*3.14159*(ISTEP-1)/16 ))
WRITE (*,*) 'TIME STEP :',ISTEP,' HEAT FLUX : ',Q2PR
IF (ISTEP.GT.l) CLOSE (75)
WRITE (FINAME(1:6),1915) ISTEP
1915 FORMAT ('EVAP',12.2)
C
OPEN (UNIT=75,FILE=FINAME,FORM='UNFORMATTED',ACCESS='DIRECT'
& ,RECL=300,STATUS-'OLD')
C
READ (75,REC=1) NREC,TSUB1,TSUB2,VEL1,VEL2,QW
DO 1916 JREC = 1,NREC
READ (75,REC=JREC) (GEVRAT(JJ,JREC),JJ=1,35)
1916 CONTINUE
C
RETURN
192 CONTINUE
C * SECTION2 -----START OF SWEEP.
RETURN
193 CONTINUE
c * SECTION3 -----START OF IZ SLAB.
C
C
C The following coding used to be in section 1
C it is moved here for parabolicruns
C
c
C IF (ISTEP.EQ.l) THEN
C CALL FN1 (EASP4,0.)
C CALL FN1 (EASP6,0.)
C END IF
C
C turbulent kinematic viscosity
C for mass flux 900 kg/m2*sec — $
C symmetric, obtained from k-eps solution
c
GVTWl(10,1) = 2.749E-06
GVTW1( 9,1) = 1.206E-05
GVTWl( 8,1) = 1.666E-05
GVTWl( 7,1) = 2.249E-05
GVTWl( 6,1) = 2.762E-05
GVTWl( 5,1) = 3.242E-05
GVTWl( 4,1) = 3.666E-05
GVTWl( 3,1) = 4.029E-05
GVTWl( 2,1) = 4.076E-05
GVTWl( 1,1) = 4.903E-05
c
c ACTUAL VALUE IS ABOUT 0.00012
C
DO 1941 111=1,10
GVTW2 (111,1) = 0.00012
1941 CONTINUE
C
RETURN
194 CONTINUE
C * SECTION4 ---- START OF ITERATION.
C
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
201
C LIFT FORCE
C
CALL GWLIFT (C2,VOL,RH02,RG(17))
C
C The lift force with this sign acts on liquid phase
C
RETURN
195 CONTINUE
C * SECTION5 ---- FINISH OF ITERATION.
C
RETURN
196 CONTINUE
c * SECTION6 -----FINISH OF IZ SLAB.
IF (ISWEEP.E Q .LSWEEP) THEN
WRITE { * , * ) ISWEEP, LSWEEP, IZ
CALL GDVARS (ISTEP)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
202
END IF
nnnn
VIRTUAL MASS
EASP2 is temporary, EASP4 and EASP6 are earlier
RETURN
197 CONTINUE
* SECTION7 ---- FINISH OF SWEEP.
non
RETURN
198 CONTINUE
* SECTION8 ---- FINISH OF TIME STEP.
non
RETURN
noon
SUBROUTINE SPECGR
CALL WRIT40('DUMMY SUBROUTINE SPECGR CALLED. ')
CALL WRIT40('PLEASE ATTACH SPECGR OBJECT AT LINK. ')
CALL WAYOUT(2)
RETURN
END
SUBROUTINE SPC1GR
CALL WRIT40('DUMMY SUBROUTINE SPC1GR CALLED. ')
CALL WRIT40('PLEASE ATTACH SPC1GR OBJECT AT LINK. ')
CALL WAYOUT(2)
RETURN
END
SUBROUTINE SPC2GR
CALL WRIT40('DUMMY SUBROUTINE SPC2GR CALLED. ')
CALL WRIT40{'PLEASE ATTACH SPC2GR OBJECT AT LINK. ')
CALL WAYOUT(2)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
203
RETURN
END
SUBROUTINE SPC3GR
CALL WRIT40('DUMMY SUBROUTINE SPC3GR CALLED. ')
CALL WRIT40('PLEASE ATTACH SPC3GR OBJECT AT LINK. ')
CALL WAYOUT(2)
RETURN
END
SUBROUTINE QUIZ
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
204
uuuuuuu
REAL*4 REMAX
C
INCLUDE 1MYGRDLOC’
COMMON /IGE/IXF,IXL,IYF,IYL,IGFILL(21)
COMMON /NAMFN/NAMFUN
CHARACTER*6 NAMFUN
C
NAMFUN = 'GREYNO'
C
CALL L0F5(KRE,KDIA,W1,W 2 ,R1,INDRE,INDD,INDW1,INDW2,INDR1,IADD)
INDRE *= INDRE + IADD
INDD = INDRE + INDD
INDW1 = INDRE + INDW1
INDW2 = INDRE + INDW2
INDR1 = INDRE + INDR1
C
DO 10 IY = IYF,IYL
C
REYNL = F(INDR1+IY)*F(IY+INDD)*ABS(F(INDW2+IY)-F(INDW1+IY))/VISL
REYNL = AMIN1 (REYNL,REMAX)
IF (REYNL.LT.l.E-10) REYNL=1.E-10
F(INDRE+IY) = REYNL
C
10 CONTINUE
C
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
205
nonnnnn
INTEGER AREA
o
INCLUDE 'MYGRDLOC'
COMMON /IGE/IXF,IXL,IYF,IYL,IGFILL(21)
COMMON /NAMFN/NAMFUN
CHARACTER*6 NAMFUN
n
NAMFUN = 'GPHSCH'
n
1 CONTINUE
DO 10 IY = IYF,IYL
F (IY+INDPH) = F (IY+INDCN)
10 CONTINUE
n
RETURN
END
nnnn
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
206
C
C The direct access data file must be openand associated with
C unit number 75. The first record is the title record and contains
C NREC, TSUB1, TSUB2, VEL1, VEL2, QW. NREC does not include title
C record. TSUB = TSAT - TB
C
c
DIMENSION E M (35)
C
READ (75,REC=1) NREC,TSUB1,TSUB2,VEL1,VEL2,QW
C
DTSUB = (TSUB1 - TSUB2)/(NREC-1)
DVEL = (VEL2 - VELl)/34.
IT1 = (TSUB1 - TSUB)/DTSUB+2
IV1 = (VEL - VEL1)/DVEL+1
IF (IT1.LT.2) THEN
WRITE (*,*) 'HEATVTSUB OUT OF RANGE *** TSUB = ',TSUB
TSUB = TSUB1 - 0.001*DTSUB
IT1=2
END IF
IF (IT1.GE.NREC) THEN
WRITE (*,*) 'HEATNTSUB OUT OF RANGE *** TSUB = ',TSUB
TSUB = TSUB2 + 0.001*DTSUB
IT1=NREC
END IF
IF (IV1.LT.1) THEN
WRITE (*,*) 'HEATWEL OUT OF RANGE *** VEL = ',VEL
VEL = VEL1 + 0.001*DVEL
IV1=1
END IF
IF (IV1.GE.35) THEN
WRITE (*,*) 'HEATWEL OUT OF RANGE *** VEL = ',VEL
VEL = VEL2 - 0.001*DVEL
IV1 = 34
END IF
IT2 = IT1+1
C
Reproduced with permission of the copyright owner. Further reproduction prohibited w ithout permission.
207
R =2.*(VEL - VC )/DVEL
S =2.*(TC - TSUB)/DTSUB
nn
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
208
c *
c GINTAR. FOR * Calculates interfacial area in a cell.
c May 1, 1989 +
c
C
SUBROUTINE GINTAR (KINT, KDIA, VOL)
c
C
C KINT : index of the spare earth array to include interfacial
C area density.
c KDIA : index of the spare earth array that includes the bubble
c diameter
c
c 4.5 a - ags 6 ags 1 - a n
r A" ' = —— --- ---— + ---— ( — ----- )
c D 1 - ags dB 1 - ags
c
C ags = 0.3929 - 0.57142*a for a>0.25
c ags = 0.05 for a>0.6
C
c n = 1
c
INTEGER VOL
c
INCLUDE 'MYGRDLOC'
COMMON /IGE/IXF,IXL,IYF,IYL,IGFILL(21)
COMMON /NAMFN/NAMFUN
CHARACTER*6 NAMFUN
C
NAMFUN = 'GINTAR'
C
DPIPE = 0.0154
C
CALL L0F5(KINT,KDIA,R1,R2,VOL,INDK,INDD,INDR1,INDR2,INDVOL,IADD)
INDK INDK + IADD
INDD INDK + INDD
INDR1 = INDK + INDR1
INDR2 = INDK + INDR2
INDVOL = INDK + INDVOL
C
DO 10 IY = IYF,IYL
C
ALFA = F(IY+INDR2)
IF (ALFA.LT.0.25) THEN
AGS = ALFA
ELSE IF (ALFA.LT.0.6) THEN
AGS = 0.3929 - 0.57142*ALFA
ELSE
AGS = 0 . 0 5
END IF
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
209
onnnnnn
I 5 Tsub > 5 C
db = a*T + b T = < Tsub -34 < Tsub < 10 C
I -13.5 Tsub < -34 C
INTEGER KINT
REAL*4 CPL,TSUB
C
INCLUDE 'MYGRDLOC'
COMMON /IGE/IXF,IXL,IYF,IYL,IGFILL(21)
COMMON /NAMFN/NAMFUN
CHARACTER*6 NAMFUN
C
NAMFUN = 'GBDIAM'
C
CALL L0F2(KINT,HI,INDK,INDH1,IADD)
INDK = INDK + IADD
INDH1 = INDK + INDH1
C
DO 10 IY = IYF,IYL
C
TSUB = F (IY+INDH1)/CPL
IF (TSUB.LT.-13.5) TSUB = -13.5
IF (TSUB.GT. 5.) TSUB = 5.
F(IY+INDK) = 1.E-4*TSUB + 0.0015
C
10 CONTINUE
C
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
210
onnoonn
INCLUDE 'MYGRDLOC'
COMMON /IGE/IXF,IXL,IYF,IYL,IGFILL(21)
COMMON /NAMFN/NAMFUN
CHARACTER*6 NAMFUN
nnn
liquid properties
DATA RHOL,CPL,VL,VT,HK,HFG/788.02,4823.,1.302E-7,1.302E-5,0.619,
Sl 1.6771E6/
n
NAMFUN = 'GCONDS'
n
CALL L0F5{KCON,KD,KINT,KRE,HI,INDC,INDD,INDI,INDR,INDH,IADD)
INDC = INDC + IADD
INDD = INDC + INDD
INDI = INDC + INDI
INDR = INDC + INDR
INDH = INDC + INDH
no
COEFF = 4.*VL*HK/(3.14156*CPL*RHOL*(1.+VT/VL))
n
DO 10 IY = IYF,IYL
no
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
211
c
F(INDC+IY) = PHSCHG
10 CONTINUE
C
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
212
c *
C GDRAGI.FOR * Ishii's interfacial drag coefficient
C April 18, 1989 *
C**************.***.
c
c
SUBROUTINE GDRAGI (KDRG, KREY, KDIA, KINT, VISK, IZ)
C
C VISK = RH01*ENUL
C
C Other arguments are the earth array indices pointing to the
C following quantities:
C
C KDRG : Drag force coefficient
C KREY : Reynolds number based on bubble diameter
C KDIA : Bubble diameter
C KINT : Interfacial area density.
C
C 0.75
C C = 3*mul/d/rl* (1+0.l*Re ) A"'
C D
C
INTEGER KINT,VOL
C
INCLUDE 'MYGRDLOC'
COMMON /IGE/IXF,IXL,IYF,IYL,IGFILL(21)
COMMON /NAMFN/NAMFUN
CHARACTER*6 NAMFUN
C
NAMFUN “ 'GDRAGI'
C
c
COEFF = 3*VISK
C
CALL L0F5(KDRG,KDIA,KREY,KINT,R1,INDG,INDD,INDR,INDI,INDV,IADD)
INDG = INDG + IADD
INDD = INDG + INDD
INOR S
INDG + INDR
INDI =S INDG + INDI
INDV INDG + INDV
C
DO 10 IY = IYF,IYL
C
F(IY+INDG) = (1. + 0.1*F(IY+INDR)**0.75) * COEFF / ( F(IY+INDD) *
S AMAX1(F(IY+INDV),0.0001) ) * F(IY+INDI)
C
10 CONTINUE
C
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
213
nonnonn
*
GDVARS.FOR * Dumps the variables in a file attached to unit 80
May 9, 1989 * at the end of each time step.
INCLUDE 'MYGRDLOC'
COMMON /IGE/IXF,IXL,IYF,IYL,IGFILL(21)
COMMON /NAMFN/NAMFUN
CHARACTER*6 NAMFUN
o
NAMFUN = 'GDVARS'
noon
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
214
nnnnn
INCLUDE 'MYGRDLOC'
COMMON /IGE/IXF,IXL,IYF,IYL,IGFILL{21)
COMMON /NAMFN/NAMFUN
CHARACTER*6 NAMFUN
o
NAMFUN = 'GVIRMS'
non
DO 1 IY = IYF,IYL
FVMAS (IY) = -F(IW1L*IY)*F(INDV+IY)
1 CONTINUE
n o
TIME DERIVATIVES
IF (ISTEP.LE.1) GO TO 10
C
IW10LD = OLD(W 1)
IW20LD = OLD(W2)
DO 3 IY = IYF, IYL
FVMAS (IY) = FVMAS(IY) - (F(IW1L+IYF) - F(IWIOLD+IYF))/DELT
FVMAS (IY) = FVMAS(IY) + (F(IW2L+IYF) - F(IW20LD+IYF))/DELT
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
215
3 CONTINUE
C
10 CONTINUE
uuu
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
216
nnnnnnn
INCLUDE 'HYGRDLOC'
COMMON /IGE/IXF,IXI., IYF, IYL, IGFILL(21)
COMMON /NAMFN/NAMFUN
CHARACTER*6 NAMFUN
n
NAMFUN = 'GWLIFT'
non
CALL L0F3(KLIFT,R2,KVOL,INDL,INDR,INDV,IADD)
INDL *=INDL + IADD
INDR = INDL + INDR
INDV = INDL + INDV
C
DO 10 IY = IYF,IYL-1
C
DALFDY = ( F (IY+1+INDR) - F(IY+INDR) ) / 3.85E-4
F (IY+INDL) = - COEFF*DENST*DALFDY*F(IY+INDV)
C
10 CONTINUE
C
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
217
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
218
TALK=F;RUN( 1, 1);VDU= 2
GROUP 1. Run title and other preliminaries
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
219
CINT(H1)“0.;CINT(H2)=0.
GROUP 11. Initialization of variable or porosity fields
RESTRT(ALL)
FIINIT(W1)=1.14
FIINIT(W2)=1.14
FIINIT(V1)=-0.0001
FIINIT(V2)=-0.0001
FIINIT(R1)=1.0
FIIMIT(R2)”0.
FIINIT(Hl)**-1.1E-5
FIINIT(H2)=1.676e6
FIINIT(C1)“0.
FIINIT(C2)=0.
FIINIT(C5)=0.
FIINIT(ENUT)=0.00001
GROUP 12. Convection and diffusion adjustments
GROUP 13. Boundary conditions and special sources
** Inlet at the bottom
PATCH(INLIO,LOW,1,1,10,10, 1, 1,1,100)
COVAL(INL10,PI,FIXFLU,RHOl*0.8250);COVAL(INL10,Wl,ONLYMS,0.8250)
COVAL(INL10,H1,ONLYMS,-2.023E5);COVAL(INL10,H2,ONLYMS,1.6771E6)
PATCH(INL9,LOW,1,1,9,9, 1, 1,1,100)
COVAL(INL9,PI,FIXFLU,RH01*0.9763);COVAL(INL9,Wl,ONLYMS,0.9763)
COVAL(INL9,H I ,ONLYMS,-2.4 04E5) ;COVAL(INL9,H2,ONLYMS,1.67 7 1E6)
PATCH(INL8,LOW,1,1,8,8, 1, 1,1,100)
COVAL(INL8,PI,FIXFLU,RHOl*1.055);COVAL(INL8,Wl,ONLYMS,1.055)
COVAL(INL8,H I ,ONLYMS,-2.606E5);COVAL(INL8,H2,ONLYMS,1.6771E6)
PATCH(INL7,LOW,l,1,7,7, 1, 1,1,100)
COVAL(INL7,PI,FIXFLU,RH01*1.113);COVAL(INL7,W1,ONLYMS,1.113)
COVAL(INL7,H I ,ONLYMS,-2.758E5);COVAL(INL7,H2,ONLYMS,1.6771E6)
PATCH(INL6,LOW,1,1,6,6, 1, 1,1,100)
COVAL(INL6,PI,FIXFLU,RHOl*1.158);COVAL(INL6,Wl,ONLYMS,1.158)
COVAL(INL6,H I ,ONLYMS,-2.878E5);COVAL(INL6,H2,ONLYMS,1.6771E6)
PATCH(INL5,LOW,1,1,5,5, 1, 1,1,100)
COVAL (INL5,P 1,FIXFLU,RHO1* 1.196);COVAL(INL5,W 1,ONLYMS,1.196)
COVAL(INL5,H I ,ONLYMS,-2.9 80E5);COVAL(INL5,H2,ONLYMS,1.67 7 1E6)
PATCH(INL4,LOW,1,1,4,4, 1, 1,1,100)
COVAL{INL4,P I ,FIXFLU,RHOl*1.229);COVAL(INL4,Wl,ONLYMS,1.229)
COVAL(INL4,H I ,ONLYMS,-3.071E5);COVAL(INL4,H2,ONLYMS,1.6771E6)
PATCH(INL3,LOW,1,1,3,3, 1, 1,1,100)
COVAL(INL3,P 1,FIXFLU,RHOl*1.259);COVAL(INL3,Wl,ONLYMS,1.259)
COVAL(INL3,H I ,ONLYMS,-3.153E5);COVAL(INL3,H 2 ,ONLYMS,1.6 771E6)
PATCH(INL2,LOW,1,1,2,2, 1, 1,1,100)
COVAL(INL2,PI,FIXFLU,RHOl*1.287);COVAL(INL2,Wl,ONLYMS,1.287)
COVAL(INL2,HI,ONLYMS,-3.235E5);COVAL(INL2,H2,ONLYMS,1.6771E6)
PATCH(IHI-l,I<OW,l,l,l,l, 1, 1,1,100)
COVAL(INL1,P I ,FIXFLU,RHOl*1.323);COVAL(INL1,W1,ONLYMS,1.323)
COVAL(INL1,HI,ONLYMS,-3.336E5);COVAL(INL1,H2 ,ONLYMS,1.6771E6)
PATCH(OUTL,HIGH,1,1,1,NY ,NZ ,NZ,1,LSTEP)
COVAL (OUTL, PI, FIXP, 0.0) ;COVAL (OUTL, P 2 ,FIXP, 0.)
COVAL(OUTL,W l ,ONLYMS,SAME);COVAL(OUTL,W2,ONLYMS,SAME)
COVAL(OUTL,H 1,ONLYMS,SAME);COVAL(OUTL,H2,ONLYMS,SAME)
** Heated wall
PATCH(HEATER,NORTH,1,1,NY,NY,1,NZ,1,LSTEP)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
220
COVAL(HEATER,HI,FIXFLU,GRND2)
** Phase change
PATCH(CONDS1,CELL,1,1,1,NY,2,NZ ,1,LSTEP)
COVAL(CONDS1, H1,FIXFLU,GRND4)
COVAL(CONDS1,H2,FIXFLU,GRND4)
COVAL(CONDS1,Wl,FIXFLU,GRND3)
COVAL(CONDS1,W2,FIXFLU,GRND3)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
221
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
222
nnnnn
W A L H E A T . FOR *
DIMENSION VEL(36),EVAP(36),WSUPT(36)
COMMON /HEAT2/A1,A2,DM,DMI,FREQ,ASD,HQ,H2F,A2F,A1F,ERATE
o
NVEL = 35
NTEM = 75
DELV = (VMAX -VMIN)/FLOAT(NVEL-1)
DELT = (TFRST - TLAST)/FLOAT(NTEM-l)
WRITE (10,REC=1) NTEM,TFRST,TLAST,VMIN,VMAX,Q2PR
WRITE (11,REC=1) NTEM,TFRST,TLAST,VMIN,VMAX,Q2PR
n
DO 100 IT=1,NTEM
TSUB = TFRST - (IT-1)*DELT
TSUBB = TSUB
DO 110 IV=1,NVEL
VEL(IV) » VMIN + (IV-1)*DELV
VELL=VEL(IV)
CALL WALHEAT (TSUP,VELL,TSUBB,Q1F,QQ,QE,Q2PR)
EVAP (IV) = ERATE
WSUPT (IV) = TSUP
n
STOP
END
nnnnnnnnn
WALHEAT1.FOR
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
223
C
SUBROUTINE WALHEAT(TW,VEL,TSUB,QIF,QQ,QE,Q2PR)
C
COMMON /HEAT1/RHOV,HLV,CONL,ALFA,ACONS,B,DMCON,H1F,QW
COMMON /HEAT2/A1,A2,DM,DMI,FREQ,ASD,HQ,H2F,A2F,A1F,ERATE
COMMON /ASOD/ASD1/ASD2,FLAGD
LOGICAL FLAGD
C
c
c TOTAL AREA MODIFIED
c ASD MODIFIED
c
c INITIALIZE
c
A1 = 0.
A2 0.
DM 0.
DMI = 0.
FREQ = 0.
ASD = 0.
HQ = 0.
H2F = 0.
A2F = 0.
A1F = 0.
ERATE= 0.
TW 0.
Q1F = 0.
QQ = 0.
QE 0.
QW Q2PR
c
c
c
VELL = VEL
CALL HEATWAL(TW,VELL,TSUB,Q1F,QQ,QE)
RETURN
END
c
c
c
SUBROUTINE HEATWAL(TSUP,VEL,TSUB,Q1F,QQ,QE)
CHARACTER*1 ANS
COMMON /HEAT1/RHOV,HLV,CONL,ALFA,ACONS,B ,DMCON,HIF,QW
COMMON /HEAT2/A1,A 2 ,D M ,DMI,FREQ,ASD,HQ,H2F,A2 F ,A 1F ,ERATE
COMMON /ASDD/ASDL,ASD2,FLAGD
LOGICAL FLAGD
C
C S88BSSSBSeSSBSCSS&SS8CSSSSSS3SSSSBSBSS8SSBeeSSSS8ZSSSSS
C PROPERTIES
c INPUT PROPERTIES FOR 45 BAR (STEAM)
PRES 4. 5e6
RHOL 788.02
RHOV 22.42
CPL 4823.
CONL 0.619
VISK 1.302E-07
HFG 1.6771E6
SIGMA 0.025
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
224
CONW = 19.
RHOW = 7865.
CPW = 400.
CALCULATED
VISD = VISK+RHOL
PRL = VISD+CPL/CONL
ALFA - CONL/RHOL/CPL
on
-
HLV HFG + CPL+TSUB
onnnn
GAMA = SQRT(CONW*RHOW*CPW/CONL/RHOL/CPL)
n
A1 = SQRT((RHOL-RHOG)* 9 . 81/SIGMA)/(HFG*VISD)
A2 = 0.5*SQRT(ALFA/3.14159)*0.013*PRL**1.7*GAMA
o
BCONS = 1./2./(1.-RHOV/RHOL)
DMCON = 2.42E-5*PRES*+0.709
ooooonn
delta = 0.0001925
REYNO - VEL*3.2586E-4/VISK
o
CF = 0.062
DO 10 I = 1,10
CF = l./( ALOG(REYNO+CF)/0.435 + 5.05 )
10 CONTINUE
oooo
GUESS TSUP
TSUP = QW/H1F-TSUB
IS IT ALREADY IN SINGLE PHASE ?
FLAGD = .FALSE.
IF (TSUP.LE.0.05) THEN
DM =0.
ASD = 0.
FREQ = 0.
HQ =0.
A1F = 1.
GO TO 130
END IF
IF (TSUB.GT.2.) THEN
B = TSUB+BCONS
ELSE
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
225
TMAX = QW/H1F-0.001
IF (TMAX.GT.3) TMAX = 3.
IF (TMAX.LT.2) THEN
FLAGD = .TRUE.
WRITE (*,*) ' SWITCHED TO TOLUBINSKY DIAM.'
GO TO 25
END IF
C
B2 - 2.*BCONS
B3 = TMAX*BCONS
C
AA2 - (Al*(QW - H1F*2.))**0.33333*A2
AA3 = (Al*(QW - H1F*TMAX))**0.33333*A2
IF (VEL.LT.0.61) FI-1.
IF (VEL.GE.0.61) FI-(VEL/0.61)**0.47
DM2 = DMCON*AA2/SQRT(B2*FI)
DM3 = DMCON*AA3/SQRT(B3*FI)
DMI = DM2 + (DM3-DM2)*(TSUB-2.)/(TMAX-2.)
C
Eh u IF
25 CONTINUE
c ---------------------------------------------- START ITERATION
C
C
ITLIM-100
RELAX -0.5
110 ITER -0
120 ITER = ITER+1
IF (ITER.GT.ITLIM) THEN
ITLIM-ITLIM+50
RELAX-0.6‘RELAX
IF (RELAX.LT.0.005) THEN
WRITE (*,*) 'TSUB = ',TSUB,' VEL = ',VEL
WRITE (*,*) 'COULD NOT FIND WALL TEMP.’
TSUP = -TSUB
RETURN
END IF
GO TO 120
END IF
C
CALL HEAT(TSUP,TSUB,VEL)
HH = A1F*H1F + A2F*HQ
QTOT = ERATE*HLV + HH*(TSUB+TSUP)
IF (HH.EQ.0.) THEN
TSUP1 = -TSUB
ELSE
TSUP1 = TSUP + RELAX* (QW-QTOT)/HH
IF (TSUP1.L E .-TSUB) TSUP1— TSUB
END IF
C
ERR = ABS((QTOT-QWJ/QW)
IF (TSUP1.LE.0.) TSUP1 = 0.8*TSUP
TSUP = TSUP1
IF (ERR.GT.l.E-5) GO TO 120
C
C
130 CONTINUE
C
Q1F = A1F*H1F*(TSUP+TSUB)
QQ = A2F*HQ*(TSUP+TSUB)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
226
QE = ERATE*HLV
RETURN
END
non
SUBROUTINE HEAT(TSUP,TSUB,VEL)
o
ASD = 0.
IF (TSUB.GT.2.) THEN
A = (Al*(QW - H1F*TSUB))**0.33333*A2
IF (VEL.L T .0.61) FI=1.
IF (VEL.GE.0.61) FI=(VEL/0.61)**0.47
DM = DMCON*A/SQRT(B*FI)
ELSE
IF (FLAGD) THEN
DM = 0.0014*EXP(-TSUB/45.)
ELSE
DM = DMI
END IF
END IF
FREQ = 3.546/SQRT(DM)
IF (TSUP.LE.0.0001) TSUP=0.0001
ASD ■= (210.*TSUP)**1.805
on
ATOT = 1.
A2F = 3.1415*DM*DM*ASD
A1F = ATOT - A2F
n
IF (A1F.LE.1.E-4) THEN
A2F = ATOT
A1F = l.E-4
ASD = 1./3.1415/DM/DM
END IF
ERATE = 3.14159*DM*DM*DM/6.*ASD*FREQ*RHOV
n
EMAX = QW/HLV
IF (ERATE.GT.EMAX) ERATE = EMAX
o
HQ = 2.*CONL/SQRT(3.14159*ALFA/FREQ)
on
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
APPENDIX B
(III.36) in
L J x-s
dT q"P
— = — c (B 21
dz w lB,2J
o p
H = C Re“Prn (B.3)
227
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
228
35T q"P r . H ,
ST - - pWTPTM Tw [
L
" ¥0
* £
0
(5 I„ - ST) ]J (B- 5>
Substituting Eqs.(B.2) through (B.5) into Eq.(B. 1), and taking the
where
_ H0PH
O H . PwCp
W P Hw \w ,_ „.
—
a = i7ir 3and
11(1 T =
t
= - HH~Pp - (B-7)
0 p OH
5u = Su — -- (B. 8)
o 2^ 2 J
S + td
Substituting Eq.(B.8) into Eq.(B.6) and rearranging, we get,
az
q"Su
ST = —° g—u aw ^ wF(s)a - e-az F(s)\ e- s z / u o
yr _ az i+st
JI ,_ _.
e (B.9)
where
msT - s t - 1
F(s) = ------------------ -— — (B. 10)
s (s t + 1 + au t ) ( s + « )
o
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
229
comvolution. The inverse Laplace transform of the last two factors can
az i +s t ,k -t/T 1
g(t) = if1 ■ t e - (B.11)
1+ST 6 ■ Ik=0 is P s ] T
Only the first five or six terms are significant in the series given by
three factors in the last term of Eq.(B.9) by h(t), the inverse Laplace
w
q"Su
o o
5T = aw £ f(t) - J h(t)g(t-/3)d0 j (B.12)
H
Eq.(III.41).
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
APPENDIX C
the end.
created. The format and the content of these files can be found in the
230
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
231
oooooo
DIMENSION XC(20,20),YC(20,20)
DIMENSION X0(5),Y 0 (5),XOLD(5),YOLD(5)
DIMENSION I0(S),J0(S) ,DX( 200),DY(200)
oooo
READ (10) NPAR, IL, JL, (IBUB, JBUB,I=1,NPAR) ,XLEN, YLEN, (R0,1=1,NPAR)
n
DO 1 I « 1,10000
READ (10,END=2) ISKIP,SKIP, (ISKIP,X0(IPAR) ,Y0( IPAR),SKIP,SKIP,
& SKIP,SKIP,SXIP,SKIP,IPAR=1,NPAR)
1 CONTINUE
2 CONTINUE
o
CLOSE (10)
onnnn
NBUB-2 * (I B U B J B U B )
IBL=IBUB+1
JBL=JBUB+1
IXL-IBL/2
JYS*=JBL/2
IXK=IBUB-IXL
JYN=JBUB-JYS
C
TETA=225.
C
DTETA=360./NBUB
DTETA»DTETA*3.14159/180.
TETA»TETA*3.14159/180.
C
DO 20 IY=1,JBL
X C (1,IV)*R0*COS(TETA)
YC(1,IY)“R0*SIN(TETA)
TETA-TETA-DTETA
20 CONTINUE
DO 21 IX«2,IBL
X C (IX,JBL)=R0 *COS(TETA)
YC (IX,JBL)-R0 *S IK (TETA)
TETA*=TETA-DTETA
21 CONTINUE
DO 22 IY=JBUB,1,-1
XC(IBL,IY)=R0*COS(TETA)
YC(IBL,IY)*=R0*SIN(TETA)
TETA=TETA-DTETA
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
22 CONTINUE
DO 23 IX=IBUB,2/-I
X C (IX,1)=R0 *COS(TETA)
YC(IX,1)=R0*SIN(TETA)
TETA=TETA-DTETA
23 CONTINUE
C
c----------------------------- FIND THE NODE NUMBERS OF EACH BUBBLE
C
C
DELX1 = 0 . 1 5
DELY1 = 0 . 1 5
CALL FINDFN (XO(1),XLEN-X0(1),DELX1,DELX2,IL,10(1),FACX)
CALL FINDFN {Y O (1),YLEN-YO(1),DELY1,DELY2,JL,JO(1),FACY)
XDIS1=X0(1)
YDIS1=Y0{1)
DO 5 IPAR = 2,NPAR
XDIS1 = X O {IPAR)-XO(1)
YDIS1 = Y O (IPAR)-YO(1)
10(IPAR) = 10(1) + XDIS1/DELX1+1.4
JO(IPAR) = J0(1) + YDIS1/DELY1+1.4
5 CONTINUE
C
C ------------------------------- CHECK FOR COLLISONS
C
DO 200 IB1 = 1,NPAR
XI = XO(IBl)
Y1 = YO(IBl)
DO 210 IB2 = IB1+1,NPAR
X2 > X0(IB2)
Y2 = Y0(IB2)
CLEAR = SQRT( (Y2-Y1)**2 + (X2-X1)**2 )
CLEAR = CLEAR/2
IF (CLEAR.LE.RO) THEN
WRITE (*,'(A,12,A,12)')
6 ' BUBBLE # ’,IB1,' AND BUBBLE #',IB2,' COLLIDED'
STOP
END IF
210 CONTINUE
200 CONTINUE
C
C
c---------------------------------------------------------------------
c CHECK FOR MUTUAL POINTS
C
IBOX = 2*(IXR + IXL +1)
JBOX = 2*(JYS + JYN +1)
DO 219 IPAR = 1,NPAR
IXL1 « 10(IPAR) - IXL
IXR1 = 10(IPAR) + IXR
JYS1 = JO(IPAR) - JYS
JYN1 = JO(IPAR) + JYN
DO 218 JPAR = 2,NPAR
C
ITER = 0
217 CONTINUE
ITER = ITER + 1
IF (ITER.GT.20) THEN
WRITE (*,*) ' COULD NOT MOVE BUBBLES AROUND'
STOP
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
233
END IF
c
IF (JPAR.EQ.IPAR) GO TO 218
C
IXL2 =IO(JPAR) - IXL
IXR2 =IO(JPAR) + IXR
JYS2 =JO(JPAR) - JYS
JYN2 =JO(JPAR) + JYN
C
IXLL = MINO (IXL1,IXL2,IXR1,IXR2)
IXRR = MAXO (IXL1,IXL2,IXR1,IXR2)
JYSS = MINO (JYS1,JYS2,JYN1,JYN2)
JYNN = MAXO (JYS1,JYS2,JYN1,JYN2)
C
IXSIDE « IXRR-IXLL+1
JYSIDE * JYNN-JYSS+1
IF (IXSIDE.GE.IBOX.OR.JYSIDE.GE.JBOX) THEN
non
IF (IXSIDE.LE.JYSIDE) THEN
n
ELSE
o
GO TO 217
END IF
218 CONTINUE
219 CONTINUE
nnnn
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
234
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
235
J=JO(IPAR)+JYN
X=XC(IX,JBL)+X0(IPAR)
Y=YC(IX,JBL)+Y0(IPAR)
WRITE (10,*) I ,J,X,Y
31 CONTINUE
nnn
DO 32 IY=JBUB,1,-1
1=10{IPAR)+IXR
J=J0(IPAR)+IY-JYS-1
X*XC(IBL,IY)+X0(IPAR)
Y=YC(IBL,IY)+Y0(IPAR)
WRITE (10,*) I,J,X,Y
32 CONTINUE
nnn
DO 33 IX=IBUB,2,-1
1=10(IPAR)+IX-IXR-1
J=J0(IPAR)-JYS
X=XC(IX,1)+X0(IPAR)
Y=YC(IX,1)+Y0(IPAR)
WRITE (10,*) I,J,X,Y
33 CONTINUE
o
100 CONTINUE
n
CLOSE (10)
nnnnnnn
CB8tCtBMB8IS«8Baa>8«BBa3S8S>MHBU*8SBSSBS8aaiBenBRe
OPEN (10,FILE*='dellog’,STATUS='UNKNOWN')
DX( 10(1)) = DELX2
DX(I0(1)-1) = DELX1
DY (JO (1)) = DELY2
DY(J0(1)-1) = DELY1
DO 300 IX = I0(1)+1,IL-1
DX(IX) = DX(IX-1)*FACX
300 CONTINUE
DO 310 IX = I0(1)-2,1,-1
DX(IX) = DX(IX+1)*FACX
310 CONTINUE
DO 320 IY = J0(1)+1,JL-1
DY(IY) = DY(IY-1)*FACY
320 CONTINUE
DO 330 IY = J O (1)-2,1,-1
DY(IY) = DY(IY+1)*FACY
330 CONTINUE
xlen = 0.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
236
ylen = 0.
WRITE (10,*)
DO 340 I = 1,IL-1
WRITE (10,*) 1,D X (I)
xlen = xlen + dx(i)
340 CONTINUE
WRITE (10,*)
DO 350 I = 1,JL-1
WRITE (10,*) I,D Y (I)
ylen = ylen + dy(i)
350 CONTINUE
C
write (*#*) 'xlen, ylen : ',xlen,ylen
STOP
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
237
nnnnn
XI = XIN1
X2 = XIN2
N = NNODE - 1
DELX = DELX1
nnn
Calculate F
F = 1.5
FI = 1.
A1 = XI/DELX
A2 = X2/DELX
DO 10 ITER « 1,500
F = ( A1*A2*(F-1)*(F-1) + (A1+A2)*(F-1) + 1 )**( l./FLOAT(N) )
EF » ABS(F-Fl)
IF (EF.LE.l.E-5) GO TO 20
FI ■ F
10 CONTINUE
WRITE (*,*) 'FINDFN COULD NOT FIND F IN 500 ITERATIONS'
WRITE (*,*) 'ASSUMED F«l, CONTINUING'
20 CONTINUE
nn
DELX1 = X1*(F-1)/(F**N1-1)
DELX2 *= X2*(F-1)/(F**N2-1)
nnn
NCNTR = Nl + 1
C
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
238
nonnoo
PARAMETER (NDGLQB=8000,NBWIDE=200)
no
DIMENSION BC(NDGL0B,2).DELX(NBWIDE),DELY(NBWIDE)
COMMON/CO/DK (NDGLOB),DE (NDGLOB),SC (NDGLOB,2), NC (NDGLOB,4)
COMMON/CR/CC(NDGLOB,NBWIDE),X (NDGLOB),R(NDGLOB)
COMMON/OUTl/NBUBBL,NCXl (10) ,NCX2( 10) ,NCY1( 10) ,NCY2(10)
COMMON/OUT2/IL,JL
LOGICAL RESTRT,SPACE
non
OPEN (UNIT=11,FILE='bubinp',STATUS®'OLD' )
no
ITMAX = 20
SPACE = .TRUE.
n
NL=IL*JL
nnnnn
DO 11 N=1,NL
READ (11,*,END=15) I,J,XX,YY
M=(1-1)*JL+J
IF (XX.NE.1000) BC(M,1)=XX
IF (YY.NE.1000) BC(M,2)=YY
NC(M,1)=1
NC(M,2)=1
IF (J.EQ.1.AND.XX.EQ.1000.) NC(M,1)®2
IF (J.EQ.JL.AND.XX.EQ.1000.) NC(M,1)«3
IF (I .EQ.1 .AND.YY.EQ.1000.) NC(M,2)®2
IF (I.EQ.IL.AND.YY.EQ.1000.) NC(M,2)=3
nnnn
11 CONTINUE
15 I0=JL+1
nnnn
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
239
YMIN=BC(1,2)
DO 30 N= 1,NL
IF (BC(N,1).GE.LMAX) XMAX=BC(N,1)
IF (BC(N/2).GE.YMAX) YMAX=BC(N,2)
IF (BC(N,1).LE.XMIN) XMIN=BC(N,1)
30 IF (BC(N,2).LE.YMIN) YMIN=BC(N,2)
nnnnn
DKSI=(XMAX-XMIN)/(IL-1)
DETA-(YMAX-YMIN)/(JL-1)
IF (.NOT.SPACE) THEN
DO 35 N-1,NL
DK(N)=DKSI
35 DE(N)=DETA
ELSE
CALL SPCING(DELX,DELY,DK,DE, IL, JL)
END IF
nnn
IF (RESTRT) THEN
nnn
DO 38 N=1,NL
IF (NC(N,1).EQ.l) SC(N,1)-BC(N, 1)
IF (NC(N,2).EQ.l) SC(N,2)-BC(N,2)
38 CONTINUE
ELSE
n n n n
GO TO 40
nn
39 CONTINUE
RESTRT - .FALSE.
WRITE (*,*) ' RESTART FILE IS NOT COMPATIBLE '
CLOSE (8)
no
40 CONTINUE
n
IF (.NOT.RESTRT) THEN
non
Reproduced w ith permission o f the copyright owner. Further reproduction prohibited without permission.
240
ITER=0
500 IC=0
ITER=ITER+1
MV=1
no
180 M=1
DO 20 N=1,NL
NC(N,3)=0.
IF (NC(N,MV).EQ.l) GO TO 20
NC(N,3)=M
M=M+1
20 CONTINUE
ML=M-1
on
CALL COEF(IL,JL,NL,MV)
n
DO 50 N=1,NL
50 X(N)=SC(N,MV)
n
DO 200 N=1,NL
IF (NC(N,MV).EQ.l) GO TO 200
K=NC(N,3)
X(K)=X(N)
MFRST=N-I0
MLAST=N+I0
IF(MFRST.LT.l) MFRST=1
IF(MLAST.GT.NL) MLAST=NL
DO 205 M=MFRST,MLAST
IF (NC(M,HV).EQ.1) GO TO 205
L=NC(M,3)
TEMP=CC(N ,M-N+I0+1)
CC(N,M-N+I0+I)=0.
C C (K ,L-K+I0+1)=TEMP
205 CONTINUE
R(K)=R(N)
200 CONTINUE
non
Check convergence
ERR=0
DO 60 N=1,ML
TERM=0
MFRST=N-I0
MLAST=N+I0
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
241
IF (MFRST.LE.l) MFRST=1
IF (MLAST.GT.ML) MLAST=ML
DO 61 M=MFRST,MLAST
61 TERM=TERM+CC(N,M-N+I0+1)*X(M)
60 ERR=ERR+(R(N)-TERM)* (R(N)-TERM)
ERR=SQRT(ERR)
IF (ITER.LT.5) GO TO 450
IF (ERR.LT.0.00001) IC=IC+1
IF (IC.GE.2) GO TO 501
IF (ITER.GT.ITMAX) GO TO 501
IF (MV.EQ.l) ERR1=ERR
IF (MV.EQ.2) ERR2=ERR
DO 449 1=1,ML
IF (CC(I,I0+1).NE.0.) GO TO 449
WRITE (*,*) ' ZERO DIAGONAL IN CC, FOR I = ', I
STOP
449 CONTINUE
nn
CALL OUTPUT
n
STOP
END
nnnn
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
242
SUBROUTINE COEF(IL,JL,NL,MV)
nnnn
DO 100 N-1,NL
nnnnn
PP=-0.4
QQ=-0.4
PP = 0.
QQ = 0.
nnn
IF (NC(N,MV).EQ.l) GO TO 100
IF(NC(N,MV).EQ.0) GO TO 150
IF(MV.EQ.2) GO TO 115
IF(NC(N,MV).EQ.3) GO TO 110
n
SOUTH BOUNDARY
DKMBDK(N)
DKP«DK(N+JL)
DEP«DE(N+1)
DEM=DEP
nn
JACOBIEN
XJAC=DXDK*DYDE
IF(MV.EQ.l) R(N)=R(N)-XJAC*XJAC*(DXDK*PP)
IF(MV.EQ.2) R(N)=R(N)-XJAC*XJAC*(DYDK*PP+DYDE*QQ)
nn
ALFA = DYDE*DYDE
GAMA = DXDK*DXDK + DYDK*DYDK
nn
CC(N, 1) •=0.
CC(N ,2) = 2.*ALFA/DKM/(DKM+DKP)
CC(N ,3) = 0.
CC(N,JL+1) = 0.
CC(N,JL+2) = -2.*ALFA/DKM/DKP-2.*GAMA/DEP/DEP
CC(N,JL+3) = 2.*GAMA/DEP/DEP
CC(N,2*JL+1) = 0.
C C (N,2*JL+2) = 2.*ALFA/DKP/(DKM+DKP)
CC(N,2*JL+3) = 0.
IF(NC(N-JL,MV).EQ.l) THEN
R(N)= R(N)-CC(N,2)*SC(N-JL,MV)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
243
CC(N,2)=0.
END IF
IF(NC(N+1,MV).EQ.l) THEN
R(N)= R(N)-CC(N,JL+3)*SC(N+1,MV)
CC(N,JL+3)=0.
END IF
IF(NC(N+JL,MV).EQ.l) THEN
R(N)*= R(N)-CC(N,2*JL+2)+SC(N+JL,MV)
CC(N,2*JL+2)=0.
END IF
GO TO 100
C
110 CONTINUE
C NORTH BOUNDARY
DKM=DK(N)
DKP”D K (N+JL)
DEM=DE(N)
DEP=DEM
C
c
DXDK = (SC(N+JL, 1) -SC(N-JL,1) )/ (DKP+DKM)
DYDK = (SC(N+JL,2)-SC(N-JL,2))/(DKP+DKM)
DYDE = (SC(N,2)-SC(N-l,2))/DEM
C
C JACOBIEN
XJAC=DXDK*DYDE
IF(MV.EQ.l) R(N)=R(N)-XJAC*XJAC*(DXDK*PP)
IF(MV.EQ.2) R(N)=R(N)-XJAC*XJAC*(DYDK*PP+DYDE*QQ)
ALFA * DYDE+DYDE
GAMA » DXDK*DXDK + DYDK*DYDK
C
C
C C (N ,1) = 0.
C C (N ,2) = 2.*ALFA/DKM/(DKM+DKP)
CC(N,3) = 0.
CC(N,JL+1) = 2.*GAMA/DEM/DEM
CC {N ,JL+2) = -2.*ALFA/DKM/DKP-2.*GAMA/DEM/DEM
CC(N,JL+3) * 0.
CC(N,2*JL+1) = 0.
CC(N,2+JL+2) = 2.*ALFA/DKP/(DKM+DKP)
CC(N,2+JL+3) = 0.
IF(NC(N-JL,MV).EQ.l) THEN
R(N)= R(N)-CC(N,2)*SC(N-JL,MV)
CC(N,2)«=C.
END IF
IF(NC{N-1,MV).EQ.l) THEN
R(N)= R(N)-CC(N,JL+1)*SC(N-l ,MV)
CC(N,JL+1)=0.
END IF
IF(NC(N+JL,MV).EQ.l) THEN
R(N)= R(N)-CC(N,2*JL+2)+SC(N+JL,MV)
CC(N»2*JL+2)=0.
END IF
GO TO 100
115 CONTINUE
IF(NC(N,MV).EQ.3) GO TO 120
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
244
WEST BOUNDARY
DEM=DE(N)
DEP=DE(N+1)
DKP=DK(N+JL)
c
c
DXDE = (SC(N+1,1)-SC(N-1,1))/(DEM+DEP)
DXDK = (SC(N+JL,1)-SC(N,1))/DKP
DYDE = (SC(N+1,2)-SC(N-1,2))/(DEM+DEP)
C
C JACOBIEN
XJAC*=DXDK*DYDE
IF(MV.EQ.l) R(N)=R(N)-XJAC*XJAC*(DXDK*PP+DXDE*QQ)
IF (MV.EQ.2) R(N)«R(N)-XJAC*XJAC*(DYDE*QQ)
ALFA = DXDE*DXDE + DYDE*DYDE
GAMA = DXDK*DXDK
c
c
CC(N,1) = 0.
CC(N,2) = 0.
CC(N,3) = 0.
CC(N, JL+I) = 2 .*GAMA/DEM/(DEP+DEM)
C C (N ,JL+2) = -2 .*ALFA/DKP/DKP-2.*GAMA/DEM/DEP
CC(N,JL+3) = 2.*GAMA/DEP/(DEM+DEP)
CC(N,2*JL+1) = 0.
CC(N,2*JL+2) = 2.*ALFA/DKP/DKP
CC(N,2*JL+3) » 0.
C
IF(NC(N-1,MV).EQ.l) THEN
R(N)« R(N)-CC(N,JL+1)*SC(N-1,MV)
CC(N,JL+1)»0.
END IF
IF(NC(N+1,MV).EQ.l) THEN
R(N)= R(N)-CC(N,JL+3)*SC(N+1,MV)
CC(N,JL+3)=0.
END IF
IF(NC(N+JL,MV).EQ.l) THEN
R(N)= R(N)-CC(N,2*JL+2)*SC(N+JL,MV)
CC(N,2*JL+2)=0.
END IF
GO TO 100
C
120 CONTINUE
C
C EAST BOUNDARY
DEMSD E (N )
DEP=DE(N+1)
DKM=DK(N)
C
C
DXDE = (SC(N+l,1)-SC(N-1,1))/(DEM+DEP)
DYDE = (SC(N+1,2)-SC(N-l,2))/(DEM+DEP)
DXDK ■= (SC(N, 1) -SC(N-JLf1)) /DKM
C
C JACOBIEN
XJAC=DXDK*DYDE
IF(MV.EQ.l) R(N)*=R(N)-XJAC*XJAC*(DXDK*PP+DXDE*QQ)
IF (MV.EQ.2 ) R(N)=*R(N) -XJAC*X JAC* (DYDE+QQ)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
245
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
246
IF(NC(N-JL-1,MV).EQ.l) THEN
R(N)= R(N)-CC(N,1)*SC(N-JL-1,MV)
C C (N,1)=0.
END IF
IF(NC(N-JL,MV).EQ.l) THEN
R(N)= R(N)-CC(N,2)*SC(N-JL,MV)
CC(N,2)=0.
END IF
IF(NC(N-JL+1,MV) .EQ. 1) THEN
R(N) = R(N)-CC(N,3)*SC(N-JL+1,MV)
CC(N,3)=0.
END IF
IF(NC(N-1,MV).EQ.l) THEN
R(N) = R(N)-CC(N,JL+1)*SC(N-1,MV)
CC(N,JL+1)=0.
END IF
IF(NC(N+l,MV).EQ.l) THEN
R(N)= R(N)-CC(N,JL+3)*SC(N+1,MV)
CC(N,JL+3)=0.
END IF
IF(NC(N+JL-1,MV).EQ.l) THEN
R(N) = R(N)-CC(N,2*JL+1)*SC(N+JL-1,MV)
CC(N,2*JL+1)=0.
END IF
IF(NC(N+JL,MV).EQ.l) THEN
R(N) = R(N)-CC(N,2*JL+2)*SC(N+JL,MV)
CC(N,2*JL+2)»0.
END IF
IF(NC{N+JL+1,MV).EQ.l) THEN
R(N)» R(N)-CC(N,2*JL+3)*SC(N+JL+1,MV)
CC(N,2*JL+3)«0.
END IF
no
100 CONTINUE
RETURN
END
ooo
SUBROUTINE SPCING(DELX,DELY,DK,DE,IL,JL)
noooo
OPEN (UNIT*15,FILE*'dellog',STATUS*'OLD')
C
READ (15,*)
DO 130 1*1,IL-1
READ (15,*) IX,DELX(IX)
130 CONTINUE
C
READ (15,*)
DO 131 J=1,JL-1
READ (15,*) JY,DELY(JY)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
247
131 CONTINUE
SPACING IN ETA DIRECTION
M=0
DO 132 IX=1,IL
M=M+1
DO 132 JY=2,JL
M-M+l
DE(M )=DELY(JY-1)
132 CONTINUE
SPACING IN KSI DIRECTION
M=JL
DO 133 IX=2,IL
DO 133 JY =1,JL
M=M+1
DK(M)«DELX(IX-1)
133 CONTINUE
nn
CLOSE(15)
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
248
nnnnn
SUBROUTINE CRDIA(N,I0)
nn
PARAMETER (NDGLOB«8000,NBWIDE=200)
COMMON/CR/CC(NDGLOB,NBWIDE),X (NDGLOB),R (NDGLOB)
nnnnnnn
DO 100 L=2,10
n
IMAX=L+I0
DO 10 I=L,IMAX
KMIN=1
IF ((1-10).GE.1) KMIN=I-I0
SUM=0
DO 15 K=KMIN,L-1
15 SUM=SUM+CC(I,K-I+I0+1)*CC(K,L-K+I0+1)
10 CC(I,L-I+I0+1)=CC(I,L-I+I0+1)-SUM
nn
JMAX-L+I0
DO 30 J=L+1,JMAX
KMIN=1
IF ((J-I0).GE.l) KMIN=J-I0
SUM-0
DO 35 K=KMIN,L-1
35 SUM-SUM+CC(L ,K-L+I0+1)*CC(K ,J-K+I0+1)
30 CC(L,J-L+I0+1)=(CC(L,J-L+I0+1)-SUM)/CC(L,10+1)
nnn
100 CONTINUE
nnn
DO 200 L-I0+1,N-I0
c
IMAX=L+I0
DO 210 I-L,IMAX
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
249
SUM-0
KMIN-I-IO
DO 215 K=KMIN,L-1
215 SUM-SUM+CC(I,K-1 +10+1)*CC(K ,L-K+10+1)
210 C C (I,L-I+I0+1)=CC(I,L-I+I0+1)-SUM
no
JMAX-L+IO
DO 230 J-L+l,JMAX
SUM-0
KMIN-J-IO
DO 235 K-KMIN,L-1
235 SUM-SUM+CC(L ,K-L+10+1)*CC(K ,J-K+I0+1)
230 CC(L,J-L+I0+1)=(CC(L,J-L+I0+1)-SUM)/CC(L,I0+1)
nnn
200 CONTINUE
nnn
DO 310 I-L,N
SUM-0
KMIN-I-IO
DO 315 K=KMIN,L-1
315 SUM-SUM+CC(I,K-I+I0+1)*CC(K ,L-K+I0+1)
310 CC(I,L-I+I0+1)=CC(I,L-I+I0+1)-SUM
nn
DO 330 J-L+l,N
SUM-0
KMIN-J-IO
DO 335 K-KMIN/L-1
335 SUM=SUM+CC(L,K-L+I0+1)*CC(K,J-K+I0+1)
330 CC(L,J-L+I0+1)=(CC(L,J-L+I0+1)-SUM)/CC(L,10+1)
non
300 CONTINUE
nnn
backwards solution
DO 400 11=1,N
I=N+1-II
SUM-0
KMAX-N
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
IF ((I+IO).LE.N) KMAX=I+IO
DO 410 K=I+1,KMAX
410 SUM=SUM+CC(I,K-I+I0+1)*X(K)
400 X(I)=R(I)-SUM
nn
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
251
nnnnn
SUBROUTINE OUTPUT
PARAMETER (NDGLOB=8000,NBWIDE=200)
no
COMMON/CO/DK(NDGLOB),DE(NDGLOB),SC(NDGLOB,2),NC(NDGLOB,4)
COMMON/OUT1 /NBUBBL,NCX1 (10) ,NCX2 (10) ,NCY1 (10) ,NCY2 (10)
COMMON/OUT2/IL,JL
DIMENSION NELEM(4,NDGLOB),ICROS(NDGLOB) ,XBE(NDGLOB)
DIMENSION IBND(NBHIDE)
DIMENSION IBEL(NBHIDE),XBEL(NBWIDE)
INTEGER ELEM
LOGICAL LFLAG
o
NNODES = IL*JL
oooo
DO 10 I = 1,IL-1
DO 15 J = 1,JL-1
NODE = (1-1)*JL+J
ELEM = (I—1)*(JL-1)+J
NELEM (1,ELEM) =NODE
NELEM (2,ELEM) =NODE + JL
NELEM (3,ELEM) =NODE + JL + 1
NELEM (4,ELEM) =NODE + 1
15 CONTINUE
10 CONTINUE
nnnnnnnnnnnnnnnnnnnnnnnn
Element and node numbers used in this section are the ones
before blocking.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
252
20 CONTINUE
C
DO 25 IBUB = 1,NBUBBL
nnn
DO 30 IE * IEL1/IEL2
XBUB = IBUB
XFAC * 0.1
IF (XBE(IE).NE.0.0) THEN
XBUB = 10.*IE
XFAC = 0. 1*XFAC
END IF
XBE(IE) = XBE(IE) + XBUB + XFAC
30 CONTINUE
nnn
DO 35 IE = IEL1,IEL2
XBUB = IBUB
XFAC = 0.3
IF (XBE(IE).NE.0.0) THEN
XBUB = 10. *IE
XFAC - 0.1*XFAC
END IF
XBE(IE) = XBE(IE) + XBUB + XFAC
35 CONTINUE
nnn
DO 40 IE = IEL1,IEL2,JL-1
XBUB = IBUB
XFAC = 0 . 2
IF (XBE(IE).NE.0.0) THEN
XBUB = 10.*IE
XFAC = 0.1*XFAC
END IF
XBE(IE) = XBE(IE) + XBUB + XFAC
40 CONTINUE
nnn
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
253
END IF
XBE(IE) = XBE(IE) + XBUB + XFAC
45 CONTINUE
C
25 CONTINUE
C
C-------------------------- CORRESPONDENCE OF THE NODE NUMBERS BEFORE
C AND AFTER BLOCKING
C
DO 50 I = X,NNODES
ICROS (I) = I
50 CONTINUE
C
c
DO 60 IBUB = 1,NBUBBL
C
IADD = 0
C
DO 65 IX = NCX1(IBUB)+1,NCX2(IBUB)-1
DO 66 IY = NCY1(IBUBJ+l,NCY2(IBUB)-1
NODE = (IX-1)*JL + IY
ICROS (NODE) - -1
66 CONTINUE
65 CONTINUE
C
NSTR * NCX1(IBUB)*JL + 1
NEND * (NCX2(IBUB)-1)*JL
C
DO 70 NODE = NSTR,NEND
IF (ICROS(NODE).LE.-l) THEN
IADD - IADD - 1
GO TO 70
END IF
ICROS(NODE) = ICROS(NODE) + IADD
70 CONTINUE
C
DO 75 NODE = NEND+1,NNODES
ICROS(NODE) * ICROS(NODE) + IADD
75 CONTINUE
C
60 CONTINUE
C
C
OPEN (11, FILE='nodes',STATUS*'UNKNOWN',FORM*'UNFORMATTED' )
C
DO 100 IX * 1,IL
DO 110 JY = 1,JL
Nl * (IX-1)*JL + JY
IF (ICROS(NI).LE.-l) GO TO 110
WRITE (11) IX,JY,ICROS(Nl),SC(NI,1),SC(NI,2)
110 CONTINUE
100 CONTINUE
C
130 CONTINUE
CLOSE (11)
C
c -------------------------------- NODES ON OUTER BOUNDARIES
C
OPEN (12,FILE*'bconds',STATUS*'OLD',FORM*'UNFORMATTED')
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
254
DO 135 I = 1,10000
READ (12,END=138)
135 CONTINUE
138 CONTINUE
C
C WEST EDGE
C
NWEST = 0
DO 140 JY = 1,JL
IF (ICROS(JY).LE.-l) GO TO 140
NWEST = NWEST + 1
IBND (NWEST) = ICROS(JY)
140 CONTINUE
WRITE (12) NWEST, (IBND(I),1=1,NWEST)
C
C NORTH EDGE
C
NNORTH = 0
DO 145 IX = 1,IL
NN = ICROS(IX*JL)
IF (NN.LE.-l) GO TO 145
NNORTH = NNORTH + 1
IBND (NNORTH) = NN
145 CONTINUE
WRITE (12) NNORTH, (IBND(I),1=1,NNORTH)
C
C SOUTH EDGE
C
NSOUTH = 0
DO 150 IX = 1,IL
NN = ICROS((IX-1)*JL+1)
IF (NN.LE.-l) GO TO 150
NSOUTH = NSOUTH + 1
IBND(NSOUTH) = NN
150 CONTINUE
WRITE (12) NSOUTH, (IBND(I),1=1,NSOUTH)
c
C EAST EDGE
C
NEAST = 0
DO 155 JY = 1,JL
NN = ICROS( (IL-1)*JL + JY )
IF (NN.LE.-l) GO TO 155
NEAST = NEAST + 1
IBND(NEAST) = NN
155 CONTINUE
WRITE (12) NEAST, (IBND(I),1=1,NEAST)
C
c------------------------------------ ELEMENTCONNECTIVITIES
C
OPEN (11, FILE='elements',STATUS='UNKNOWN',FORM='UNFORMATTED')
C
NNEIGH = 0
ELEM = 0
DO 210 IX = 1,IL-1
DO 220 JY = 1,JL-1
C
IE = {IX-I)*(JL-1) + JY
ISW = ICROS(NELEM (1,IE))
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
255
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
uoissiuujad inoiWM p011.q1.4ojd uoi.pnpojdaj ja q y r ij j 8 umo wGpAdoo 041 io uojssjujjad mum paonpojday
pasn h o n : £HVdn
ooooonoo
pasn u o n : ZHVdfl
A h t s o t b a Hsiui : THVdO
(AHT30X3A H9TUT UUOJTUCI) 0 = 3SVDI JOJ
000000
UTPHS WOHd XfldNI
31 GN3
Z3WIX = 0N3X
nsa - z 3h i x =x h v x s x
* SNVHX
XN3.TSNVHX
0 0 0 0
3S33
•d’ = SNVHX
AOV3XS
N3HX (•0•03 •xntsa) dl
(zx) sscao
3nNIXN00 ST
30NIXN03 OT
Z3WIX = T3WIX
T3WIX - Z3WIX = 1130
(3aanaN'T-i'(i)9Nw'(i)Aan’(i)xan 5
'dIXS'dIXS'dIXS'dIXS'dIXS'dIXSl)'Z3WIX'dIXSI (ST=ON3'ZT) OV3H
OOOT'T = 03HI 01 OtJ
•0 = T3WIX
(3aanaN'i=i'(i)oh) 9
'n 3i a 'n 3t x '(3aanaN*x=i'dixsi'dixsi)'Tr'n'laanaN Czx) av3H
o
(.aaxxwHOdNn,=wnod',crio,=snxYxs' ,AHOHoaC»aH.=33id'zT) N3do
00000
d3XS 3WIX X30 OX ..AH0X03rVHX.. 0V3H
(OOC)Nin N0ISN3HI0
(oi)oh'(ox)onv'(ox)Aan'(ot)xan NOisNawia
SNVHX ivoiocn
XINI'XlVId'HXSNOO'SW333‘S300N H3D3XNX
Ot-*33XIX'Zi*CWVO H3X0VHVH0
i*aor '6*AdV3XS H3X0VHVH0
aaaaoN'(ooc)NiA 9
'(ooe)XNaoN'(ooe)xsaoN'(ooc)x3aoN'(ooe)XMaoN'(ox'os)ansaoN nohkoo
o
(frS9Z6STfrT'£=Id) H3X3WVHVd
00000
9SS
257
STEADY = 'TRANSIENT'
JOB 'NEWJOB'
END IF
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
258
non
EXECUTION CARO
WRITE (10,411) JOB
411 FORMAT ('*EXECUTION(',A7,')')
ooo
SOLUTION CARD
IF (TRANS) THEN
WRITE (10,4121) NR,VELCON,RESCON,ACCF,0.9
ELSE
WRITE (10,412) NR,VELCON,RESCON,ACCF,0.9
END IF
412 FORMAT ('‘SOLUTION(Q.N.=',12,',VELCONV®',E8.2,',RESCONV=',E8.2,
6 ',ACCF=',F3.1 , 'LINESEARCH®' ,F3.1, ')',/,
& '‘STRATEGY(S .S .*4)')
121 FORMAT ('‘SOLUTION(S.S.=',I2,',VELCONV®',E8.2,',RESCONV=',E8.2,
6 ',ACCF=', F 3 . 1 , 'LINESEARCH®',F3.1,')')
non
DATAPRINT CARD
WRITE (10,418)
418 FORMAT ('*DATAPRINT(NORMAL,NOPAGE,NODES=3,ELEMENTS=0,',
& 'C O N S T R A I N E D = 0 F L U X = 2 ,INITIAL*=0)')
oon
NODES CARD
WRITE (10,419)
419 FORMAT ('‘NODES(CARTESIAN,SUBROUTINE)')
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
259
non
ELEMENTS CARO
WRITE (10,430)
430 FORMAT ('*ELEMENTS (GROUP-1, FLUID, NODES-4 ,QUADRILATERAL, GLOBAL' ,
& '(SUBROUTINE)')
on
CALL GETBC
oonn
BOUNDARY ELEMENTS
DO 55 IBUB-1,NBUBBL
WRITE (10,431) IBUB+1
DO 50 IN*1,NODBBL-1
WRITE (10,'(2X,I2,2X,I4,2X,I4)') IN,N0DBUB(IN,IBUB),
& NODBUB(IN+1,IBUB)
50 CONTINUE
WRITE (10,'(2X,I2,2X,I4,2X,I4)') NODBBL,NODBUB(NODBBL,IBUB),
& NODBUB(1,IBUB)
55 CONTINUE
431 FORMAT (' ‘ELEMENTS (GROUP-', 11,', SLIP,EDGE,NODES-2) ')
ooooo
BOUNDARY CONDITIONS
CLOSE (20)
non
DO 80 IY - 1,JL
UIN(IY) - UPAR1
80 CONTINUE
on
END IF
no
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
260
120 CONTINUE
noon
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
261
SUBROUTINE GETBC
o
READ BCONDS
DO 15 1*1,100
READ (11,ENDS20)
DO 10 J = 1,4
READ (11)
10 CONTINUE
NSET - I
15 CONTINUE
20 CONTINUE
n o
REWIND (11)
READ (11)
DO 35 I = 1,NSET-1
DO 30 J * 1,5
READ (11)
30 CONTINUE
35 CONTINUE
n
CLOSE (11)
nnnnnnnnn
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
262
c
DO 100 I = 1,NBEL
IF (XBE (I) .LT. 10 .) THEN
non
ELSE
noon
END IF
n
100 CONTINUE
nonooo
OPEN (11,FILE-'elements',STATUS-'OLD',FORM-'UNFORMATTED')
nnnn
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
263
IF (FACEL(II,IBUB).EQ.1) THEN
C EAST FACE
NODBUB(IC(IBUB),IBUB) = NODE2
NODBUB(IC(IBUB)+1,IBUB) = NODE3
IC(IBUB) = IC(IBUB) + 2
C
ELSE IF (FACEL(II,IBUB).EQ.2) THEN
C NORTH FACE
NODBUB(IC(IBUB),IBUB) = NODE4
NODBUB(IC(IBUB)+1,IBUB) = NODE3
IC(IBUB) = IC(IBUB) + 2
C
ELSE IF (FACEL(II,IBUB).EQ.3} THEN
C WEST FACE
NODBUB(IC(IBUB),IBUB) * NODE1
NODBUB(IC(IBUB)+l,IBUB) = NODE4
IC(IBUB) = IC(IBUB) + 2
C
ELSE
C SOUTH FACE
NODBUB(IC(IBUB),IBUB) = NODEI
NODBUB(IC(IBUB)+1,IBUB) = NODE2
IC(IBUB) = IC(IBUB) + 2
C
END IF
C
120 CONTINUE
125 CONTINUE
150 CONTINUE
160 CONTINUE
CLOSE (11)
C
C DELETE DUPLICATE NODE NUMBERS
C
DO 190 IBUB *= 1,NBUBBL
C
IC(IBUB) - IC(IBUB) - 1
C IBE (I) Is of no use now. It will be used foe temporary
C storage
C
DO 170 I = 1,IC(IBUB)
DO 165 J = 1+1, IC(IBUB)
IF (NODBUB(J,IBUB).EQ.NODBUB(I,IBUB)) THEN
NODBUB(J,IBUB)«0
IXB(I,IBUB) *= MAX0(IXB(I,IBUB),IXB(J,IBUB))
JYB(I,IBUB) - MAX0(JYB(I,IBUB),JYB(J,IBUB))
END IF
165 CONTINUE
170 CONTINUE
DO 180 I «= 1,IC(IBUB)
IF (NODBUB(I,IBUB).EQ.0) THEN
DO 175 J *= I,IC(IBUB)-1
NODBUB (J, IBUB) ■= NODBUB (J+1,1 BUB)
IXB(J,IBUB) = IXB(J+l,IBUB)
JYB(J,IBUB) = JYB(J+l,IBUB)
175 CONTINUE
END IF
180 CONTINUE
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
264
190 CONTINUE
onnnn
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
265
nonn
NI3 = NI2
00 204 II = 1,NODBBL
IF (IXB(II,IBUB).GE.IXMAX) THEN
NI3 = NI3 + 1
IBE(NI3) = NODBUB (Ilf IBUB)
END IF
204 CONTINUE
DO 210 II = 1,NI4
NODBUB(II,IBUB) = IBE(II)
210 CONTINUE
o n n n n o n n
300 CONTINUE
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
266
nnnnnnnnn
DO 1 J = 1,NELM-I
IF (ARRAY(J).GT. ARRAY (J+H ' THEN
IT = ARRAY(J)
ARRAY(J ) = ARRAY(J+l)
ARRAY(J+l) - IT
END IF
1 CONTINUE
n
10 CONTINUE
nn
ELSE
nnn
20 CONTINUE
END IF
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
uoissiuuad inoLMM paiiqiqojd u o ipnp ojdaj ja q y r y jauMO ;q6uAdoo a q p o uoissiwjad qjiM paonpojday
0 *) 3xiau
N31A'N31X (. . ) avaa
n v a a A O . (,(i'v>. *) axian
i r ' n (* *) avaa
. (ir'ii) a aav x mi saaoa 30 aaawrn n v a a A O « (,(*'v). *) 3XIVM
3
3
,.AaOX33rvaX» 3113 3AV333 3
3
N3HX (3XV333) 31
3
-
3
3
3i cma
(,aaxxvwHOiNn.=w«03',aio,=snj,vis',itio53afBa^,=a'ii3'ox) Naao
gg'jg
( .aaXI.Wa03Hn.»KH03' ,M3N.=SnXVXS' ,Aaoi3eC«3^.a31I3'0T) N330
N3HX (3XY3H3) 31
•uor^axap IB3U3PTOOB 3U8AS2d o* .NMONXNfl, asn 4,uoa 3
3
31 ON3
01 OX 00
. 33I0H3 aiTVANI . (*'*) 3XIHH
*3TMX" = WYX3
N3HX («a #*03 *H3MSNV *H O "#3 #"03 *H3HSNV) 31 3S13
•anax* * iaa
N3HX (.P. *03‘a3MSNV*aO',a. *03*a3MSKV) 31 3S13
•3nax • = aav
N3HX ( ’03‘H3MSNV"H O ‘ ,V, -Oa-HaMSNV) 31 3S13
'anax* = axvaao
N3HX (.a,•Oa’aaHSHvao* .3,'Oa’aaHSNv) ai
*3S1V3' = HVX3
*3S1V3■ = iaa
•3S1Y3• = aav
’3STV3‘ = 3XV3H3
aaMSNv (,(v),'*) avaa
. 33I0H3 . (.(*'v).'*) 3Xia«
(*'*) 3XIHH
, 3 XN3XN03 3NIHVX3 . (*'*) 3XiaM
. a ............... aaosaa xsvi 3xaiaa » (*'*) axiaw
. v aaosaa M3N v aav . (*'*) axia«
, 3 a n a xaoxsarvax hsn v axvaas - (*'*) 3xihm
,------------------------ ,(»',)aiXHH
.H3XN3 oa OX , (*'*) 3XIHM
3fUiIXN03 01
3
Kvxa'i3a'aav'3xvaa3 ivoiooi
H3MSNV T*a3X3VaVH3
(01'00T )OMV* (OT'00T)OA'(OT'00T )0n‘(OT '00T)WOW TV3a
(OT'OOT)Aa'(OT'OOT)X3'(OT'OOT)OA'(OT'OOT)OX'(00T)3WIX'(0T)0a TV3H
(OT)snaAi'(OT)enaxi a a o a x m
3
,,*3
i 686T 'LZ snv 3
„Aaoi3a f B « „ aTTJ aip sa^eais ao s1(3343 i 3*Aa0X33CVax 3
..I.,,,.,,,,.,,.*.,,,...,..,,.......*...*...******.******.*.*.
L9Z
268
IT = 0
END IF
non
IF (ADD.OR.DEL) THEN
READ (10) NBUB,IL,JL,(IXBUB(I),IYBUB(I),I=1,NBUB),XLEN,YLEN,
& (R0(I),I=1,NBUB)
DO 20 IREC « 2,1000
READ (10,END=25)
NREC = IREC
20 CONTINUE
IT = NREC - 1
END IF
nn
25 CONTINUE
n
IF (ADD) THEN
WRITE (*,'(A,$)') ' TIME
READ (*,*) TIME(1)
END IF
IF (ADD.OR.CREATE) THEN
nn
DO 110 IB « 1,NBUB
WRITE (*,'(A,12)') ' FOR BUBBLE NUMBER s ',IB
WRITE (*,'(A,$)') ' BUBBLE CENTER COORDIANTES (X0, Y0)
READ (*,*) X0(1,IB),Y0(1,IB)
WRITE (*,'(A,$)') ' BUBBLE VELOCITY (U0, VO) ........
READ (*,*) U0(1,IB),V0(1,IB)
WRITE (*,'(A,$)') ' ANGULAR VELOCITY (ANG) .........
READ (*,*) ANG(1,IB)
WRITE (*,'(A,$)') ' FORCE IN X DIRECTION (FX) .......
READ (*,*) FX(1,IB)
WRITE (*,'(A,$)') ' FORCE IN Y DIRECTION (FY) .......
READ (*,*) FY(1,IB)
WRITE (*,'(A,$)') ' TORQUE (MOM) ....................
READ (*,*) MOM(1,IB)
no
110 CONTINUE
REWIND (10)
DO 115 IREC = 1,NREC
READ (10)
115 CONTINUE
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
269
C
WRITE (10) IT,TIME(1)/(IB,XO(1,IB),Y0(1/IB),
& FX(1,IB),FY(1,IB),MOM(1,IB),U0(1,IB),V0(1,IB),
& ANG(1,IB),IB = 1,NBUB)
C
END IF
C
IF (DEL) THEN
REWIND (10)
READ (10)
DO 120 IREC = 2,NREC-1
READ (10) IT,TIME(1),(IB,X0(1,IB),Y0(1,IB),
& FX(1,IB),FY(1,IB),MOM(1,IB),U0(1,IB),V0(1,IB),
& ANG(1,IB),IB = 1 ,NBUB)
120 CONTINUE
REWIND (10)
DO 125 IREC = l,NREC-2
READ (10)
125 CONTINUE
WRITE (10) IT,TIME(1),(IB,X0(1,IB),Y0(1,IB),
6 FX(1,IB),FY(1,IB),MOM(1,IB),U0(1,IB),V0(1,IB),
& ANG(1,IB),IB = 1,NBUB)
END IF
C
CLOSE (10)
OPEN (10,FILE='trajectory',STATUS='OLD',FORM='UNFORMATTED')
C
C--------------------------------------------------------------------
C CHECK EXISTING TRAJECTORY FILE
C
200 CONTINUE
C
c
READ (10) NBUB,IL,JL,(IXBUB(I),IYBUB(I),1=1,NBUB),XLEN,YLEN,
6 (R0(I),1=1,NBUB)
WRITE (*,500) XLEN,YLEN
WRITE (*,501) IL,JL
WRITE (*,502) NBUB
DO 201 I = 1,NBUB
WRITE (*,503) I,IXBUB(I),IYBUB(I)
WRITE (*,504) I,R0(I )
201 CONTINUE
DO 210 IT = 1,100
READ (10,END=220) ISKIP,TIME(IT),(ISKIP,X0(IT,IB),Y0 (IT,IB) ,
6 FX(IT,IB),FY{IT,IB),MOM(IT,IB),U0(IT,IB),V0(IT,IB),
6 ANG(IT,IB),IB = 1,NBUB)
NTIME = IT
210 CONTINUE
220 CONTINUE
C
DO 300 IB * 1,NBUB
WRITE (*,'(70A1)') ('*',1=1,70)
WRITE (*,'(A,12)') ' BUBBLE NUMBER : ',IB
WRITE (*,*) ' BUBBLE CENTER COORDINATES'
WRITE (*,*) ' ------------------------- '
WRITE (*,*)
WRITE (*,*) ' TIME X Y'
DO 315 IT = 1,NTIME
WRITE (*,505) TIME(IT),X0(IT,IB),Y0 (IT,IB)
315 CONTINUE
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
270
WRITE (*,*)
WRITE (*,*) ' FORCES EXERTED ON BUBBLE'
WRITE (*,*) ' ------------------------ '
WRITE (*,*)
WRITE (*,*) ' TIME FX FY TORQUE'
DO 320 IT = 1,NTIME
WRITE (*,506) TIME(IT),F X (IT,IB),FY(IT,IB),MOM(IT,IB)
320 CONTINUE
WRITE (*,*)
WRITE (*,*) VELOCITY OF THE BUBBLE'
WRITE (*,*)
WRITE (*,*)
WRITE (*,*) ' TIME U
i 'ANG. VELOCITY'
DO 330 IT = 1,NTIME
WRITE (*,506) TIME(IT),U0(IT,IB),V 0 (IT,IB),ANG(IT,IB)
330 CONTINUE
300 CONTINUE
C
C
C
STOP
500 FORMAT (2X,'X AND Y SIZES OF THE SOLUTION DOMAIN ,F6.3,2X,F6.3)
501 FORMAT (2X,'TOTAL NODE NUMBERS IN X AND Y ,13,2X,13)
502 FORMAT (2X,'NUMBER OF BUBBLES ,13)
503 FORMAT (2X,'NUMBER OF NODES AROUND THEBUBBLE ',12,' : ',12,2X,12)
504 FORMAT (2X,'RADIUS OF BUBBLE ',12,' : ',F6.3)
505 FORMAT (IX,Ell.5,2X,F8.4,5X,F8.4)
506 FORMAT (IX,Ell.5,2X,3(1PE11.4,3X))
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
c*.*...***.••*•.*****..•.*..*•*.•*...***.*•*••.**.**.**.**..***********
C INTERPOL.F ! Interpolates the velocity field after the bubbles
C OCT 30, 1989 ! are displaced
c**********************************************************************
c
PROGRAM INTERPOL
C
C The element group including quadrilateral elements must belong to
C the second element group. Otherwise, the velocities are not
C interpolated correctly.
C The pressure field is not read from this file (NEWJOB, READ). No
C need to interpolate them.
C
C
PARAMETER (NNEL=20000,NNOD=20000,NEQ1=20000)
C
C THIS PROGRAM READS THE FILE 'FDPOST' OR 'FPREST' GENERATED
C BY FIDAP.
C
C
IMPLICIT REAL (A-H,0-Z)
C
c '
COMMON /ELEMS/ELEM(4,NNEL),X(NNOD),Y(NNOD)
COMMON /VELOC/UOLD(NNOD*2),UDX(NNOD*2),UDY(NNOD*2)
COMMON /NEW/XNEW(NNOD),YNEW(NN0D),UNEW(NNOD*2)
INTEGER ELEM
DIMENSION U I (2*NEQ1),NPAR(40),COOR(8),UX(4),UY(4)
DIMENSION PROP(100),VAL(100),VALI(3),TMALL(100)
DIMENSION NFIXBC(8),NFLXBC(8),NINTLC(8),LDOF(8),IDOF(8)
DIMENSION NELGP(10,2)
C
CHARACTER*80 HEDPST
CHARACTER*4 HED(20)
C
C b sb ee s sk b ss ei s ks ss i ib sb b s INPUT DATA
c
NX -41
NY =25
XLEN = 10.
YLEN = 7.
XOR = 0.
YOR = 0.
IPST = 50
IRST = 51
OPEN (IPST,FILE='FDPOST',FORM-'UNFORMATTED',STATUS='OLD')
OPEN (IRST,FILE-'FDPOST1',FORM-'UNFORMATTED',STATUS3 'UNKNOWN')
C
c
C*==*=*.=*.>«»«==*=«==«=..«=«,= r e a d AND WRITE HEADING
C
c NUMNP Total number of nodal points in the mesh
c NELEM Total number of elements in the mesh
c NELEMM Maximum number of elements in any one element group
c NELTYP Number of element groups (without plot elements)
c NDF Number of coordinate directios (2 or 3)
c NDFVL Number of velocity components (2 or 3)
c MNDOF Maximum number of degrees of freedom (set to 8)
c MNDF Maximum number of nodes in any element
c N3D element order flag
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
272
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
273
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
274
c
c FLUID PROPERTIES DATA
c
READ (IPST) PROP(1)
WRITE(IRST) PROP(1)
IF (NPRP.NE.O) THEN
DO 100 NCL = 1,NPRP
NC = MAX(1,NPAR(16+2*NCL-1))
CALL READBN (IPST,PROP,NC)
CALL WRITBN (IRST,PROP,NC)
100 CONTINUE
END IF
READ (IPST) (PROP(I),1-1,15)
WRITE(IRST) (PROP(I),1=1,15)
IF (NG.EQ.NELTYP) THEN
c
c ELEM(i,j) Is needed for Interpolation. This part reads element
c connectivities starting from el #1 for each group. As long as
c the quadrilateral elements are in the last group, this works
c fine. Otherwise, element connectivity information will be passed
c wrong to the interpolation part.
c
IF (NTYP.NE.3) THEN
WRITE (*,*) 'LAST ELEMENT GROUP TYPE : ',NTYP
WRITE (*,*) 'ELEMENT CONNECTIVITIES MIXED UP, ABORTING ..'
STOP
END IF
END IF
C ELEMENT CONNECTIVITY INFORMATION
C
DO 200 J = 1, NELGP(NG,1)
C
C NE :local element number
C NELT :global element number
C NODE :list of ndp nodes defining element
C
NELT = NELT + 1
READ (IPST) NE,NELT,AREAVL, (ELEM(I, J),1=1,NDP)
WRITE (IRST) NE,NELT, AREAVL, (ELEM(I,J), 1*1,NDP)
200 CONTINUE
300 CONTINUE
C
C= RESTART INFORMATION FOR EXPLICIT TIME INTEGRATOR
C
READ (IPST) MMRY,NBLKS,LBLK,MTT,LNCMC,LNCMAT,LCMC,LACMAT,LSCMAT
c
c SOLUTION VECTORS
c
c For steady state, KSTEP=1, TIME=0., DT=0.
c
c KSTEP time step number
c TIME time value of time step
c DT time step increment
c RNORM norm of residual vector
c
c
READ (IPST) KSTEP,SKIP,SKIP,RNORM
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
275
oonoonn
INTERPOLATE VELOCITIES
last group has the quadrilateral elements
RESTART VECTORS
SOLUTION VECTOR
CALL READBN (IPST,UNEW,NEQ)
CALL WRITBN (IRST,UNEW,NEQ)
o
ACCELERATION VECTOR
IF (INT.EQ.l) THEN
CALL READBN (IPST,UNEW(NEQ+1),NEQ)
CALL WRITBN (IRST,UNEW(NEQ+1),NEQ)
END IF
onn
500 CONTINUE
STOP
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
276
C*
C INTVEL.F Interpolates velocities
C NOV 4, 1989
C*
c
c
SUBROUTINE INTVEL(NNODE,NELEM)
PARAMETER (NNEL-20000,NNOD-=20000)
COMMON /ELEMS/ELEM(4,NNEL) ,X(NNOD) ,Y(NNOD)
COMMON /VELOC/UOLD(NNOD*2),UDX(NNOD*2),UDY(NNOD*2)
COMMON /NEH/XNEH(NNOD) ,YNEW(NNOD) ,UNEW(NNOD*2)
INTEGER NBOR (4,NNOO)
C
c
c NBOR (1,NNOD) : West neighbor
c NBOR (2,NNOD) : South neighbor
c NBOR (3,NNOD) : East neighbor
c NBOR (4,NNOD) : North neighbor
c
c- FIND NEIGHBORS OF EACH NODE
c
DO 60 J = 1,4
DO 50 I « 1, NNODE
NBOR (J,I) = 0
SO CONTINUE
60 CONTINUE
C
DO 100 IEL ' 1,NELEM
C
N1 » ELEM(1,IEL)
N2 = ELEM(2,IEL)
N3 = ELEM(3,IEL)
N4 * ELEM(4,IEL)
NBOR (3,N1) = N2
NBOR (4,N1) = N4
NBOR (1,N2) = N1
NBOR (4,N 2 ) > N3
NBOR (2,N3) = N2
NBOR (1,N3) = N4
NBOR (2,N4) > N1
NBOR (3,N4) = N3
100 CONTINUE
DO 120 I ■= ISO,NNODE-150
IF (NBOR(1,1).E Q .0) NBOR( 1,1 )“I-100
IF (NBOR(2,I).EQ.0) NBOR(2,1)«I-1
IF (NBOR(3,1).E Q •0) NBOR(3,1)«I+100
IF (NBOR(4,1 ).EQ.0) NBOR(4,1)=I+1
120 CONTINUE
c
c- FIND THE CLOSEST OLD NODE TO THE NEW NODE
c
c
DO 220 IN * 1,NNODE
c
C start from the old node number:
c
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
277
INODE = IN
DIST = ( XNEW( IN) -X( IN) )**2 + ( YNEW( IN)-Y( IN) )**2
C
205 CONTINUE
C
DO 210 ISIDE = 1,4
INI = NBOR(ISIDE,INODE)
IF (INI.EQ.0) GO TO 210
DIST1 = ( XNEW( IN) -X( INI) )**2 + ( YNEW( IN)-Y( INI) )**2
IF (DIST1.LE.DIST) THEN
DIST «= DIST1
INODE = INI
GO TO 205
END IF
210 CONTINUE
nnn
220 CONTINUE
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
uoissiuuad inoiiiiM paiiqiqojd u o ip np ojdaj ja q y r y jauMo ;q6uAdoo a q u o uoissi.iuiad qjiM paonpojday
0
0
t aaoN aoj xa/na onv xa/na -0
3
0
3nNIXNOO ooi
ur (s*iai)aoovr
izr- = (i-s*iai)ao3vr
sir- = (z-s*iai)aoovr
zzc (e-s*i3i)aoovr
xzr*zxr - zzr*xir (fr-s*iai)aoovr
fr/({2N)A-(TN)A-(frM)A+(CM)X) » ZZC
fr/((ZN)X-(XN)X-(frN)X+(EN)X) = xzr
lr/( (frN)A- (TN)A-(CN)A+(ZN)A) = Zir
fr/((MOX-(TN)X-(EN)X+(ZN)X) - Tir
(lai'vJwaia = wj
dai'Owaia = cn
(i3i'z)waia = zn
(iai'x)wai3 = in
K313N'I « 131 00X 00
3
(3XqB2T^0103A ST dOOT STHi) 0
XN3W313 H3V3 H03 SNVIHODVr 31Vin31V3 -0
0
0
AO/AO (z*aoNi)Aan 3
Aa/na (x-z*aoNi)xan 0
3
xa/Aa (z*aom)xan 0
xa/na (x-z*aoNi)xan 3
3
AJ.I3013A A (z*aoNi)aion 3
AXI3013A n (x-z*aoNi)aion 3
3
: aoNi # aaoN aoa shoxo 3a xxiooiaA 3
3
(z'z)ar (s*iai) aoovr 3
(x'z)ar (T-s*i3i) aoovr 3
(z'Uar (3-5*131) aoovr 3
(i'T)ar (e-s*iai) aoovr 3
(V3HV*fr) Nviaoovr (fr-s*iai) aoovr 3
: 131 * 1N3W313 H03 (s*wai3N) aoovr 0
saaoN ao H3awnN aaoNN 3
S1N3H313 30 H3BWT1N W313N 3
3
3
zzr'Tzr'zir'Tir'(s*i3NN)aoovr ivaa
W313 H3S3XNI
(aoNN)AOAa'(aoNN)xaAa'(aoNN)xana'(aoNN)xana NoisN3wia
(z*aoNN)Aan'(z*aoNN)xan'(z*aoKN)aion/ooi3A/ n o h h o o
(aONN)A'(aOMN)X'(13NN'fr)W313/SH313/ NOWMOO
(0000Z*aONN'0000Z=13NN) H3X3WVHVd
(H313N'aaoNN) AiH3a aNixnoaans
3
*0
•saqBUTPJ003 xssTsAqd u t i 686T 'fr AON 3
apou qsea qe saAT-jBATjap AqT3°TSA aqq saqeinoTBD ; H03*AIH3a 3
*0
8 LZ
279
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
280
N3 - ELEM(3,IEL)
N4 = ELEM(4,IEL)
DU/DX AND DV/DX
DUDX(N2) = ( JACOB(IEL*5-3)*( UOLD(N2*2-l) - U0LD(N1*2-1) )
6 + JACOB(IEL*5-2)*( UOLD(N3*2-l) - UOLD(N2*2-l) ) )/2
DVDX(N2) * ( JACOB(IEL*5-3)*( UOLD(N2*2) - U0LD(N1*2) )
& + JACOB(IEL*5-2)*( UOLD(N3*2) - UOLD(N2*2) ) )/2
C
c DU/DY AND DV/DY
c
DUDY(N2) ( JACOB(IEL*5-1)*( UOLD(N2*2-l) - U0LD(N1*2-1) )
i + JACOB(IEL*5)*( UOLD(N3*2-l) - UOLD(N2*2-l) ) )/2
DVDY(NZ) ( JACOB(IEL*5~1)*( UOLD(N2*2) - U0LD(N1*2) )
+ JACOB(IEL*5)*( UOLD(N3*2) - UOLD(N2*2) ) )/2
135 CONTINUE
DO 140 INOD = 1,NNODE
UDX(IN0D*2-1) = UDX(INOD*2-1) + DUDX(INOD)
UDX(INOD*2) » UDX(INOD*2) + DVDX(INOD)
UDY(INOD*2-l) = UDY(INOD*2-l) + DUDY(INOD)
U D Y (IN0D*2) = UDY(INOD*2) + DVDY(INOD)
140 CONTINUE
DO 145 INOD == 1,NNODE*4
DUDX(INOD) 0.
DVDX(INOD) 0.
DUDY(INOD) 0.
DVDY(INOD) 0 .
145 CONTINUE
C
c- --------------- DU/DXAND DU/DY FOR NODE 3
c
DO 150 IEL = 1 NELEM
N1 = ELEM(1,IEL)
N2 = ELEM(2,IEL)
N3 = ELEM(3,IEL)
N4 = ELEM(4 ,IEL)
C
C DU/DX AND DV/DX
C
DUDX(N3) = ( JACOB(IEL*5-3)*( UOLD(N3*2-l) - UOLD(N4*2-l) )
6 + JACOB(IEL*5-2)*( UOLD(N3*2-l) - UOLD(N2*2-l) ) )/2
DVDX(N3) = ( JACOB(IEL*5-3)*( UOLD(N3*2) - UOLD(N4*2) )
5 + JACOB(IEL*5-2)*( UOLD(N3*2) - UOLD(N2*2) ) )/2
c
c DU/DY AND DV/DY
c
DUDY(N3) = ( JACOB(IEL*5-1)*( UOLD(N3*2-l) - UOLD(N4*2-l) )
6 + JACOB(IEL*5)*( UOLD(N3*2-l) - UOLD(N2*2-l) ) )/2
DVDY(N3) = ( JACOB(IEL*5-1)*( UOLD(N3*2) - UOLD(N4*2) )
6 + JACOB(IEL*5)*( UOLD(N3*2) - UOLD(N2*2) ) )/2
150 CONTINUE
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
281
N1 = ELEM(1,IEL)
N2 = ELEM(2,IEL)
N3 - ELEM(3,IEL)
N4 = ELEM(4,IEL)
ooo
165 CONTINUE
o
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
282
N4 = ELEM(4,IEL)
DUDX(Nl) = DUDX(Nl) JACOB(I£L*5-4)
DUDX(N2) DUDX(N2) JACOB(IEL*5-4)
OUDX(N3) DUDX(N3) JACOB(IEL*5-4)
DUDX(N4) DUDX(N4) JACOB(IEL*5-4)
200 CONTINUE
DO 210 INOD «= 1,NNODE
UDX(INOD*2-l) = UDX(INOD*2-l)/DUDX(INOD)
UDX(INOD*2) * UDX(INOD*2)/DUDX(INOD)
UDY(INOD*2-l) «= UDY (INOD*2-1) /DUDX (INOD)
UDY(1N0D*2) = UDY(INOD*2)/DUDX(INOD)
210 CONTINUE
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
283
/* force.c */
/*
This is a dummy main program to call FORCE. Whether or not
the time step is to be repeated is decided by the FORTRAN
routine FORCE.F. However, main programs compiled with cft77
cannot return any argument to the C-Shell, The function of this
main program is to return the status code to C-shell.
*/
int FORCE();
int main()
{
exit( FORCE() );
}
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
284
nonnn
less than TOLF of the force calculated at the previous time step.
Returns 1 otherwise.
Called by "foree.c" to pass the exit status to C shell.
Shear stress = 0 ==> no angular momentum
PARAMETER (NPMAX=20000,MB=10,PI=3.141592654)
o
COMMON RO(MB),XB0(MB),YB0(MB),DRAGPX(MB),DRAGPY(MB),
& DRAGTX(MB),DRAGTY(MB),TORQUE(MB),NBN0D(MB)
DIMENSION IXB(MB),IYB(MB)
no
REAL X0(MB,3),Y0(MB,3),FXP(MB,3),FYP(MB,3),MOM(MB,3),
& U0(MB,3),V0(MB,3),ANG(MB,3),DX(MB),DY(MB),TIME(3)
n
REAL INERT(MB)
ooooo
INPUT DATA
DENSTY 8 0.7
DENSC 8 1.
DVISK 8 1.
VELTYP « 20.
TOLF 8 40.
GRAVTY 8 -9810
DISMAX 8 0.10
RELAX » 0.3
nnn
OPEN (20,FILE=*trajectory*,STATUS''OLD',FORM='UNFORMATTED')
C
READ (20) NBUB,IL,JL,(IXB( I),IYB(I),I'1,NBUB),XLEN,YLEN,
& (R0(I),I'l,NBUB)
C
DO 10 I • 1,NBUB
NBNOD(I) ■ 2*(IXB(I)+IYB( I))
10 CONTINUE
C
DO 25 I = 1,10000
READ (20,END=30)
NREC = I
25 CONTINUE
30 CONTINUE
C
CLOSE(20)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
285
OPEN (20,FILE='trajectory',STATUS='OLD',FORM='UNFORMATTED')
READ (20)
C
DO 35 I = l.NREC-2
READ (20)
35 CONTINUE
C
IF (NREC.EQ.1) THEN
C
READ (20) ISTEP,TIME(2),(ISKIP,X0(I,2),Y0(1,2),FXP(1,2),
& FYP(I,2),MOH(I,2),U0(1,2),V0(1,2),ANG(1,2),1=1,NBUB)
C
ELSE
C
READ (20) ISTEP,TIME(1),(ISKIP,X0(I,1),Y0(I,1),FXP(I,1),
6 FYP(I,1),MOM(1,1),U0(1,1),VO(1,1),ANG(I,1),1=1,NBUB)
READ (20) ISTEP,TIME(2),(ISKIP,XO(I,2),Y0(I,2),FXP(I,2),
& FYP(1,2),MOM(I,2),U0(I,2),VO(I,2),ANG(I,2),1=1,NBUB)
C
END IF
C
C
DO 40 IB = 1,NBUB
XBO(IB) = X0(IB,2)
YBC(IB) = Y0(IB,2)
INERT(IB) = DENSTY*PI*RO(IB)**4/2
40 CONTINUE
C
c
c
c-------------------------------------------------------------
C EVALUATE FORCES EXERTED ON EACH BUBBLE
C
CALL GETPRES (NBUB,DENSTY)
C
DO 100 IBUB = 1,NBUB
C
WRITE (*,*) 'BUBBLE #',IBUB
WRITE (*,*) 'PRESS DRAG IN X ,DRAGPX(IBUB),DRAGPY(IBUB)
AND Y
WRITE (*,*) 'SHEAR DRAG IN X AND Y :'
,DRAGTX(IBUB),DRAGTY(IBUB)
WRITE (*,*) 'TOTAL DRAG IN X ,DRAGPX(IBUB)+DRAGTX(IBUB)
AND Y:'
& ,DRAGPY(IBUB)+DRAGTY(IBUB)
WRITE (*,*) 'TORQUE (CLOCKWISE) :' ,TORQUE (IBUB)
FXP(IBUB,3) = DRAGPX(IBUB) + DRAGTX( IBUB)
6 + GRAVTY*PI*RO(IBUB)*R0( IBUB)*(DENSC-DENSTY)
FYP(IBUB,3) = DRAGPY(IBUB) + DRAGTY(IBUB)
MOM(IBUB,3) = TORQUE(IBUB)
C
100 CONTINUE
C
c-------------
C CHECK IF THE DIFFERENCE IN FORCE IS MORE THAN TOLF
C
IF (NREC.EQ.l) GO TO 190
C
DO 110 IBUB = 1,NBUB
DELFX = FXP(IBUB,3) - FXP(IBUB,2)
DELFY = FYP(IBUB,3) - FYP(IBUB,2)
DFORCE = SQRT (DELFX*DELFX + DELFY*DELFY)
IF (DFORCE.GT.TOLF) GO TO 150
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
286
110 CONTINUE
SO TO 190
C
C-------------------------------------------------------
c
C GO BACK TO LAST TIME STEP
C
150 CONTINUE
C
WRITE (*,400) ISTEP,(FXP(I,2),FXP(I,3),FYP(I,2),FYP(I,3),
& I“1,NBUB)
400 FORMAT ('FORCE : Repeating time step # ',13,//,
& ' FXOLD FXPNEW ',
& 'FYPOLD FYPNEW',10(/,' BUBBLE # ',E11.5,2X,
& Ell.5,3X,Ell.5,2X,Ell.5))
C
C
DELT = TIME(2) - TIME(l)
DO 155 IB = 1,NBUB
BMASS * PI*R0(IB)*R0(IB)*DENSTY
C
C
C
FXP(IB,3) a RELAX*FXP(IB,3) + (1.-RELAX)*FXP(IB,2)
FYP(IB,3) = RELAX*FYP(IB,3) + (1.-RELAX)*FYP(IB,2)
MOM(IB,3) = RELAX*MOM(IB,3) + (1.-RELAX)*MOM(IB,2)
ACCX a FXP (IB,3) /BMASS
ACCY = FYP(IB,3)/BMASS
U0(IB,3) * U0(IB,1) + DELT*ACCX
V0(IB,3) - V0(IB,1) + DELT*ACCY
ANG(IB,3) = ANG(IB,1) + DELT*MOM(IB,3)/INERT(IB)
X0(IB,3) = X0(IB,1) + U0(IB,1)*DELT + ACCX*DELT*DELT/2
Y0(IB,3) = Y0(IB,1) + V0(IB,1)*DELT + ACCY*DELT*DELT/2
155 CONTINUE
CLOSE (20)
OPEN (20,FILEa'trajectory',STATUS='OLD',FORMa'UNFORMATTED')
DO 160 IREC a 1,NREC
READ (20)
160 CONTINUE
WRITE (20) ISTEP,TIME(2),(ISKIP,X0( 1,3),Y0(1,3),FXP(1,3),FYP(1,3),
6 MOM(I,3),UO(I,3),VO(I,3),ANG(1,3),1=1,NBUB)
CLOSE (20)
FORCE » 1
RETURN
C
------------------------------------------------------------
C DISPLACEMENT AMD ROTATION
C
190 CONTINUE
C
C
C START WITH 100 SEC.
C
DT = 100.
C
C 1. VELOCITY CRITERION (10% OF TYPICAL VELOCITY MAGNITUDE)
C
DO 200 IB = i,NBUB
Reproduced w ild permission of the copyright owner. Further reproduction prohibited without permission.
287
BMASS = PI*R0(IB)*R0(IB)*DENSTY
FTOTAL = SQRT( FXP(IB,3)*FXP(IB,3) + FYP(IB,3)*FYP(IB,3) )
ACCLIN = FTOTAL / BMASS
DELT = 0.1*VELTYP / ACCLIN
DT = AMIN1 (DT,DELT)
C
200 CONTINUE
nnn
DO 220 IB * 1,NBUB
BMASS = PI*R0(IB)*R0(IB)*DENSTY
FTOTAL = SQRT( FXP(IB,3)*FXP(IB,3) + FYP(IB,3)*FYP(IB,3) )
ACCLIN = FTOTAL / BMASS
UINT = SQRT( U0(IB,2)*U0(IB,2) +V0(IB,2)*V0(IB,2) + I.e-20)
DELT o SQRT( (UINT/ACCLIN)**2 +2*DISMAX/ACCLIN )
DELT = - UINT/ACCLIN + DELT
DT = AMIN1 (DT,DELT)
220 CONTINUE
n o n
DO 230 IB *= 1,NBUB
BMASS = PI*R0(IB)*R0(IB)*DENSTY
ACCX = FXP(IB,3)/BMASS
ACCY = FYP(IB,3)/BMASS
U0(IB,3) = U0(IB,2) + ACCX*DT
V0(IB,3) = V0(IB,2) + ACCY*DT
X0(IB,3) = X 0 (IB,2) + U0(IB,2)*DT+ ACCX*DT*DT/2
Y0(IB,3) = Y0(IB,2) + V0(IB,2)*DT+ ACCY*DT*DT/2
ANG(IB,3)= ANG(IB,2) + DT*MOM(IB,3)/INERT(IB)
230 CONTINUE
nnno
ADD TO TRAJECTORY
ISTEP = ISTEP + 1
TIME(3) = TIME(2) + DT
WRITE (20) ISTEP,TIME(3),(II,X0(II,3),Y0(II,3),FXP(II,3),
S FYP(II,3),MOM(II,3),U0(II,3),V0(II,3),ANG(II,3),
i 11*1,NBUB)
CLOSE (20)
FORCE * 0
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
238
noon
COMMON R0(MB),XB0(M8),YBO(MB),DRAGPX(MB),DRAGPY(MB),
& DRAGTX(MB),DRAGTY(MB),TORQUE(MB),NBNOD(MB)
o
DIMENSION NODE(4,NUMNP1),ANODE(NUMNP1),AREA(NUMNP1)
DIMENSION WORK(4*NUMNP1),PROP(NUMNP1)
DIMENSION NPAR(100),PEL(NUMNP1)
DIMENSION W0RK1(2*NUMNP1),W0RK2(2*NUMNP1)
DIMENSION DIST(4)
DIMENSION BUBEL(50,MB),BUBNOD(50,MB),PBEL(50,MB),NBEL(MB),
& PBNOD(50,MB),XBEL(4,50,MB),YBEL(4,50,MB),
& UXBEL(4,50,MB),UYBEL(4,50,MB),PBN(4,50,MB)
INTEGER BUBEL,BUBNOD
EQUIVALENCE (WORK1(1),WORK(!)),(W0RK2(1),WORK(2*NUMNP1))
oo
ITWO = 1
IPST «= 10
OPEN (IPST,FILE='FDPOST',FORM-'UNFORMATTED',STATUS='OLD')
nononnnnnnnnnnooonn
DO 20 I = 1,3
20 READ (IPST)
READ (IPST) NUMNP,NELEM,NELTYP,N3D,NELEMP,NELCNP,NELEMM
READ (IPST) MNDF,MVDF,MPDF,MNDP,NDF,NDFVL
DO 25 I = 1,11
25 READ (IPST)
nnnnnnn
NODAL COORDINATES
X :VECTOR OF X COORDINATES
Y :VECTOR OF Y COORDINATES
2 sVECTOR OF Z COORDINATES
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
289
NBUB = NBUBL
on
DO 220 NG-1,NELTYP
nnnnononono
Boundary elements
NBNOD(NBUB) - NELGP
n
DO 180 J = 1, NELGP
non
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
290
ELSE
nnn
Internal elements
DO 200 J = 1, NELGP
READ (IPST) NE,NELT,AREA(NE),(NODE(I,NE),1=1,NDP)
200 CONTINUE
n
END IF
n
220 CONTINUE
nnn
DO 240 I = 1,NELGP
o
230 CONTINUE
240 CONTINUE
n
NBEL(IBUB) = IBEL
n
250 CONTINUE
nnnn
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
291
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
292
CLOSE (IPST)
C
c
DO 340 IBUB = 1,NBUBL
DO 330 IEL = 1,NBEL(IBUB)
PBEL(IEL,IBUB) = WORK(BUBEL(IEL,IBUB))
330 CONTINUE
340 CONTINUE
C
e===«===e =ee PRESSURE AT THE NODES OF THE BUBBLE EL.S
C
DO 450 IBUB = 1,NBUBL
DO 400 IEL = 1,NBEL(IBUB)
C
X1R = ( XBEL(1,IEL,IBUB) + XBEL(4,IEL,IBUB) / 2.
X2R = ( XBEL(2,IEL,IBUB) + XBEL(3,IEL,IBUB) / 2.
Y1R = ( YBEL(1,IEL,IBUB) YEEL(4,IEL,IBUB)
•r / 2.
Y2R = ( YBEL(2,IEL,IBUB) + YBEL(3,IEL,IBUB) / 2.
X1S SI
( XBEL(1,IEL,IBUB) + XBEL(2,IEL,IBUB) / 2.
X2S E
( XBEL(4,IEL,IBUB) + XBEL(3,IEL,IBUB) / 2.
Y1S = ( YBEL(1,IEL,IBUB) + YBEL(2,IEL,IBUB) / 2.
Y2S = ( YBEL(4,IEL,IBUB) + YBEL(3,IEL,IBUB) / 2.
XLEN = SQRT ( (X2R-X1R)**2 + (Y2R-Y1R)**2 )
YLEN ■= SQRT ( (X2S-X1S)**2 + (Y2S-Y1S)**2 )
AA = (X2R-X1R)/XLEN
BR = (Y2R-Y1R)/XLEN
AS = (X2S-X1SJ/YLEN
BS - (Y2S-Y1S)/YLEN
C
DELTA B AR+BS * AS*BR
URl ■= ( UXBEL(1,IEL,IBUB)*BS - UYBELf1,IEL,IBUB)*AS )/DELTA
UR2 = ( UXBEL(2,IEL,IBUB)*BS - UYBEL(2,IEL,IBUB)*AS )/DELTA
UR3 - ( UXBEL(3,IEL,IBUB)*BS - UYBEL(3,IEL,IBUB)*AS )/DELTA
UR4 = ( UXBEL(4,IEL,IBUB)*BS - UYBEL(4,IEL,IBUB)*AS )/DELTA
US1 = ( - UXBEL(1,IEL,IBUB)*BR + UYBEL{1,IEL,IBUB)*AR )/DELTA
US2 = ( - UXBEL(2,IEL,IBUB)*BR + UYBEL(2,IEL,IBUB)*AR )/DELTA
US3 = { - UXBEL(3,IEL,IBUB)*BR + UYBEL(3,IEL,IBUB)*AR )/DELTA
US4 = ( - UXBEL(4,IEL,IBUB)*BR + UYBEL(4,IEL,IBUB)*AR )/DELTA
C
UR0 = ( URl + UR2 + UR3 + UR4 ) / 4
US0 = ( US1 + US2 + US3 + US4 ) / 4
C
DURDR ■=( UR3 + UR2 - UR4 - URl ) /4
DUSDR * ( US3 + US2 - US4 - US1 ) /4
DURDS = ( UR3 + UR4 - UR2 - URl ) /4
DUSDS = ( US3 + US4 - US2 - US1 ) /4
C
DPDR = - RHO * (UR0*DURDR + US0*DURDS)
DPDS = - RHO * (UR0*DUSDR + US0*DUSDS)
C
PBN(1,IEL,IBUB) = PBEL(IEL,IBUB) - DPDR - DPDS
PBN(2,IEL,IBUB) = PBEL(IEL,IBUB) + DPDR - DPDS
PBN(3,IEL,IBUB) = PBEL(IEL,IBUB) + DPDR + DPDS
PBN(4,IEL,IBUB) = PBEL(IEL,IBUB) - DPDR DPDS
400 CONTINUE
450 CONTINUE
C
DO 480 IBUB *= 1,NBUBL
DO 470 IN = l,NBNOD(IBUB)
C
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
.293
IADD = 0
PBNOD(IN,IBUB) = 0.
DO 465 J = 1,4
DO 460 ICL = 1,NBEL(IBUB)
INODE = NODE(J,BUBEL(IEL,IBUB))
IF (INODE.NE.BUBNOD(IN,IBUB)) GO TO 460
PBNOD(IN,IBUB) = PBNOD(IN,IBUB) + PBN(J,IEL,IBUB)
IADD - IADD + 1
460 CONTINUE
465 CONTINUE
PBNOD(IN,IBUB) = PBNOD(IN,IBUB)/IADD
470 CONTINUE
480 CONTINUE
C
CsBsxsasu.sEssonsescEsc DRAG FORCE DUE TO PRESSURE FIELD
C
DO 490 IBUB = 1,NBUBL
C
DRAGPX(IBUB) = 0.
DRAGPY(IBUB) = 0.
TETA = 1.25*PI
ABUB = 2*PI*R0(IBUB)/NBNOD(IBUB)
DTETA *= 2*PI/NBNOD(IBUB)
C
DO 485 IF » 1,NBNOD(IBUB)
AIX = ABUB*COS(TETA)
AIY * ABUB*SIN(TETA)
DRAGPX(IBUB) = DRAGPX(IBUB) - PBNOD(IF,IBUB)*AIX
DRAGPY(IBUB) ■= DRAGPY(IBUB) - PBNOD(IF,IBUB)«AIY
TETA « TETA - DTETA
485 CONTINUE
C
490 CONTINUE
C
C n n » > » » u n . . . . . w ROTATE BUBBLE ELEMENTS
C
C Rotate the bubble elements such that, going clockwise on the
C interface, the first node of a bubble element is node 1, thesecond
C node is node 2, as in the example below.
C
C I I
C 3 ------2 1 ------- 4
C I I BUBBLE I I
C LIQUID I I I I LIQUID
C 4 ------ 1 2 ------- 3
C I I
C
C Tolerance in deciding which node is on the interface is 10% of a
C typical node adjecent to the interface
C
TOL - 0.1*SQRT( (XBEL(2,1,1)-XBEL(1,1,1))**2
& + (YBEL(2,1,1)-YBEL(1,1,1))**2 )
C
DO 550 IB = 1,NBUBL
C
C For each element neighboring to bubble IB, find the nodes at
C the interface.
C
c
DO 520 IEL = 1,NBEL(IB)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
294
IF (NODE1.EQ.O) THEN
WRITE (*,*) ' NO NODES NEIGHBORING TO THE BUBBLE '
STOP
n
END IF
nnn
DO 504 I = 1,4
IF (I .EQ. NODE1) GO TO 504
IF (DIST(I) .LE. R0(IB)+TOL) THEN
NODE2 * I
GO TO 506
END IF
504 CONTINUE
506 CONTINUE
n
IF (NODE2.EQ.O) THEN
nnn n
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
295
Reproduced with permission o f the copyright owner. Further reproduction prohibited without permission.
296
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
297
YBEL(2,JEL,IB) « YBELf2,JEL+1,IB)
YBEL(3,JEL,IB) = YBELf 3,JEL+1, IB)
YBEL(4,JEL,IB) = YBEL(4,JEL+1,IB)
UXBEL(1,JEL,IB) - UXBEL(1,JEL+1, IB)
UXBEL (2,JEL, IB) = UXBEL(2, JEL+1, IB)
UXBEL(3,JEL,IB) ■ UXBEL(3,JEL+1,IB)
UXBEL (4,JEL, IB) = UXBEL{4,JEL+1,IB)
UYBELf1,JEL,IB) UYBELfl,JEL+1,IB)
UYBELf2,JEL,IB) UYBELf2,JEL+1,IB)
UYBELf3,JEL,IB) UYBELf3,JEL+1,IB)
UYBELf4,JEL,IB) UYBELf4,JEL+1,IB)
C
525 CONTINUE
C
530 CONTINUE
C
C
550 CONTINUE
C
C B3HEBSBMISSCBS8CSI *==»= EVALUATE SHEAR FORCE AND TORQUE
c
c
DO 600 IB «= 1,NBUBL
DRAGTXfIB) * 0.
DRAGTY(IB) - 0.
TORQUE(IB) - 0.
c
c
DO 595 IEL - 1,NBEL(IB)
c
c Components of unit tangent vector of the Interface
c tx ■ cosfteta), ty = slnfteta)
c
TETA =ATAN4 ( XBEL{2,IEL,IB)-XBEL(1,IEL,IB) ,
& YBELf2,IEL,IB)-YBELf1,IEL,IB) )
TX - COS(TETA)
TY = SIN(TETA)
DUTDS - ( UXBELf3,IEL,IB) + UXBELf4,IEL,IB) - UXBELf 1,IEL,IB) -
& UXBELf2,IEL,IB) )*COS(TETA) +
6 ( UYBELf3,IEL,IB) + UYBELf4,IEL,IB) - UYBELf1,IEL,IB) -
& UYBELf2,IEL,IB) )*SIN(TETA)
C
DUTDS = DUTDS / 2.
C
R23 * SQRT ( (XBELf3,IEL,IB)-XBEL(2,IEL,IB))**2 +
S (YBELf3,IEL,IB)-YBEL(2,IEL,IB))**2 )
R14 = SQRT ( (XBELf1,IEL,IB)-XBELf4,IEL,IB))**2 +
S (YBELf1,IEL,IB)-YBELf4,IEL,IB))**2 )
DSDN = 4./(R23+R14)
DUTDN = DUTDS+DSDN
c
c As calculated above, DUTDN Is positive for the nodes of the
c upper semi-circle, is negative for the nodes of the lower semi
c circle.
c
c Also DUTDN is the integrated value along local r coordinate.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
298
TETA1 = ATAN4(XBEL(1,IEL,IB)/YBEL(1,IEL,IB) )
TORQUE(IB) = TORQUE(IB) + R0(IB)*DUTDN*DT/2.
nn
595 CONTINUE
600 CONTINUE
RETURN
END
nn
PARAMETER (PI=3.141592654)
nnn
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
299
nnno
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
300
noon
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
301
c*«
c USRNOD.FOR ! Reads nodal data from BFCO output NODES and
c ! passes to FIDAP
c*<
c
SUBROUTINE USRNOD (XYZ,NFIRST,NLAST, NDIMM, SUB, IERR)
c
c XYZ : Nodal coordinates XYZ(l,n) : x coor of node n
c XYZ(2,n) : y coor of node n
c XYZ(3,n) : z coor of node n
w
n
c NFIRST : Node number of minimum node defined
c NLAST : Node number of maximum node defined
c NDIM : Dimension of problem
c SUB : Value of SUBROUTINE keyword ?
c IERR : User error flag (0 successful! completion)
c
c NDIM and SUB are input, others output
c
DIMENSION XYZ(3,15000)
c
u*_
r
c
OPEN (26,FILE='nodes',STATUS=’OLD',FORM='UNFORMATTED')
NFIRST = 1
IERR = 0
C
DO 10 I = 1,15000
READ (26,END«15) II,JJ,N,XYZ(1,N),XYZ(2,N)
XYZ(3,N) = 0.
10 CONTINUE
15 CONTINUE
NLAST = N
CLOSE (26)
WRITE (*,'(A,14)') ' USRNOD - NUMBER OF NODES : ',NLAST
RETURN
END
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
302
nnnnn
SUBROUTINE USRELM(NELEM,NDP,NGROUP,SUB,NELGRP,IERR)
NELEM : Array of element connectivities
nnnnnnnnnnnnnnnnnn
NELEM(4,N) I I NELEM(3,N)
I ELEMENT I
I N I
NELEM(1/N) I_________ I NELEM(2,N)
NDP = 4
IERR = 0
nnn
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
303
#QSUB-eo
#QSUB-1M 4.0Mw
#QSUB-1T 1:59:00.00
#QSUB-me
#QSUB-nr
*QSUB
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
if ( ! -d $screxec ) then
echo DIRECTORY Sscrexec DOES NOT EXIST, ABORTING
exit
endif
if ( 1 -d Sscrruvi ) then
echo DIRECTORY Jscrrun DOES NOT EXIST, ABORTING .
exit
endif
cd Sscrrun
if { -f trajectory && -f bconds && -f elements && -f nodes
all data files are available
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
304
else
#
echo MISSING DATA FILES. CHECK DIRECTORY Sscrrun. ABORTING ...
exit
#
endif
#
#
cd Sscrexec
*
if ( -f force.x && -f inter.x && -f bfcinp.x && -f bfco.x
*
# all executables are available
#
else
*
echo MISSING EXECUTABLES. CHECK DIRECTORY Sscrexec. ABORTING ...
exit
*
endif
=* =*s * % %
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
305
#
mv FDPOST1 FDREST
#
Sscrexec/myfdp.x
#
§ istep ++
§ H ood ++
#
cp FDPOST SsavenameSistep
/bin/rm fort.*
*
if { $screxec/force.x } then
#
# successful completion
#
else
§ istep —
cp SsavenameSistep FDPOST
endif
*
end
#
# ---------------------------------------------------------------------------------------------------
* ! SAVE RESULTS IN CFS !
# --------------------------------------
#
cfs store Scfsdir/trajectory
tar -cvf Starname Ssavename* trajectory FIINP
cfs store $cfsdir/$tamame
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.