Professional Documents
Culture Documents
1978
Recommended Citation
Malik, Mujeeb Rehman, "Prediction of laminar and turbulent flow heat transfer in annular passages" (1978). Retrospective Theses and
Dissertations. Paper 6400.
This Dissertation is brought to you for free and open access by Digital Repository @ Iowa State University. It has been accepted for inclusion in
Retrospective Theses and Dissertations by an authorized administrator of Digital Repository @ Iowa State University. For more information, please
contact digirep@iastate.edu.
INFORMATION TO USERS
This was produced from a copy of a document sent to us for microfilming. While the
most advanced technological means to photograph and reproduce this document
have been used, the quality is heavily dependent upon the quality of the material
submitted.
1. The sign or "target" for pages apparently lacking from the document
photographed is "Missing Page(s)". If it was possible to obtain the missing
page(s) or section, they are spliced into the film along with adjacent pages.
This may have necessitated cutting through an image and duplicating
adjacent pages to assure you of complete continuity.
3. When a map, drawing or chart, etc., is part of the material being photo
graphed the photographer has followed a definite method in "sectioning"
the material. It is customary to begin filming at the upper left hand corner
of a large sheet and to continue from left to right in equal sections with
small overlaps. If necessary, sectioning is continued again—beginning
below the first row and continuing on until complete.
5. Some pages in any document may have indistinct print. In all cases we
have filmed the best available copy.
University
Microfilms
International
300 N. ZEEB ROAD. ANN ARBOR, Ml 481 06
18 BEDFORD ROW, LONDON WCIR 4EJ, ENGLAND
79D7253
M A L I K , 4 U J E E 3 8EHMA\i
P R E D I C T I D M OF L A M l N t R AND T U R B U L E N T FLOW H E A l
TRANSFER IM ANNULAR PASSAGES.
Universi^
Microfilms
international 300 n. zeeb road, ann arbor, mi 43106
PLEASE NOTE:
Dissertation contains computer print-outs with broken and indistinct p r i n t .
Filmed as received.
U N I V E R S I T Y MICROFILMS
Prediction of laminar and turbulent flow
by
DOCTOR OF PHILOSOPHY
Approved;
1978
ii
TABLE OF CONTENTS
Page
NOMENCLATURE xii
I. INTRODUCTION 1
A. The Problem 1
a. Theoretical work 4
b. Experimental work 7
a. Theoretical work 8
b. Experimental work 14
II. ANALYSIS 25
a. Conservation of mass 27
b. Conservation of momentum 28
c. Conservation of energy 28
3. Laminar flows 30
4. Turbulent flows 32
B. Turbulence Modeling 36
a. Determination of C^ and 49
4. Bridging ' 53
5. Turbulence kinetic energy equation model 53
iii
Page
a. Determination of constants 56
1. Governing equations 72
2. Boundary conditions 73
3. Fluid properties 74
D. Engineering Parameters 75
1. Shear stress 75
2. Skin-friction coefficient 75
3. Displacement thickness 76
4. Momentum thickness 76
5. Bulk mean temperature 77
6. Heat transfer coefficient 79
B. Finite-Difference Formulation 82
C. Solution Procedure 88
1. AY-Grid 89
2. Initial profiles 90
3. Solution of the finite-difference equations 92
1. Forced convection 97
iv
Page
V. CONCLUSIONS 168
1. Density 202
2. Coefficient of thermal expansion 202
3. Viscosity 202
4. Thermal conductivity 203
5. Specific neat 204
1. Density 204
2. Coefficient of thermal expansion 205
3. Viscosity 205
4. Thermal conductivity 205
5. Specific heat 206
V
Page
1. Density 206
2. Coefficient of thermal expansion 207
3. Viscosity 207
4. Thermal conductivity 207
5. Specific heat 207
LIST OF TABLES
Page
LIST OF FIGURES
Page
Page
Page
Page
Page
NOMENCLATURE
f an arbitrary function
enthalpy
mixing length
equals (NY+l.)
p static pressure
+ 2
p pressure defect, (p^-pj/pu^
Pe Peclet number. Re Pr
q heat flux
r radial coordinate
R gas constant
g
R^ dimensionless hydraulic radius
time
reference time
increment in time
absolute temperature
dimensionless temperature
axial velocity
radial velocity
equals (pv+p'v')/p
AX_
constants
Greek symbols;
Y intermittency factor
momentum thickness
thermal conductivity
turbulent conductivity
dynamic viscosity
turbulent viscosity
kinematic viscosity
density
iteration number
shear stress
Subscripts;
b bulk conditions
e entrance value
fd fully developed
asymptotic value
Superscripts;
I. INTRODUCTION
A. The Problem
that the flow around each rod can be approximated as annular flow
provided that the pitch/diameter ratio is greater than 1.1 and that
there are at least 20 rods per bundle. In addition, the poison rods
have annular flow around them since they are contained in guide tubes
q2(x) OR Tgfx)
u^(r)
AXIS OF
SYMMETRY
In the limiting cases of very small and very large radius ratios
compared with experimental data for flows in the annular geometry with
4
verification.
made for flow and heat transfer in annular passages; most of these
assumed that the fluid properties were constant. Lamb [6] was the
was made by Jakob and Rees [7]. For thermally developed flow they
wall heat flux at the inner wall with the outer wall insulated.
Wall 2 - Insulated.
Wall 2 - Insulated.
procedure [10]. For small values of x"*", the above solution converges
very slowly, hence the Leveque [11] approximation was used near the
linear instead of that given by Lamb [6] but having the same slope at
approximated as
r h
become nonlinear.
solution was obtained first for the hydrodynamic problem, and then
scheme.
Shumway and McEligot 115] were the first to study the problem of
the control volume approach used by Bankston and McEligot [4]. Solutions
[17-19] studied laminar upward and downward flow with the effect of
the entrance, Tanaka and Mitsuishi [21] solved the energy equation
for constant property flow and heat transfer is given by Shah and
London in [23].
Almost all other experimental work has been for fully developed flow,
Sherwin and Wallis [19] obtained limited heat transfer data for
r* = 0,33 using water. In the experiment, the inner wall was heated
while the outer wall was insulated. They also performed flow
a vertical annulus (r* = 0.3) in which water was flowing upward. The
inner wall was cooled while the outer wall was heated. The range of
near the early thermal entrance region showed upward convex curvature
near the inner wall. This they attributed to the possible flow
Maitra and Subba Raju [25] obtained experimental data for a Réynolds
water flowing in an annulus (r* = 0.38) with constant heat flux at the
transfer.
which the turbulence models employed were one of the following types:
the turbulent core region which was a modification of the proposal made
by Reichardt [27] for pipe flow. The modifications were purely empirical
and were made to obtain a fit to the measured eddy viscosity. In the
stream, however, Pr^ was calculated using the Jenkins model [29] and
heat transfer results for air in a circular tube into line with the
velocity profile which was inconsistent with the assumed eddy viscosity
" ^1 _ . 0.343
rz - ^ (I'l)
annuli with roughened cores using an eddy viscosity which was prescribed
by fitting simple ramp functions to the data of Jonsson and Sparrow [32]
on each side of the radius of zero shear which was assumed to be the
factors and temperature profiles for annuli with rough cores were
obtained. Durst [34], later on, improved upon Ying's work and
Elliot [35] and Lawn [36] employed Ying's method in their studies.
pipe flow was applicable in a modified form to the flow on both sides
11
of the radius of zero shear which was assumed to be the same as the
expression was assigned a value of 0,4 near the outer wall while for
the inner wall, it was allowed to depend upon radius ratio and r^
velocity profile.
Levy [37] for fully developed flow. However, K was assigned a value
of 0.4 near both the inner and outer walls. Independently, Lee and
also similar to that of Wilson and Medwell, the only difference being
that K near the inner wall was allowed to vary in the streamwise
the thickness ratio of the developing boundary layers was assumed equal
not true.
No heat transfer study has been noted which falls in the second
group, namely the mixing length model approach. The studies which
12
employed the mixing length model for the hydrodynamic problem include
those of Barrow et al. [41], Quarmby [42], and Sharma et al. [43]. All
for turbulent flows, the characteristic length, the stress and the
T = P&2 (d^)2
Barrow et al. used these equations, along with the assumptions that the
Lamb [6] for laminar flow to obtain integral relations for the velocity
showed poor agreement with the experimental data on the inside of the
scale as
13
T = (y + du \ du
dy ' d7
length model whereby the mixing length was assumed to vary linearly
with the distance from the walls. Very close to the wall:;., van Driest's
[46] damping function was employed while a constant level of the mixing
length was assumed in the central region of the annulus. They used a
Only two studies have been noted which employed turbulence models
shear stress along with the mean momentum equation to obtain a solution
The very recent work of Heikal et al. [48], which appeared in the
CDC 7600 which is several times greater than the time required by the
without heat transfer include that of Clump and Kwasnoski [50], Lee
[51], Wilson and Medwell [52], Lee and Park [53], and Chung et al. [54].
noted for turbulent flow in annular passages with and without heat
groups. First, those studies will be discussed which dealt with only
annular flow and measured both friction factors and velocity distributions
for the flow of air in annuli at Reynolds numbers in the transition and
15
tube. Lonsdale [56] made velocity measurements for the flow of water
in nine vertical annuli whose radius ratio varied from 0.01 to 0.803.
His measurements show that the transition Reynolds number for an annulus
lies in the range of 2000 to 3000. Knudsen and Katz [57] also suggest
turbulence intensity is low and the inlet is smooth, laminar flow may
greater than 2000. Heaton et al. [12] report that, in a certain annulus,
laminar flow was found to remain for 11 times the hydraulic diameter
four annuli (r* = 0.0625, 0.125, 0.375 and 0.562) for a range of
factors depend only on Reynolds number and not on radius ratio. The
than for laminar flow. Also the zero Reynolds stress and maximum
velocity were found to occur at the same point. This last conclusion
of the paper [58], the expression suggested by Kays and Leung [26] for
16
developed turbulent flow in three smooth annuli (r* = 0.107, 0.178 and
0.347) with air as the working fluid and for the Reynolds number
range of 6000 to 90,000. His measured velocity profiles did not show
a universal logarithmic region except near the outer wall and then
only for the smaller radius ratios at the higher Reynolds numbers.
in Quarmby's study. His data along with results from some earlier
for Reynolds numbers less than about 100,000, while for higher Reynolds
numbers the data are close to the latter expression. The friction
' p = :
b
Lawn [60] and Lawn and Elliot [35] have obtained extensive data
for fully developed flow through annuli for three different radius
ratios (r* = 0.088, 0.176 and 0.396). Significant deviations from the
17
associated with the inner wall except for annulus with r* = 0.396.
Also, it was found that the position of zero shear and maximum velocity
do not coincide and that the position of zero shear, and not the radius
Kays and Leung, Eq. (1.1). In the experiment, the position of zero
three concentric annuli with small radius ratios (r* = 0.0198, 0.0396
and 0.0998) was investigated by Rehme [61] for a Reynolds number range
maximum velocity. The results of Rehme [62] show a tendency for the
the experimental values of Lawn and Elliot [35]. A similar trend was
his results, even for large curvature at the inner wall, do not exhibit
in the entrance region of annuli with water as the working fluid. Both
18
square and rounded entrances were employed. Later Okiishi [64] under
and 0.531) with square and rounded entrances. Air was used as a working
Lee and Park [53] made some mean flow measurements in the entrance
measurements for air in four annuli (r* = 0.192, 0.255, 0.375 and 0.5)
solution of second kind. The Reynolds number range was from 10,000 up
Lee and Barrow [65] presented results for fully developed heat transfer
from a uniformly heated core tube. The radius ratios studied were
0.258, 0.387 and 0.613 and Reynolds number ranged from 10,000 to 50,000.
as 20 percent.
air flowing in annuli (r* = 0.109, 0.174, 0.347) with a Reynolds number
range of 5000 to 270,000. The inner wall was heated uniformly while
the outer wall was insulated. Quarmby correlated his data as.
19
where
Ball and Azer [67] measured velocity and temperature profiles for the
an annulus with r* - 0.556 whereby the outer wall of the annulus was
heated. The core tube was allowed to rotate in order to study the
effect of rotation on the axial flow and heat transfer. Eddy viscosity
numbers and overall pressure drop for two annular channels of radius
ratios 0.68 and 0.83. Tests were carried out with helium and nitrogen
identified. Dalle Donne and Meerwald [72] used air to study the effect
of high heat fluxes on Nusselt number. The radius ratios used were
0.5 and 0.72 and inner heated wall temperatures up to 1000°C were
(1.6)
Dwyeretal. [73] have obtained data for the fluid dynamics and heat
through annul! (r* = 0.25, 0.36 and 0.48) with heat supplied at the
[74] and Dwyer et al. [75]. The heat transfer data referred to in [73]
Ornatskiy et al. [76] have obtained limited data for heat transfer
are those of Petukhov and Roizen [77], Michiyoshi et al. [78], and
and Barrow [80] obtained local Nusselt number data for two internally
heated annuli (r* = 0.25 and 0.476) with air as the working fluid. Lee
general validity of the two correlations (Eqs. (1.5) and (1.6)) presented
21
for Nusselt number. Table 1.1 gives a comparison of Nusselt numbers for
by Quarmby [66] and that due to Dalle Donne and Meerwald [72].
Comparisons are made for five different Reynolds numbers ranging from
0.174 and 0.347 while Dalle Donne and Meerwald used r* = 0.5 and 0.72.
The two correlations agree more closely at smaller radius ratios, i.e.,
quite desirable.
solution method has been noted to date which appears capable of treating
prediction methods which have been proposed for constant property flows
22
approach has been to identify the simplest turbulence models which will
IWo other turbulence models are also developed. While one is just a
simple modification of the length scale model, the other model employs
given in Chapter V.
25
II. ANALYSIS
the outer (central) part of the flow. Another model which employs a
section.
X > 0
26
k\
1
:^2
V !
^XWWWWWWWWWXWWW
y _
^ X
where
0 < ~ < 1
^2
y = 3
^ 3
^
For the reasons which will become obvious later the distance
y. -
respectively.
(2.2)
(2.3)
where the terms containing the second viscosity coefficient [82] have
been neglected which is exactly the case for constant density flows
while, for the variable density case, the neglect of these terms can
where, internal heat generation and radiative heat transfer have been
"i'
+ + " i# + (2.6)
6 --plr
which, obviously, will be zero for a constant density flow and will
3. Laminar flows
or contractions.
(2.2), while Eq. (2.3) reduces to the statement that, for no cross-
The energy equation, Eq. (2.6), is also simplified under this assump
tion.
continuity;
Momentum:
(2.8)
31
energy:
diffusion is given by the Peclet number (Pe = RePr). When the Peclet
the case of uniform wall temperature than in the case of uniform heat
flux and suggested that in the former case, axial conduction may be
Peclet number of 100 under which the effect of axial conduction will
become significant.
flow will rarely have Peclet numbers less than 100. With liquid metals
(low Prandtl number fluids), however, Peclet numbers less than unity
are not unexpected and the neglect of axial heat conduction may not
and compression work, gTu are kept in the energy equation, Eq. (2.9).
as both these terms are of the same order and neglect of one will lead
4. Turbulent flows
upper and lower limits. The upper size limit of the eddies is determined
and (2.3)) which cannot be solved analytically even for simple flow
than the size of the smallest eddies and the time step used should be
much smaller than the turbulent time scale. Such a calculation is far
beyond the reach of present day computers. To get an idea about the
time required for calculating turbulent flows from the first principles,
D^. For Re = 5000, he estimates the computing time for a length equal
e = e +e (2.10)
where
t +At
o
e = lim e(t)dt (2.11)
At-xo
o
34
u = u + u'
V = V + v'
p = p + p' (2.12)
p = p + p'
T = T + T'
flow [83]:
continuity ;
^(pu) ^ = 0 (2.13)
momentum:
P" + pv (2-14)
35
energy:
PS" If + ^
+ «•">
In the above,
V = (pv + p'v')/p
turbulent flow, Peclet numbers will generally be very large; with liquid
metals, however, Peclet numbers can be as small as 10. Stein [91] states
overall heat transfer rates will not be too serious when axial diffusion
heat flux boundary condition and concluded that, with this boundary
condition, axial heat diffusion can be neglected for all Peclet numbers,
in the energy equation. Blanco and Gill [92] studied the importance
is significant unless the Eckert number is very small. The net effect
heat flux when the fluid is hotter than the wall, and decreasing it
when the fluid is cooler than the wall. They suggest that including
B. Turbulence Modeling
annulus. For the present, it can be assumed that the flow is turbulent
at the inlet and that the effect of inlet shape can be neglected. This
initial length where the two "external like" boundary layers interact
with the inviscid core; this region is also known as the "displacement
interaction" region [93] because the blocking effect of the growing wall
boundary layers affects the flow speed in the inviscid core. For short
passages, this may be the only flow regime. A much more complex inter-
-—I II III
DISPLACEMENT SHEAR LAYER FULLY DEVELOPED
INTERACTION INTERACTION FLOW
TT P999r9P??y
AXIS OF
SYMMETRY
action starts to occur at the beginning of region II, the "shear layer
into the shear layer of opposite sign and this penetration grows before
where the shear stress changes sign may not be the same as the position
where the velocity gradient changes sign which makes the situation in
the region of interaction between the two shear layers obviously more
Pi TANNER REGION ^
X '
/ FULLY ,
- S e J / BUFFER TURBULENT OUTER
LAYER-*"* REGION REGION-*•
- ^ 1 1 1 L_1 I L_l I
1 2 5 10 20 50 100 200 500 1000 2000 5000
the wall":
(2.16)
T
1/2
Here u^ = (x^/p) is a parameter having the dimensions of
in Fig. 2.3; (1) the viscous sublayer, (2) the buffer layer, and (3)
nor according to distance along the wall. If one measures the instan
into this region from positions further removed from the wall" [95].
41
region, mean velocity varies linearly with the distance from the wall,
i.e.,
= y^ (2.17)
hence the name "linear sublayer" is also used sometimes for this
region.
In the region y"*" > 4 in Fig. 2.3, the effect of viscosity on the
eddies are small. The intermediate region, where the total stress is
partly viscous and partly turbulent, is called the buffer layer (it is
region. The buffer layer roughly lies in the range 4 < y"*" < 50. The
velocity profile in the fully turbulent region (y"*" > 50) of the inner
u^ = ^ log y^ + B (2.18)
the boundary layer thickness (see Fig. 2.3). This region is charac
energy associated with the u- and v-fluctuations and about 80% to the
Reynolds stress [96]. Whether the large eddies arise in the outer
the boundary layer [97], or result from the ejection of bursts from
regions can be identified associated with the two walls of the passage.
Also in Region I of the flow (Fig. 2.2), there are two corresponding
outer regions. In Regions II and III, where the two shear layers
have merged, the central core region may also be considered as an outer
tions can be solved for the mean velocity distribution. Proper weighting
In the flow configuration under study, only one of the six stress
transport equations, one for turbulence kinetic energy and another for
its dissipation rate, along with the transport equation for -pu'v'
terms appearing in the shear stress transport equation are less under
stood than the shear stress itself. Also, three more PDE's have to be
flows.
that the turbulent shearing stress can be related to the rate of mean
strain as
is symmetric about the centerline and shear stress also goes to zero
mum velocity and zero shear radius. However, the discrepancy between
the two radii only becomes significant for very small radius ratios and
is not very crucial for the present method, which employs Eq. (2.19),
since it will not be used to calculate wall shear stresses, nor is the
as
(2.20)
9T
(2.21)
number such as
Vo
PrT = (2.22)
in a separate section.
Wj - (2-23)
46
y from the wall. This is confirmed by experiments [103] and can also
viscous effects which can be taken into account by use of van Driest's
„ = Ky ri-expC-y^/A"'')] (2.24)
1,W w w
= C^L (2.25)
local shear layer thickness for flows which are changing slowly so that
the mean velocity profile. For that case - 0.085. Fletcher [106]
and many others have successfully used such a model for the prediction
justified.
significant since the large eddies which characterize that region travel
times. The rate at which large eddy structure changes, which determines
changes in the length scale, is often quite slow relative to the mean
velocity u^, the streamwise distance traversed by the flow during the
dL Ô-L
dx L*
or _
"m s"
%S-^
where is the friction velocity.
#= *1^ + agC-u'v')!/:
advection generation diffusion destruction
Now when ^ = 0 (i.e., when the turbulence and the mean flow are
L = -(^)(-^)^^^/(|^)
a^ = -a2(-^)^/^/(6|^) (2.28)
1/2
Now, by proper choice of C^, a^C-u'v') can be replaced by
1/2
u^^/C^ if a lumped value of (-u'v') is taken in the outer region,
so that
dL
"m dïï °
the flow quite accurately in the region where the shear layers have
not merged since the flow is more like an external boundary layer flow
from one shear layer penetrate into the other and the interaction
grows as the flow tends towards its fully developed state. Although
grow into each other as shown in Fig. 2.4. If the "actual" shear
s. = 6
1
Fig. 2.4. Flow configuration in the entrance region of a parallel wall duct showing shear
layer interaction
51
— 1.46
therefore
The latter choice gave slightly better results and was adopted. The
action" region.
Once and are known, Eqs. (2.25) and (2.26), for the shear
i = 0.12 L (2.30)
o,w w
and
dL L L „
" m d f [ f - ( f ) :
WW w
where w = 1,2 corresponds to the inner and outer wall of the annulus
respectively.
The switch between inner and outer region models is made whenever
The mixing length given by Eq. (2.30) will eventually become dis
layers have merged as they tend towards the fully developed state.
To overcome this, an average of the outer length scale (£ = (S. ,+& „)/2)
O O 9 J. O )z
predicted for the flow along each wall was used for the central core
region after the viscous layers had merged. This implies that in the
fully developed state (-^ = 0), the mixing length in the "outer" region
will be given as
(2.32)
numerical constant.
4. Bridging
Eq. (2.23) will give zero turbulent viscosity at the radius of maximum
only with this model; Bradshaw's shear layer interaction model [111],
for example, will also predict zero turbulent heat transport at the
noted for fully developed flow when the turbulent viscosity (thus,
just by assuming a linear distribution between the peaks (see Fig. 4.12).
Similar schemes for treating the eddy viscosity near the point of zero
velocity gradient in the wall mixing zone of a wall jet have been
suggested by Pai and Whitelaw [112] and by Dvorak [113]. In the latter
study, a cosine fairing was used for the eddy viscosity. No studies
— 1/2
(2.33)
— 9k . 9k 1, 3k. 1 9
P" SS: + PV a?° 3^0 --3^(r(pv'k' +v'p'))
- pu'v' - Dg (2.34)
and is given by
For that reason, the boundary conditions for Eq. (2.35) are not speci
2/3
k(x,y^) = -pu'v'(x,y^)/Cjp (2.36)
A value of y^ = 60 is suggested.
(2.35) under the usual assumption that in the fully turbulent region
near the wall the generation and dissipation terms balance one another
and the Prandtl's mixing length formula, Eq. (2.23), holds in that
region.
inlet.
that the turbulent viscosity predicted by both Eqs. (2.23) and (2.33)
k(initial) = (2.38)
,1 ^ (-pu'v')^ ^ (-pu'v')^
^ C PK^/^A
y
therefore,
• V-""-»
or
So,
--pu-^ - f
-u V
or
= p ^£^(-u'v')
or
= p&(-u'v')l/2
• «yV'"
Also,
Cn = = 0.164 (2.42)
° y
of 1.47 which has earlier been used for turbulent flow in parallel
58
Vp
P r _ = — ( 2 . 2 2 )
T
show that Pr^, in general, varies throughout the flow and also depends
agree among themselves and no consensus exists, at least for the region
very close to the wall, about the variation of Pr^ across a shear
layer.
^ P
u'v' _ T p 9y
v'T' 9T
9y
^
p ^^ (2.43)
^ v'T' ^
9y
ticularly large when the gradients are small; for example near the edge
an annulus.
q =
"T = -%
60
So that,
(2.44)
-1/37-^
q, Eqs. (2.14) and (2.15) will have to be integrated (after they have
been closed using the assumptions given in Eqs. (2.19) and (2.21)).
For the case of fully developed annular flow, the momentum equation
? •S
Integration gives
r Z-fZ
(f) ' - (— ) (2.45)
fd
where r^, the radius of maximum velocity, can be determined from the
1 9 . . , -V, - S T
- 3j(rq) - pCpU ^
./ V 1 — 9T J
q<r) - - pCpUr gj dr
"^1
61
aT _ 9T
9x 9x
PC. dY
q(r) = urdr (2.46)
r dx
r.
"1
suggested following formula for Pr^ across a flat plate boundary layer:
is fairly uniform near the wall but falls to 0.5 at the edge of the
layer. The reduction in Pr^ as the edge is approached was also observed
For channel and pipe flow studies, the results are not so conclusive.
62
centerline while others show quite the reverse (see, e.g., Kestin and
Richardson [121]).
The results of Kuzay and Scott [69] and Ball and Azer [67] for
Pr^ in this region; however, one would expect a small value (-0.7)
of Pr^ since a "wake like flow" exists near the maximum velocity radius
and, in fact, a value of Pr^ = 0.7 is commonly used for free shear flows
[122].
turbulent Prandtl number very near the wall, say, y"*" < 50. Kuzay and
Scott [69] report that very close to the wall Pr^ has a low value (0.4
to 0.6). Measurements of Ball and Azer [67] and Blom [120] seem to
(see Kays and Moffat [123]) shows that turbulent Prandtl number goes
How the wall value of Pr^ affects the models proposed for turbulent
,K[l-exp(-//A+)| (2.48)
K^[l-exp(-y /B )]
63
(2.49)
h A
Note that as becomes larger the exponential terms in Eq. (2.48)
= f- (2.50)
h
— = 0.9 (2.51)
\
Now from Eqs. (2.49) and (2.51), for A^ = 26,
B+ = 28.9(Pr_) (2.52)
1 w
For a wall value of turbulent Prandtl number more than unity, say 1.5,
If (Pr^,)^ = 0.6 (the upper limit of the value suggested by Kuzay and
Scott), then
The two values of given by Eqs. (2.53) and (2.54) are signifi
cantly different and if used in Eq. (2.48) will give drastically dif
large, which may affect the turbulence structure causing the heat
layer, Rao [125] argued that the logarithmic law in the classical two-
dimensional coordinates does not hold since the constant stress layer
taken as
where K and B are as defined earlier but may have different values.
concluded that both K and B are not universal constants. Afzal and
of the conclusion drawn in [126] as the flow may not have been in the
constant.
Huffman and Bradshaw [129] show by data analysis that the viscous
is the rest of the inner region. This will suggest that only B (or
+ +
equally van Driest's damping constant A , as B depends on A ) is
in line with the findings of Afzal and Narasimha. Huffman and Bradshaw
do not suggest any explanation for the apparent curvature effect except
modified mixing length distribution for the inner region. He, how
ever, stated that this modification did not change the results
— *
}j^ (outer) = a pu^ô^ (2.56)
•k
where 6^ is the kinematic displacement thickness, and the a function
affect the outer region eddy viscosity. Such a model seems particular
small radius ratios have been performed by Brighton and Jones [58],
Lawn and Elliot [35], and Rehme [62]. Both of the former investigations
indicate that the velocity at the edge of the sublayer on the inner
According to Rheme [62], however, his results did not exhibit any
difference from the usual logarithmic velocity profile near the inner
lent eddies tear apart the viscous sublayer so that the effective
67
is A^, the van Driest*s damping constant. On the basis of the available
value of 26 for the inner wall, in the case of small radius ratios,
according to:
[2], which he employed, the near wall boundary conditions are de
boundary condition near the inner wall, the constant B in Eq. (2.18)
present study.
8. Laminar-turbulent transition
entrance, (see Fig. 2.5), the boundary layers will generally start
entrance (Fig. 2.5) a small separated flow region may even exist, as
68
1Ir
FN ////////////
SQUARE-EDGEt) ENTRANCE
ROUNDED ENTRANCE
the entrance so that the flow was turbulent from the beginning. How
ever, trips may not be present in practical circumstances and one would
like to be able to predict the flow under actual conditions which may
location of the point of transition depends upon many factors such as,
lence, the curvature and roughness of the surface, the surface tempera
ture, etc. Several correlations have been suggested for the relatively
internal flows, perhaps, largely depends upon the shape of the entrance
70
a general correlation.
Boundary Layer Flows), Crawford and Kays [132] assumed that transition
will occur whenever Re^ = 200. Cebeci and Chang [131] used a value of
critical Reg = 320 for pipe flow whenever the experimental transition
While moving downstream, these spots grow and merge with one another
until the flow becomes fully turbulent. These spots were identified
first by Emmons [133] and the existence of them in the boundary layer
first introduced by Emmons such that y = 0 for fully laminar flow and
for "Y, which was obtained by using the source density function of
Y = l-exp(-0.412 (2.60)
where
Ç (2.61)
A = x - X (2.62)
A=0.75 'A=0.25
according to [135].
(or flow becomes fully turbulent). This location can be given by the
Re .
= 2 (2.63)
®x,tr
(2.64)
1. Governing equations
Under the assumptions given in Eqs. (2.19) and (2.21), Eqs. (2.13-
2.15) have the same form as Eqs. (2.7-2.9) which apply to laminar flow.
So the model equations, both for laminar and turbulent flow, can be
written as
continuity equation;
(2.65)
momentum equation:
(2.66)
energy equation;
'p'f = (2.67)
73
and
flows.
Note that Eqs. (2.65) and (2.67) have four unknowns, namely,
fT
m = pud A = 2 TJ ^ purdy = constant (2.68)
A 0
next chapter.
2. Boundary conditions
tions need to be specified which for the present geometry are given
as
u(x,0) = u(x,r^) = 0
v(x,0) = v(x,r^) = 0,
where T^(x) and Tgfx) are the specified wall temperature distributions.
or
where q^(x) and q2(x) are the specified wall heat flux distributions,
or a combination of these.
Also,
u(0,y) = u^(y)
p(0,y) = Pg
passages.
3. Fluid properties
D. Engineering Parameters
interest for the annular geometry since some of these differ from the
1. Shear stress
T = (2.71)
3u
(2.72)
^w ^w 9y
w
2. Skin-friction coefficient
C. = (2.73)
w 1/2
defined as
76
3. Displacement thickness
from the wall to yield the same flow rate as in the actual flow with
the boundary layer included. For the shear layer on the inner wall,
it can be given as
m m
^1
or
r^+ô,
1 1(1 _ £y_)j-dr-r. (2.75)
pu 1
r^ m m
be given as
(1 - —)rdr
s- pu
'^2~ 2 ™ m
or
4= (2.76)
12 ™
4. Momentum thickness
momentum defect caused by the presence of boundary layer. For the inner
relation:
^(1 - ^)rdr
r^ m m m
or
®2'"^2 (2.78)
-i-K'.. 5
^2~ 2 ™ mm
the bulk enthalpy at that location is known. The bulk enthalpy is de
fined as
puHdA
«b = (2.79)
pudA
Now
dH = C dT (2.80)
P
The equality sign in the above equation holds exactly for a perfect
T
H-Hq = C dT (2.81)
as
= (—)^ (2.82)
% '0
H = Hn + (2.83)
0 (a+1)
- 0
(.a+x; ^
T = 1+ (a+1)
So' o
h = (2.85)
w b
as
9T
1» °\ 87 (2.86)
w
hD
Nu = (2.87)
^b
''t'
A „
pURdY = Constant (3.4)
0
The nondimensional boundary and initial conditions are:
Boundary conditions:
and
or
Initial conditions;
U(0,Y) = Ug(Y)
P(0,Y) =
where
82
where
Note that Eqs. (3.2), (3.3) and (3.7) all have the same form.
modeled as
(3.8)
B. Finite-Difference Formulation
the Dufort-Frankel [136] type which has earlier been used for predicting
flow in wall boundary layers [137], circular pipe [138] and jet flow
[139]. This scheme does not have severe stability constraints and
calculation method. The mesh size generally varies throughout the flow.
N OUTER
N-1 WALL
N-2
j+1
AY +
j
T
Y
j-1
AX_ AX^
AY_
i '
m - 1 n1 m + 1
INNER
WALL
H-
AXIS OF
"SYlÊTRY
written as
,m+l ,m-l
(}). -(p.
m
a. J i + b™ .1-1
j AX +AX_ ' "j AY_^+AY_
(Ci<)
R.(AY +AY ) ^j+1/2^ AY,
J + - 3+1/2
(3.9)
AY -I
where
^ )j+l/2 ^
( )j-l/2 )j ^
and
AX r - ^ A X
+ .1 - 1 (3.10)
AX +AX
+ —
s"° = (3.11)
AX+AX X.
+ - J
^3/2
forward because of the presence of k in the dissipation term. At
stable when k^/^ was evaluated at ( )™. Note that in the diffusion
•^in m Til
term, k^ (also and T* in the momentum and energy equation
The same remedy can be used for the dissipation term but, then, k^
-C^pk^/Z/a = -C^pk^/^k/A
This provided a stable solution (see the next section for details
^in-lutn-1)
(3.14)
AY
+
mathematically consistent.
87
unstable and hence give a solution which is entirely different from that
The essence of stability is that round off errors, or errors from any
ferential equations. For linear PDE's, the theory of Von Neumann (see
obtain stability restriction on the axial step size. Madni [139] ap
for Eq. (3.9) can be given as, with AY'^ = AY_ = AY,
a™ ay
AX < min
(3.15)
+ " 3-2,N-l
zK' '"'I
^0/2
equation, this is not the case as S contains k in the dissipation
expression given in Eq. (3.10). Averaging over (m+1, m-1) was the
idea originated by Dufort and Frankel [136] which made the central dif
tion was always stable as long as the condition given in Eq. (3.15)
C. Solution Procedure
the known values at the (m-1) and (m) levels. A complete flow diagram
1. AY-Grid
fully specified. For laminar flows, an evenly spaced grid has been
steep gradients might exist near the walls, of which high Prandtl
will be desirable with the smallest AY used nearest the walls. The
present method includes the option of using unequal grid spacing for
laminar flows.
For turbulent flows where at least one point whould lie in the
gap is divided into NY unequal spacings; NY/2 on each side of the radius
first point outwards from the walls will lie within the viscous sublayer
away from the walls towards the radius of maximum velocity such that
and
AYj_^ = RT X AYj (for the outer wall), j=N, N-1, N-2, ... (3.17)
90
While 70-100 cross stream grid spacings were needed to fill the
annular gap for turbulent flows, 50 spacings were found sufficient for
2. Initial profiles
R^-R^-2R^ln(R_/R)
U = 2 2 m /
(3.18)
2 2 2
R>Rf-2R
2 1m
where R^, radius of maximum velocity for laminar flow, is given
by
2 %2-Bl
R = —i (3.19)
m 2 ln(R2/R^)
cases where a mixing length model was used. In that case, Eq. (3.2)
rl)=§ (3.20)
and
with
In all the test runs made, the initial temperature profiles were
can be specified.
tion at the (m-1) and mth levels. In order to start the solution,
This is done by using a simple explicit method (see Appendix B) for one
after the cross stream grid has been specified and initial profiles of
r\
pURdY = constant = C
m
0
where the constant C is known once the mass flow rate is specified.
m
The above equation can be written, using Eq. (3.24), as
or
\ \
= /c - [ A.R.dyVf p%.R.dY (3.25)
Vm J 3 3 3 J'. J J J
^ 0 0
all j. For developing flows, the program treats the boundary layers
growing on the two walls separately until they merge, thus saving
PU 1% = _ 42 (3.26)
m+l_ m-1
AX +AX " ~ AX +AX
+ - + —
94
the other; however, computing out from each wall saves computer time by
reducing the number of grid points at which the full equations need
equation is solved across the annular gap starting at the inner wall.
equation.
starting from both walls towards the central region of the annulus.
say the inner wall, then the values predicted for the cross stream
velocity near the outer wall were generally too large very near the
inlet which affects the predicted shear stress and heat transfer
coefficient at the outer wall. Likewise, near the inlet large V values
were predicted near the inner wall if the solution is started at the
When both walls are heated, the energy equation is solved in the
entire annular gap starting at the inner wall. However, if only one
wall is heated, then the energy equation is solved only near the heated
wall. The edge of the thermal boundary layer is determined by the re
to solve the energy equation across the entire annulus after the thermal
boundary layer had penetrated well within the viscous boundary layer
rameters of interest such as wall shear stress and heat transfer coeffi
cient can be calculated. The wall derivatives required for this purpose
difference form of the governing equations. Fig. 3.2 gives the flow
START
READ INPUT
DATA
^ FULLY YES
DEVELOPED
.FLOW ,
CALCULATE FULLY
DEVELOPED VELOCITY
PROFILE
CALCULATE AX
YES •TURBULENT
TRANSITIONAL /TULLY^
FLOW/^ /DEVELOPED \ YES
CALCULATE CONSTANT PROPERTY
TURBULENT \ FLOW ^
DIFFUSIVITIES
CALCULATE T'
UPDATE CALCULATE
VARIABLES
CALCULATE U
YES
OUTPUT
YES
PRINT OR STORE HEAT YES CALCULATE
ON DISK TRANSFER NEW PROPERTIES
YES
DEVELOPING
\ FLOW /
T'EST
TEST cAsr
CASE
COMPLETE .
' YES
LAST ^ CALCULATE V
^TEST
TEST CASEX
CASE,
YES
STOP
laminar and turbulent flows with and without heat transfer. Comparisons
have been made with the available experimental data and the predictions
1. Forced convection
therefore with the predictions of Shumway and McEligot [15] for flow of
procedure.
Fig. 4.1 and 4.2 show the predicted axial pressure drop and the
between the predictions of the present explicit method and the implicit
Fig. 4.3 shows the predicted Nusselt numbers on the inner and
outer wall of the annulus for simultaneously developing flow and heat
solution of first kinds. Fig. 4.4 gives the Nusselt number for the inner
98
PRESENT PREDICTION
C\J
rj
o O IMPLICIT METHOD OF SHUMWAY AND
Q. McELIGOT
a.
o
a.
Q.
- PRESENT PREDICTIONS
O IMPLICIT METHOD OF SHUMWAY
AND McELIGOT
THERMAL BOUNDARY CONDITIONS
40 -
- PRESENT PREDICTION
o IMPLICIT METHOD OF SHUMWAY AND McELIGOT
THERMAL BOUNDARY CONDITIONS
3
Z
wall for fully developed flow at the inlet with thermal boundary condi
of these figures indicate that the present results are in good agree
also made which are not shown here. It can thus be concluded that the
present study are reliable. It was also found that the weighted
average over (m-1) and (m+l)th levels (see Eq. (3.10)), instead of
simple averaging, used in the diffusion term of Eq. (3.9) helps in the
Heating (or cooling) may affect the flow pattern in a duct because
in the present study, invalid. However, for a vertical duct the flow
still remains axisymmetric because the body forces in this case are
parallel to the main flow direction. The present method can be applied
to study this flow configuration since the body force term f^ is re
In that case,
f^ = -pg (4.1)
103
Two test cases were run; one for the flow of water using the
and a second case for flow of ethylene glycol where all properties were
F. In the calculations, only one wall was heated (uniform heat flux)
while the other was assumed to be insulated and the flow was assumed
and Subba Raju [25] for upward flow of water in an annulus (r* = 0.38)
of [25] is shoTim for two different Rayleigh numbers where this non-
Ra = à;r (4.2)
ky
This is because in upward flow the buoyant forces are in the direction
of main flow causing an increased flow near the heated wall which en
3
Z NAITRA AND SUBBA RAJU
PRESENT PREDICTION
LUNDBERG ET AL
including the one at the start of heating, are shown in Fig. 4.6. It
can be seen that the velocities near the heated wall increase while
the fluid. This results in increased radial flow (see Fig. 4.7) along
the duct. The increased velocities near the heated surface are the
only forced flow. At some streamwise station, the radial flow increases
to such an extent that local flow reversal occurs near the outer un
upon Gr, Re and x/D^. For the present case, flow reversal occurred at
Nusselt number. This leads one to suspect that flow mechanism downstream
might occur.
This is perhaps because the properties of the fluid were assumed constant
0.99, properties were varied. Ethylene glycol, which has a high Prandtl
3.0
Pr = 7.97
Gr/Re
2.0
J]
3
0.0
' '1
^2 • r.
0.02
Pr = 7.97
0.016
0.012
.a 0.02
3
0.008
0.01
0.004
0.005
0.0
0.0 0.2 0.4 0.6 0.8 1.0
constant property solution will not yield accurate results. Figure 4.8
shows the Nusselt number variation for two different heat fluxes,
one being almost four times the other. At the lower heat flux, flow
reversal did not occur in the length of the duct studied (see Figs.
4.9 and 4.10 for velocity and temperature profiles respectively). The
Nusselt numbers are compared for this heat flux with the data of Joshi
(see [142]) taken in a high aspect ratio rectangular duct with one
wall heated. The predictions are within the scatter of the data.
At the higher heat flux, the flow reversal was predicted near the
was also predicted. For flows of this type it is believed that all
Figure 4.11 shows the variation of the parameter CyRe^ for two
that the streamwise location where outer wall shear stress goes to
2
zero (the onset of reverse flow) is determined by Gr/Re . Earlier
at least for ethylene glycol, since Gr/Re varies along the duct, because
2
of strong viscosity variations, while Gr/Re does not if Grashof number
is defined as
109
PREDICTIONS
— Gr/Re^ = 30
— Gr/Re^ =110
Fig. 4.8. Predicted Nusselt numbers for upward flow of ethylene glycol
in a large radius ratio annular duct (r* = 0.99); comparison
with the data of Joshi taken in a plane duct with one wall
heated
110
Gr/Re^ = 30
Xu = 0.1
X|^ =» 0.0
0.0 0.2
Fig. 4.9. Predicted axial velocity profiles for flow of ethylene glycol
in an asymmetrically heated annulus (r* = 0.99)
Ill
q, = 1252 W/m'
a.
10 -
0.0001 0.001
Figure 4.11. Effect of buoyancy on skin-function parameter for upward flow of ethylene glycol
in an asymmetrically heated annulus (r* = 0.99)
113
or. (4.3)
Ap
near the heated wall increase while they decrease near the centerline
and that the flow first becomes unstable when the velocity profiles
coefficient while the reverse is true for downward flow. For ease of
as:
114
2) Model B: Bridging.
[67] and of Jonsson and Sparrow [32]. The numerical method employed in
has been averaged over three grid points to enhance numerical stability.
1. Hydrodynamic results
160
BRIDGING
120
p.
200
150
100
MODEL A
MODEL B
MODEL C
0.8
r> nn
x/Du * 7.35
MODEL A
O DEAN Re
of Dean is also shown in the figure. The predicted slope and the
intercept of the logarithmic region compares fairly well with his data.
two walls of the duct where has been used to represent the
the predictions and Dean's data [147] at the lower values of x/D^
suggests that the uniform velocity assumption does not match experi
mental conditions existing at the inlet of the duct and that the
flow might have been partially developed in his experiment. The present
predictions suggest that the two shear layers begin to merge after
aspect ratio rectangular duct. The proposed length scale model pre
dicts the velocity "overshoot" in fair agreement with Dean's data. The
26
24
22
20
18 x/D. = 28.5
16
14
12
10
8
6 0.41 +5.15
4 MODEL A
x/D. = 10.2
4
100 1000 5000
MODEL
BRADSHAW'S MODEL
^ - n
^2 - n
DUCT CENTERLINE
MODEL A
O EXPERIMENT OF DEAN
MODEL A Re = 2 X 10'
BRADSHAW'S MODEL Re = 2 x 10"
k-e MODEL Re = 192000
o DEAN Re = 2 X 10^
A BYRNE ET AL. Re = 2.2 x,10^
1.2
the shear layers and this was also observed in the data of Barbin and
Jones [149] for pipe flow. The same phenomenon will be expected in
annuli. Okiishi [64] noted that "... the velocities near the radius
Gessner [152] and Cebeci et al. [153] are also shown. It is interesting
to note that the present results are similar to that of [152] which
form profile at the inlet. This was not the case in the actual experi
mental data of Byrne et al. [148] and predictions of k-e model as re
PREDICTIONS
1.20
MODEL A
EMERY AND GESSNER
CEBECI ET AL.
X
Du
?T — O— 0.2
0.9
XJ 0.05
0.8
0.7
D,
with the experimental data and compare better than the predictions
x/D^ = 13.25 using the measured velocity profile at this station. This
are compared with the data of Dean [147] and Byrne et al. [148], along
with the predictions of [111] and [150]. The wall shear stress values
results are more reliable of the two. This conclusion can be further
results.
a
^START OF CD
CALCULATION «3-
MODEL A
BRADSHAW'S MODEL
O DEAN
A BYRNE ET AL.
I I I I I I I I
0 5 10 15 20 25 30 35 40 45 50
X
Du
^ 0.06
MODEL A
— EMERY AND GESSNER
CEBECI ET AL
O DEAN Re = 2.0 x 10 5
BYRNE et al. Re= 2.2 x 10
I l
0.24 MODEL A
k - e MODEL
0.20
o MARRIOT Re
0.12
CD
0.08
o
0.04
0.0 P_D_
0 5 10 15 20 25 30 35 40
X
MODEL A
BRADSHAWS MODEL
k-e MODEL
DEAN
**o BYRNE ET AL.
JX
u
10 20 30 40
Dh
right after the shear layers had merged. Figure 4.25 shows the center-
of [147] and [148] along with the prediction of Model A are also shown.
Her data were taken in a high aspect ratio rectangular duct. In the
very well with her data. Calculations were also made using Model A.
The predictions of Model A (not shown) were too close to that of Model
has no real advantage and that the length scale transport model predicts
Figure 4.29 shows the predicted variation of inner and outer wall
132
1.20
MODEL A (WITH C
1.15
1.10
1.05
A BYRNE ET AL
G
X
0.20
0.15
0.10
a
CD 0.05 _
x:
a
0.00
0.00
20 30 40
X
5.0 PREDICTION
O A COMTE - BELLOT Re = 4.8 x TO"
4.0
CM W
f-= 29.50
20.25
18.00
0.0 - 15.75
^ -CV— A <r, —^ 10.00
0.0 0.1
MODEL
o Û COMTE - BELLOT Re = 4.8 x 10
= 29.50
20.25
18.00
15.75
3
0.4
0.4
0.4
0.4
0.3 0.4
r - r
PRESENT PREDICTIONS
(MODEL A), Re - 1.9 X lo5
PREDICTIONS OF HEIKAL ET AL
(k - e MODEL)
DATA OF HEIKAL ET AL.
x_
0.
experimental data of Heikal et al. [48] using a Preston tube and their
predictions using the k-E model are also shown. The variation pre
have taken place in the entrance region. The mismatch of the inlet
suggested by the comparisons shown in Figs. 4.30 and 4.31 for turbu
dicted and measured profiles do not compare well in the entrance region
along the duct is compared in Fig. 4.32 with the experimental data of
Heikal et al. and predictions using the k-E model. All results are for
Reynolds number" (not mentioned). They do not give any reason as to why
PREDICTION
O HEIKAL ET AL.
Re = 1.9 X 10
0.8
0.4
7^= 16
0.8 0.0
^ = 4.5
0.4
0.0
0.0 0.2 0.4 0.6 0.8 1.0
(r - r^)
^2 - n'
Fig. 4.30. Turbulence kinetic energy profiles in an annulus (r* = 0.25)
139
PREDICTION
HEIKAL ET AL
= 44.5
0.8
0.8 0.4
0.0
( r - r^)
Cz - n'
1.4 MODEL A
(INNER PROFILE)
1.3 . k - e MODEL (HEIKAL ET AL.)
O O HEIKAL ET AL. Re = 1.9 x 10^ r -
1.2
0.2877
1.1
0.9 ^ 0.0447
0.8
—=-0.0137
0.7
0.6 I I I I I I I
1.4 (OUTER PROFILE)
1.3 r - r,
1.2
^ = 0.4827
r2 - r.
1.1
1.0 0.7307
0.9 :û=-0.9137
0.8
- 0.9637
0.7 _L J L
0 4 8 12 16 20 24 28 32 36 40 44 48
radius ratio 0.25 where predictions were made using both Models A and B
and are compared with the data of Ball and Azer [67] in Fig. 4.34.
of r* = 0.25 using Models A and C. In Figs. 4.35 and 4.36 these pro
files are compared at two streamwise locations (x/D^ = 32, 44.5) with
are within the scatter of the experimental data and the difference
for this negligible difference is that, from Eq. (2.19), shear stress is
is given in Table 4.1 where the predicted fully developed shear stresses
at the inner and outer wall are compared with the experimental data of
— PREDICTION (MODEL A)
0.6 O KUZAY Re = 64787
0.4
0.0 0.4 0.6 1.0
MODEL B
1.0 -
MODEL A
0.8 -I
0.4
0.2 J L
0.0 0.2 0,4 0.6 0.8 1.0
r -
^2 - ri
.2
0.8 O o
0.4
0.0
-0.4
-0.8 — MODEL A
MODEL C
.2 o HEIKAL ET AL.
1.6
0.0 0.2 0.4 0.6 0.8 1.0
.2
0.8
.4
.0
CL
-0.4
-0.8 MODEL A
MODEL C
o HEIKAL ET AL.
Re = 190000, x/D. = 44.5
.2
6
0.0 0.2 0.4 0.6 0.8 1.0
Table 4.1. Predicted inner and outer wall shear stresses in an annulus
(r* = 0.556) as compared to the data of Kuzay [70]
Effective stress
Method _
l+r*
2 2
Newtons/m Newtons/m 2
Newtons/m
Measurements
Re = 33156
Predictions
Re = 32285
Preston tube. While the use of Preston tubes to measure wall shear
is reasonable to assume that for this radius ratio (r* = 0.556) the
147
Figure 4.37 shows the predicted inner and outer wall velocity
the results of Lawn and Elliot [35] for r* = 0.396. At this radius
ratio the predictions agree quite well with their data and seem to
gested constants exists near each wall. However, at very small radius
ratios, it has been suggested that the universal log law does not hold
at least near the inner wall. For such cases, a modification in the
transverse curvature (see Eq. (2.57)). Calculations with and without the
curvature correction were made for an annulus (r* = 0.088) and are shown
in Fig. 4.38. It can be seen that with the proposed modification in the
damping constant, A*^, the predictions agree well with the data of [35].
Table 4.2 gives the values predicted for the radius of zero shear and
the ratio of shear stresses for the same annulus using the transverse
Results of Lawn and Elliot [35] are also given in the table.
2. Thermal results
MODEL A
INNER WALL
OUTER WALL
Fig. 4.38. Velocity distribution near the inner wall of an annulas (r* = 0.088); prediction
Re = 2.37 X 105
150
0.1 - MODEL A
- o BYRNE ET AL.
Re = 1.82 X 10^
^ 0.01 —
0
-
^ Û o
good agreement with the data except very near the entrance where the
while the present calculations were made by assuming that the heating
mental conditions. The results are shown in Fig. 4.40 along with the
data of [148]. It can be clearly seen that the predictions are greatly
152
0.1
MODEL A
O BYRNE ET AL.
Re = 1.27 X 1 0 "
•P
00
0.01 r
n n . .
0.001 I I I J I I I I Ir I I I I I II
0.1 10 100
X
compared with the data of Byrne et al. The present predictions were
were made using Models A and C. Since both predictions were nearly
identical, only the results from Model C are shown. The predicted
is about 15% higher than that given in [80]. The fully developed value
were also made (for the higher Reynolds number) using a variable
and the data of Roberts and Barrow was noted. However, improved agree
ment with data from just one experimental study was not seen as suf
II. A constant value of Pr^ = 0.9 seems to simulate most of the cases
where the predictions are compared with the experimental data of Furber
154
MODEL A, Re « 127000
DATA OF BYRNE ET AL
O Re = 100600
a Re = 140000
4-
o
|(M
oo
0.8
0 10 30 40
D
h
PREDICTIONS (MODEL C)
O A DATA OF ROBERTS AND BARROW
FULLY DEVELOPED
VALUE USING
CORRELATION
300 SUGGESTED BY
DALLE DONNE AND
MEERWALD
200
3
Z
100
CO
o
X
MODEL
4.0
MODEL A
0.0
Fig. 4.43. Local Stanton number for hydrodynamically developed flow in an annulus (r* = 0.68);
inner wall heated '
157
et al. [71] taken in an annulus (r* = 0.68) for flows of both nitrogen
and helium at high pressure. The thermal boundary conditions were those
of constant heat flux at the inner wall and an insulated outer wall.
present calculations are for Re == 20,000 and have made use of the proper
obtained for an annulus (r* = 0.556) with outer wall heated are given.
St
Model
Re = 32285 Re = 64131
A 0.002907 0.002514
B 0.003103 0.002661
C 0.002938 0.002657
158
Figure 4.44 compares the predicted Stanton number with the meas
conditions were the same as mentioned before and only Model A was used.
The agreement between the predictions and the data seems encouraging
and suggests that a turbulent Prandtl number of 0.9 can give sufficient
predictions (Model A) compare fairly well with the data of [71]. The
Dalle Donne and Meerwald [72] also studied the effect of variable
Eq. (1.6). They suggested that heat transfer coefficients can be better
the exponent c of the temperature ratio does not depend upon x/D^
fully developed. Dalle Donne and Meerwald, based on the data taken in
made using Model A for the annulus with r* =0.5. A fully developed
velocity profile was assumed at the inlet. The results at two streamwise
locations (x/D^ = 40.3, 56.5) are shown separately in Figs. 4.46 and
4 - MODEL A Re = 1.01
• FURBERETAL. Re = 10
2
0 10 20 30
X
3.5
A PREDICTIONS (MODEL A)
3.0 o FURBER ET AL. Re = 10^
2.5 oo oi
O A
2.0 x_ = 35.4
Du
CO 3.0
o
o oo
. X 2.5
•p OA,
00 ^ = 20.8
2.0
\
3.5
3.0
oO o ,4k)
2.5
.0 1.2 1.4 1.6 1.8 2.0
0.03
• PREDICTIONS (MODEL A)
O DATA OF DALLE DONNE AND
MEERWALD
0.02
o s-
jQ o.
3
O eu
C£.
0.015
0.01
1.0 1.5 2.0 2.5 3.0 4.0
0.03
• PREDICTIONS (MODEL A)
O DATA OF DALLE DONNE AND
MEERWALD
0.02
o s-
CL
00
o <u
ce
0.015
0.01
3.0
Donne and Bowditch [158] and Dalle Donne [159] had suggested different
length, and -0.304 for a tube with short entrance length. Also quite
Ball and Azer [67]. Their data were taken in an annulus (r* = 0.25)
using constant heat flux at the inner wall, with the outer wall insu
turbulent conductivity profile. Figures 4.49 and 4.50 show the com
parison between all three models and the experimental data of Kuzay
were matched in the predictions. It can be seen from Figs. 4.49 and
MODEL B
.0
0.8
MODEL A
.6
.2
.0
0 0.2 0.4 0.6
MODEL A
— MODEL B
MODEL C
o KUZAY Re
CM
O
IOCQ.CL -JO
r - r.
MODEL A
MODEL B
MODEL C
O KUZAY Re = 32285
CM
Q
I- C\J
0.6
0.2
to that given in Eq. (2.47) was used in order to provide a small value of
V. CONCLUSIONS
Comparisons were made with the available experimental data to test the
was observed both for the variation of pressure gradient and NusseIt
number.
the test cases reported in this study required more than 160 seconds
169
on an ITEL AS/5 and most were run in less than 100 seconds.
was significant. Thus, this effect should be included in any such cal
results in eventual flow reversal near the unheated wall. The loca
tion where the shear stress on the unheated wall goes to zero may be
2
taken as the location of the onset of flow instabilities. Gr/Re is
this location.
experimental data.
for Stanton number for the test cases considered in the present study.
scale model have large gradients in the central core region because of
170
the peaks. The use of the turbulence kinetic energy equation along with
data. The predictions (made for flow of air with inner wall heated)
coordinates used.
171
VI. REFERENCES
25. Maitra, D. and Subba Raju, K. "Combined Free and Forced Con
vection Laminar Heat Transfer in a Vertical Annulus."
J. Heat Transfer 97 (1975):135-137.
51. Lee, Y. "Turbulent Heat Transfer from the Core Tube in Thermal
Entrance Regions of Concentric Annuli." Int. J. Heat Mass
Transfer 11 (1968);509-522.
65. Lee, Y. and Barrow, H. "Turbulent Flow and Heat Transfer in Con
centric and Eccentric Annuli." Paper 12, Thermodynamics
and Fluid Mechanics Convention, Cambridge, 1964.
VII. ACKNOWLEDGMENTS
Foundation under Grant ENG 74-22193. Part of the work was done while
Professors William J. Cook, Donald F. Young and Harry J. Weiss for their
my parents, Mr. and Mrs. Malik Saif-ur-Rehman, who always showed faith
in my dreams and did their best to help those dreams come true. This
VIII. VITA
VELOCITY PROFILE
I df^ £
or
+ (A.l)
If
f ~ (A.2)
Now
189
or
Equations (A.2) and (A.4) form a set of two first order ordinary
specified Reynolds number (or mass flow rate). Rather than proceeding
where the friction factor was determined using the parallel wall duct
fp = 0.087 (A.6)
So that,
^ = -0.087/((R2-R^)Re°-^^) (A.7)
190
The set of Equations (A.2) and (A.4) can now be solved using an
U(0) = 0 (A.8)
U(Rj^) = 0 (A. 9)
In order that the integration can be stepped off using the Runge-
denoted by
^(0) = s (A.10)
and the velocity obtained at the outer wall as a result of solving the
X(s) = 0 (A.12a)
The secant method (see, e.g. , [33]) was used to obtain the
estimates are made such that x(s^) and x(s^) are of opposite sign.
The iteration was terminated when x(s^) < 0.0001. It generally took 7
rected and the whole procedure repeated again. The correction pro
cedure has not been necessary to date since the Re computed has always
been within 4% of the desired value which has been considered a close
computer CDC 6600. When the subroutine was later run on the ISU-IBM
SCHEME
explicit method is used for the first step to start the solution.
Finite-difference equations:
,m ,m
+ S" (B.l)
•)
j AY
+
The simple explicit form of the continuity equation is given as
193
,nH-l,,in+l _ ^^
^ ^.141^1+1^1+1 J .1 .1 = 0 (B.2)
AY
+
The Von Neuman analysis, when applied to Eq. (B.l), reveals the
following constraint:
m
AX^ <
-r —
r I, ni
+ *1+1/2^01+1/2 *1-1/2^^1-1/2
(B.3)
AY
2R.AY^(AY AY ) 2R.AY (AY +AY )
J + + - ] - + -
194
EQUATIONS
the model Equation (3.8), the following Taylor series expansions about
4 Ax/"
+ (—4)4 + . .. (C.l)
3X ^ ^
1 3A AX 2 3 AX 3
AX + -y:- - -r:-
J ] ax J - J 2 3x3 J 6
.4, AX ^
4, AY 4
+ (^-$); -2^- -... (C.4)
9Y J
195
.3. _ AX_^\AX ^
- 6(AX^+AXJ + • • • (C'S)
where the first term on the right hand side is the finite-difference
„3, AY-AY
AY ^ AX,+AX ^j-1^ \ g/j G
- 4- - 8Y^ j 3
3..„ 3
'kfn. +A?_ , fjLiavm 0W(+ -AK_ )AX+.6X_
" 12(AY^+AY_) AY^AY_ 12AY+AY_
(C.7)
196
consistent.
^3/2
Due to stability considerations, k appearing in the dissipation
[Eq. (3.13)]:
AX + AX.kT^ a2A AX AX
v'" = Z_J + 1J _ (±L_bK.) + -
j AX++AX_ 2
.3. _ AX AX
- M) . (AX -AX ) - . . . (C.8)
9X J ^ ~
2
which shows that the truncation error is of 0[(AX^) ].
Now for Y-direction averaging, from Eqs. (C.3) and (C.4), for
k=({).
_ '^^+^1-1 _ zi^xin
j AY_^+AY_ 2
„3, ^ AY.AY
- (-#)? . "(AY -AY ) -... (C.9)
9Y^ j ^ •*•
AY
f(Y)dY, such that
-AY
AY
+
A^f(Y^) + AgffYg) + AgffYg) = f(Y)dY (D.l)
-AY
where f(Y^), f^Yg) and ffY^) are the nodal values of the function
f(Y), and A^, , A^ are weights which depend on the grid spacing.
FAY.
Ai + Aj + A3 - 1 dy = AY, + AY (D.2)
+ —
AY
AY (AY,;2-(AY )2
-A,AY + A„AY^ = + Y dY ;; — (D.3)
1 - J +
J-AY
results in:
A^AY_|^(AY^+AY
Noting that
-'•[
(AYJ^+(AY )^
-r —
AY ((AY,)^-(AY )^)
__2 Î ~
]
(AYJ^+(AY )^ = (AY +AY )^-3AY,AY (AY +AY )
T — -r — "T — ^ —
199
^ (AY
f A Y +AY
+/\Y )"
'^ AY (AY -AY )
3
=
AY, \-
or
AY_|_+AY_ AY +AY AY
T —
A3 = (D.5)
AY
+
Multiplying Eq. (D.2) by AY_ and then adding Eq. (D.3) to it results in:
or
(AY +AY )^ AY +AY
4- MY_" - S —ÂC
A^ = (AY^+AY_) - Ag - Ag (D.7)
Once A^, A^, A^ have been determined, Eq. (D.l) can be used
to integrate f(Y).
200
The shear stress and heat transfer at the walls (Eqs. (2.72)
between the wall and the first point out or a second and third degree
polynomial fit using three and four points, respectively. The second
degree curve, though found suitable for laminar flows, did not give
satisfactory results for turbulent flows. The first and third degree
was found particularly suitable for turbulent flows where the first
straight line and third degree polynomial fits. For the straight line
,. ,m+l ,m+l
^ m+1 ^ *2
(E.l)
9Y I
AY
inner
wall
and
,, ,m+l .m+1
wall
The wall slope for the third degree polynomial fit is given by the
201
and
where
PIB. (E.5)
AY^RS
PIC.- , (E.6)
AY^(1+RS)RS^
PTD = n Ô (E.7)
AY^(1+RS+RS^)RS
1. Density
or
P -^ (F.l)
g
where
6 =Y (F'2)
3. Viscosity
[157]:
203
y = kg/(in-sec) (F.3)
(F.4)
^0 0
where the exponent was determined using the data given in [160].
4. Thermal conductivity
Z (T)L/2
X = W/(m °K) (F.5)
z +10 y
1+^-^—
Z^ = 2.646 X 10 ^
Zg = 245.4
Z = 12
= 2.527 X 10"®
= 224
Z3 = 12
where
n = T - 273.16
-2
= 2.41 X 10
-3
Z = 3.13 X 10
,-6
Zg = 1.33 X 10
-10
Z, = 2.63 X 10
5. Specific heat
(F.7)
B. Distilled Water
The property relations listed below are taken from [161] and
1. Density
Equation:
where
1.8T - 510
50
205
as
where
„ ^ 1.8T - 510
^ 50
3. Viscosity
Equation:
kg/(m-sec) (F.IO)
where
„ _ 1.8T - 510
50
4. Thermal conductivity
Equation;
where
TT 1.8T - 510
"• 50
5. Specific heat
where li and X are already known from Eqs. (F.IO) and (F.ll).
where
1.8T - 510
"= 50
C. Ethylene Glycol
1. Density
Equation:
where
n = T - 338
where
n = T - 338
3. Viscosity
Equation:
where
„ 1.8T - 500
" 60
4. Thermal conductivity
Equation:
where
n = 1.8T - 460
5. Specific heat
Equation:
where
208
„ _ 1.8T - 500
80
c LOFT > 0 FOfi TURBULENT FLOWS ( = MAX NO. OF ITERATIONS FOR ITERATIVE
C SHOCTING METHOD. I r = 8 DR 9 . SOME PARMETERS I N PRESS KILL BE PRINTED)
C LOCPG < 0 NUSSELT NC.,CF. ETC. WILL NOT BE STORED ON THE DISK
C LOCPG > 0 THESE PARAMETERS WILL BE STORED CN THE DISK
C IPKINT < 0 PRINT CtT ACCORDING TO X/OH
C IPRINT - 0 PRINT CUT ACCORDING TO X/DH*RFD
C IPRINT > 0 PRINT CUT ACCORDING TO X/OH*RED»PR
C XTR1,XTR2 READ CNLV I F LORT > 0 < SEE LISTING FOR EXPLANATION)
C AP. VOKC = 2 6 . AND 0 . 4 1 RESPECTIVELY
C HTK = THERMAL CCNDUCTIVITY (BTU/HR-FT-R)
C HTK - -(THERMAL CONCUCTIVITY) I F VARIABLE
C CPCCN = SPECIFIC HEAT (BTU/HR-R)
C CPCCN = -(SPECIFIC HEAT ) I F VARIABLE
C TO = INLET TEMP <K)
C TWl = 0 INNER WALL INSULATED
C TWl > O.UtoT = T h l
C TWl < 0 . UHF = A8S(TW1)
C TW2 = 0 OUTER WALL INSULATED
C T W 2 > 0 , OUpT = T l » 2
C TW2 < Of UHF= A 8 5 ( i * 2 )
C CORIN = 0 eCTH WALLS HEATED
C OORIN > 0 CNLY INNER WALL HEATED
C OQRIN < 0 CNLY CUTER WALL HEATED
C 0UT(K;.K=1.NT P R I M OUT STATICNS ACCORDING TO X/DH OR X/DH*REO
C GR X/OH»RED*PR (DEPENDING UPON VALUE CF IPRINT)
DIMENSION CUT(30),>05(66).TITLE(20)
C O M M O N / X K E N / X K N l ( 1 0 1 ) , X K N 2 ( 1 0 1 ) . X K N 3 ( 1 0 1 ) .P K ( 1 0 1 ) . K O I . N J 1 . N J 2 . X D H
COkNCN/XFR/PR
CCYMCN/AHMADI/Tl(101),T2(101),T3(101).T*2.TW1.JTDEL.TBTHIC.OORIN.
SDTOYO.CTCYI.TCCNV.XKCUNV.TMEAN,XTMEAN,QCV,QCD.HAVE2.HAVE1
COMMCN/TRANS/XTRl.XTR2,XTRE1 .XTRE2.HEXTRl ,REXTR2.XLMDA1.XLM0A2
COMMCN/MUX/JOI.UPC 1.UPC2.UPC3
COMWCN/MTF/XH{101),XK(101).HTC
CONPCN/MCMENT/RET&.RET I.DISPTI .THETI,HHI,DISPTO.THETC.HHO
CCMMON/MPVX/Ul(101).U2(1C1 ).U3(101 ).V(101 ) ,EV(101).EK(101).EVF(1C1
* i ,EVe( 1 0 1 ) , E K F ( 1 0 1 J . E K B ( l O l ) . 0 1 ( 1 0 1 ) . D 2 ( 1 0 1 > , D 3 ( 1 0 1 ). C ( l O l ) . N S ,
SICCUNT .DELXF.DELXB.DELXT,DELPP.PDROP.PO.PP
CCMMCN/PROBE/PTA,PTB,PTC,PTO
COMMQN/UMM/FCON.GG .BET A,UGF,FDV
CQMMON/ENERGY/SQCV•SQCD.QI.TMEANl.HAVE11,HAVE22
CQMHCN/MF/DPD
CGMVCN/MY/RT,RS,DELY
CCMMON/VMP/PI.XMASS.DELPT
COVMCN/DEL/JDEL.JCELI,JDELO.DELMIN.DELTAl.OELlAO.MN,DXF.VJS.VJF.
SDXFM.CCC
C O M M C N / S T U P I D / L Q R T . N S M l . P S A . P S B . P S C . P S D . X C O N V . S I. S 2
COMMCN/NAILA/THEPK.CPVAR.DVAR.CVISC.DMEAN.CPMEAN.VMEAN,XKMEAN,
sue.VO,CO.TO.PSTART.HTK.CPCCN
C0MMCN/ H H H H / H 1 , H Z . H 3 . H 4 . H 5 . H 6 , H 7 , H 8 . H 9 , H 1 0
CC M M C N /LATE/M.MM.N.NNl,NM2,NY,R1,R2.0YB(101),DYF(101).DYT(101),
SY(101).YF(101).Ye{101),R(l01>
C C M M O N / T U R B / X L ( 1 0 1 ) . T A ( 1 0 1 ) . T V ( 1 0 1 ) . P O U T ( 10 1 1 . U S T 1 . L S T 2 . G C O N . D D 1 ,
ID02.AP.VCKC.XOIST.DUDYC»OUDYI.TAUl,TAU2
CCMMCN/XBIRTH/PREAC.PWRITE.STLF.XC1«XC2.DELI,DEL2,UE,CHECK,RED
COfMCN/XNEh/TAlP,TA2P,HAVE1P.HAVE2P.T3PL1,T3PL2
DATA XDS/#2*«3##4*#5##7#1 « #1 2*5#3« *3#5#4**4«5#5**5#5*6*#6#5#
$7•«7»5t8«tâ*5> 9#f1C* * 21««12#•13« #14* *15# * 16##17##18* #19#* 19 #5#
$20##20*5#21##2l#5*22* #23*#24 ##25##26# # 27 # *2B##29*#30#*31##32#v33# #
S34#*35##36# #37##3G##39#*40##41##42#* 43 ##44##45##46*#47##48##49##
$5C#/
212
INTEGEP PS
JCX=-1
I CfiAl-H-l
GCCN=32.17 4
P1=2.1415926
RV=-1.
XJC=77e.0
2002 CCNTINLE
XDh=0.
JC 1=0
RETC=1.
PS= 1
JCEL-2
1CCUNT=0
ISIAT= 1
XC1=-1.
X TRl-0.
XTKZ=0.
XTPE1--1.0E20
XTRE2=-1,0E20
XLMDAl=-1.
XLVCA2=-1.
UFC1=1.
UFC2-1.
UPC3=1.
T A U 1= 0 . 0
DELPF-0.0
PCRCP=0.0
FDV=-1 .0
CPVAR=-1.0
D V A R =- 1 . 0
THERK=-1.0
CVISC=-1.0
P R F=- 1 .
QCV=0.0
QCC=0.C
FETOO.
REAO(E,1)TITLE
1 FCPMAT(20A4)
2 FCfi^AT <10G13.4)
WRITE((.3)
3 FCFMATCl',///)
kKITE(6,l)TirLE
RPA0(5 t5)DENS.V ISC .U3TART.PSTARTtRAO1,RAD2
5 FC fiCAT(6ul2 .5J
W R I T E <e. 5 ) C E N S . V I S C . t i S T A R T , P S T A R T . R A D l . R A D 2
READ<5,5)Hl.H2,H3.e4,H5,H6,H7,H8.H9,H10
WRlTE(6,5»Hl.h2.H3,H4,H5.H6,H7,M8.ri9.H10
RFAC(5,3)HTC.0XF,C>FM,CDC.VJS,VJF
WRITE(t,5)HTC.DXF.CXFM.COC.VJ5.VJF
REAO< S.5)RT,OELY.FCCNtGG.aETA
WRITE(c,5)RT.DEl.Y,FCCN.GG.BETA
RE AD ( S .SJPREAO.PWfi ITE.CHECK,STLF
WRITE(e.5)HRtAD,PWRITE.CHECK «STLF
READ(5»7}NY,NT,NST ,ISTEP.LCASE.LORT,LOOPG,IPRINT
7 FCFMAT(8110)
W R l T E ( 6 , 7 j N Y , N T , N S T , I S T E P . L C A S E , L O R T . L O O P G . I P RI N T
IF(LGF:T.GT.0)REAC(E.5)XTRI .XTR2.AP, VDKC
C XTR1=XTR2=-1 I F FLCW I S ASSUMED TO BE FULLY TURBULENT
C XTfil=XTR2=0 I F TRANSITICN I S TO t E CALCULATED BY THE
213
C PROGfiAA/
C XTf5 1>0 eXTR2>0 , INPUT VALUES OF LOCATICN OF TRANSITION
1F(LCRT.GT.OIWRITE(6,5)XTR1.XTR2,AF,VDKC
IF(HTC.LT.O.OJGO TC 801
RE/>D(5 .b »HTK,CFCCN t TO.Ttol. TW2.00R1N
WRITE(C.5>HrK,CFCCN.TU,TWl.TWZ.OORIN
I F ( t - T K . L T . O . O ) T H Ë R K = 1. 0
]F(CFCCN.LT.0.0)CP\AR=1.0
IF(CEN£.LT.0.0JDVAP=1.0
IF(VISC.LT.C.O)CVI£C=1.0
IFCCVISC.GT . 0 . .OR.THERK.GT.0.)PRP=1.
IF(CPVAR.GT.O. .OR.DVAR.GT.0. )PRP=1.
IF(FCGN.NE.0.)PKP-1.
HTK=AB£(HTK)
CPCCN-ABS(CFCDN)
HTK=HTK/3600.0
eol CCNTINLE
IF(ISTEP.GT .0)GC TC 26
RE AO(5.5)(OCT < K ) ,K=1 . N T )
W R I T E ( £ t S ) ( C U T ( K ) , K =1 . N T )
26 CCNTINLE
IF(LCRT.GT.O)GC fC 6161
AA = 1.
DC 519C J - 1 ,66
XDS(J)=XDS< J)/(20CC.*/>A)
AA=0.ÇÉ5*AA
IF(AA.LT.0.125)AA=C.125
ei90 CCNTINLE
6161 CCNTINLE
IF(USTART.LT.0.0)FnV-1.0
I F ( F O V . L T . O . ) J C I= 5
t I N I T I A L I S I N G AND CCNVERJION FACTORS
UC=ABS(IJSTART)
VC=AES(VISC)
DC=AES(DENS)
PC=FSTART
UCCNV=CO
XCCNV-VO/(OC«>JD)
PCCNV=(DG*UC*UO)/GCCN
VCCNV=VG
XMCCNV=(VO*VO)/(CC*UO)
DCCNV=DQ
WRITE ( 6 . 6 ) UCONV,XCCNV.PC(JNV. XMCCNV.DCCNV, VCONV
6 FOPMAT(//,5X,'UC='»G12.4,5X.'XC-«,G12.4,5X.'PC=•,G12.4,5X,•MC=",G1
$2.4.5%.•DC=•.G12.4,eX.»VC-'iG12.4)
IF(HTCJ10.11,11
10 HTK=VC
CFCCN- 1.0
CPCCNV=CPCC N
XKCCNV =VCON V
PR=A8S(HTC)
GC TC 12
11 CFCCNV=CPCCN
XKCCNV=CPCCN*VO
TCCNV=LO*UC/(GCCN*XJC*CPCCN)
WRITE(e,811)CPCCNV.XKC0NV.TCCNV
a i l FCPMAT(//.4X.'CPC=',G12.4,SX,«KC=».G12.4.5X.•TC=«.G12.4)
CFMEAN=CPCCN
XKMEAN=HTK
VMEAN= VO
214
PP=VMEfN*CPME4N/XKPEA\
12 CCNTINtE
DKE AN= CO
DMeAM=OMEAN
UMFAM=UC
UGF=GG*VC/(DG*UC**2)*ÛCCN
C V-GRID
N=NV+1
Ny|=N-l
K = hM
WM=NU2
NS =2
NSF=2
M\=NS+hSP
NSM=NH- 1
DH=P . O * < h A C 2 - R A D l )
R1-RAC 1/XCCNV
R2=RAD2/XCCNV
V(N)=R 1
C Y MEANS RADIAL COORCINATE
D C 1 c o t J=I , N
XM(J)= 1.
1006 XK(J)= HTK/XKCCNV
IF(FRE4D.GT.O.)GO TO 1110
CALL CELYR
XMASS=CO*UG*PI*(RAC2**2.0-RAU1**2.0)/XMCGNV
REC=DC*UC*CH/VC
0NAS£=XMA3S+XMCCNV
WRITE(eil9)REJ.DMA£S
1 9 F E R M A T ( / / / . 5 X . ' R E C -',G12. S . 5 X , " M A S S F L O W = • . G1 2. 5 )
DELMIN=DYF(1)
DC 20 J=1tN
01(J)=CG/DCCNV
D2(J)=C1(Jj
JùELI=hM2
JCELC-2
D3(J)=C2(J)
EV<J)=VC/VCCNV
EK(J)-HTK/XKCCNV
C(J)-CPCCN/CPCCNV
2 0 V ( J )= 0 . 0
U1(1)=C.0
U1(N>=C.0
U2(I)=0.0
U2(N}=C.0
U3( 1)= 0 . 0
(N> =C.C
IF <FDV .GE.0.0)GO TC 22
DC 2 1 J - 2 . f
21 U K J) =LL/UCCNV
GC TC 24
22 CALL FCVP
24 CCNTINLE
I F (hTC.LT.O.O)GC TC 824
D C 6 2 3 J=2 . i v
823 T 1 (J>=TC/TCCNV
IF<TW2.LE.O.O)GO TC 81b
T i l l ) = Th2/TCCNV
T2(1)=T1(1)
215
T 3 ( n= Tl Ui
GC TO e i 6
815 DTDYC=lM2*XCCNV/(H7K*TCCNV)
T1(1»-(DTOVC-Tl(2)«PSB-Tl(3)»PSC-T1(4)*PSD)/PSA
816 IFtTtol.L6.0.0)GO TC 817
T1(N)=TWl/TC(jNV
TZ{N)=11(N)
T 3 (N)= 11 (N)
GC TC eie
617 OTCYI=TW1*XOUNV/(HTK*TCONV)
r i <N>=<OTDY I - T l ( N M ) *PTB-T1(NM2)*PTC-T 1(N - 3 )»PTO)/PTA
aie C C t T I h l E
I F (CHECK.LT.0. )GC TG 101
824 CCNTINLE
DELXF= 1.OE- 10
XDIST=C.O
WRITE(É,25)
2 5 F C R M * T ( / / / , ' 1 * * * * 8 E G [ N I N G OF COMP L C O P * * * ' )
GC TC 101
1110 CCNTINtE
C STAFT BEADING DATA FROM DISK
REAO(10)Y.R,U3tV.EV,EK,USTltUST2.REOtN.JDELI.TA,U2iDl,02.03.Ct
SVF. YB.CYF.CrB,DVT tFSA.PS8.PSC.P5DtPTA.PTB,PTC.PTO.PDROP,DELTAI,
SDELTAO.D£L>F.XOIST,UPC1 ,UPC2.UPC3.XC1,XC2.DEL 1.DEL2.OE.XMASS.
fJOELC.ICCUNT,JOI ,ICRAPH,U1 ,XTR1.XTR2 .XTRE1.XTRE2.XLMDA1,XLMDA2.
S R E X T R l , R E X T f i 2 . X K M , X K N 2 . X K N 3 . P K . T V . X L . K O I .N J 1.N J 2 » P R t X D H l O P D
IF(hTC.LT.O..OR.CHECK.LT.O.)GO TO 1015
READ(1C)T2.XM.XK,T1,T3(li.T3(N).TMEANl.HAVEl1.HAVE22.0I,SQCV.
ÎSCCD.TETHIC
1015 CCNTINUE
IF{ChECK.LT.C.)ICCLNT-0
ISTAT=ICCONT+l
IF(CHECK.GT.0.)GC TO 101
DO 9191 J=1,N
IF(LOBT.GT.O)EK(J)= XK(J) + ( E V ( J ) - X M ( J ) ) / H T C
Ç191 U1(JJ=IJ2(JJ
GC TC 24
101 ICCUNT=IC0LNT+1
IF(PREAD.GT . 0 . .CR.ICOONT.EO.1 )G0 TC 103
IF (CVISC.LT .0.0 .AKC.LORT.LT.0)GC TU 825
1 0 3 E V F ( 1 ) =E V ( 1 ) + E V ( 2 )
EVE( 1)-EVF( 1)
Eve(N)-EV(NJ+EV{N- 1)
E V F (N)-EVa(M
E K F ( 1 ) - E K ( 1 J +E K ( 2 )
EKE<N)=EK(N )+EK(N-l)
EKF(N)=EKB(NJ
DO 210 J=2.NM1
EVE(J)=5VF(J-1)
EVF(J)=£V(J)+EV{J+1)
EKE(J>=EKF< J-1 »
EKF(J)=EK(J)+EK(J+])
210 CCMINLE
PREAD=C.
825 CCNTINLE
C CALCLLATILN CF 3ELTA>
DELX8=CELXF
CALL CELX
45 X0IST=X3IST+DELXF
OXDIST=XDIST*XCCNV
216
XDH=CXCIST/DH
C CALCULATION OF PRESS GRAD AND AXIAL VELOCITY
IF(FOV.GT,0..ANO.PPP.LT.0.)G0 TO 3CÇ
CALL PRESS
CALL UVHL
GC TC 2 13
309 CELPP=-OPD*DELXF
0ELP1=-DF0*0ELXT
PDK0P=PDKUP4DELPP
FF=PC-FDBCP
GC TC 7 5
310 CCMINUE
IF(ICCLNT.GE.NS)GO TO 75
DC 70 J=1.N
70 U3(J)-L2(J)
?5 CCMINLE
IF(HTC.LT.O.G)GC TC 831
C CALCULATICK CF T ( J )
CALL TEMP
IF<PfiP.GT.O.)CALL \iPRGP
83 1 CCNTINUe
OUDYO=PSA*U3(1)+PSE*U3(2)+PSC*U3<3)+PS0*U3(4)
TAHP=E\,( 1)4DUJYC*\CCNV*UCCNV/(XCCNV*GCCN)
C ***ST LINE FIT***
DLDYG=(U3< Zl-U3(1 ))/OYF(1 )
T A L 2 = E V ( 1) * O U l ) Y O * V C C NV * UCC.N V / ( X C G NV * G C O N)
I F ( STLF.LT . 0 .1TAIj2=TA2P
0UDVI-FTA*U3(N)+PTE*U3(NM1)+PTC*U3(NM2)+PTD*03(N-3J
T A l P=e v t N ) • O U O Y I * V C C N V " * U C C N V / ( X C C N V * G C C N )
DUDVI-(U3(NMl)-U3<N))/CVaC N)
TAU1=EV(N)*OUDYI*VCCNV*UCCNV/(XCCNV*GCCN)
I F ( S T L F . L T . 0 . . ) T A U 1= T A 1 P
REX=OC*UC0NV»U3 tJDELO)*OXDIST/VO
IF(FOV .GT.O..ANO.PFP.LT.O.)G0 TO 76
IF(XTRl.LT.O..AND.XTR2.LT.0.IGO TO 4640
IF(LORT.LT.C.Ofi.FOV.GT.O.)G0 TO 4640
eS45 I F ( I C C C N T . G T . 5 ) G 0 TO 9321
IF(XTRl.GE.O.,AND.>TR2.GE.O.)G0 TO 4641
IF(XTRl.LT.O..AND.XTR2.LT.0.)GC TO 3452
9321 KKC=JD=UC-2
WV=KKC
W V l= * Y / 2 .
LWY=*Y1
WY2=LhY
I F < H , V l . E 0 . h Y 2 ) K K C =K K C - l
STC1=0 . 0
SCCl-0.0
VVV=0.
Wkk=0.
DC 789 J-1.KK0.2
WF2=DYT(J+1J/ÙYF(J+1)*(OYT(J+1)/3.0-DYB(J+l)/2.0)
UfFl=DY l ( J + l l * * 2 . 0 / ( 2 . 0 * D Y 8 ( J+1 ) ) - W F 2 * 0VT ( J + 1 ) / D Y B ( J + l )
*FO=CYT(J+lj-WFl-kf2
I F { J C I .LE.2JG0 TO 788
S D 1= ( 1 . - 0 3 ( J ) * U 3 ( J ) / ( U 3 ( J D E L O + 1 ) * D 2 ( J D E L 0 + 1 ) ) ) * 2 . » Y ( J J
SD2=( 1.-03< J+ 1>*U3< J+n / ( U3( JOELO+l )*03C JCELC+1) ) ) * 2 . * Y ( J * 1 )
SD3=(1.-D3(J+2)*L3(J+2)/(U3(JOELC+1)•03(JDELO+1I))*2.*Y(J+2)
S T 1 = ( 1 . - U 3 C J ) / L I 3 ( J C E L O + 1 i i * Z . * Y ( J ) * 0 3 ( J j * U 3 ( J ) / ( U 3 ( J D E L 0 +l ) »
SD3( JCEi.U+ 1J )
ST2=(1.-U3(J+ll/U3(JDEL0+l))*2.*Y(J+1)*U3(J+1)*D3(J+1)/tU3(JOELD+I
217
I)*C3(JCELC+I))
ST3=(1.-U3fJ*^)/U3(J0EL0+1))*2.»Y(J+2)»D3(J+2)»J3(J+2>/
S( C3( JDELCH )»iJ3( JCELO+l ) )
Gc Tc lee
/88 S D 1= ( 1 . - i ; 3 ( J ) * U 3 ( J ) / ( 0 3 ( J Ù E L C ) • U 3 ( J J E L C ) ) ) * 2 . * Y ( J )
S02=(l.-03(J+l)»U3<J+l)/<03{JDELC)*U3(JOELO ) ) * 2 . * Y ( J+1)
SD3=(l.-03(J+2)*U3<J+2j/(D3(JDELO)*J3(JDELO)))*2.*Y(J+2)
5 T 1= ( 1 . - U 3 ( J ) / U 3 ( J C E L C ) ) * 2 . « Y ( J J « " D 3 < J ) * U 3 ( J J / ( D 3 ( J O E L G ) * 0 3 ( J D E L C ) )
ST2=(1.-03(J+1)/U3(JOELO)j*2.*Y(J+l)* 03(J+11»U3{J+1)/(03(JDELC)
S*L3(JCELC))
S T 3= { 1 . - I j 3 ( J + 2 ) / U 3 ( J D E L O ) ) * 2 . » Y ( J + 2 ) » D 3 ( J+ 2 ) * U 3 ( J + 2 j / ( 0 3 ( J D E L O )
f*L;-( JCELD) )
786 SOCl=SC01+kFO*SCl+kFl*SD2+*F2*SD3
7 8 9 S T C 1 - S 1 0 1+ k F O * S T l + k F l * S T 2 + W F 2 * S T 3
IFtWYl .NE.(KY2 ) GC TC 4444
b U L=0 . E * ( U 3 ( K K O + 2 ) • U 3 ( K K O+ 3 ) )
ODD=0.S*(D3<KKC+2)4D3(KK0+3))
Y Y Y= Y ( K K C +2 ) + Y ( K K C - » 3 )
IF(JCi .GT.2 )GQ TO 4455
WWW=(1 . - U U U * O D C / ( C 3 ( J O E L O ) * U 3 ( J D E L O ) ) » * Y Y Y * D Y F ( K K C+2 )
V V V = < 1 . - L U L / U 3 ( J D E L C ) ) * Y Y Y * D D D * U U U * C Y F ( K K C+ 2 )
$/(D2(JDELC)*U3(JDELO))
GC TO 4444
4455 WKh-d.-UUU+ODD/(U3(JOELO+1)»D3(JOELO+1)))*YYY*DYF(KKÛ+2)
VVV=(1.-LLU/L3(JCELO+1))»00D»UUU»YYY*0YF(KKO+2)/(03(JDELC+1)•
$U3(JDELC+1))
4444 CCNTINLE
SDCl=SDCl+hkW
STC1=S1C1+VVV
DISFT0=R2-SCRT(R2**2-SC01)
THETC=fi2-SCRT(R2**2-ST01J
HhC=DISPTC/IHETO
RETC=DC*LCCNV*U3(JCELCJ *THETC*XCCNV/VO
DISFTO-2.*OISPTC/(P2-R1)
THETC=2.*THETU/(R2-R1)
KKI=N-JDELI-1
WY=KKI
WYl=kY/2.
LkY=WY1
WY2rLWY
IF(WY1 .£0.hV2)KKi=KKI-l
SCI1=0 .0
STIl-0.
VVV-0.
ta to h = 0 .
DC 791 J=1,KKI.2
K =N-J+ 1
KL 1=K- 1
KL2=K-2
W F 2 - O Y T ( K L l ) / D Y B { K H ) * ( D Y T ( K L 1 ) / 3 . 0 - D Y F ( K L 1 ) / 2. 0 )
W F 1=D Y T ( K L 1 ) # * 2 . 0 / ( 2 . 0 * D Y F ( K L l ) ) - W F 2 * 0 Y T < K L 1 ) / D Y F ( K L 1 >
WF0=DYT(KLl)-WFl-kF2
IF(JCI.LE.2 )G0 TC 793
S D 1= ( 1 . - D 3 ( K ) * U 3 ( K i / ( D 3 ( J D E L I - 1 ) » U 3 { J D E L 1 - 1 ) ) ) * 2 . » Y ( K )
SD2=(l.-U3(KLl)*C2<KLl)/(U3(JOELI-l)*03(JDELl-1J))*2.*Y(KL1)
SD3=(1.-<J3(KL2)»D3(KL2)/(U3( JDELI-1)+D3( JDELI-l )))*2.*Y(KL2)
S T 1= ( 1 . - U 3 ( K ) / U 3 ( J C E L I - l > ) * 2 . * Y ( K ) • D 3 ( K ) * U 3 ( K ) / ( 0 3 { J D E i . I - 1 ) *
$U3(JCELI-1))
5 T 2 = ( 1 . - L I3 ( K L l ) / U 3 ( J D E L I - 1 ) ) * 2 . * Y ( K L l ) * D 3 ( K L l ) * U 3 ( K L l ) / ( 0 3 ( J D E L I - 1
S)»L2(JCEL1-1)I
218
S T 3 = ( 1 . - U 3 ( K L 2 3 / U 2 ( J D F . L 1 - 1 ) ) * 2 . • Y ( K L 2 ) * 0 3 ( K L 2 ) » U 3 ( K L 2 ) • ( D 3 < J D E L I- 1
Ï)*U3(JCELI - 1))
GC TC 194
7 9 3 S D 1= { 1 . - 0 3 ( K ) # U 3 ( K ) / < D 3 ( J O E L I ) * U 3 ( J D E L I ) ) ) * 2 . * Y ( K )
SD2=(1.-D3(KL1 )*U3(KLI)/(D3{JDELI)*U3(JDELI)))*2.«Y(KL1)
SD3=(l.-D3<KL2)*t3(KL2)/(D3(JDELI)*U3(JDELI)))*2.*Y(KL2)
S T 1= ( 1 . - U 3 ( K ) / U 3 < J C E L I J ) * 2 . * Y ( K ) * D 3 ( K ) * U 3 ( K ) / ( D 3 ( J C E L I ) * L 3 ( J D E L I ) )
S 7 2 = ( l . - U 3 ( K L l j / U 3 ( J D E L I ) ) * 2 . * Y ( K L 1 ) * D 3 ( K L l ) * U 3 ( K L 1 ) / ( D 3 ( JD E L I ) *
$U3(JDELI))
ST3=(1 .-U3(KL2)/U3(JDELI) )*2.•Y(KL2)*D3<KL2)*05<KL2)/(03(JDELI ) *
SU3(JDELI))
794 SDIl-SCIl*WFO*SDl+kFl*SD2+WF2*S03
791 STI1=S1Il+kF0*STl+kFl*ST2+WF2*ST3
IF(HY1 .NE.UY2)GC TC 5555
UUt=0.£*(U3(K-2»+Uc(K-3))
0 D D =0 . 5 « < D 3 ( K - 2 ) + C ; ( K - 3 ) )
YYY=Y(K-2)+Y<K-3J
IF(JCI.GT.2)G0 TC Ç544
Wtoti= ( 1 . - U U U * 0 D D / ( L 2 ( J O E L I ) * D 3 ( J D E L I ) ) ) * Y Y V * D Y B ( K - 2 )
VVV=(1.-L0U/U3(JOELI))+DDO*UUU*YVY*DY8(K-2) /(D3(JDELI)*U3(JDELI))
GC TC £555
E E 4 4 WV»W = ( 1. - C O U « D O O / ( L 3 ( J D E L I - I ) * D 3 ( J D E L I - l ) ) ) * Y Y Y * D Y E ( K - 2 )
VVV-{1.-UUL/U3(JDELI-l))*00D*YYY*UUU*DYB(K-2)/(D3(JDELI-l)•
SU3(JDELI-l)}
£555 CCNTINLE
S C I 1= S C I 1+ t o U W
S T I 1= S I I 1 + V \ ( V
DISPTI-SQRT(S0I1+R1**2)-Rl
ThETI=SaRT(STIl+K14*2)-Rl
HHI=DISPTI/THEII
RETI= C0*UCLNV*U3(JDELI)*ThETI•XCONV/VO
DISFTI=2.*DISPTI/(F2-R1)
THETI =2.*THET I/{R2-RU
IF(XTR1.LT.O..ANC.%TR2.LT.O.)GO TO 3452
IF(XTRl.GT.O..AND .XTR2.GT.0.)GO TO 4540
CALL TF ANSI(REX.RET I,RETO.XD1STtOXDI ST)
!F(XTRl.EQ.O..AND.XTR2.Ea.O.)GO TO 4641
4540 IF(XTREl.LT.O..OR.XTRE2.LT.0 «)CALL TRANS2(REX,RETItRET0.XDIST,
$OXCi£I )
4640 IF(LCRT.GT.O.JCALL VISC2
464 1 CONTINUE
1515 CCNTINLE
R V = 1.
C CALCULAT ICN CF V ( J )
CALL R40VEL
752 CCNTINLE
I F ( ICQcNT.EC.NSMl )CU TO 76
DC 80 J=l.N
U1(J)=L2(J>
IF(CVAP.LT.O.)GC TC 8 0
D1<J)=C2(J)
02(J)=CJ(J)
8C U2(J)=L3(Ji
76 CCNTINLE
XPLLS->DH/RED
XPFLUS-XPLLS/PR
IF(ISTEP.LT.O)GC TC 8 1
IF(ICCLNT.EG.ISTAT )G0 TO 84
GC TC JOOO
81 IF(IFRINTje71,673.(75
219
t71 JF(XCh.GE.CLT(P3))GO TO 83
GC TC 3000
873 IF(XPUUS.GE.CUT(PS))GC TO 83
GC TC 3 0 0 0
1F ( X F P L U S . G E . O L r ( F £ ) ) o C T O 8 3
GC TC 3 0 0 0
83 PS-PS+1
GC TC (O
84 ISTAT=ISTAT+ISTEP
86JO-1
WFITEte,15 1)
151 FCP^AT (y * 'I* * * * * * * ' * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3:^ 4 4, *4********************************** ****************
S*444*4**** •)
WFITE(€. DTITLE
WFITE(€.152}
15 2 FC f ^ M A T C * * ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** * * * * * * * * *
S * * * * * 4 ,* 4 ,* * * * * * * * * 4 * * * * * * * * * * * * * * 4 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 4 *
S****** 4*•,//j
J 4 5 1 IF ( X T R l . L T . 0 .. A N D . > T R 2 . L T . 0 . ) G 0 TO £ 5 4 5
3452 CCMJNCE
DC 65 J=1.N
85 PCUT(J )=lj3( J)*tCCNV
OCELXF=XCCN VX-DELXF
OPDPGP-PCChV*PORCF
ODFDX=-PCCN\(*DELPP/ODeLXF
ODELPF=DELPF*PCCNV
PPLLS=GCCN*CPDPOP/(DO*UO*UO)
SM=O.C
5 U 1= 0 . 0
DC 7C4 J=1,NM2 t 2
W F 2 = C Y T ( J t l ) / D Y F ( J +l ) * ( D V T ( J 4 - l ) / 3 . 0 - D Y B ( J + l J / 2 . 0 )
WF1=DYT(J+1)**2.0/(2.0*DYS(J+1))-Wf2*0YT(J+1)/OYB(J+1)
WF0=DYT(J+1)-WFl-HF2
SL*1 = D:(J)*Y( J)
SUN2-D3(Jf1)*Y(J+1)
S t / k ' 3 = D 3 < J + 2 ) * Y ( J +2 )
SUMl1=EUN1*U3(Ji
SUM22=£UM2*U3(J+ 1 )
S U M 3 3 = £ U M 3 * I j 3 ( J+ 2 )
SC1=SUl+WF0*5UMl*kFl*SLM2+WF2*SUM3
7 0 4 S K 1= S M l + k F O * S U M l 1 • H F 1 * S U M 2 2 + W F 2 » S U M 3 3
XMASX=2.0«PI»5M1tXWCLNV
UM E A I V = S M 1 / £ C I * L C C N
F A V =- G C C N * C F * O D P D X / ( 2 . 0 « D M E A N * U M E A N * U N E A N )
FREUP=KEC*FAV
F2=2.0*uCCN*TAL2/(CMEAN*UMEAN**2.0)
F 1=2.0•GCCN *TAUl/(CMEAN*UMEAN**2.0)
FTCTAL=2.0*GCGN*(TAUl*Rl/R2+TAU2)/((1.0+Rl/R2j*DMEAN*UMEAN**2.0)
IF(JCX.LT.O JGO TO 1030
WRITE(6,93)ICCUNT,CXDIST.XPLUS.XPPLLS.PPLUS
9 0 F C R M A T ( 4 X , • I C O U N T = • , I 4 » 5 X . « X D I S T = « , G 1 2 . 5 . 5 X , • X P L U S= « , G 1 2 . 5 . 5 X r • X P P
$LU£=',C12.5.5X.*FPL1jS='.G12.5)
WR1TH(6,91iOOELXF,CDPDX.OPDROP.COELPP.XOH
91 FCBMAT(//.5X."OELXF=« .G12.4.SX.•DP/DX=•.G 12.4 t5X,•PC-PX=•.G12.4. 5X
• f •DELFF=•iG12.4.EX ,•X/DH=• ,G12.4)
OELT I=XCCNV*DELTAI
DELTC=>CCNV*DELTflC
WRITE(C,16£)UMEAN.JDEH,JOELO.DELTI.DELTO.XMASX
1 6 5 F C K f A T ( / / . 4 X . • C i M E A N = ' . G 1 2 . 5 . 5 X . • J O E L I = • • I 3. 5 X . • J O E L C - ' , 1 3 , S X , • O E L T
220
URITE(é.eôl>
861 FCKMAT ( / / , • •*»»T ( J) » • « • • , / / )
WHI TEC <. 2 ) < PbU T <K ) ,K= 1 ,N»
IF (PRP a. T.O .)GC TC 665
IF ( CPV/IR .LT . 0 . 0 )GC TO 952
DC <;50 J = 1 , N
950 PQLTCJ )=CCJ )»CPCCNV
WRITE<e.951)
951 FCRMAT(//,'****CF(J)***'.//j
WR1TE(6,2)(F0UT(K).K=1.N)
952 CCMINLE
IF(CVAK.LT.O.O)GC TC 9 5 5
DC 953 J - 1 , N
953 PCLTCJ)-D3(J)*CCCNV
WRITECe,954)
954 FCRMAT C / / , ' ••••fîHC CJI**»' , / / )
WRITECÉ.2)(POUt(K) ,K-1,N)
955 CCNTINLE
IF(THERK.LT.0.0)GC TO 961
OC 955 J=1»N
959 PCLTCJ)=EK(J)
WRITE ce.960)
960 FCFMAT(//.•»•**KCJ»•»*•.//»
WRITEC<t2)tPOUT(K) ,K=1 , N )
961 IFCJDX.LT.O .ANO.LOCPG.GT.O)G0 TO 3002
hC5 CONTINUE
IFCCVISC.LT.O.O.ANC.LCRT.LT.O.O)GO TO 966
DO 964 J=1.N
964 PCUTCJ)=ev<J)
WRITEC e.9é5 )
965 FCPMAT(//,'****MU(J)***".//)
WRI TEC t . 2 ) (POUT(K) ,K=1 , N )
IF(LCRT.LT.O)GC TC 966
IFCXTR l.EQ.O..ANC. XTR<;.EQ.O. )GU TU 966
DC €75 J=JCELI.N
675 P0LT(J)=(Y(J)-K1)*C01
DC e7t J=1.JDEL0
£76 PCLT(J)=(R2-Y(J»)»CD2
WRITE<6,676 )
676 FCRMATC//,'****Y+(J)***',//j
WRITEC e.2J(FOUT(K) ,K=I,N)
OC 651 J=JOELItN
651 PCLTCJ)=U3(J)*LCC\\/UST1
OC €52 J=1.JDELC
€ 5 2 P C U T C J )=L 3 ( J ) * L C C N \ , / J 3 T 2
WFITEC €.654 )
€54 FCRMAT(//.'****L+(J)***'.//)
WKI TFCe. 2 ) ( FOUKK ) ,K=l , N i
DC 661 J = 1.N
661 PCOT C J )=XL( J)
WRITEC 6 . € 6 2 )
bt2 FCRMATC//.'«•••XL(-)•••'.//)
WRITECe.2)«P0UT(K).K=l,M
WRÎTEC6,€fc5 )
€ € 5 FCRMAT C / / . • • • • • T Al^ C J ) • * • • , / / )
WRITE(e,2)(TACK),t< = l,N)
IF(H7.LT.0.)G0 TC «66
WRITECe.409S)
4095 F C R M A T C / / , ' • * • • K E ^ C J ) • * • ^ , / / )
WRITECÉ.2)C XKN3(K ) .K=l ,N)
222
966 CCMINtE
3000 IFtLCCFG.LI.0)GC 1C lOOl
XOISK-=>CH
IF(LCFT.LT.O.)XCISK=XPPLUS
IF(XCISK.GE.XDS(I CPAPH) )GO TO 3001
GC TC 1001
3001 IGRAPH=IGRAPH+l
IF(JDX.LT.O.)GC TC 3451
3002 IF(HTC.LT.O.)WRITE(12»X0ISK,FAV.FTOTAL.U3(JDELI).F1,F2,
SDISPTI .DISPTO.ThETI.Tf-ETO
IF(HTC.GT.O..ANO.FCV.LT.O.)WRlTE(12)XDI5K,FAV,FTOTAL,Fl,F2t
$U3(JDELI).ST1.ST2.XNUD1.XNUD2.T3(1).T3(N) .DISPTI,DISPTC.THETI.
STI-ETC
I F ( H T C . G T . O . . A N D . F C V . G T . 0 . ) W R I T E ( 1 2 ) X O I S K ,ST 1 , 5 T 2 . X N U D l , X N U D 2 .
lT3(l),13<h)
1001 JDX=-1
I F ( 1STEP>1002. 1002.1003
1002 IF(ICCLNT-NST)2222.100.100
2222 IF (FS-^TJ101.101.100
lOOJ I F ( ICCt-NT-NST) 1 0 1.1 0 0 . 100
100 I F (FWPITE.LT.O.)GC TO 1005
C STAFT WPITING DATA CN T^E DISK
WBITE(ll>Y.H.li3.V.EV,EK.USTl.UST2.fiED.N,JCELi.TA.U2.Dl.D2.03.C.
$YF.YB.CYF.CYB.OYT.FSA.PSB,PSC.PSD.PT A.PTe.PTC.PTD.PDROP.ÙELTAI.
SDELTAO.DELXF.XDIST.UPCl ,UPC2.UPC3.XCl.XC2.DEL1.DEL2,UE.XMASS.
SJDELC.ICCUhT.JOI.ICRAPH.Ul .XTR1.XTfi2,XTRE 1.XTRE2.XLMDAI,XLMDA2,
S R E X T K l , f t E X T R 2 . X K M . X K N 2 . X K N 3 . P K . T V . X L . K O I , I M J 1 .N J 2 . P R . X D H . D P D
WRITE(6.5)CXDIST.XCH
Wfi I T E C e . 7 ) 1GRAPH
1F<HTC J-T.0.)GC TC 1004
WRITEC 11 )T2 .XM.XK,T1.T3(l) ,T3(N).TMEANl.HAVEl1.HAVE22.QI.SUCV.
SSCCC .TEThIC
1004 CChTIhLE
1005 CChTINLE
IFILCAÎc.GT.O.)Ga TO 2002
STCP
ENC
SUBPÛtTINE CELX
******** ***************DELX**************************************:
DIWENS ICN SKCa(101).SKCF(101).SFMAX(101).SBMAX(101).COEFF(101).COE
*FE<101)
C O M M C N / X K E N / X K M ( 1 C 1 ) , X K N 2 ( 1 0 1 ) . X K N 3 ( 1 0 1 ) .P K ( 1 0 1 ) . K O I . N J 1 , N J 2 . X 0 H
CGWMCN/X8IRTH/PREAC,PWRITE.STLF.XCl.XC2.DEL 1,DEL2.UE.CHECK.RED
COMMCN/XPR/PR
COMMCN/TURB/XL(101).TA<101),TV(101).POUT(101).UST1.UST2,GCCN.DDI.
$002.AP.VCKC.XDIST.CtOYO.OUDYI.TAUl .TA02
CCMMCN/MPVX/Ul(101)»U2(101).U3(101).V(101>.EV(101).EK(101),EVF(101
• ) .EVE(lOl) .EKFdOl ).EKE(l01),01(10n.D2(101),D3(101) .CdOD.NS.
IICOUNT.DELXF.OcLXa.OELXT.JELPP.PORCP.PO.PP
C C M M C N / D E L / J D = L , J C E L I .J O E L O . D E L M I N . D E L T A I . D E L I A O , M N . D X F . V J S . V J F .
ÎDXFf.CCC
C C I P M G N / L A T E / M . * N . N . h M l . N M 2 . N Y . R l , R 2 , O Y B ( 1 0 1 ) , D Y F ( 1 0 1 ) . D Y T { 1 0i ) .
$V(101).YF(lCl),Y£(101).R(iai)
COMMCK/STUP ID/LORT .NSNl.PSA,PSB.PSC.PSD.XCGNV.S1.S2
CCMNLN/MTF/XM(101) .XK(101) .HTC
CCMMCN/AHMACI/71(1C1).T2(101).T3(101),TM2.TW1.JTDEL.T8THIC.OORIN.
$ t > T D Y O , C T C Y l . T C t N V . X K C C N V , T M E A N . X T M E A N . G C V . C C D .H A V E S » H A V £ 1
CCfMCN/UMM/FCCN,GC .BETA.UGF,FDV
IF ( I C C l . N T - N S ) 3 1 0 . £ 1 0 . 4 1 0
310 IF{HTC.LT.O.)GC TC 207
223
IF ( C C F I N . L E . 0 . ) G 0 T C 2 0 0
IF ( I C C L N T . E Q . 1 ) j T C E L = N y 2
LI=MAXC(JTDEL,JDELI)
LC=hMl
GC TO S05
2 0 0 I F ( ICCLNT.EC.l JJICEL--=3
LI=2
LC=MINO(JTCEL,JDELC)
GC TC 205
207 LI=JDELI
LC=hMl
2 0 5 DX:- =0 . 0
OC 20fc J = L 1 , L 0
S K C e ( J )=E K E ( J ) / C < J )
5KCF{J )-EKF(J)/C( J)
SFMAX(J)=ANAXl(EVF(J),SKCF(J))
SE»'AX(JJ=AMAX1(EVE(J).SKCB(J))
0X1=2.0*01(J)*U1(J)*V(J)*DYT(J)
COEfF(J)=YF(J)/(CX1*DYF<J))
CCEFB t J) =YE(J) /(CX1»DYF(J-1) )
VVPP=V (J )
0X2= ( AES ( W P P ) ) / i n( J ) *DYF ( J - 1 ) )+CC2FF(J) *SFMAX(J) +COEFU(J J*SBMAX(
*J)
0X2=AM4X1(CX2.DX3)
206 CCNTINLE
DELXF= .5/0X3
GC TO <1
210 WKITE(«.35)ICOLM
3 5 F E R M A T ( / / / . ' 0 * * * [ - F EQNS AT ICCUNT='.I3)
410 IF(ICOLNT.LT.MNIGC TO 41
IFiLCPl.GT.O)GC TC 42
0PR=2.•(R2-«l)*PR*AED
CXF-OELXF/CFP
I F ( C X P .GT.DXFM)GQ TO 4 1
OXF=OXF*CCC
DEL %F=[XF*CFK
GC TC 41
42 CCNTINLc
I F ( F D V . G T . C . . A N D . F T C . G T . O . )GC T O 5b
OELXF=CCC*CcLXe
IF(DEL XF/OELTAC.GT.OXFM)OELXF=OXFM*DELTAO
GC TC 41
56 OELXF=CCC+DELXB
C f/AY NEED TO CHANGE FCF BCTH WALLS HEATED
1F(XCH.GT.2.)GC TC 50
DDXY=0.5#CXFM
!F(DELXF/TBTHIC.GT.DOXY)DELXF=DOXY*TBTHIC
GC TC 41
50 IF(CELXF/TETHIC.GT.DXFM»DELXF=DXFM*TBTHI C
41 DELXT=CELXF+DELXe
RETURN
END
SLBRCLIINE CELYP
* * * * * * * * * * * * * * * * * * * * * * DELYR* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
C * * N Y / 2 GRICS CN EACH SIDE OF THE CENTER OF THE GAP FDR LAMINAR FLOWS ANO FOR
C TURBULENT FLOWS dITH F * > 0 . 8 ******FOR SMALLER RADIUS RATICS(FOR TURB FLOWS)
C NY/2 GRICS ON EACH SIDE OF THE RADIUS CF MAX VEL DFTFRMINED BY KAYS-LEUNG*
CCMUCN/PPOBE/PTA.F TE.PTC.PTD
CCMMCN/MY/RT.HS.OELY
CCMMCN/LATE/M,MM.N.NM1,NM2.NY,R1,R2.DYB(101),DYF(101).DYTC101),
224
î y ( i o i J . v f ( I C I ) ,yE< i o i ).R(l o i »
C O M M C N / S T U P I D / L G R T . N S M l . P S A , P S f J. P 5 C . P S D . X C C N V . S 1 , 5 2
AEL=IAES(LCPT)
IF C L C f i T . G T.O . O . G R . o a L . E Q . 4 » G G T U 3 0 0
R S = 1.
DELV=< K2-RI )/NV
DO e J=1,N
DYECJ)=DELY
DYF(J)=OELV
8 Y(J)-H2-(J-1)#DYf(J)
GC TC 3 0 1
200 DYFC1J-OELY/XCCNV
I=0
I1=0
OYE( 1)=OELV/XCCNV
Y( IJ^PZ
Y(N>=fil
NC-NY/ 10
NY2=NY/a+l
NNV=NY£-rD
NNY1=NNY+1
RRK=fil/R2
IF<RRR.GT.0.8.CK.LCHT.LT.0 )GC TO 5500
RW=RRR**0.343
PMK=(PI+R2*RM;/(!.+RM)
Yfi1=PNM-R1
Yfi2=R£-RMM
C Y E ( h )=D Y F ( l ) * Y R 1 / Y R 2
DVF(N)=OYE(NJ
DR-YR2
ECGR=-1.
GO TC 40 4
3500 NY£1=NY2-1
0R=(R2-R1)/2.
ECGfi=l.
404 DC 406 J=2tNNY
DYF<J)=RT»CYF(J-1)
OYBC J J = O V F ( J - 1 )
406 Y(J)=YtJ-1)-DYF(J-1)
DC 40e J=^^Y1,^Y^
DYF(J)=DYF(NNY)
DYE(J)=OYF(J-1)
408 Y ( J J= Y ( J - 1 ) - D Y F ( J - 1 )
1 = 1+1
OY=Y(1)-Y(NY2)
IF(CY.GE.CR>G0 TC 461
RT=RT+C.C0£
GC TC 404
461 YfiC=CR/DY
DC 47 1 J=2,NY2
471 Y(J)=R2-(P2-Y(J))*YRC
DC 472 J=2tNY2
DYF(J-1)=Y(J-1)-V(J)
472 OYE(J)=OYF(J-1)
D Y e { 1 ) = D Y Fl1 >
WRITE((.E)GT.I
5 FCRKATiSX,G12.4,I 10)
RS=RT
IFCECGfi.EC.1.)GC 1C 3600
DR =YR I
225
475 CC 4 8 0 J=2.NNV
K=N-J t l
nvF (K) =R<.*CyF (K+ 1 J
UYE(K+1)=CVF<KJ
480 Y(K ) = Y<K+1) 1DYF(K )
II-1141
L/ C 4 6 1 J - N N Y l . N Y , ?
K =N-J«1
O Y F ( K )= D Y F I K f n
D YB t K +1 ) =C Yh < K )
481 YCK)=Y(K+1)+DYF(K)
L)Y=Y( hY2l-Y(N)
IF(CY .Ge.DP)GC 1C 490
KS=AS+.0C5
GC TC 4 7 5
490 YFC=ÛF/CY
CC 492 J=2.NY2
K =N - J + 1
492 Y(K >-fil +( Y (K)-Rl MYRC
DC 49£ J=2,NY2
K = N-J + 1
D Y F ( K )= Y ( K ) - Y ( K + 1 )
495 UYB < K +1 ) =CYF t K)
DYF(N)=CYe(N)
LVV2-ND-3
LY2=Ny2+NC-l
DDDY=(Y(LY1)-Y(LY2))/(LY2-LY1)
LYV2= LY2-1
OC 2 2 1 J=LY1.LYY2
CYF ( J )=CCDY
CYE < J )=D Y F ( J - 1 »
22 1 Y( J+ 1 )= Y ( J J-DCCY
CVB(LY2)=OYF(LYY2 )
WfilTE(e. 5 IPS,I I
GC TC 301
3600 0YF(hY2)=DYE(NY2)
OYE(hj =DYF( 1)
OYF(N)=DYE(N)
DC 506 J=2.NY21
K-N-J+1
DYE <K)=DYF t J)
505 DYF(K)=OYB<K-H )
DC 506 J=2,NV2l
K— N— J+ 1
506 Y(K)=Y(K+1)4DYE(K+1)
301 DC 3C3 J = 1 • N
DYT{ J) =DYfcl(J) + DYF <J)
303 « ( J J=( Y ( J ) - Y ( N ) ) / ( P 2 - R 1 )
DC 13 J - 1 , N
13 YFJJ)=Y(JJ+XCCNV
WKITE(6,15)
15 FCPMAT (• C Y { J ) ' )
l«PITh(e.60)(YF(KJ ,K =1,N)
WF I T E ( t . I 7 >
17 FC FM/lT ( • Cfi ( J) • )
WRITE(e.bOJ<F<<K).t< = l . N J
Y F ( 1 )= Y( 1 ) + Y ( 2 )
YB(1 )=YF(l)
YE(N)=Y(N)+Y(N-l)
Y F ( N ) = YE (N )
226
DC g J=J.NN1
YB< J) = 1F<J-1)
9 YF(J)=Y(J)+Y(J+1)
W K I T E < € . e O )( D V F ( K ) , K = 1 , N >
WRITE(e.60)<DYE(K),K=l,N»
WRI7E<e,eOJ (DYT(K ).K=l ,N)
to FCFM/iT ( I X 1 lOGl 3.5 )
P S E = < 1 .+ A T + F T * * 2 ) / ( C Y F ( 1 ) « R T • • 2 )
PSC=-( 1.+RT+RT**2)/(DYF(!)*( l.+RT)*RT**j)
P S D = 1 . / C D Y F < 1 » • ( l . * R T +R T * * 2 ) * R T * * 3 )
FS4=-P<E-PSC-PE0
WKITH< e,60)PSA pPSE .PSC.PSO
PT8=(1.+R5+RS**2)/(CYE(N)*RS**2»
PTC=-( 1.+RS+R5**2)/(DYB(N)*(1.+RS)*RS**3)
PTD=1./(0YE(N)*(I,*RS+RS**2)*RS**3}
PT/i=-PTE-PTC-PTC
WRITE(6.60JPTA.PIE .PTC,PTD
RETURN
ENC
SUePCCII NE FDVF
GF =AP»(H1/K2;**H4
a e =vcK c
CC --AP
DC 101 J=1 .N
101 DXX(J)=DVl:(J)
^fCT-0 .Ot 7 / ( ( N2-P1 ) *RE .2'j)
[•! N ( | . 1 / W Ï ) • • . J A i
QMM-(RltRSURS ) / ( ! . + R M )
Z O O D C :0 1 J = 1 . N
K =^-J+ 1
y Y V =R N N - Y ( K )
IF<YYV.LT.C.)GC TC 202
201 CCNTINUc
202 JDELI-K
YF lc:RNy-Y( K +1 )
YR£=Y(K)-KMM
IF ( YRl . L T .VK2 ) JDEL I = K H
OELTAI= V(JCELI)-R 1
CELTAC=R2-Y(JDELI)
JJ JJJ = JDELl
205 JOELC=JDELI
T A 1= - C P D * ( Y ( J J J J J J 4 * 2 - K l * * 2 ) / ( 2 . • R 1 )
TAZ=-DPD*(R2**2-Y(jjJJJI**2)/(2.*R2j
F(h)-TA1
F ( 1 ) =- 7 A 2
FCLTtN )=0.
<J Ï J- I J + X
>X=F(1)
X Y =F ( N )
DC 102 JJ=1 .N M I
J=h-JJ+l
A l = C X X ( J ) » G ( y ( J ) . F ( J ) . Dl'lJ , XX , X Y , R 1 , k ? , DELTA! .OELT AC . JOEL t . J , 8 8 .
tCC.GF)
a 1=DXX(J)•F(J)
B2=0XX(J}*(F(J)+A1/2.J
A2-DXX(J)*G(Y(J)*0XX(J)/2.,F(J)+Al/2..DPO.XX,XY,R1,R2.DELTA! .DELTA
SO.JDELl.J.EB.CC.CFJ
83 +
A 1= D X X ( J ) * G ( Y ( J ) 4 - C > X ( J ) / 2 . . F ( J ) + A 2 / 2 . . D P D , X X . X Y . R 1 . H 2 . 0 E L T A ! . O t L T A
Î0.JDEL I,J.ee.CC.CF )
A4=CXX(J)»G(Y(J)$DXX<J),F(J)+A3.DPU,XX,XY,Rl,R2.DELrA!.DELTAO,JDEL
$I.J.EB,CC,GF)
!3 4 = D X X ( J ) * ( F ( J ) + A :• )
F(c-l)=r(J)+(Al+2.4A2+2.tA3+A4)/6.
10:= F U L T ( J - l ) = P L U T ( J ) 4 < c l + 2 . * K 2 t 2 . * U 3 + n 4 l / o .
XL-FCLK 1 )
xr%F(h)
yc I
IF ( ! J .i \ E. I ) G O T C <. C 1
XF 3= Xf
XLZ=XL
<^0 1 C C N T I N L F .
I F ( I J . L E . 2 ) G O TC 4 41
DC 43Ê J=N4,tN2
IF(X.GE.l.)GC TC 440
43 E CC^TI^UE
4 40 JDELC-J
J D E L != J D E L C
DEL7AC=K2-V(JDELL)
228
C O f ' M C N / S r U P I D / L O R Î . N S M l , P S A . P S Ë . P S C . P S D . X C C N V . Sl , S 2
COKfCN/UNM/FCON.GG .BETA ,UGF,FDV
C Q M M C N / A H M A C I / T l < 1 C 1 J . T 2 { 1 0 1 ) . T 3 ( 1 0 1 > . 1 W 2 , T W 1 , J T D f T L. f B I H I C .O O R I N ,
SOT CVO,CTCYI,TCCNV,XKCCNV,T MEAN,XTMtAN,UCV,OC0.HAVu2,HAVt1
COMMCN/NAILA/THERK.CPVfR.DVAR.CVlSC.OMEAN .CPMtAN.VMEAN.XKMEAN.
ÎUC.VCtCOtTC.PSrART .HTK.CPCCN
C C f N C N / r U H B / X L ( l C l > , T A ( I 0 1 ) t T V ( 1 0 1 ) . P O U T < 1 0 1 ) , J S T 1 , L S T 2 , G C O N , O D l.
$DD2.AP.VCKC.XDIST.CUUYC.DUDY1.TAbl.TAU2
C O W M C N / H H H H / H l , H 2 . 1 - 3 . H 4 , H 5 . H 6 .H 7 , H b.H 9 , H 1 0
SLMPl=C.O
SUMF2=C.0
I F (ICCUNT.CE.NSjGC TO 305
C STANDARD EXPL cQNS
U 1 ( 1 )= L1 ( 2 ) / ( l . 0 K I . 0 - U l ( 2 ) / U l ( 3 ) ) * D Y F ( l j / D Y F ( 2 ) )
IF<Ll(l>.EC.O.a)Ul<H=l .OE-50
S U M l ( 1 ) = ( O E L X F+ Y F < 1 ) » E V F ( 1 J / ( 2 . 0 » D Y T ( 1 ) * D Y F ( 1 ) ) ) * ( U 1 ( 2 ) / U 1 ( 1 ) - 1 . 0 >
IF(FCCN.GT.0..ANC.OCRIN.LT.O. )SUM1 (1)= SLMU i)-DELXF*UGF*BETA*(Tl
$( 1)-Tl<N)i•TCCNV^Y <1J/U1( 1>
IF(FCON.LT.O.O)SUM U1)=SUM1( 1)+DELXF*UGF*D1(1)* Y{1)/U1(1)
S U M 2 ( 1 )=- Y ( l ) / U l ( 1 )
IF(RI.EO.O.OJGC TC 300
Ul(N)=Ll(N-l)/(l.C+(1.0-U1(N-1)/Ul(N-2))*CYB(NJ/OYB(N-lJ)
IF(U1(N).EC.O.C)U1(N)=1.0E-50
SCMl(N )=(DELXF*YE(N)*EVB(N)/(2.0*DYT(N)*DY8(N)))*{U1(N-1)/U1(N)-1.
*0)
I F ( F C C N . G T . O . O . A N C . O O R I N . G T . 0 . ) 5 0 M 1 ( N J= S U M 1 ( N ) - D E L X F « U G F » B E T A » { T 1
S(N)-T1 (1 ))*TCC\V*Y(N)/U1(NJ
IFXFCCh.LT.O.O)5UM1(N)=SUM1(N)+DELXF*UGF*D1(N)*Y(N)/U1(N)
S l , M 2 ( N )=- Y ( M / L l { h )
1F(4BS(DXF).NE.4.)C0 TO 3 0 0
SUPl(1)-0.0
SUM2<1)=0.0
S L N l ( N )= 0 . C
StW2(N )= 0.0
200 CChTINL=
DC 301 J=2,hMl
PF-2.0 *Y(J)*DYT(J)«OYF(J)«DYB(J)
PA=FF*L1<J J
P E 1= C E L X F » C Y B ( J > • V F ( J ) * E V F ( J ) * ( U 1 ( J < - I J - U l ( J ) )
P B 2= Y B * J ) * E V B ( J ) * C y F ( J ) * D E L X F * ( L 1 < J - 1 ) - U l ( J ) )
VVFP=V (J )
HP= VVPP*(Ul(JJ-Ul(J-1J)/DVB(J)
IF(VVPF.LT.0.0)HP=VVPP*(U1(J+1>-Ul(J))/DYF(J)
PB3=-PF*DEL XF»CH J)•HP
PE4=PF*U1(J)*U1(J)4U1(J)
PC=-FF
1F(FCCN)30.35,40
30 PT=PF*CELXF#UGF*D1(J)
GC TO 4b
35 PT=0.0
GC TC 45
40 PT=PF*CELXF*FCCNVC(BETA.UGF,TO.N,J)
4 5 S U M l ( J ) = ( P E l + P E 2 4 F E 3+ P B 4 + P T j * Y ( J ) / F A
SUV2 ( J Ï=PC»Y(J )/PA
301 CChTINLE
IF(R1.NE.0.0)GC TC 304
StMl(N)=0.0
SUW2(N)=0.0
304 CCNTINCE
Ul(l)=C.0
231
IF(Rl.GT.O.0)Ul(N)=0.0
GC TC i l l
305 CCMIM.E
C C-F ECNS
BHB=2.*DELXe^OELXT
O E M = D = L X T * ( D / e i 1 ) •» Y F ( 1 ) « £ V F ( 1 ) * D Y F ( 1 ) * Y B ( 1 ) * E V 8 I 1 ) ) * U B B
SLM1(1)=2.0*OELXT$CY8(1)*EVF(1)*YF(1)*U2(2)*D2(])*Y(1)/û£Nl
iF ( F C C N . G T . 0 . 0 . A N C . G O R I N . L T . 0 . ) S U M 1 ( l ) = S U M ) ( ] ) - 4 . t Y ( l ) * D Y T ( 1 ) * D Y F I
$1 ) * 0 YE(1 )*DELXT*UGF*8ETA»( T2(1 )-T2(N ) l*TCCNV*D2( 1)*Y(1)/DENl
IF(FCCN.LT . 0 . 0 )SL,y 1( 1 ) = SUM1( 1 ) + 4 . 0 * Y ( 1 ) * O Y T ( 1 )*DYF ( 1 )*DYB( 1)*DELXT
3+LCF*CZ(l)*C2( 1 )*V(1)/DEN1
S U M 2 ( 1 )=- 4 . 0 * 0 V T ( 1 ) * O Y F ( 1 ) * D Y 8 ( 1 ) * C 2 ( 1 l * < Y ( l ) * * 2 . 0 j / D E N 1
IF(K1.EQ.O.OJGC TC 206
DENN=OELXT* (DYE(N)•YF{N>*EVF(N)<DYF(N)•YB(N)•EVB(N))*BB8
SUM] (Ni = 2 . 0*DELXT»C YF ( N ) »£ VB<N) *YEi( N )*U2 ( N - 1 )•0 2( N) o Y ( N)/OENN
IF(FCCN.GT.0.0.ANC-OCRIN.GT,0.)SUM1<N)= SUM1(N)-4.»Y< N)»DYT(N)*3YF
$(N)#DYE(N)*0ELXT*UGF*BETA*(T2(N)-T2(1))»TCCNV*D2(N)*Y(N)/DENN
I F ( F C C N . L T . 0 . O ) S U M l ( N ) = S U M l ( N ) + 4 . O * Y ( N ) » D Y T ( N ) * O Y F <N)«DYa(N)«DELXT
$*UGF*02(N)*C2(h)*Y(N)/DENN
SUM2(N)=-4.0*OYT(N)*DYF(N)*DYB(N)*02(N)•(Y<N)2.0)/DENN
IF(AbS(DXF) .NS.4.)GO TO 32 1
StWl(1 )= 0.0
SLNf(1)=C.0
SUMl(N ) =G.C
3UM2(N)=0.0
GO TC : 2 1
306 U2(N+1 ) - L 2 ( N - l )
321 CCMINCE
4fA=CELXF/DELXT
DC 3 0 / J-2tNMl
PF=4.0*Y(J)»DYT(J)«UYF(J)$UY8(J)
FA1=FF* C2<J)*L2(J)
PA2=0ELXT*CYBIJ) * Y F ( J)*EVF(J)»EBB
PA3=DELXT*CYF( J)*YE < J ) *EV8(J)*E88
VVFF=V(J)
Pai=-PF*UELXT*C2(J)*VVPP*(U2(J+lj-U2(J-l))/0YT(J)
P d 2= 2 . C » D E L X T t C Y E ( J ) * E V F ( J ) * ( U 2 ( J + 1 ) - A A A * L l ( J ) ) • Y F ( J )
PB?=2 . C*CEL %T*CVF ( J ) * E V e ( J ) * ( U 2 ( J - l )-AAA*Ul(J» )»Ye(J)
P84=PF*02(J)*U1(J)#U2(J)
PC =-PF
IF(FCC h)60,es.70
60 PT=PF*CELXT*UGF*C2(J)
GC TC 75
65 PT=0.0
GC TC 75
70 PT=PF+CELXT+FCCNVC(8ErA,UGF,TC,N.J)
75 S U y i ( J ) = ( P B l + P e 2 + P E 3 +F B 4 + P T ) * D 2 ( J ) » Y ( Ji / ( P A 1 + P A 2 « - P A 3 )
If(iAES(LCRT).EQ.S.JWRITr(6,yO)PAl,FA2,PA3,Pai.PB2,PB3,PB4,PT
307 SLW2(J)=FC*02(J)*Y(J)/<FA1+PA2+PA3)
Z11 CCNTINCE
9 0 FCRMAT (5X. 10G13.5 )
IF(1AES(LCPT).EG.9.)WRITE(6.90)(SUM1(K),K=1.N)
IF(IAES<LCKT).fca.Ç.)teRITE(6,90)(SUM2(K).K=l.N)
DC 3 C 9 J=1 . N M 2 . 2
WF2=DY T ( J + l ) / D Y F ( J+ l ) * ( D Y T ( J+l ) / 3 . 0 - D Y B ( J +l ) / 2 . 0 )
WFl=OY T{ J + l ) * * 2 . 0 / ( 2 . 0 * D Y B ( J +l ) ) - W F d * D Y T ( J + l ) / D Y B ( J + l )
WF0=CYT(J+l)-WFl-kF2
S U ^ F I = S U M P 1 + W F 0 » S L M ( J ) + W F l * S U M l ( J + l ) + W F 2 * S U M l ( J+ 2 ]
309 SUMP2=SUMP2+WF0*SLM2(J)+WF1*SUW2(J+1)+kF2*5UM2(J»2)
OFFFP= { S J M P 1 - X M A S Î / ' ( 2 . 0 * P I ))/SUMP2
232
IF(ICCLNT.GF.NSIGC TO 271
OELPF=CPPPF
G C T U :6 1
371 OELFT=CPPPP
0ELPF= C£LXF*DELP1 /CELXT
3 8 1 PDfiOP=FOfiCF+DELPP
FP=PU-FDfiCF
XCPO=DELFF/DELXF
IF( IABS(LCR T).EG.6)WRI TE(6,90JOELTAO.DELT A1.XOPD.XDIST
JF(lAES(LCRT),Ea.S.)WRITe(6,90)SUMPl,SUMPS
RETURN
ENC
SUBROUTINE UVEL
C O K M C N / X B I R T H / P R E A C , P l » R I T E , S T L F , X C 1 . XC 2 . D E L 1 . D E L 2 » U E. C H E C K . R E D
CCffCN/MUX/JOI ,UPC1.UPC2.UFC3
COWKCN/KCMENT/KETC .«ET I,01SPTI .THETI,HHI.OISPT0.THETO.HHQ
CCNMCN/Ht-HH/H 1 , H £ .H 3. H 4 . H 5 H 6 , H 7 . H 0, H 9 . H 1 0
COMMCN/NAILA/THEPK.CPVAR.DVAR,CVISC.DMEAN,CPMEAN.VMEAN•XKMEAN»
$UG«VO.nO.TC,PSTAFT.HTK.CPCCN
COKMLN/LATE/M.MM,h.NM 1 . NM2.NY.R1.R2,DYB< 10l).DYF( 101) .DYT( 101) .
£V(101).YFil01).>Ê(101J,R(101»
COfMCN/DEL/JOEL.JCELI . JDELG.DEL MIN,DELTA I .OELTAO.MN.DXF.VJS.VJF.
SDXFN.CCC
CCNMCN/MPVX/Ul(101J.U2(101),U3{101>.V(101J,EV(101>.EK<10 1).EVF(101
*),EVE(131 ).EKF <101>.EKB(10n«01(101}.D2(101).03(10I).C(101).NS.
SICCUhT.DELXF.DELXB .DELXT.DELPP.PDROP.PO.PP
CCMMCN/VMP/PI.>MA£S.OELPT
COMMCN/STUPIO/LORT.NSMl .PSA.PSB . PSC.PSD.XCCNV.S1.S2
CCCMCN/UKJ'/FCCN .GC .BETA.UGF.FOV
CCMMCN/AHMADI/Tl ( I C I ) . T 2 ( 1 0 1 ) , 7 3 ( 1 0 1 ) . T«(2 .TW 1 , JTDEL . TBTH IC ,OORIN,
SDTDYC,CTDYI.TCCNV.XKCCNV,TMEAN,XTMEAN.QCV,QCD.HAVE2.HAVEl
C STAND EXFL ECNS
IF(ICOLNT.CE.NS)GC TO 4 0 3
I F (CHECK .GT . 0 . )GC TO 9 9 9
I F d C C L N T . E d . l ) U P C 1= U P C 2
GC TC 1000
99? CChTINLE
IF(ICClNT.EC.l.ANC.fDV.LT.O.)JCl=10
I F(FCV .GT.C.O)JCI = C
IF(ICCLNT.EC.1)UPC1=1.
1000 CCNTINUE
IF(JOI .GT.l )UPC2=LFC1 + DELPP/UPC1
IF(JC1 .ÙT.1 )UDEL = 0.995*UPC2
UFC3=LPCZ
LJI=-l
LJC=-1
DO 401 JJJ=2.NM1
I F(JCI .LE . 1 )G0 TC €11
I I--1
I F ( L J I . Ù T . 0 . A N C . L J C . G T . 0 » GCJ T O 8 0 9
I F ( L J C .GT . 0 )GC) T C € 8 0
t 1 1 J=JJJ
JPL =J+1
JPL=J-1
6 2 0 DBV^V ( JML)-Y( J )
DFV=Y(J)-Y(JPL)
DTY=Y(JML)-Y(JFL)
UF=2.0#Y(J)*DTY*CFV*D8Y
UA=UF*C1(J)*U1(J)
233
UB1-UELXF»CBY«(Y(J)+Y(JPL))#(EV(J)+ev(JPL))•(U1(JPL)-U1(J))
UB2=CELXF*DFY*(Y<J)»Y(J4L))*(EV(J)+EV(J%L))*(U1(JML)-U1{J))
VVPP-V(JJ
HV =VVFF*(L1 ( J ) - U 1 (JML) )/DU Y
I F < VVPF.LT . 0 . 0 )HV = \/VPP*(U1 (JPL ) - U l ( J ) ) /OF Y
UB3=-UF*CELXF*C1(J)*HV
ue4=UF*01(J)*Ul(J)*UI(J)
UC = -UF
(F(FCCh)30.JS.40
30 UT=LF*CELXF*UGF*Ut(J)
GC TC 45
35 UT=O.C
GC TC 43
40 U T=U F * C E L X F * F C C N V C ( B E T A , U G F . T O , N , J I
45 U2(J)=(U81+UB2*UB24Ly4+LTI/UA-DELPP*UC/UA
U3(J)=L2(J)
I F ( J O I . L E . 1 > G 0 TC 401
I F ( I I . G r . 0 ) G O TO 6 6 8
IF (U2( J).GE.UDELJLJC=J
IF(LJL.GT.0)UUC=L3(LJC)
6 8 0 IF ( L J I . G T . 0 ) G 0 I C 4 0 1
J= N - J J J + 1
JPL =J- 1
JNL=J+1
1 1= 1
GC TC « 2 0
6ee IF(t2(J).GE.UOEL)LJI-J
I F { L J I . G T . 0 J t U I= L 3 ( L j n
401 CCNTINLE
I F ( J O I . L E .I I G O T C 4 3 4
GC TC eol
403 CCNTlNLi
C C-F ECNS
IF<FDV .GT.O.)jai=C
I F ( JGI . G T . l )UPC3=t.'PCI •DELPT/UPCl
I F ( J C I . o T . l )UOEL=C .Ç95#UPC3
LJï=-1
LJG=-1
AAA=CELXF/CELXT
BBE=2.•OELXe/DELXT
DC 405 JJJ=2.NM1
I F ( J C I . L E , 1 )GQ TC 7 11
II= - 1
IF ( L J l . G T . 0 . A N D . L J C . G T . 0 ) G O T O 8 0 9
1F ( L J C . G T . 0 ( G O T O < 8 0
711 J=JJJ
JPL =J+ 1
JUL =J- 1
720 36Y=Y(JML)-Y(J)
O F Y= Y ( J ) - Y ( J P L >
DTY=Y(JML)-Y(JFL)
UF=4.0#V(J)*DTY*DFY*DBY
UA1=LF4C2(J)*U2<J)
UA2=0ELXT*DeY*(Y(J)+Y(JPL))*(EV(J)+EV(JPL))*BBB
UA3=CELXT*CFY*(Y(J)+Y(JML)j*(=V(J)+EV(JML))*8BB
VVPF=V(Jj
UBl=-UF*C2< J)*0ELXT*VVPP*(U2(JPL)-L2(JML J)/DTY
UE2=2.C*DELXT*3EY*(EV(J)+EV{JPL))*(Y(J)+Y(JPL))*(U2(JPL)-AAA*U1(J)
S)
UE3=2.0*UELXT*CFY*(EV{J)+EV[JMLl)*(Y(J)*Y(JML))*(U2(JML)-AAA*U1(J)
234
S)
U e 4= U F » 0 2 ( J ) » U 1 < J ) - * U 2 ( J J
UC=-UF
IF|FCC^)60»e5, 70
6 0 UT=UF*CELXT*UGF*02(J)
GC TC 75
6S UT=0.0
GC TC
70 UT=UF*CELXT*FCCNVC(OETA.UGF,rO,N,J)
75 U3(Jj=(UBl+UB24LE24U84+UTj/(UAl+UA2+UA3)-0ELPT*UC/(UAI+UA2+UA3l
IF(JOI.LE.1)GO TC 405
IF<1I.CT .0)GO TO 7£5
IFCU3<J).GE.UDEL)LJC=J
IF(LJC.liT.O )UUC=L jïLJC)
780 I F ( L J I .GT.O)GO TC 405
J=N-JJJ+1
JPL=J-1
Jiw/.-J+1
11=1
GC 7C 120
765 IF(U3(J».GE.UDELJLJI=J
IF(LJI.GT.O)UUI=L;<LJI)
GC TC 405
405 CCNTIM,E
I F ( J O I . L E .1) G O T C 4 3 4
801 IF(LJI.EQ.L JO)U3(LJI)=(UUI•UU0)/2.
809 JOELI-IJI
JDELC=LJC
JOI-JDELI-JOELC
OELTAI=y(JDELI)-Al
OELTAO-R2-Y(JUELC)
D E L M I N = A M A X 1 O E L T AI. D C L T A O )
I F ( JDI . L E . D G O TC 4 0 7
UU=(ULI+LUC)/2.
L Ï = JDELC +1
L2=JDELI- 1
DC 811 J - L L , L 2
IF(ICCCNT.LT.NSIUS(J)=LPC2
E N U 3 ( J )=L P C 3
IFDCCLNT.NE.NSML )L.PCL =UPC2
IF(ICCTNT.5E.NS)UPC2=UPC3
GC TC 407
434 OC 436 J=2.NM2
K=h-J+1
I F ( J C E L O . L T . O . O ) G C TO 4 3 6
X = L 3 < J ) / L 3 < J +1 )
IF<X.GE..9999)JD£LC=-J
436 IF(JDELI.LT.0.0)GG TO 437
Z=L2(K)/U3(K-L)
I F ( 2 . G E . , 9999)JDEL1=-K
437 1F<(JDELI.LT.O.C).AND.(JDELO.LT.0.0))G0 TC 439
43e CCNTINLc
439 JOELI=IABS(JDELI)
JOELC=lABSiJDELC)
DELTAI =r < JDELI ) - K l
DELTAC=R2-Y(JDELO)
OELNIN=ANIM(DELTAX .OELTAO)
407 CChTINLc
JCI=JDELI-JDELC
RETURN
235
ENC
FUNCTICN FCCNVC(HETA,UCF.1C.N,J»
CCMMCN/MPVX/Ul ( 1 0 1 ) . U ^ ( 1 0 1 ) . U 3 ( 1 0 1 J . V d O l ) , E V ( 1 0 l ) i t K ( ICI) t EVF( 101
* ) ,EVe( 10 1 I ,cKF (lCl).EKt)(101),DU10IJ.02(I01).DJ(101),C(101).NS.
îlCCUNT .DELXF.OELXe .DELXT.DELPP,PDRCP.PC.PF
CCPMCk/AHPACl/Tl(101).T2(101).T3<101),TW2,Twl.J1JEL.TBTH IC.OCR IN,
$DTDYO.CTDYI.TCCNV.XKCCNV.TMEAN.XTMÇAN,GCV,QCD.HAVE2.HAVei
IF(ICCCNT.EC.l »T2<J)=T1(J)
FCCNVC=UGF* (1. -EE 1 /!*( T2( J )*TCCNV-TC) )
RETURN
END
SLEROLTINE HAOVEL
RETURN
ENC
SL.0BCtTJNE V1SC2
IF<H7.LT.2.)GO TO €005
DC elec j=i.N
8160 TA(J)=>L<JJ
eoos CCNTIM.E
JK = - 1
K J =- l
JM=-1
J h= - 1
IF<FCV.GT.0.)JW=1
IF(FDV.GT.O.J JN=1
00 4 10
1 F(KJ.GT.O.AND.JK.CT.0 )Ga TO 4 1 1
IF(KJ.GT.OJGO 7C 401
K = N-J+ 1
R1K=Y(K)-R1
Y1P=R1K*CC1
AF1=AP*(R1/R2)**h4
XL2=VCKC»filK*( 1.-E>Pt-YlP/APl> J
XL(K) = AMI M (XL l . X L Z )
IF(XTRl.CE.C.)CC TC 400
IF(JM.GT.O)GO TC 4 CO
IF(Y1P.LE.5C..ANC.XL2.GT.XL1)GC TO 3 3 3
GC TC 4 0 0
333 XL1 = VDKC*(1.-EXP(-£0./API I)*50./DDI
XL(K)=>L2
Jf-l
XC1=0.C85*DELTAI/H2
40C IF(K.LE.JOELI.OP.XL(KJ.EQ.XLl)KJ=K
401 I F ( J K . 6 T . O ) G O TC 4 1 0
R2J=R2-Y(J)
Y2F=R2J»DD2
XL2 = VDKC » R 2 J * { 1 . 0 - E X P ( - Y 2 P / A P ) )
XL ( J ) = AMI M ( X H 1 . X L 2 )
IF(XTR2.GE.O.)GO TC 4 0 9
IFlJN.GT.O)GC TO 4C9
IF(Y2P.LF.50..AND.XL2.GT.XL11)GO TO 4 3 3
GC TC 40 S
433 X L l l = V C K C + ( 1 . - E X P ( -5 0 . / A P ) ) * 5 0 . / L 0 2
XL(J)=>L2
JN= 1
XC2=0.Ct!S*CELTAC/l-î
409 I F ( J . G E.JOELO.CR .XL ( J ) .EQ.XL 1 1 J JK= J
410 CCNTINLc
411 JK1=JK+1
KJl=KJ-1
DC 418 J=JK1,J0ELC
418 XL(J)->L(JK>
DC 419 J=JOELItKJ1
419 XL( J)-XL(KJ )
XL(1)-C.
XL(N)=0.
IF(JOI .LE. 1)G0 TC 435
JJI-JDELI-l
J JC=JDELC*1
XLM=(XL(JK)•XL(KJ> ) / 2 .
DC 430 J=JJC.JJ1
430 XL(J)=>Ly
436 CONTINUE
DC 431 J=2,NM1
431 P0UT(Jj=C3(J)*XL(Jl*XL(J)*A8S((U3(J+lj-U3(J-l))/DYT(J))
238
PCLl(1)=0.C
P C l i K N )=0 . C
I F (H7.LT.2.)GÛ TC £000
I F (KCI . L E . l ) G 0 TC 3500
XKG=H1*U3(JDELC+1)**Z
3 5 0 0 L J 1=- 1
L JC=- 1
9 A f i =C E L X F / C E L X 1
BE8=2.*0ELXe/0ELXT
NJK1=NJ1-1
NJK2=NJ2+l
OC 405 JJJ=NJK2,NJKl
IFiKCI .LE . 1 )G0 TC 7 1 1
I I =- 1
I F C L J I . G T . O . A N C . L J C . O T ,0) G O T C a O l
1 F(LJO .OT.C)G0 TC 780
711 J=JJJ
JPL=J+1
JKL-J-1
72C DEY=Y{JML)-Y(J)
DFV=Y(J)-Y< JPL)
DTY=Y(JML)-Y(JPL)
EF=4.*Y(J)*CTY*CFY*C8Y
CA1=EF«02(J)*U2(J J
E A Z = D e L X T * C e V * ( Y ( J ) + Y ( JPL) ) * ( P K ( J ) + P K ( J P L ) ) * d 8 B
EA3=0ELXT*CFY*(Y(J J tYi JML))*(PK(J)+PK(JML))»B8B
VVPP=VCJJ
EB1=-EF*C2(J)*CELXT*VVPP*(XKN2(JPL)-XKN2(JML))/DTY
E B 2 = 2 . » D £ L X T * D B Y * ( Y ( J ) • Y i J P L ) ) * ( P K ( J ) +P K ( J P L ) » • ( X K N 2 ( J P L ) - A A A *
IXKM (J))
EB^=2.#0ELXT*3FY*IV(J)+Y(JML))»(PK(J)+PK(JML))*(XKN2<JML)-AAA*
SXKh1(J))
e84-EF»D2(J )*U2(J)»XKN1<J)
XKKK=SCRT((D8Y*XKN2(JPL)+DFY»XKN2(JML))/DTY)
EG=-EF*0ELXF*D2(J)*STLF*XKN1(J>•XKKK/TA(J)
ET=EF*CELXB*C2(J)*ETLF*XKKK/TA(J)
ETl=EF*DELXT*TV(J)*(AeS(U2(JPL)-U2(JML))/DTY)*»2
XKN3(J)=(EB1+EE2+EE3+EB4+EG+ET1)/(EA1+EA2+EA3+ET)
I F(KCI.LE.1)G0 TC 4 0 5
IF<II.CT.O)GG TC 7 £ 5
IF{XKkJ<J) .LE.XKOL JO=J
I F (LJC.GT . 0 )J<KN3( J )=XKG
IF<LJG.GT.C )EEC=XKN3{LJC)
78C IFtLJI.GT . 0 )Ga TC 405
J=NJK2 +hJKl-JJJ
JPL =J- 1
JWL=J+ 1
I I-l
GC TO 720
765 IF(XKN3(J).LE.XKG)LJI=J
IF(LJI .GT .C )XKN3(J)-XKG
IF<LJI .GT . 0 )EPI=XKN3(LJI)
40= CCNTINUE
I F i K O I . L E . 1 )G0 TC 4 0 7
IFCLJJ .EG.LJO)XKN5(LJI)=(EEItEE0)/2.
eOl KCELI-IJI
KDELG=lJO
KCI=KCELI-KDELC
IFCKCI.LE.l)C0 TC 407
L1-KCELO+l
\riiinr = r r Jci oc
r grrj riaj/
ai V1 L M I ) r 0 3/
t or / H 1 9 ( ' 3 z " 1' ) ' i r - A , ) 1 1
n:ri*(i r)a-s -j ) • dr: A
M i^fT't-r t OOi -Tu
I - - 1r r j
I- - arrj
TO]: 3 1 cot • I • i;)•/ H) J I
z**(1+7 tauricr*iH-3%x
• r + i -1 = / H
OOO ni I'M • 0^; I • 1 T •.TT •0:i I • IT ti I A ) H i
zni* < ( ) ncir- )A-? -O .-ICA
uij» r IM - ( I isar)A ) = 11a
Û00'> 11 11! < r* G* 1 "" iicix ) j I
0(M,à .;i 1 L'M •£• "3:>•-?H)j1
0001 :.M CM • 0* i'I* Z'-O M
( r ) 1 A f I / c ( i - f ) . f i - ( I f r ) t f i ) • ( r ) A J - ( r ) tf 1 i
f r )A X t( r )A1 -:((• )A :J
lAH'z^r \ Z'j u c
OfSWt;
( ( I - O f i f ) A - ( r ) A ) « A 1 j 0 + ( t - j n r ) A I ( r ) A 1 (> n o s
iiir*-)3r-r S3]% r.o
((t*inr)A-it-i^r)A)/t(:»THr)\i-( i - i.ii-)AI ) -AJ ui
^iNi i,N/):> I nf,'
7 -r. I ur( c i - r )A 1 • 1 !• tr )^ i )Ji
11 i,o( 0•If lor) Il
IWS5 ;i 1 T'(rt 1>)r*3 T f ) JI
t • r ifir <( I - f )Al • T T( f )A j ) 11
i h,u 11 ;.!')( D • 1 "• J:|r) Il
I KN'7 ; r I HS'j (IC
j f 1110 r - Aoxf
t - -•I Hf
I - - .)i I
«:) 11 oîdiTi-iALin 4 iirn H i j dmohup )
Of>.<ri 01 f1'i(*0-l I* A :i f -'rjv •• .-JM •/-O t !
l 1 Vrt V')« J r ) A I - ( f ) A 1 ,; ?
14 j'i 1 Kir-r :; r." in
. 1 «wv;!»( r )Aj - ( r )A I r c'
iiyc:r*<7-r ICEC i(,
•D f N ) «N l
IF(RT(-P.GE.C.9<i)XrP2=XCISr
IF(XTKZ.GT.C.)FE*TR2=REX
I r( X T R 2 . C T . 0 .) W P I T E ( 6.5 0 ) O X O l 3 T , f i E X l « 2
5 C F C P M A T ( 1 O X ,' T R A N S n I C N A T C U T E R W A L L - ' . 2 L l 5 . b )
RETLP N
END
SUBRGO TINE TRANS2(FEX.RET I .RETOtXDlGT.OXDIST)
COMMCK/TPANS/XTRl ,XTRZ.XTHEl ,XTRF2,REXTR1 ,REXTR2.XLMUA1,XLPDA2
IF(XTPE1.GT.O.)G0 10 10
XTRE l= XTRl + 5.*(XCIET/HEX)*REXTP1**0.8
IC IF(XTRe2.GT.0.IRETLRN
XTRE2=XTR2+S.»(XCIST/REX)*REXTR2»*0.8
RETURN
END
S U B R û t r i N E UMTPANtXDIST.UE.GAPATl ,GAMAT 2.XME1,XME2.DE 1.DE2,
SDC.VC)
CCMMCN/TPANS/XTRl .>TW2,XTREl.XTRE2,fiEXTRl .REXTR2.XLMDA1.XLMDA2
GAMAT1=0.
GAMAT2 =0.
IF(XTRl.EC.O.)GC TC 22
IF<XCI ST.GT.XTfiEl )Ca TC 22
IF(XLHCA1.LT.0.)XLKCA1=(XTRE1-XTR1)"»0.2115
GAMATl=l.-cXP(-0.4 12*((XOIST-XTRl)/XLMDA1 )**2)
22 IF(XTR;.EQ.C.)PETLFN
IF(XCIET.GT.XTPE2)RETURN
IF(XLMCA2.LT.O.)XLfDA2=(XTRt2-XTR2)*0.2115
G A M A T 2 =1 . - E X P ( - 0 . 4 1 2 * ( ( X D I S T - X T R 2 ) / X L M O A 2 ) * » 2 j
RETURN
ENC
S L E R D l j T I N E G M T R A N ( X D I S T.U E.G A M A T 1.C A M A T 2.X M E l . X M E 2 » D E l . D E 2 .
SDC.VC)
C O M M C N / T R A N S / X T R l . X T R 2 , X T R E l . X T R E 2 . R E X T R 1 ,R E X T R 2 . X L M D A 1 . X L M D A 2
GANAT1-0.
I F(XDIST.LE.XTRl)GC TC 10
I F(XLMCAl.LT.O.)XLVCA 1=(XTRE1-XTR1 )*0.211E
G A N A T l = 1 . - E X P ( - 0 . < I 1 2 » ( ( X U I S T - X T R 1 )/ X L M D A 1 J • • 2 )
10 WRITE(€.7)>LMDA1,GAMAT1.XTR1.XTREl
7 F C P M A T(4G13. 5 )
RETURN
END
SUERCUTINS VPRQP
€****#*#«*4*4***********4VARIA8LE PRCPERTIES************************************
COMMCN/VMP/PI ,XMAS Î.DELPT
CCMMGN/T UR8/XL<101).TA(101).TV(101).POUT(101),UST1,UST2.GCCN.DD1.
S0D2,AP ,VCKC.XJIST.CUDYG.OUDYItTAUl ,TAU2
C O M M C N / M T F / X M ( 1 C 1 ), X K ( 1 0 1 ) . H T C
CQNVCN/AHMADI/TI(1C1).T2(101),T3(101».TW2.TW1,JTOEL,TBThIC.OORIN,
S D T O Y O . C T D Y l.T C C N V , > K C C N V . T M E A N . X T M E A N , O C V .C C D . H A V E 2 . H A V E 1
CCKNCN/UPM/FCCN.GC.BET A,UGF,FDV
COfMCN/STUPID/LCPT.NSM1.PSA.PSB»PSC.PSD.XCCNV,S1.S2
C CMWCN/NAILA/ThEPK.CPVAR.DVAR.CVISC.DMEAN .CPMEAN.VMEAN,XKMEAN,
ÎUC.VO.CO.TCïPSTAPt.HTK.CPCCN
C C N K C N / H h - H H / H , t - 2 . H 3 ,H 4, H 5,H 6.H 7 ,H 8.H 9.H 1 0
COMMCN/LATE/M.MH.N,NM1.NM2,NY.R1.R2.DYB( 101).DYF(101J.DYT(101).
$ Y ( 1 0 1 ) , Y F ( 1 0 1 ). Y E d O D . R d O l )
C CMMCN/MPVX/Ul(101),U2(101).U3(101).V(101).EV(101).EK(101).EVF( 101
* » . E V e ( 1 0 1 ). E K F ( 1 0 1 ) , E K 8 ( 1 0 1 ) . D l ( 1 0 l ) , D 2 < 1 0 1 ) .0 3( 1 0 1 ) . C d O n . N S ,
S I C C U N T , 0 £ L X F . D E L X f c , D E L X T.D E L P P.P O R C F ,P C ,P P
CCMMCN/XBIRTH/PRc AC,PWRITE.STLF,XC1,XC2.OELl,0EL2.UE,CHECK.RED
IJ=N-JTDEL+1
242
I F ( 0 U 6 I N . L Î . 0 . » IJ = J T D E L
IF(CV1SC.LT.O.>GC TO 51
VMEAh=VlSC(TMEAh.TCCNV.TO.VO)*VC
DO 1 J=1.N
IF(COP IN.NE.0..ANC.J.GT.IJ)G0 TO 51
K- S-J-» 1
IF(GOKIN.LF.O.)K=J
1 X V ( K ) = \ I S C t T 3 ( K ),I C C N V . T O . V U J
51 IF(THEfiK.LT.O.)GC TO 101
X K M E A K = T H C N L ( T M E A N.T C C N \ / , T C t X K C L N V )• X K C C N V
DC 55 J=ltN
I F i C G f i l N . N E . O .. A N C . J . G T . I J I G C T C 1 0 1
K-^-J+ 1
I F ( C O R I N . L E . 0 . ) K =J
55 XK(K)=THChL(T3(Kj,TCONV.TC.XKCCNV)
101 IF(CVAP.LT.0.)GC IC 201
DMEAr=PHC(TMEAk.TCChV.TC,CC)*DC
DO 110 J=1,N
IF(CCfiIN,NE.O..ANC.J.GT.IJ )GC TO 201
K=N-J+1
IF(COP IN.LE.O. )K = J
1 1 0 D 3 ( K )=FHC(T2(K).TCCNV,ru. DO)
2 0 1 I F( C P V A R . L T . O t ) G G I C 3 0 1
CPMEAN=CPCTMEAh,TCCNV,TO,CFCCN)*CPCCN
DC 251 J=ltN
IF(OOP IN.NE.0..ANC.J.CT.IJ)ÔC TC 301
K = N-J+ 1
IF(CORIN.LE.O.)K=J
251 C(K)-CP(T3(K),TCChV.TO.CPCCN)
301 CCNTINLE
IF(FCCN.NE.O.)BETA-FBETA(TMEAN.TCONV,TC)
pp= VMF />N*CFMEAN/ XKfEAN
RE0=2.•XMASS*VC/(F I•(R1+R2i*VMEAN)
IF(LCRT.LT.O)JC TC 501
EV(1)=XM(1)
EV(N)=XM|NJ
EK{1> = >K(U
E K < N )= X K ( M
GC TC Î02
501 CCMINUE
DC 4SS J=1,N
I F ( C J C R I N , N £ . 0 .. A N C . J . G T . 1 J ) G 0 T O 5 0 2
K=t-J+1
1F(CCPIN.LE.O.)K=J
=V(K)=XM(K)
499 EK(K)=XK(K)
eoz C C h T I N L E
RETURN
ENC
SUBFCLTINE TEMP
FOR GASES ************************************
C C M M C N / X K E N / X K N l ( I C I ) . X K N 2 ( 1 0 1 i . X K N 3 ( 1 0 i ). P K ( 1 0 1 ) . K O I . N J l f N J 2 . X D H
CCMMCN/HHHH/Hl,F2.H3.H4.H5.H6 tH7.H8.H9.H10
C C M M C N / X e i f i T H / P R E A C . P W R I T E . S T L F , X C 1 -, X C 2 . D E L 1 ,D E L 2.U E t C H E C K . R E D
COKMCN/XNEh/TAlP.TA2P.hAVE1P.HAVE2F.T3PL1.T3PL2
CCVVCN/PRCBE/PIA.FIE.PTC.PTD
COMMON/LATE/M.MW.h.NMl.NM2.NY«R1,R2,DVB(101)fOYF( 101 »,OYT( 101),
£Y(101).YF(101).VE(101).R(101)
CCMWCN/MFVX/Ul(101).U2(101),U3(101).V(101),EV(101).EK(101).EVF(101
*).EVB( 10 1 ).EKF <101).EKB{101>.01(101).02(10U.03(101)«C(101).NS,
243
722 OFV=Y(J)-Y(JPL>
D B V - Y ( JMLJ - Y ( J)
OTY=Y(JML)-Y(JPL)
TF = 2.0 4Y(J)*JFY*CE\*DTY
T A = TF*C1(JJ*U1 ( J ) * C < J )
TQ1=0ELXF» D 8 Y *(Y(J)+Y(JPLI)*IEK(J)+EK(JPL))*(TL(JPLF-TL(
IJ ))
TE2=DELXF* DFY •( Y( J )«• Y(J M L)J « < EK < J )+ EK(JML )) • ( T 1( J ML )- T 1 (
$ J )J
VVFP=V(J)
T E 3 = T F » Û E L X F » D Î(J ) * V V P P * C ( J ) • ( T 1 ( J ^ L > - T 1( J ) ) / D B Y
TS« = TA*T1{J )
TC1=-TF*U1(J)*CELPF
TCZ=TF#DELXF*EV(J)4(AES((UL(J)-UL(JML))/ÙBY))**2
T2(J)=(T0I+TB2+7B3<TD4TTCL+TC2)/TA
T3(JJ=T2(J>
IFICCPIN.EC.O .JGC T O 5 0 5
I F ( J . Ë C . 2 . C F .J . E C . ) G ( J T a 5 0 5
X=12(J)/T2(JML )
IF(X.GE.0.9Ç999JGC T C 5 7 4
5 0 5 CCNTINLE
GC TC 784
550 CCHTINLE
C-F ÇCNS
CËE=2.•DELXE/DELXT
m no u \ (.n ^ If tn
ru U «A 00 O Sj s mo S s
mo o tn •£> ro O
H H M O •-• H O ^ n H W o L. H L o H M o &. H c. o H c A X W *
U (>J T1 H -n fo n n n ij n (j "n L
*-•
*îi •"< H -4 -< H < t -4 1 H a O O t. e <_ . c. ^ O
n^ n ro •n -4 n Œ H n II -n •n W A A fD CD «r -4 CD -4 CE -4 m -n "% "0 j n T) n
w < -4 (_ nn 7
•*
il M n -4 n % •n ^ tu •n
n o y *. w M Hi* n n ^ A tn .4
(_ T a m -4 T m H X
n r n r- -t L. L. il II tl tiiil Tî fU
II II
il < ^ < r r
^ Il ti li il II
rrr
Il il i ru,
Il II n II M ti 17 O n tn O A 71 II m n w M i O II Dw C- O • < <-<(_(_ c L. l_ n c
r H. -j (_ A II Z A C- H m A Il "n •4 > m < w m m o^ — ^ I + + I L. 71 O
UJ C O ZKC. c> u ro m n c
z c_ m II «_ m
r z < y t
fi
m \
m (- T m. « T! f-
-4 O • * X C. «- r
X t»» X
r ^ C.
—4 •4 rv} •«44 ^ ^ il
O • * •> «_ C_ C- fu V H II 1
ru e. n 33
ru A (uH A ro 7 IT m r -4 -4 S * -* -4 «-» r" z ^
r I
w. r
\A A n m + X ro O
^
fn X * * > * * * ^ t- ^ ^ K r L.
y r -4 M 1 I I ^ m II
nmn H c O % lA (_ ni n A H H C. C ru »<<C • ru
* n 2 L (_ mo «n 2 œ# <
O
-n c ^
z z H z r r o c O ru m * (_ L. ^ o•
(/) < O U) n m N» o
(_ cr •z
w Vn z m 1 « • a + < n w "Tî w w w X
r H a m —I '•» m # •f •f «• r c\ •-
^ m «4 Tl A r> C i m L. r c -< -< o
^% m M n
!«•
n A i.i *n <r
A T) * 4^ w Tl C_
G C- "4 H ru % H H •0 2 V A*
il s- S II O O 1 O Œ > «• P r ^O
H *o M •>J 33 m A
ro 7XZ tJl O CJI + (n
a n n (r N Ao aH C « # o
n \ \ o A ^
ru M 1 C H ^ C m m
^m a n A n a * ru M
«•
z u n m
* < z z -4 en U C
T) * < < O 0»
#
l/) o 4-
n m U1 ro m m
I m CT» z;
2 O c
c c
r s T)
r r
« HZ 1
V >r -4
c/) ru ro « * « *
o + ^ oo
w\ L_ •n ra
\ > O T3 n < <
•D CiJ
w < -4 r o Q * *
(/} •n < mœ
> -< a: CD
N CD 00
a
245
0TDYI=(T2(S%1)-T3fh))/0Y8(N)
H AVE1=--EK( N )*XKCLhV*OTDYl/(XCCNV*( T 3 ( N ) - TME AN ) J
HAVElS=HAVE1
I F(STLF.LT.0.)HAVE1=HAVE1P
IF(STLF.LT.O.)hAVElP=HAVElS
I F(HAVE1 .LT.O.O)t-AVEl-C.O
902 CCNTÏNtE
aWZ=(HAVE2+HAVE22)*(T3(l)+Tl(l)-TMfcAN-TMEAM)*R2
O h l = ( H A V E l + F A V E l 1 J• ( 7 3( N ) T 1 ( N ) - TM E A N - I M E AN 1 ) * R 1
a C V ={ C C - C I ) *XKCCtV*XCCNV*TCCNV
OCO=PI*D£LXF*(Ckl+CW2)*TC0NV*XCCNV*XCONV/2.0
IF(JCCCNT.EC.l)CCV=QCC
SQCV=SCCV+CCV
SGCO=SCCC+CCD
HAVEll-HAVEl
HAVEZ2-HAVE2
QI-CC
TNEAM =TME AN
RETURN
END
FUNCTICN FEETA(TT,TCCNV.TO)
C BETAFCR AIR
C UNITS 1/F
FBETA-1./(TT*TCCNV J
RETURN
END
FUNCTICN THCNL(IT.TCCKV.TO.XKCCNV)
C** THERMAL CONCliCT1 V I T Y FCR AIR
C UNIT<=CIPENSICNLESS
DATA Z 1 . 2 2 . Z 3 / 1 . e 2 « 18E-03.245 . 4 , 1 2 . /
T-TT+TCCNV/1.8
T H C N L = 2 1 * S G R T t T ) / ( ( 1 . + 2 2 » 1 0.• » ( - 2 3 / T ) / T ) » 3 6 0 0 .•XK.CCNV )
RETURN
END
FUNCTICN RHC(TT.TCCNV,TC,DC)
C ** DENSITY CF AIR
C UNITS=DIPENSICNLESS
RHC= lC/< TT^TCCNVi
RETURN
END
FUNCTICN VISC(TT . TCCNV , T 0 . v a )
C *#** VISCOSITY OF AIR
C L M T £= DIMEN3ICNLESS
JATA 21.Z2/0.97Ge5E-06,110.4/
T =TT*TCCNV/1.8
V ISC=Zl^SQRTtT)/<( 1 .+Z2/T)»VC)
RETURN
ENC
FUNCTICN CP(TT .TCCNV,TG.CPCCN)
C * * * * * SPECIFIC HEAT CF AIR
C UNIT£=OIMENSICNLESS
DATA 2 1 / 0 . 0 5 /
CP=<TT*TCCNV/TCi**il
RETURN
END
SUEPCUTINE TEMF
C*4****«*«4«4****4*******TEMP FOR ETHYLENE GLYCOL******************************
C C M M C N / X K E N / X K M ( I C I ) . X K N 2 ( I 0 1 ) . X K N 3 ( 1 0 1 ) .P K ( 1 0 1 > .KO I , N J 1 . N J 2 . X D H
CCMMCN/HHHH/F1.F £.H3.H4.H5.H6«H7.H8,H9.H10
CCMMCN/XeiRTH/PREAC.PWRITE.STLF,XCl.XC2.DEL!,DEL2,UE,CHECK,RED
247
IF(X.GE.O.SS99Ç)Gt TO 5/4
505 CCNTlNtE
GC fC 784
£50 CtNTINUE
C C-F ECNS
806=2.4 0 E L X e /DELXT
A / l A = 2 .• D E L X F / D E L X V
DC 560 JJJ=2.NMl
IF(CORIN.LE.O.)GC TC 740
J=N-JJ J+1
JFL=J-1
JPL=J+1
GO TO 74 2
740 J=JJJ
JPL=J+ 1
JNL=J-1
742 DFy=V(J»-V(JPL J
ÛBV=V{JML)-Y(J)
OTV=Y(JML)-Y(JPL)
TF =4.04Y(J)»DF Y*Cet*DTY
TA1=TF*02(J)*U2(J)*C(J)
TA2=CELXT*(Y(J)tV(JPL))*(ZK<J)+EK(JFL))*DEY#B88
TA3-DELXT*(Y(JjfY(JML))*(EK(J)+EK(J%L))*DFY*BeB
I B 1 = 0 E L X T » ( Y ( J )+ y ( J P L ) ) « ( G K ( J ) + E K ( J P L ) ) • DBY •(2.0»T2(JPL)
* - T l( J ) X A A A )
TB2=DELXT*(Y(J)+Y(JML))*(EK(J)+EK(JNL))* OFY *(2.0*T2(JML)
S-T 1<J)*A4A)
VVPP=V<J)
T E 2 = 0 E L X T * D 2 ( J ) * k V F P * C t J ) * T F * l T 2 ( J ^ L > - T 2 l J P L )) / D T Y
TB4=TA1*T1(J)
T C 1 =0 .
TC2=TF#DELXT*EV(J)*(A8S((U2(JPL)-U2(JML))/DTY))**2
T i ( J ) = ( T E 1 * T B 2 + T 8 3 4 T 8 4 + T C 1 + T C 2 ) / ( T A 1 + T A 2+ T A 3 )
IF(CCP1N.EG.O.)GC TC 500
IF(J.EC.2.CP.J.EC.tMi)GG TC 560
I F ( T E T H I C . G E . O . 8 * ( I V 2 - R 1 )) G C T O 5 6 0
X=13(J )/T3(JNLJ
IF(X.GE.ABS(VJS))CC TC 574
56 C CCNTINLE
784 JTDEL=J
TEThiC =(B2-A1)
GC TC 595
574 JTCEL=J
IF(COK IN.LT.0.0)GC TO 760
TETHIC = y( JIDED-fil
JJ-JTCEL-1
DC 575 J=2.JJ
IF( IC0CNT.LT.NS)T2(J)=TC/rCCNV
5 7 5 T 3 (J ) = T C / T C C N V
GC TC 59Ç
760 JTCEL-J
TETHIC=R2-Y(JTCEL)
JJ=JTDEL+1
DC 580 J=JJ .NM1
IF(ICCLNT.LT.NS)T2(J)=TC/TCONV
5eC T3CJ)=TC/TCCNV
599 CCNTINLE
IF!ICCLNT.EC.NSMl)CC TO 838
DO 630 J=2.NM1
T1<J)=T2<J)
249
FNC
FUNCTICN KHC (TT ,TCCNV,TO.DO)
DENSITY AS A FUNCTICN CF TEMPERATURE ( F ) FCR ETHELENE GLYCOL
LMTS = DIMENSICNLESS
D A T A X 1 . X 2 . X 3 , X 4 / C . 9 2 4 8 4 C 3 , 6 . 2 7 9 6 E - 0 4 , 9. 2 4 4 4 E - 0 7 , 3 . 0 5 7 E - 0 9 /
rC=(TT<TCCNV-492.)/l.e
DT - TC-65.Q
VOL =(CX4*CT+X3)•CT+X2i»DT+X1
RHC = 6Z.4j/(VOL*CC)
REÏCF.N
END
FUNCTICN Vise (TT,ICCNV.TC.VO)
V I S C O S I T Y AS A F U N C T I C N CF TEMPERATURE ( F ) FOR
ETI-ELENE CLVCCL
LNITS = DIMENSICNLESS
DATA X 1 » X 2 , X 3 . X 4 . X E / 3 . 8 0 6 6 6 . - 1 . 7 90 08 6 , 0 . 3 9 5 9 1 2 . - 0 . 0 5 87 8 . 0 . 0 0 4 1 7 3 /
1. T O . D T / 4 0 c C. 6 0 . 0 /
TI-ETA= (T T*TCCNV-46C .-TC >/DT
V i s e .= 2 . 4 2 * E X P ( ( ( ( X 5 * T H E T A + X 4 ) * T h E T A + X 3 ) * T H E T A + X 2 ) * T H E T A + X l j /
3(VC43eC0.)
RSTLRN
END
FUNCTICN CP(TT.TCCNV.TC,CPCCN)
SPECIFIC HEAT AS A FUNCTION OF TEMPERATURE(F) FOR FLUID
ETHYLENE GLYCOL
LNITS = DIMENSICNLESS
ET4-(TI*ICCNV-520.j/eo.
CP=(0.653+0,0415C*ETA+0.0035*ETA*ETA)/CPCCN
RETURN
END
252
i % ^ f i '
X u CrXlO^ 46* 46
''h % ''h
19.0 1.164 4.018 0.1411 0.1056
^ St X 10^
h Model A Model B
^ St X 10^
h Model A Model B
r-ri r-ri
Temperature (°C) Temperature (•
^2-^1 ^2"^1
0.0 40.73 -1
0.4683 X 10' 40.90
r-r. r-r.
Temperature (°C) Temperature (°C)
^2~^1 ^2^^1
1.000 96.40
258
u^ = 21,22 m/sec
I2i- u_ ^
^2"^l "b ^2"^1 \
r-r. r-rv
u
u.
^2 "2-^1
- " ^1 u f^^l u
^2~^1 "b ^2 ^1 "b
0.9972 0.4442
261
X, Cf*=b
24
24 24