O Bus Kovic Nevenka 1989
O Bus Kovic Nevenka 1989
O Bus Kovic Nevenka 1989
Vertical Tube
Abstract approved:
Redacted for privacy
Dr:James G: Knudsen
the heat transfer coefficient was measured for a single vertical tube
particles as they flowed past the heated wall. The particle separation
from the wall could not be determined. There was little interchange of
the wall particles with the particles in the bulk beyond the wall
between the wall and the flowing bed of solid particles. This method
the wall was used in the numerical solution. This separation cannot be
predicted a priori so that the numerical method is, therefore, not
At short contact times, the data do not agree with the Mickley and
at which the data depart from the Mickley and Fairbanks solution may
data of the present work and for data of other researchers who used
tcr
0.3622 + 9.691 L.
dpps
by
Nevenka S. Obutkovid
A THESIS
submitted to
in partial fulfilment of
the requirements for the
degree of
Doctor of Philosophy
chairmen Dr. Charles Wicks and Dr. Robert Mrazek and Dr.
this research.
dear friend Hubert called Mici for all the lengthy hours
ke effective thermal
conductivity of solids-gas
emulsion. W/mK
Cpsdppplis
Ped = Peclet number based on
kg particle diameter (dp).
CpsDpbUs
Pep = Peclet number based on
kg heated rod diameter (D).
rp particle radius.
GREEK SYMBOLS
oe effective thermal
diffusivity (emulsion). m2/s
as effective thermal
diffusivity (solids). m2/s
accomodation coefficient.
A mean free path of gas
particle.
I. INTRODUCTION 1
III.A. Solids 8
V. MODEL ASSUMPTIONS 37
V.E. Summary 54
VII. CONCLUSIONS 77
BIBLIOGRAPHY 80
APPENDICES
Figure Page
Table 2s19.2.
I. INTRODUCTION
hi
at
included.
surface.
increased porosity.
empirical correlation:
0.3 dp 0.33
Nud = 2.37 Ped(3-25
Lc
g
III.A. Solids
revealed the glass beads had the most smooth and regular
shape distribution. In contrast, the iron solids have a
9
Solids Thermal
Conductivity, ks = 0.8 384 W/mK
Solids Heat
Capacity, Cps = 380 1080 J/kgK
Linear Solids
Velocity, Us = 0.004 0.3 m/s
Table (III.A.2). Properties of Solids.
Sand 0.11 0.80 2700 780 0.488 1280 0.14 14.0 0.38
Sand 0.80 0.80 2700 780 0.436 1410 0.17 15.5 0.38
Sand 1.2 0.80 2700 780 0.424 1440 0.18 16.2 0.38
Glass 0.044 1.04 2500 1080 0.426 1435 0.26 16.6 0.53
Glass 0.18 1.04 2500 1080 0.400 1500 0.28 17.3 0.53
Glass 0.80 1.04 2500 1080 0.400 1500 0.29 17.7 0.53
Copper 0.21 384 8950 383 0.419 5200 0.46 22.4 11000
11
d
P
= (III.A.1)
Xi
L dpi
where
T-type thermocouple
/1.1114111.11111.111MI.
moo. ----111111ftum
/,--"Iiii1111111111=0.
power cord
cartridge heater(0 1524m long)
deviation.
solids flow about the rod length and its height could be
HOPPER
FUNNEL
POSITIONING SCREWS
CARTRIDGE HEATER
(0 1524 m long)
POSITIONING SCREWS
INVERTED FUNNEL
(solids flow conrtoller)
THERMOCOUPLE CONECTORS
POWER CORD
outlet size limited the rate of mass flow into the test
Measurement Equipment
section of both this tube and the test section wall was
high speed 16mm film, Kodak RAR 2484, developed for 8min
run. When imaged with a Sopelem macro zoom lens set for
CROSS SECTION
FOCUSING WALL
camera view
........
might have.
Arod(Tw Ts)
where
plug flow.
also included.
(NJ
400
300 A
_c
200
100
0
0.000 0.100 0.200 0.300 0.400
Velocity (m/s)
Figure (IV.A.1). Comparison between heat transfer coefficients as a function
of the linear solids velocity for 0.18mm and 0.8mm diameter U,
glass beads.
1000
S
flp
.
.11)N
sand dp=0.8mm
100 0 sand dp=0.11mm
50
0.100 1.000 10.000
Time (s)
Figure (IV.A.3). Comparison between heat transfer coefficients as a function
of the contact time with the heated surface for 0.11mm and
0.8mm diameter sand.
1000
S A
4
011)
6,0
heater length L=0.1524m
o glass dp=0.044mm
glass dp=0.18mm
100 6, glass dp =0.8mm
A copper dp=-0.21mm
50
0.010 0.100 1.000 10.000
Time (s)
Figure (IV.A.4). Comparison between heat transfer coefficient as a function
of contact time with the heated surface for 0.044mm,
0.18mm, 0.8mm glass beads and copper of 0.21mm in diameter.
29
Other Researchers
200
100
0
0.000 0.100 0.200 0.300 0.400
Velocity (m/s)
Figure (1V.8.2). Comparison between heat transfer coefficients as a function
of the linear solids velocity for horizontal finned (11)
and vertical tube for 0.11mm and 0.8mm diameter sand.
A
141
E
data for sand: Do
S
A 0.11mm present study vert.tube
100 0 0.8 mm present study vert.tube
0.8mm Colakyan (10) horizontal tube
A 0.27mm Colakyan (10) horizontal tube
50
0.100 1.000 10.000
Time (s)
Figure (1V.13.3). Comparison between heat transfer coefficients as a function
of contact time for Colakyan's (10) data and the present
study for 0.11m, 0.27mm, and 0.8mm diameter sand.
o sand dp=0.11mm horiz. finned tube
1000 sand dp=0.8 mm horiz. finned tube
A sand dp=0.11mm vertic. bare tube
A sand dp =0.8 mm vertic. bare tube
100
50
0.100 1.000 10.000 100.000
Time (s)
Figure (IV.8.4). Comparison between heat transfer coefficients as a function
of contact time for the author's (11) data and the present
study for 0.11mm and 0.8mm diameter sand.
34
configurations.
shown, they all follow the same line till they level
1
417
E
100 7 A 0.8mm glass present study
6e5
0.18mm glass present study
P!!t
o 0.044mm glass present study
Etpc,
o .5.7 mm sand Ernst (9)
.3.5 mm sand Ernst (9)
O .1.2 mm sand Ernst (9)
10
0.010 0.100 1.000 10.000 100.000
Time (s)
Figure (IV.B.5). Comparison between heat transfer coefficients as a function
of contact time with the heated surface for Ernst's (9),
Wunschmann's (12), and the present data.
1000
4t
present study:
E
100 0-0.044mm glass
0.18mm glass
0.8mm glass
6,
V. MODEL ASSUMPTIONS
different for solid and gas phases but for long bed
among too few particles from the heated surface for the
100r
10
A A A AA A A A A AAA
1 10 100
Time (s)
Figure (V.A.1). Comparison between heat transfer coefficients as a function
of contact time with the heated surface for glass in air
and vacuum conditions (reproduced from Wunschmann (12)).
40
kg
kgs = (V.B.1)
A (2 /)
1 2
a 1
where
continuum (W/mK).
/ = accommodation coefficient.
and acts more like part of the solid, and the bulk gas
same time the roughness peaks are lower than for large
appeared even for very low solid velocities but its size
was set to image particles within the bed more than lmm
away from the wall. In each of these films the
rod wall with flow velocity was performed using the high
x 0.378
(V.D.2.1)
1 co 0.7d P
0.7d
P.
x(2(s/r)-(s/r)2)
E(s) = 1 (V.D.2.2)
n tan(w/n)
where
2w
E = 1
3n tan(r /n)
V.E. Summary
solids:
bed.
E
0 .044 mm glass present study
100 .180 mm glass present study
A 0 .8 m m glass present study
1.0mm glass Wunschmann (12)
3.1 mm glass Wunschmann (12)
.5.7 mrn sand Ernst (9)
- .3.5 mm sand Ernst (9)
O .1.2 mm sand Ernst (9)
10 1 1111111 I 1 1111+11 I I I I 11}1-1 1 1 1 111111 1 1 1 111111 1 I 1
approximately by
kg w
h
r I 6+2 6
Arctan [i
6 2
1
where
glass dp=0.8mm
\
1 00 1 1 i I I I I il 1-4-1-4---1-1--44- 1 1-4- I , 1 1 1 1 I I I 1 1 1 1 1
N A
E
I'
glass dp=0.18mm
E
M&F(1) model
3mic. gap
21mic. gap
25mic. gap
100 I 1 I 1 1 I 1 I
may be predicted.
arrangement.
44.
tcr
0.3622 + 9.691 L (VI.C.1)
d pp s
where
V.C.1.
keCpspb
hmax = 2]
Irtcr
70
tmax
0.29087 + 0.0492 ln(L) (VI.C.2)
dp p s
(-N
0
0
Tmax
A
N .
E
E
AA
E E
_c co E
glass dp=0.18mm ,--- co
100 A glass dp=0.8mm 0
L.
L_
0
L_
AA
0 0
50 I I limo I I 1 1 I 1 I I
O
1000 V
V
411%
VII. CONCLUSIONS
also be explained.
showed a steady width gas gap of 21Am for 0.8mm and 15Am
experimental data.
tcr
0.3622 + 9.691 L (VI.C.1)
dp p s
BIBLIOGRAPHY
Appendix A
4kV e-au du
q"/V we have
2,
4k 0 e-r^ iva dz
h(t) = (A.1)
ax2 Jo z(J02(z) y02(z))
where
= at/a2.
r 2
4k 0 (1 e-"a z) dz
h(t)
aFoar2 1 0 z3(J02(z) + Y02(z))
(3).
ke 1 E
(A.2)
kg kg
+
ks
where
E = porosity of bed.
0 = 0.2 e2.
86
References
61 229 (1942).
GAUSST.FOR
Print file "gausst.for" 88
PROGRAM HPLOT
C CONSTRUCTS A PLOT OF AVERAGE HEAT TRANSFER COEFFICIENT VS TIME BY M&F AND
C CYLINDER MODELS
REAL KE,KS,KG
CHARACTER TITL*75,FNAME*30
COMMON FDA
C ROD RADIUS, A (m)
C AVERAGE GAS TEMPERATURE, TGAVE (C)
DATA A,TGAVE /.00635,40./
PI=ACOS(-1.)
C
PRINT *,'Enter property file name'
READ(5,'(A)')FNAME
C
C READ MATERIAL PROPERTIES
OPEN(7,FILE=FNAME)
READ(7,,(A),) TITL
READ(7,*) ROS,ROE,DP,KS,CP
CLOSE(7)
C
C CALCULATE EFFECTIVE ALFA & K
EPS=1.-ROE/ROS
PHI=0.197*EPS**1.904
CPRL=CP*ROE/PI
KG=(TGAVE+273.)*.0000741+.004038
KE=KG*(1.-EPS)/(KG/KS+PHI)
ALFA= KE /(CP *ROE)
C
C WRITE TIME, AVE CYLINDER H, M&F H TO FILE GAUSS.OUT
WRITE(6,15)
OPEN(8,FILE=1GAUSS.OUT')
DO 10 1=1,55
IF(I.LT.10) T=.001*I
IF(I.GE.10.AND.I.LT.20) T=.01+7
IF(I.GE.20.AND.I.LT.30) T=.144
IF(I.GE.30.AND.I.LT.40) T =1 +T
IF(I.GE.40.AND.I.LT.50) T=10+7
IF(I.GE.50) T=100+T
FOA=ALFA/A**2*T
HCYL=(4*KE)/(FOA*A*P1**2)*GAUSS(0.,1E-3,15,1E-4)
HMF =2*SORT(KE*CPRL/T)
WRITE( *,20)T,HCYL,HMF
10 WRITE(8,20)T,HCYL,HMF
15 FORMAT(/' t Hcyl-ave Hmf-ave')
20 FORMAT(3F10.3)
200 END
C
FUNCTION GAUSS(A1,B1,M,EPS)
C CALCULATES INTEGRAL OF INTEGRAND FUNCTN FROM LIMITS Al TO INFINITY
C WITHIN ERROR EPS BY ITERATED M POINT GAUSSIAN INTEGRATION
C B1 IS A SEED VALUE FOR INITIAL INTEGRAL
C
C REFERENCE:
C
C CARNAHAN, BRICE, H. A. LUTHER, AND,JAMES O. WILKES. *APPLIED NUMERICAL
C METHODS*, JOHN WILEY & SONS, 1969, 101-105.
C
EXTERNAL FUNCTN
DIMENSION NPOINT(7),KEY(8),Z(24),WGHT(24)
DATA NPOINT/2,3,4,5,6,10,15/
DATA KEY/1,2,4,6,9,12,17,25/
DATA Z /0.577350269,0.0 ,0.774596669,
1 0.339981044,0.861136312,0.0 ,0.538469310,
2 0.906179846,0.238619186,0.661209387,0.932469514,
3 0.148874339,0.433395394,0.679409568,0.865063367,
89
4 0.973906529,0.0 ,0.201194094,0.394151347,
5 0.570972173,0.724417731,0.848206583,0.937273392,
6 0.987992518 /
DATA WGHT / 1.0 ,0.888888889,0.555555556,
1 0.652145155,0.347854845,0.568888889,0.478628671,
2 0.236926885,0.467913935,0.360761573,0.171324493,
3 0.295524225,0.269266719,0.219086363,0.149451349,
4 0.066671344,0.202578242,0.198431485,0.186161000,
5 0.166269206,0.139570678,0.107159221,0.070366047,
6 0.030753242 /
B=B1
A=A1
DO 1 1=1,7
1 IF(M.EQ.NPOINT(I))GOTO 2
GAUSS=0.
WRITE(*,7)M
7 FORMAT('ERROR GAUSS: M IS 2,3,4,5,6,10, OR 15 NOT ',I3)
RETURN
2 N=0
SUM1=0.
3 SUM=0.
JF=KEY(I)
JL=KEY(1+1)-1
C=(B-A)/2.
D =(B +A) /2.
DO 6 J=JF,JL
IF(Z(J).E0.0)SUM=SUM+WGHT(J)*FUNCTN(D)
6 IF(Z(J).NE.0)SUM=SUM+WGHT(J)*(FUNCTN(Z(J)*C+1))+FUNCTN(-2(J)*C+D))
SUM=C*SUM
SUM1=SUM1+SUM
1F(SUM/SUM1.LT.EPS)GOTO 9
C=B
N=N+1
841*(1+SUM1/(4*N*SUM))
A=C
GOTO 3
9 GAUSS=SUM1
RETURN
END
C
FUNCTION FUNCTN(U)
C INTEGRAND FUNCTION TO BE USED BY GAUSS FOR AVERAGE H
COMMON FOA
REAL JO,J1
FUNCTN=( 1-EXP(-FOA*U**2))/(U**3*(J0(U)**2+Y0(U)**2))
RETURN
END
C
C POLYNOMIAL APPROXIMATIONS TO JO & YO BESSEL FUNCTIONS
C
C REFERENCE:
C
C ABRAMOWITZ, M. AND I. E. STEGAN, ED., *HANDBOOK OF MATHMATICAL FUNCTIONS*,
C US DEPT. OF COMMERCE, AMS 55, 1970, 369-370.
C
REAL FUNCTION J0(X)
1F(X.LE.3.0.AND.X.GE.-3.0) THEN
B=(X/3)**2
J0=1-2.24999970*B +1.2656208*B**2-.3163866*B**3+.04444790*B**4
& -.003944400*B**5+.00021000*B**6
ELSE1F(X.GE.3.0) THEN
JO=FO(X)*COS(PHIO(X))/SQRT(X)
ELSE
WRITE(*,*) 'ILLEGAL ARGUMENT CALL TO JO:',X
ENDIF
90
RETURN
END
C
FUNCTION YO(X)
REAL JO
IF(X.GT.O..AND.X.LE.3.0) THEN
B=(X/3)**2
YO=ALOG(X/2)/ACOS(0.)*J0(X)+.36746691
& +.605593660*B -.74350384*B**2+.25300117*8**3-.04261214*B**4
& +.004279160*8**5-.00024846*B**6
ELSEIF(X.GE.3.0) THEN
YO=F0(X)*SIN(PHIO(X))/SORT(X)
ELSE
WRITE(*,*) 'ILLEGAL ARGUMENT CALL TO YO:',X
ENDIF
RETURN
END
C
FUNCTION FO(X)
B=3/X
FO= .797884560 -.00000077*B -.00552740*B**2-.00009512*11**3
& +.001372370*13**4-.00072805*B**5+.00014476*8**6
RETURN
END
C
FUNCTION PHIO(X)
B=3/X
PHIO=X-.78539816 -.04166397*8 -.00003954*B**2+.00262573*B**3
& -.000541250*8**4-.00029333*B**5+.00013558*8**6
RETURN
END
91
Appendix B
Semi-infinite Slab
aT -V c o - ln 2 alt)
/(]
[ 1 + 22 e-(nL)
8x x=-L 'wait n=1 a + 1
1(1 co
2
h(x,t) 1 + 22 cn e-n /Fol. (B.1)
'wait n=1
where
a 11
c
la + 1 j
simplified since
co
2 cn e-n2/F0L 0
n=1 small FoL
c/(1-c)
large FoL
92
T(x,0) = 0
Region Region T( L,t)= V
1 2
x L 0 co >
Then
k1
h = h1
/wait small FoL
k2
h = h2
iwa2t large FoL
h = k1 /L.
significant.
94
References
Appendix C
1(1 m 2
1+22 cn en (6+1-cos8) 2 /Fo r cos8d8 (C.1)
/wait n=1 0
Appendix B.
Gas Particle
much less than that of the solid and the gas thermal
Assume c = 1 then
0 72 2 2
h/hi = 1+22 e-n (6+1-cosi?) /Fo r cos0d0
n=1 0
say
Then
2; If/:-n2(6+1-cos0)2/For cosOd8 =
n=1 10
2
112 %-n2(6+1-cosO)2/Fordn cos0d8 =
0 0
w/2 I iFor
2 l'e-k2 dk 1 /2J =
0 16+1-cos8 0 J
cos0d0
iwFor - 1
0 6+1-cos0
And finally
6+2
h/hi = iirFor Arctan -
6+2 6 6 2
or
98
k1 w
h = Arctan (C.2)
r 6+2 6 6 2
HCMSG6.FOR
Print file "heesg6.form
100
PROGRAM HCMPS
CHARACTER*30 RAMIE
C COMPUTES THE HEAT TRANSFER COEFFICIENT TO A COMPOSITE SOLID WITH
C HEMISPHERICAL INTERFACE
COMMON N,R,ALFAT,WIDTH
DATA EPS/.0001/
PI=ACOS(-1.)
C READ INPUT PARAMETERS AND ECHO INPUT
C CK1 = CONDUCTIVITY OF GAS
C ALFA1 = THERMAL DIFFUSIVITY OF GAS
C CK2 = CONDUCTIVITY OF REGION SOLID
C ALFA2 = THERMAL DIFFUSIVITY OF SOLID
C WIDTH = WIDTH OF GAP SEPARATING SOLID FROM WALL
C D = PARTICLE DIAMETER
C FNAME = T,H OUTPUT FILE NAME
READ(5,*)CKLALFALCK2,ALFA2,WIDTH,D,FNAME
WRITE(6,45)CKLALFALCK2,ALFA2,WIDTH,D,FNAME
C PRELIMINARY CALCULATIONS
SIGMA=CK2/CK1*SORT(ALFAl/ALFA2)
Cm(SIGMA-1)/(SIGMA+1)
R=0/2
C COMPUTE & PRINT TIME DECADE VALUES OF THE HEAT TRANSFER COEFFICIENT
OPEN(8,FILE=FNAME)
DO 30 1=1,60
IF(1.LT.10) T=.00001*I
IF(I.GE.10.AND.I.LT.20) T=.0001+7
IF(I.GE.20.AND.I.LT.30) T=.001+T
IF(I.GE.30.AND.I.LT.40) T=.01+T
IF(I.GE.40.AND.I.LT.50) T=.1+T
IF(I.GE.50) T=1.+T
ALFAT=ALFAl*T
N=1
SUM=C*GAUSS(0.,P1/2,6)
C SUM TERMS UNTIL CONTRIBUTING TERM ADDS LESS THAN EPS TO SUMNEW
20 N=N+1
SUMNEW=SUM+C**N*GAUSS(0.,P1/2,6)
IF(ABS(SUMNEW-SUM).LE.EPS*ABS(SUM)) GOTO 25
SUM=SUKNEW
GOTO 20
25 H=CK1/SORT(Pl*ALFAT)*(1+2*SUMNEW)
WRITE(8,50) T,H
30 WRITE(*,50) T,H
CLOSE(8)
45 FORMAT('1K1 = ',1PE12.4,' ALFA1 = ',E12.4/' K2 = ',E12.4,
ALFA2 = ',E12.4/' WIDTH = ',E12.4,' DIAMETER =',E12.4/
'
50 FORMAT(' ,1P2E12.4)
END
FUNCTION FUNCTN(X)
C INTEGRAND TO AVERAGE HEAT TRANSFER OVER FACE OF PARTICLE
COMMON N,R,ALFAT,WIDTH
FUNCTN=EXP(-(N*(R*(1-COS(X))+WIDTH))**2/ALFAT)*COS(X)
RETURN
END
FUNCTION GAUSS(A,B,M)
C CALCULATES INTEGRAL OF INTEGRAND FUNCTN FROM LIMITS A TO B
C BY M POINT GAUSSIAN INTEGRATION
C
C REFERENCE:
C
C CARNAHAN, BRICE, N. A. LUTHER, AND JAMES O. WILKES. *APPLIED NUMERICAL
C METHODS*, JOHN WILEY & SONS, 1969, 101-105.
C
101
EXTERNAL FUNCTN
DIMENSION NPOINT(8),KEY(9),2(40),WGHT(40)
DATA NPOINT/2,3,4,5,6,10,15,32/
DATA KEY/1,2,4,6,9,12,17,25,41/
DATA Z /0.577350269,0.0 ,0.774596669,0.339981044,
1 0.861136312,0.0 ,0.538469310,0.906179846,
2 0.238619186,0.661209387,0.932469514,0.148874339,
3 0.433395394,0.679409568,0.865063367,0.973906529,
4 0.0 ,0.201194094,0.394151347,0.570972173,
5 0.724417731,0.848206583,0.937273392,0.987992518,
6 .0483076656,.1444719615,.2392873622,.3318686022,
7 .4213512761,.5068999089,.5877157572,.6630442669,
8 .7321821187,.7944837959,.8493676137,.8963211557,
9 .9349060759,.9647622555,.9856115115,.9972638618/
DATA WGHT /1.0 ,0.888888889,0.555555556,0.652145155,
1 0.347854845,0.568888889,0.478628671,0.236926885,
2 0.467913935,0.360761573,0.171324493,0.295524225,
3 0.269266719,0.219086363,0.149451349,0.066671344,
4 0.202578242,0.198431485,0.186161000,0.162269206,
5 0.139570678,0.107159221,0.070366047,0.030753242,
6 .0965400885,.0956387200,.0938443990,.0911738786,
7 .0876520930,.0833119242,.0781938957,.0723457941,
8 .0658222227,.0586840934,.0509980592,.0428358980,
9 .0342738629,.0253920653,.0162743947,.0070186100/
DO 1 1=1,8
1 IF(M.EO.NPOINT(I))GOTO 2
WRITE(*,7)M
7 FORMAT('ERROR GAUSS: M IS 2,3,4,5,6,10,15 OR 32 NOT ',I3)
RETURN
2 GAUSS=0.
JF=KET(I)
JL=KEY(14,1)-1
SUM =O.
C=(B-A)/2.
02(B+A)/2.
DO 6 J=JF,JL
IF(Z(J).E0.0)SUM=SUM+WGHT(J)*FUNCTN(D)
6 IF(Z(J).NE.0)SUM=SUM+WGHT(J)*(FUNCTN(Z(J)*C+D)+FUNCTN(-Z(J)*C+0))
GAUSS=C*SUM
RETURN
END
102
Appendix D
D.1. Summary
sizes.
103
D.2 Provisions
time zero.
presented here.
D.4.1 Representation
aT TkN TkN+1
ax AxN
1. Left: Tko
= Twall
2. Right: TkN
= TkN+1
3. Top: Tm_ij = Tm+ij
4. Bottom: Toj = T2j (D.1)
--...)
II- II II-12 W
WI II- IN
Heated wall
32 MI- I 3N
I 214- I 2N T
T ) CI" IN+ I
T
k+1,j+1
k+1
2 1
T 1 T 1
Node
Dx
k
L 1
(k,j) (k,j+1)
3 T 4
k-1,j
j-1 j+1
Dr Dr
j+1
aT
VkVT = pCp4
D.4.2. Cylinder
axial components
substitutions
110
Tkj_1
kVTerdS k2
Arj 2
+k3
2 fi
1(1
Arj+1 2
+k4
2
Tk+lj-Tkj
kVTexdS [1(2[7frj2 w(rj-Arj/2)2]
Axk+1
+k1 [x(rj+Arj+1/2)2-irrj21]
k3[wrj2 x(rj-Arj/2)2]
Axk
+k4[x(rj+Arj+1/2)2-xrj211
(D.5)
where
"k+1
1v 2
p2Cp2AxkilArj (rj - Arj/4) +
= r (At/2) e (D.6)
where
aT
--af(At/2)e = aTkj+1 + bTkj_i (a+b)Tkj +
cTk+ij + dTk_ij (c+d)Tkj (D.7)
Top: k = M
a = 2k4Axm(rj + Arj41/2)/Arj.1.1
b = 2k3Axm(rj - Arj/2)/Arj
112
c = d
e = 2Axm(p4Cp4Arj+1(rj+Arj44/4)+
p3Cp3Arj (rj-Arj/4) )/At
Bottom: k = 2
a = 2k1Ax2(rj + Arj+1/2)/Arj+1
b = 2k2Ax2(rj - Arj/2)/Arj
e = 2Ax2(piCp1Arj+1(rj+Arj+1/4)+
p2Cp2Arj (rj-Arj/4) )/At
Bottom right: k = 2, j = N
b = 2k2Ax2(rN ArN/2)/ArN
c = 2k2ArNrN/Ax2
d = c
e = 4rjp2Cp2Ax2ArN/At
Top right: k = M, j = N
b = 2k3AxM(rN ArN/2)/rN
c = 2k3ArNrN /AxM
d = c
e = 4rjp3Cp3AxmArN/At
113
Right: j = N
c = 2k2ArNrN /Axk +1
d = 2k3ArNrN/Axk
e = 2rjArN[p2Cp2Axk.4.1 + p3Cp3Axk]/At
D.4.3. Slab
Tkj+i-Tkj
(k1AYk+1 k4AYk)
2 xj+1
(k4Axj+1 + k3Axj).
After simplification
114
where
b = (k2Ayk +1 k3AYk)/Axj
c = (klAxj.1.1 + k2AxWAYk+1
d = (k4Axj+1 + k3Axj)/Ayk.
where
e = (P1CNAYki-lAxj+1 P2CP2AYk+1Axj
p3Cp3AykAxj P4CP4AYkAxj+1)/At
Once D.9 and D.10 are combined for the finite difference
Top: k = M
a = 2k4AyM /Axj +l
b = 2k3AyM /Axj
c = d
k3Axj + k4Axj+1
d
Aym
115
e = 2Aym(p4Cp4Axj+1 + p3Cp3Axj)/At
Bottom: k = 2
a = 2k1Ay2/Axj+1
b = 2k2Ay2/Axj
c = (k1Axj+1 + k2Axj)/Ay2
d = c
e = 2Ay2(p1CplAxj+1 + p2Cp2Axj)/At
Bottom right: k = 2, j = N
b = 2k2Ay2/AxN
c = 2k2AxN/AY2
d = c
e = 4p2Cp2AxNAy2/At
Top right: k = M, j = N
b = 2k3Aym/AxN
c = 2k3AxN/Ay2
d = c
e = 4p3Cp3AxNAym/At
Right: j = N
b = (k2Ayk+1 + k3Ayk)/AxN
c = 2k2AxN/Ay k+1
d = 2k3AxN/Ayk
e = 2AxN(p2Cp2Ayk+1 + p3Cp3Ayk)/At
116
Solution Method
originate from
Tkji+1 Tkj*
pCpdV =
At/2 V
kVTkj*-erdS + kVTkji.4.1-exdS
1S S
Tkj* - Tkji
pCpdV =
At/2 V
kVTkj*erdS + kVTkjiexdS
time step.
-aTkj+1*-bTkj_1*+(a+b+e)Tkj*
= [cTki.lj+dTk_ij-(c+d-e)Tkj]i (D.11a)
-aTkj.4.1*-bTkj_1*+(a+b-e)Tkj*
= [cTki.lj+dTk_ij-(c+d+e)Tkj]i+1 (D.11b).
a tridiagonal matrix.
UkTki4.1*-1-1-kTki_1*-1-41Tkj*
= [UjT1(4.1j+LiTk_lji-DilTkj]i (D.12a)
UkTkj+1*-akTki_1*-FplaTki*
= (D.12b)
where
Uk = -a, a + b + e
U.
J
= c, Dji = -(c + d e)
Lk = -b, Dk2 = a + b - e
L.
J
= d, Dj2 = -(c + d + e)
4.
a b *
DJ .1 -4.
d e)
-(c
tk -b, 0kz . a *b e
c DJz ci I. e)
. (c
8ottom: ft 2
tIL
A 0ki a 'b *
UJ c 1. d, DJ 1 -(c 'A'
d e)
tk --.
_b, Okz a b e
Zi 0 D '(c * d * e)
*4
4
01.0 4.-
J .
Sotto ight.
0
k
0 00 -, b* e
U
j
tk
*4
..-
-b,
* d 0j1
D kz
.,
.
-(c *
b _
d e)
tJ 0, D. 2 . '(c I. d * e)
Top J .
ght:
U
k '0?si 00 . b *
U ' 0,
.
D.
JI
.,
-(c e)
J
tk ..... -b, 0kz . b e
li c * d 0,12 "(c 1.
d * e)
Right: j ...
Uk
' 0, k.1 b
119
Uj = c, Dj1 = -(c + d e)
Lk = -b, Dk2 = b e
Lj = d, Dj2 = -(c + d + e)
aT (Tko Tkl)
cl uk=-1(
ar Arl
the cell separating Tko and Tkl, then the heat flux term
at the wall is
M
hM
Dxm
M-1
Dxm_i -1I
M H
1- --1
3 h3
Dx3
3 1-
2 h2
Dx2
h1
I I
1
Dr1 Dr2
Since half height cells lie at the top and bottom of the
flux there is
(T10 T11)
= k21
Ari
(TMO TM1)
qM = kMl
Ari
M
E hk (Axk + Ax10.1)/2
have (fLh dx)/L k=1
L
where
M
L = 2 Ax
k=2
and for the symmetric top and bottom boundary cells Axi
D.7. Verification
(Eq. A.1).
122
C.1).
materials.
demonstrated to be effective.
aT -V -V
ax x=0
where
FoL = at/L2.
aT 2V m 2
_ E e-at[(2n+1)71./(2L)]
x x=0 L n=0
2V m 2
_ E e-at[FoL((2n+1)112) ]
L n=0
. 1 _ w E e-ff[w(2n+1)/4)2]
n=0
0.100
0.010
0.001
0.000 0.200 0.400 0.600
FoL
Figure (D.4). Error introduced by modeling a semi-infinite slab as a finite
slab.
125
less than the distance heat will propagate over one time
aT -V
ax x=0 ixat
aT -V
ax x Ax
derivative is:
aT -V
ax x 2Ax
as
-v -v
ixatd 2Ax
and solve
4/1. = Fod
hAx/k = 1/(iwFod)
1.000
0.010
0.001
0.01 0.10 1 .00 10.00 100.00
Fod
Figure (D.5). Accurary of heat transfer solution to a semi-infinite slab on
Fod value.
129
20, 40, 60, and 80, and the heat transfer curves were
required.
calculation codes.
w[1-Au((u-1)+Au/3)-(u-1)2]
E(u) = 1
n tan(r /n)
of particles.
column.
References
385-21.TXT
Print file "385-21.txt"
135
Glass: 0.8mm diameter (21micron gap, 6 contacting particles)
4,",,h185-21',1b185-21'
100.,0.00635,6,31,1,2,2
1,80e-6
8,80e-6
9,21e-6
1,1.04,27E5
0,2.9282E-2,1.047E3
100,1E-5,100,1,5
100,1E-4, 50,1,5
100,1E-2, 20,1,5
500,2E-2, 50,1,5
1111111111111111111111
9888888888888888888888888888E188
0000000000000000000000000000000
0000111100000011110000001111000
0001111110000111111000011111100
0011111111001111111100111111110
0111111111111111111111111111111
136
385-21.0UT
Print file "385-21.out"
137
1 Glass: 0.8mm diameter (21micron gap, 6 contacting particles)
INPUT REVIEW
PROPERTY CARDS
ID K RHO*CP
1 1.040000E+00 2.700000E+06
0 2.928200E-02 1.047000E+03
9888888888888888888888888888888
PROPERTY
LOCATION MAP (BY ID)
0000000000000000000000000000000
0000111100000011110000001111000
0001111110000111111000011111100
0011111111001111111100111111110
0111111111111111111111111111111
PRINT TEMPERATURE MAP EVERY 100 1.00000E-05 SECOND TIME STEPS FOR EVERY 5 RADIAL NODE
HEAT FLUX
6 1.44204E+04 1.44204E+02
5 1.58051E+04 1.58051E+02
4 2.11873E+04 2.11873E+02
3 3.93284E+04 3.93284E+02
2 1.35841E+05 1.35841E+03
1 1.37648E+05 1.37648E+03
PRINT TEMPERATURE MAP EVERY 50 1.00000E-04 SECOND TIME STEPS FOR EVERY 5 RADIAL NODE
HEAT FLUX
6 1.42125E+04 1.42125E+02
5 1.55701E+04 1.55701E+02
4 2.07618E+04 2.07618E+02
3 3.77074E+04 3.77074E+02
2 1.25058E+05 1.25058E+03
1 1.29893E+05 1.29893E+03
HEAT FLUX
6 1.41404E+04 1.41404E+02
5 1.54730E+04 1.54730E+02
4 2.05379E+04 2.05379E+02
3 3.68349E+04 3.68349E+02
2 1.19558E+05 1.19558E+03
1 1.24556E+05 1.24556E+03
PRINT TEMPERATURE MAP EVERY 20 1.00000E-02 SECOND TIME STEPS FOR EVERY 5 RADIAL NODE
HEAT FLUX
6 1.30884E+04 1.30884E+02
5 1.39466E+04 1.39466E+02
4 1.68068E+04 1.68068E+02
3 2.62980E+04 2.62980E+02
2 9.17444E+04 9.17444E+02
1 9.50055E+04 9.50055E+02
HEAT FLUX
6 1.17613E+04 1.17613E+02
5 1.27768E+04 1.27768E+02
4 1.61496E+04 1.61496E+02
3 2.56405E+04 2.56405E+02
2 8.48541E+04 8.48541E+02
1 8.78371E+04 8.78371E+02
HEAT FLUX
6 1.10059E+04 1.10059E+02
5 1.19468E+04 1.19468E+02
4 1.52399E+04 1.52399E+02
3 2.45926E+04 2.45926E+02
2 7.97041E+04 7.97041E+02
1 8.24954E+04 8.24954E+02
HEAT FLUX
6 1.04433E+04 1.04433E+02
5 1.13070E+04 1.13070E+02
4 1.44284E+04 1.44284E+02
3 2.35220E+04 2.35220E+02
2 7.54326E+04 7.54326E+02
1 7.80682E+04 7.80682E+02
NEAT FLUX
6 9.96644E+03 9.96644E+01
5 1.07758E+04 1.07758E+02
4 1.37409E+04 1.37409E+02
3 2.25446E+04 2.25446E+02
2 7.18070E+04 7.18070E+02
1 7.43116E+04 7.43116E+02
PRINT TEMPERATURE MAP EVERY 50 2.00000E-02 SECOND TIME STEPS FOR EVERY 5 RADIAL NODE
HEAT FLUX
6 8.32472E+03 8.32472E+01
5 8.91588E+03 8.91588E+01
4 1.10315E+04 1.10315E+02
3 1.75859E+04 1.75859E+02
2 5.95000E+04 5.95000E+02
1 6.15820E+04 6.15820E+02
HEAT FLUX
6 7.31152E+03 7.31152E+01
5 7.89236E+03 7.89236E+01
4 9.91509E+03 9.91509E+01
3 1.57515E+04 1.57515E+02
2 5.23076E+04 5.23076E+02
1 5.41314E+04 5.41314E+02
HEAT FLUX
6 6.61235E+03 6.61235E+01
5 7.14761E+03 7.14761E+01
4 9.05122E+03 9.05122E+01
3 1.45222E+04 1.45222E+02
2 4.73704E+04 4.73704E+02
1 4.90177E+04 4.90177E+02
HEAT FLUX
6 6.08847E+03 6.08847E+01
5 6.57637E+03 6.57637E+01
4 8.34536E+03 8.34536E+01
3 1.35163E+04 1.35163E+02
2 4.35852E+04 4.35852E+02
1 4.50984E+04 4.50984E+02
HEAT FLUX H
6 5.65474E+03 5.65474E+01
5 6.10378E+03 6.10378E+01
4 7.74608E+03 7.74608E+01
3 1.26274E+04 1.26274E+02
2 4.04476E+04 4.04476E+02
1 4.18506E+04 4.18506E+02
HEAT FLUX H
6 5.27496E+03 5.27496E+01
5 5.69189E+03 5.69189E+01
4 7.22031E+03 7.22031E+01
3 1.18170E+04 1.18170E+02
2 3.77096E+04 3.77096E+02
1 3.90169E+04 3.90169E+02
HEAT FLUX
6 4.93126E+03 4.93126E+01
5 5.32038E+03 5.32038E+01
4 6.74636E+03 6.74636E+01
3 1.10672E+04 1.10672E+02
2 3.52439E+04 3.52439E+02
1 3.64653E+04 3.64653E+02
HEAT FLUX
6 4.61579E+03 4.61579E+01
5 4.97985E+03 4.97985E+01
4 6.31271E+03 6.31271E+01
3 1.03692E+04 1.03692E+02
2 3.29828E+04 3.29828E+02
1 3.41258E+04 3.41258E+02
HEAT FLUX
6 4.32272E+03 4.32272E+01
5 4.66393E+03 4.66393E+01
4 5.91110E+03 5.91110E+01
3 9.71654E+03 9.71654E+01
2 3.08885E+04 3.08885E+02
1 3.19588E+04 3.19588E+02
HEAT FLUX
6 4.05065E+03 4.05065E+01
5 4.36997E+03 4.36997E+01
4 5.53763E+03 5.53763E+01
144
3 9.10601E+03 9.10601E+01
2 2.89379E+04 2.89379E+02
1 2.99406E+04 2.99406E+02
Fortran STOP
145
HSLB4PC.FOR
Print file "hslio4pc.for" 146
PROGRAM BLAUSIS
C CALCULATES TEMPERATURES AND HEAT TRANSFER COEFFICIENTS FOR TWO DIMENSIONAL SLAB
C VARIABLE NODE SIZE AND PROPERTIES ALLOWED
C PC VERSION
REAL LJ,LK
DIMENSION T(50,50),ITYPE(50,50),DK1(50,50),DJ2(50,50),
TS(50,50),C2P(50),H(50),IXSZ(50),IYSZ(50),
SIXDX(10),DY(10),DX(10),NSTEP(10),CK(10),ROCP(10),DT(10),NPRT(10),
SNSKP(10),MSKP(10),INDX(10),IYDX(10)
COMMON UK(50,50),LK(50,50),DK2(50,50),UJ(50,50),
SLJ(50,50),DJ1(50,50),F,M,N
CHARACTER TITLE*80,HNAME*40,DNAME*40,RNAME*40
C INPUT PREPARATION
C RECORD 1:
C TITLE - 80 CHARACTER PROBLEM DESCRIPTION
C RECORD 2:
C NTM - NUMBER OF TIME STEP CARDS TO BE READ
C RNAME - RESTART FILE NAME. IF PRESENT READ ONLY TIME STEP CARDS AFTER THIS CARD
C HNAME - H PLOT FILE NAME. IF PRESENT WRITE T,HAVE(T) TO HNAME.
C DNAME - DUMP FILE NAME. IF PRESENT WRITE DUMP FILE TO DNAME.
C RECORD 3:
C CENT - TEMPERATURE @ X=0
C A - NOT USED. PRESENT FOR COMPATIBILITY OF CYLINDER INPUT FILES
C M - TOTAL NUMBER OF VERTICAL NODE ENDPOINTS (=TOTAL NODES - 1)
C N - TOTAL NUMBER OF HORIZONTAL NODES
C NYSZ - NUMBER OF VERT NODE SIZE CARDS TO BE READ
C NXSZ - NUMBER OF HORIZ NODE SIZE CARDS TO BE READ
C NPROP - NUMBER OF PROPERTY CARDS TO BE READ
C READ NYSZ VERT NODE SIZE CARDS:
C IYDX - INDEX OF NODE SIZE (0-9)
C DY - NODE SIZE
C READ NXSZ HORIZ NODE SIZE CARDS:
C IXDX - INDEX OF NODE SIZE (0-9)
C DX - NODE SIZE
C READ NPROP PROPERTY CARDS:
C INDX - INDEX OF PROPERTY (0-9)
C CK - THERMAL CONDUCTIVITY
C ROCP - DENSITY*SPECIFIC HEAT
C READ NTM TIME STEP CARDS:
C NSTEP - TOTAL NUMBER OF TIME STEPS ACTIVE FOR THIS CARD
C DT - TIME STEP SIZE
C NPRT - NUMBER OF TIME STEPS A TEMPERATURE/H COEFF SUMMARY IS PRINTED
C MSKP - PRINT FOR EACH MSKP VERT NODES
C NSKP - PRINT FOR EACH NSKP HORIZ NODES
C READ VERT NODE SIZE MAP FOR M-1 NODES FROM TOP MOST POSITION (1 CARD)
C READ HORIZ NODE SIZE MAP FOR N NODES FROM RIGHT MOST POSITION (1 CARD)
C READ PROPERTY LOCATION MAP (M-I ROWS WITH N COLUMNS)
C END OF INPUT
C READ DATA
READ(5,1) TITLE
WRITE(6,2)TITLE
READ(5,*) NTM,RNAME,HNAME,DNAME
IF(RNAME.E0.")THEN
READ(5,*) CENT,A,M,N,NYSZ,NXSZ,NPROP
WRITE(6,5)CENT, M,N,NYSZ,NXSZ,NPROP,NTM,HNAME,DNAME
C READ AXIAL STEP SIZE CARDS
DO 31 I=1,NYSZ
READ(5,*) IYDX(I),DY(IYDX(I)+1)
31 WRITE(6,7)IYDX(I),DY(IYDX(I)+1)
WRITE(6,32)
C READ RADIAL STEP SIZE CARDS
DO 34 I=1,NXSZ
READ(5,*) IXDX(I),DX(IXDX(I)+1)
34 WRITE(6,7)IXDX(I),DX(IXDX(I)+1)
WRITE(6,36)
147
YLEN=0
DO 17 K=2,M
17 YLEN=YLEN+DY(IYSZ(K))
XLEN=0
DO 19 J=1,N
19 XLEN=XLEN+DX(IXSZ(J))
IF(HNAME.NE.") OPEN(7,FILE=HNAME)
DO 200 L=1,NTM
WRITE(6,23)XLEN,YLEN,TME,DT(L)*NSTEP(L)+TME
WRITE(6,24)NPRT(L),DT(L),NSKP(L),MSKP(L)
C PREPARE TRIDIAGONAL COEFFICIENT MATRIXES
C TREAT WALL AS INSULATED BOUNDARY
C CENTER CONDITIONS FOR CONSTANT TEMPERATURE
DO 40 J=1,N
DO 40 Kz1,M
IF(K.EQ.M)THEN
C TREAT TOP CONDITIONS
IF(J.E0JOTHEN
C TREAT TOP WALL
B=2*CK(ITYPE(M,N))*DY(IYSZ(M))/DX(IXSZ(N))
C=2*CK(ITYPE(M,N))*DX(IXSZ(N))/DY(IYSZ(M))
D=C
E=4*ROCP(ITYPE(M,N))*DX(IXSZ(N))*DY(IYSZ(M))/DT(L)
UJ (M,N)=0
LJ (M,N)=C+0
DJUM,N)=-(C+D-E)
DJ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(J+1))+
(ROCP(ITYPE(K+1,J ))*DY(IYSZ(K+1))+
ROCP(ITYPE(K ,J ))*DY(IYSZ(K )))*DX(IXSZ(J )))/DT(L)
UJ (K,J)=C
LJ (K,J)=0
DJ1(K,J)=-(C+D-E)
DJ2(K,J)=-(C+D+E)
UK (K,J)=-A
LK (K,J)=-B
DK1(K,J)=A+B+E
DK2(K,J)=A+B-E
ENDIF
ENDIF
40 CONTINUE
C BEGIN TIME STEPS
DO 200 I=1,NSTEP(L)
150
TME=TME+DT(L)
CALL IADSLV(M,N,UK,DK1,LK,UJ,DJ2,1.J,T,TS)
IF(AMOD(REAL(I),REAL(NPRT(L))).E0.0)THEN
WRITE(6,25)TME,(J,J=NSKP(L),N,NSKP(L))
DO 140 KmM,MSKP(L),-MSKP(L)
140 WRITE(6,26)(T(K,J),J=NSKP(L),11,NSKP(L))
C CALCULATE HEAT FLUX LOCAL TO X=0 AND H, AVERAGE N (NAVE)
DO 150 K=1,M
IF(K.EQ.1)THEN
02P(1)=(CENT-T(K,1))/DX(IXSZ(1))*CK(ITYPE(2,1))
H(1) 412P(1)/CENT
NAVE =N(1).DY(IYSZ(2))/2
ELSEIF(K.ED.M)THEN
02P(M)=(CENT-T(K,1))/DX(IXSZ(1))*CK(ITYPE(M,1))
N(N) =02P(N)/CENT
HAVE =KAVE+H(M)*DY(IYSZ(M))/2
ELSE
Cl2P(K)=(CENT-T(K,1))*(CK(ITYPE(K+1,1))*DY(IYSZ(K+1))
+CK(ITYPE(K ,1))*DY(IYSZ(K )))/
(DX(IXSZ(1))*(DY(IYSZ(K+1))+DY(IYSZ(K))))
H(K) =02P(K)/CENT
HAVE =HAVE+H(K)*(DY(IYSZ(K))+DY(IYSZ(K+1)))/2
ENDIF
150 CONTINUE
HAVE=HAVE/YLEN
C WRITE HEAT FLUX, N, HAVE AND WRITE TO FILE HNAME FOR PLOTTING
WRITE(6,27)
WRITE(6,28)(K,02P(K),H(K),K=M,MSKP(L),-MSKP(L))
WRITE(6,29)TME,HAVE
IF(HNAME.NE.' ')WRITE(7,30)TME,HAVE
ENDIF
200 CONTINUE
C DUMP FINAL RESULTS TO RESTART FILE
IF(DNAME.NE.' ')THEN
OPEN(8,FILE=DNAME,FORMs'UNFORMATTED')
WRITE(8)CENT,A,M,11,NXSZ,NYSZ,NPROP,IXDX,IYDX,DX,DY,CK,ROCP,INDX,
S ITYPE,IXSZ,IYSZ,T,TS,TME
CLOSE(B)
ENDIF
CLOSE(7)
STOP
1 FORMAT(A)
2 FORMAT('1',A)
5 FORMAT(' INPUT REVIEW'//' CENTER TEMPERATURE',T35,1PE12.6 /' NUMBER
SOF AXIAL NODES',T35,I3/1 NUMBER OF RADIAL NODES,,T35,13/1 NUMBER 0
SF AXIAL STEP CARDS READ1,735,I2/' NUMBER OF RADIAL STEP CARDS READ
S',T35,12/' NUMBER OF PROPERTY CARDS READ',T35,I2 /' NUMBER OF TIME
SSTEP CARDS READ,,T35,12/1 H PLOT FILE NAME',T35,AP DUMP FILE NAME
S',T35,A//' AXIAL STEP CARDS'/' ID',T13,'DX')
32 FORMAT(//' HORIZ STEP CARDS'/' ID1,713,'DY')
36 FORMAT(//' PROPERTY CARDS,/, 101,T13,,K1,T25,,RIWCP1)
7 FORMAT(' ,l2,2(3XOPE12.6))
8 FORMAT(//' TIME STEP CARDS'/' NUMBERI,T15,,DP,T25,,NPRT,,T32,1MSK
SP',T38,11ISKP')
37 FORMAT(//' AXIAL NODE SIZE (RIGHT=TOPMOST)')
38 FORMAT(//' RADIAL NODE SIZE')
39 FORMAT(//' PROPERTY')
9 FORMAT(' ,16,2XOPE12.5,3(2X,14))
18 FORMAT(/' RESTART DATA FROM FILE ',A)
20 FORMAT(130I1)
21 FORMAT(' ,130I1)
23 FORMAT(//' TOTAL RADIAL LENGTH',T30,1PE12.6 /' TOTAL VERTICAL LENGT
SIP,T30,E12.6,//' H SOLUTION FOR ',E12.6,' TO ',E12.6,' SECONDS'//)
24 FORMAT(' PRINT TEMPERATURE MAP EVERY 1,14,1XOPE12.5,1 SECOND TIME
S STEPS FOR EVERY ',I3,' HORIZ NODES AND ',I3,' VERT NODES' /)
151
FUNCTION RHS(ITIM,T,K,J)
C RETURNS THE VALUE OF THE RIGHT HAND SIDE OF THE IAD EQUATIONS
C ITIME - HALF (1) /FULL (2) TIME STEP (IN)
C T - TEMPERATURE ARRAY (IN)
C K,J - COLUMN, ROW INDICES (IN)
COMMON UK(50,50),LK(50,50),DK2(50,50),UJ(50,50),
SLJ(50,50),DJ1(50,50),F,M,N
DIMENSION T(50,50)
REAL LK,LJ
C BE CERTAIN UJ(N,J) AND UK(K,N) ARE 0 TO TREAT TOP CONDITIONS CORRECTLY
IF(ITIM.E0.1)THEN
C COMPUTE RHS AT HALF TIME STEP
IF(J.E0.1)THEN
IF(K.EQ.I)THEN
RHS=UJ(1,1)*T(2,1)+DJ1(1,1)*T(1,1)-LK(1,1)*F
ELSE
RHS=UJ(K,1)*T(K+1,1)+LJ(K,1)*T(K-1,1)+DJUK,1)*T(K,1)-
$ LK(K,1)*F
ENDIF
ELSE
RHSUJ(K,J)*T(K+1,J)+LJ(K,J)*T(K-1,J)+DJ1(K,J)*T(K,J)
ENDIF
ELSEIF(ITIM.E0.2)THEN
C COMPUTE RHS AT FULL TIME STEP
IF(J.EQ.1)THEN
RNS=UK(K,1)*T(K,2)+LK(K,1)*F+0K2(K,1)*T(K,1)
ELSE
RHS=UK(K,J)*T(K,J+1)+LK(K,J)*T(K,J-1)+DK2(K,J)*T(K,J)
ENDIF
ENDIF
RETURN
END
SUBROUTINE IADSLV(M,N,UK,DK,LK,UJ,DJ,LJ,T,TS)
C SOLVES THE IAD EQUATIONS USING GAUSSIAN ELIMINATION FOR A FULL TIME STEP
C M - NUMBER OF COLUMNS (IN)
C N - NUMBER OF ROWS (IN)
C UK,DK,LK,UJ,DJ,LJ - COEFFICIENTS FOR IAD EQUATIONS (IN)
C T - FULL TIME STEP TEMPERATURE ARRAY (OUT, IN)
C TS - HALF TIME STEP TEMPERATURE ARRAY (OUT,IN)
REAL LK(50,50),LJ(50,50)
DIMENSION DK(50,50),DJ(50,50),UK(50,50),UJ(50,50),
ST(50,50),B(50),TS(50,50)
EXTERNAL RHS
C COMPUTE TEMPERATURES AT END OF HALF TIME STEP IMPLICIT BY COLUMNS
DO 70 K=1,M
B(1)=DK(K,1)
TS(K,1)=RHS(1,T,K,1)/11(1)
C FORWARD GUASSIAN ELIMINATION
DO 65 J=2,N
B(J)=DK(K,J)-LK(K,J)*UK(K,J-1)/B(J-1)
65 TS(K,J)=(RHS(1,T,K,J)-LK(K,J)*TS(K,J-1))/B(J)
C BACK SOLUTION
DO 70 J=W-1,1,-1
70 TS(K,J)=TS(K,J)-UK(K,J)*TS(K,J+1)/B(J)
C COMPUTE TEMPERATURES AT END OF FULL TIME STEP IMPLICIT BY ROWS
DO 130 J :1,N
152
B(1)43.1(1,0
T(1,J)=RHS(2,TS,1,J)/11(1)
C FORWARD GUASSIAN ELIMINATION
DO 110 K=2,M
B(K)=DJ(K,J)-LJ(K,J)*UJ(K-1,0/B(K-1)
110 T(K,J)=(RHS(2,TS,K,J)-LJ(K,J)*T(K-1,J))/B(K)
C BACK SOLUTION
DO 130 K=M-1,1,-1
130 T(K,J)=T(K,J)-UJ(K,J)*T(K+1,J)/B(K)
RETURN
END
SUBROUTINE WRTHD(N)
C WRITE MAP POSITION HEADING
CHARACTER HEAD*130
HEAD =' '
L=1
DO 6 1=1,11/10
HEAD=HEAD(1:L)//1-
6 L=I*10+1
WRITE(6,12)HEAD
12 FORMAT(' LOCATION MAP (BY ID)' / /A)
RETURN
END
153
HCYL9PC.FOR
Print file *hcyl9pc.for*
154
PROGRAM BLAUSIS
C CALCULATES TEMPERATURES AND HEAT TRANSFER COEFFICIENTS FOR TWO DIMENSIONAL CYLINDER
C VARIABLE NODE SIZE AND PROPERTIES ALLOWED
C PC VERSION
REAL LJ,LK
DIMENSION T(50,50),ITYPE(50,50),DK1(50,50),DJ2(50,50),
$ TS(50,50),Q2P(50),H(50),IRSZ(50),IXSZ(50),
SIRDX(10),DX(10),DR(10),NSTEP(10),CK(10),ROCP(10),DT(10),NPRT(10),
SNSKP(10),MSKP(10),INDX(10),IXDX(10)
COMMON UK(50,50),LK(50,50),DK2(50,50),UJ(50,50),
SLJ(50,50),DJ1(50,50),F,M,11
CHARACTER TITLE*80,HNAME*40,DNAME*40,RNAME*40
C INPUT PREPARATION
C RECORD 1:
C TITLE - 80 CHARACTER PROBLEM DESCRIPTION
C RECORD 2:
C NTM - NUMBER OF TIME STEP CARDS TO BE READ
C RNAME - RESTART FILE NAME. IF PRESENT READ ONLY TIME STEP CARDS AFTER THIS CARD
C HNAME - H PLOT FILE NAME. IF PRESENT WRITE T,HAVE(T) TO HNAME.
C DNAME - DUMP FILE NAME. IF PRESENT WRITE DUMP FILE TO DNAME.
C RECORD 3:
C CENT - TEMPERATURE 2 R=0
C A - INNER RADIUS OF CYLINDER
XLEN=0
DO 17 K=2,M
17 XLEN=XLEN+DX(IXSZ(K))
RLEN=0
DO 19 J=1,N
19 RLEN=RLEN+DR(IRSZ(J))
IF(HNAME.NE.") OPEN(7,FILE=HNAME)
DO 200 L=1,NTM
WRITE(6,23)RLEN,XLEN,TME,DT(L)*NSTEP(L)+TME
WRITE(6,24)NPRT(L),DT(L),NSKP(L),MSKP(L)
C PREPARE TRIDIAGONAL COEFFICIENT MATRIXES
C TREAT WALL AS INSULATED BOUNDARY
C CENTER CONDITIONS FOR CONSTANT TEMPERATURE
R=A
DO 40 J=1,N
R=R+DR(IRSZ(J))
DO 40 K=1,M
IF(K.EQ.M)THEN
C TREAT TOP CONDITIONS
IF(J.EQ.N)THEN
C TREAT TOP WALL
B=2*CK(ITYPE(M,N))*DX(IXSZ(M))*(R-DR(IRSZ(N))/2)/DR(IRSZ(N))
C=2*CK(ITYPE(M,N))*DR(IRSZ(N))* R/DX(IXSZ(M))
D=C
E=4*R*DR(IRSZ(N))*DX(IXSZ(M))*ROCP(ITYPE(M,N))/DT(L)
UJ (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1))*CK(ITYPE(2,1))
H(1) =02P(1)/CENT
NAVE =H(1)*DX(IXS2(2))/2
ELSEIF(K.E0.M)THEN
02P(M)=( CENT-T(K,1))/DR(IRSZ(1))*CK(ITYPE(M,1))
H(M) =02P(M)/CENT
HAVE *HAVE+H(M)*DX(IXSZ(M))/2
ELSE
02P(K)=(CENT-T(K,1))*(CK(ITYPE(K+1,1))*DX(IXSZ(K+1))
S +CK(ITYPE(K ,1))*DX(IXSZ(K )))/
(DR(IRS2(1))*(DX(IXSZ(01))+DX(IXSZ(K))))
N(K) =02P(K)/CENT
HAVE =HAVE+N(K)*(DX(IXSZ(K))+DX(IXSZ(K+1)))/2
ENDIF
150 CONTINUE
HAVE=HAVE/XLEN
C WRITE HEAT FLUX, H, HAVE AND WRITE TO FILE NNAME FOR PLOTTING
WRITE(6,27)
WRITE(6,28)(K,02P(K),H(K),K=M,MSKP(L),-MSKP(L))
WRITE(6,29)TME,HAVE
IF(HNAME.NE.")WRITE(7,30)TME,HAVE
ENDIF
200 CONTINUE
C DUMP FINAL RESULTS TO RESTART FILE
IF(DNAME.NE.' ')THEN
OPEN(8,FILE=DNAME,FORWUNFORMATTED')
WRITE(8)CENT,A,M,N,NXSZ,NRSZ,NPROP,IXDX,IRDX,DX,DR,CK,ROCP,INDX,
ITYPE,IXSZ,IRSZ,T,TS,TME
CLOSE(8)
ENDIF
CLOSE(7)
STOP
1 FORMAT(A)
2 FORMAT('1',A)
5 FORMAT(' INPUT REVIEW'//' CENTER TEMPERATURE',T35,1PE12.6 /' INNER
SRADIUSI,T35,E12.6/1 NUMBER OF AXIAL NODES',T35,13 /' NUMBER OF RADI
SAL NODES',115,13/1 NUMBER OF AXIAL STEP CARDS READ',T35,12/' RUNE
SR OF RADIAL STEP CARDS READ',T35,I2 /' NUMBER OF PROPERTY CARDS REA
SD',135,12/' NUMBER OF TIME STEP CARDS READ',T35,I2/' H PLOT FILE N
159
$AME',T35,A /' DUMP FILE NAME',T35,A //' AXIAL STEP CARDS' /' ID',T13,
SW')
32 FORMAT(//' RADIAL STEP CARDS'/' ID',T13,'DR')
36 FORMAT(//' PROPERTY CARDS' /' ID,,T13,,K1,T25,0RHO*CP1)
7 FORMAT(' 1,12,2(3XOPE12.6))
8 FORMAT(//' TIME STEP CARDS'/' NUMBER ',T15,'DT',T25,'NPRT',T32,'MSK
$P,,T38,41SKPI)
37 FORMAT(//' AXIAL NODE SIZE (RIGHT = TOPMOST)')
38 FORMAT(//' RADIAL NODE SIZE')
39 FORMAT(//' PROPERTY')
9 FORMAT(' 1,16,2XOPE12.5,3(2X,14))
18 FORMAT(/' RESTART DATA FROM FILE ',A)
20 FORMAT(130I1)
21 FORMAT(' ,13011)
23 FORMAT(//' TOTAL RADIAL LENGTH',T30,1PE12.6/1 TOTAL AXIAL LENGTH',
S T30,E12.6,//' H SOLUTION FOR ',E12.6,' TO ',E12.6,' SECONDS' //)
24 FORMAT(' PRINT TEMPERATURE MAP EVERY 1,14,1XOPE12.5,1 SECOND TIME
$ STEPS FOR EVERY ',I3,' RADIAL NODES AND ',13,' AXIAL NODES'/)
25 FORMAT(' TEMPERATURE MAP AT ',1PE12.5,' SECONDSI/10(5X,13,5X))
26 FORMAT(' ',10E13.6)
27 FORMAT(/6X,'HEAT FLUX',8X,'H')
28 FORMAT(' ',/3,1P2E12.5)
29 FORMAT(/' AVERAGE H a ',1PE12.5,' SECONDS: 1,E12.5//)
30 FORMAT(' ',1P2E12.5)
END
FUNCTION RHS(ITIM,T,K,J)
C RETURNS THE VALUE OF THE RIGHT HAND SIDE OF THE IAD EQUATIONS
C ITIME - HALF (1) /FULL (2) TIME STEP (IN)
C T - TEMPERATURE ARRAY (IN)
C K,J - COLUMN, ROW INDICES (IN)
COMMON UK(50,50),LK(50,50),DK2(50,50),UJ(50,50),
$1.J(50,50),DJ1(50,50),FAN
DIMENSION T(50,50)
REAL LK,LJ
C BE CERTAIN UJ(M,J) AND UK(K,N) ARE 0 TO TREAT TOP CONDITIONS CORRECTLY
IF(ITIM.EQ.1)THEN
C COMPUTE RHS AT HALF TIME STEP
IF(J.EQ.1)THEN
IF(K.EQ.1)THEN
RHS=UJ(1,1)*T(2,1)+DJ1(1,1)*T(1,1)-LK(1,1)*F
ELSE
RHS=UJ(K,1)*T(K+1,1)+LJ(K,1)*T(K-1,1)+DJ1(K,1)*T(K,1)-
$ LK(K,1)*F
ENDIF
ELSE
RHS=UJ(K,J)*T(K+1,J)+1.J(K,J)*T(K-1,J)+DJ1(K,J)*T(K,J)
ENDIF
ELSEIF(ITIM.EQ.2)THEN
C COMPUTE RHS AT FULL TIME STEP
IF(J.EQ.1)THEN
RHS=UK(K,1)*T(K,2)+LK(K,1)*F+DK2(K,1)*T(K,1)
ELSE
RHS=UK(K,J)*T(K,J+1)+LK(K,J)*T(K,J-1)+DK2(K,J)*T(K,J)
ENDIF
ENDIF
RETURN
END
SUBROUTINE IADSLV(M,N,UK,DK,LK,UJ,DJ,LJ,T,TS)
C SOLVES THE IAD EQUATIONS USING GAUSSIAN ELIMINATION FOR A FULL TIME STEP
C M - NUMBER OF COLUMNS (IN)
C N '- NUMBER OF ROWS (IN)
C UK,DK,LK,UJ,DJ,LJ - COEFFICIENTS FOR IAD EQUATIONS (IN)
C T - FULL TIME STEP TEMPERATURE ARRAY (OUT,IN)
160
SUBROUTINE WRIND(N)
C WRITE MAP POSITION HEADING
CHARACTER HEAD*130
HEAD ='
La1
DO
::A:=I211/
NEA6(11!)//1. 8
6 LaI*1041
WRITE(6,12)HEAD
12 FORMAT(' LOCATION MAP (BY ID)'//A)
RETURN
END
Appendix E
Experimental Data
ks = 1.04 W/m-K
Cps = 1080 J/kg-K
Ps = 2500 kg/m3
ks - 0.80 W/m-K
Cps = 780 J/kg-K
ps - 2700 kg/m3
Pb - 1400 kg/m3 d
P
= 0.0008 m
Linear Mass Heat
Solids Flow Tw Ts Contact Transfer % Error
Power Velocity Rate Time Coefficient
(W) (m/s) (kg/s) (C) (C) (s) (W/m4-K)
ks = 384 W/m-K
Cps = 386 J/kg-K
ps - 8950 kg/m?,
Pb = 5200 kg /m3
d = 0.00021 m
h
A AT
dh dP dA dAT
+ +
h P A AT
precision,
dh 5 .5 1
= __
h P A AT
dh
% Error = 100 *
h
169
Linear Heat
Particle Solids Transfer
Diameter Velocity Coefficient Material
(m) (m/s) (W/m-K)
Appendix F
Statistical analysis
to
Linear model: = a + bL
dp p s
Standard
Parameter Estimate Error Value
Analysis of Variance
(m) (m)
(m211,4)
Appendx G
Particle Size Distribution
Silica Sand
dp = 0.11mm dp = 0.8mm
Tyler Mesh %Weight Tyler Mesh %Weight
Copper
dp = 0.214mm
-60 + 80 17.52
172
Glass
dp = 0.8mm dp = 0 18mm
Tyler Mesh %Weight Tyler Mesh %Weight
-40 0.05