Professional Documents
Culture Documents
Information To Users: University Microfilms Internationa
Information To Users: University Microfilms Internationa
This material was produced from a microfilm copy of the original document. 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 original
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 thru an image and duplicating adjacent
pages to insure you complete continuity.
2. When an image on the film is obliterated with a large round black mark, it
is an indication that the photographer suspected that the copy may have
moved during exposure and thus cause a blurred image. You will find a
good image of the page in the adjacent frame.
3. When a map, drawing or chart, etc., was part of the material being
photographed the photographer followed a definite method in
"sectioning" the material. It is customary to begin photoing at the upper
left hand ccrnar of 2 large sheet and to continue photoing from ieft to
right in equal sections with a small overlap, if necessary, sectioning is
continued again — beginning below the first row and continuing on until
complete.
4. The majority of users indicate that the textual content is of greatest value,
however, a somewhat higher quality reproduction could be made from
"photographs" if essential to the understanding of the dissertation. SiWer
prints of "photographs" may be ordered at additional charge by writing
the Order Department, giving the catalog number, title, author and
specific pages you wish reproduced.
This material was produced from a microfilm copy of the original document. 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 original
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 thru an image and duplicating adjacent
pages to insure you complete continuity.
2. When an image on the film is obliterated with a large round black mark, it
is an indication that the photographer suspected that the copy may have
moved during exposure and thus cause a blurred image. You will find a
good image of the page in the adjacent frame.
3. When a map, drawing or chart, etc., was part of the material being
photographed the photographer followed a definite method in
"sectioning" the material. It is customary to begin photoing at the upper
left hand corner of a sheet and to continue photoing from left to
right in equal sections with a small overlap. If necessary, sectioning is
continued again — beginning below the first row and continuing on until
complete.
4. The majority of users indicate tiiat the textual content is of greatest value,
however, a somewhat higher quality reproduction could be made from
"photographs" if essential to the understanding of the dissertation. Silver
prints of "photographs" may be ordered at additional charge by writing
the Order Department, giving the catalog number, title, author and
specific pages you wish reproduced.
by
Yakup Basmaci
Approved:
aj6ç Department
TABLE OF CONTENTS
Page
NOMENCLATURE vii
INTRODUCTION 1
Objective 4
Method of Study 5
REVIEW OF LITERATURE 7
Nature of Carbonate Rocks 7
Porosity of carbonate rocks 7
Permeability and structural control 15
Mathematical Models on Flow in Carbonate Rocks 21
THEORETICAL ANALYSIS OF GROUNDWATER FLOW IN
CARBONATE ROCKS 29
Assumed Flow Properties of Fractured Formations 29
Continuum or Discontinuum 30
Continuum approach 32
Nonuniformity of homogeneous formations 35
Development of Mathematical Model 39
Idealization of flow domain 39
Flow equations 39
NUMERICAL SOLUTION 54
Finite Difference Equations 54
Computer Program 58
RESULTS 62
Caves and Solution Channels 62
Karst Profiles 65
Spring Flow 71
iii
Page
Other Applications 90
SUMMARY 92
LITERATURE CITED 94
ACKNOWLEDGEMENTS 99
APPENDIX; COMPUTER PROGRAM 100
iv
LIST OF FIGURES
Figure Page
1. Time-porosity terms and zones of modification
of porosity in sedimentary carbonates 10
2. Geologic classification of pores and pore "
systems in carbonate rocks 12
3. Definition of the elementary volume 34
4. Schematic representation of the effect of scale
on karst permeability 34
5. Schematic of an elementary volume in a
carbonate rock aquifer 40
6. Idealization of flow and elementary volume
containing matrix block and fractures 40
7. Schematic diagrams of the functional inputs 50
8. Pressure head distribution in a cross-section
with a cave 63 a
9. Model results for K^/K^ =1 67
10. Model results for =5 68
11. Model results for K^/K^ = 2.5 69 a
12. Model results for = 1.7 69 a
13. Model results for combination of permeabilities
for limestone upstream and downstream from the
bluff 73
14. Schematic interpretation of the hydraulic
structure of the chalk aquifer in East Yorkshire 73
15. Nodal network for the mathematical model 74
16. Seepage through a carbonate rock column. Column I 77 a
17. Change of specific moisture capacity with 79
pressure head
V
Figure
18. Seepage through carbonate rock columns.
Columns I, II, and III
19. Comparison of Ombla and Bileca Springs'
recession curves with the column results
vi
LIST OF TABLE
Table Page
1. Properties of geologic units in the karst model 66
vii
NOMENCLATURE
y dynamic viscosity
p liquid density (M/L^)
pressure head (L)
air entry pressure head (L)
V gradient operator (1/L)
X,Y,Z Cartesian coordinates
1
INTRODUCTION
Objective
Method of Study
REVIEW OF LITERATURE
TIME-POROSITY TERMS
'STAGE PRE-DEPOSITION DEPOSITION POST-DEPOSiTlON
NDARY POROSIT
"TYPICAL"
RELATIVE
TIME' SPAN
:%r
subtrdol fo suprohdoi
mean nigr tii2<
TELOGENETIC
ZONE
V ^ EOGENETIC/^ i
ZONE
reef Irome
FÛHVTR SIFÔATNIAI
RELOOLNERIC ZONE*
INTERPARTICLE BP
'.ïïï-'"' INTR&PARTICLE WP
Ml FRACTURE FR
INTERCRYSTAL SC
a CHANNEL* CM
% MOLOIC MO
VUG" VUG
S FENESTRAL
SHELTER
FE
SH
«H
CAVERN * CV
GROWTH-
GF *Ccv*rn oppliH to mon or l3rg«r poras af
FRAMEWORK C^onntl or vug »noptt.
MODIFYING TERMS
GENETIC MODIFIERS SIZE* MODIFIERS
I PROCESS I DIRECTION OR STAGE CLASSES mm'
-256-
SOLUTION J ENLARGED MEGAPOHE mg
stnoll IMT
-32-
CEMENTATION c REDUCED -4-
INTERNAL SEDIMENT i FILLED MESOFORE ms
lotjt IRIS
-1/2-
small
-'/l6-
TIME OF FORMATION MICROPORE mc
p(C - depKilionol Pp
meiovug
tmoU
msVUQ
vnbMO
dcpositionol Pd micomtefporiic'e mc6P
Q = Ab* (1)
Continuum or Discontinuum
Continuum approach
Fluid flow in a porous medium, excluding large scale
features, constitutes a continuum at the microscopic level.
If sufficient data are available the Navier-Stokes equations
for the flow of a viscous fluid satisfying specified boundary
conditions may be used to solve velocity distribution in the
void space. However, it is impossible, except in especially
simple cases, to describe in any exact mathematical manner the
complicated goemetry of the solid surfaces that bound the flow
domain. The obvious way to circumvent these difficulties is
to pass a coarser level of averaging to macroscopic level.
This is again a continuum approach, but on a higher level.
Our task is to determine the volume of a representative
region of porous medium around a preselected point P. This volume
33
should be smaller than the size of the entire flow domain, and
it must be enough larger than the size of a single pore that
it includes a sufficient number of pores to permit the meaning
ful statistical average required in the continuum concept. We
may put one more restriction on a Darcian continuum. The
turbulent.regime may be observed in large fractures at points
where flow enters a well or at excavations where great rates
of flow occur. But in these cases, the size of the turbulent
zone is small. According to laboratory data presented by
Baeker (1956), the turbulent zone radius amounts to about 1.5
m with a feeding fracture width of 10.16 mm and discharge of
3180 m^/day. In these cases, replacement of nonlinear flow by
Darcian flow is a fair approximation in the analysis of
regional flow in carbonate rocks. We can define the repre
sentative volume at macroscopic level with the aid of Figure 3.
This diagram is a hypothetical plot of the porosity of a
porous medium as it might be measured on samples of varying
volumes Vg,..., taken at a point P within the porous
medium. The porosity values corresponding to each volume
should be understood as the mean of the porosity distribution
in a volume around point P. Otherwise the figure would be a
three dimensional plot of porosity, frequency distribution of
porosity and volume around point P.
The macroscopic level includes thé primary porosity
and secondary porosities as well. Large scale features are not
34
inhomogeneous
—^
homogeneous
volume
k
-1
10 K (m/i)
effect of large
ri
10 scale features
M.
L
IÔ® effect of fractures
âu-—;
effect of matrix
IÔ* t
10 10 10 10^
sample size(n?')
Flow equations
Consider an elemental aquifer volume as shown in Figure 5.
In present work it is assumed that the fractures are equivalent
40
flux out
z t
AY
AX flux in
fracture
matrix
flux out
flux in
•fracture
matrix
elementary
volume
o.
pressure trend
flow direction
gpkf
Vf = - + Z) (3)
gPkm
V„ = - ^ + Z) (4)
p = p(ij^) (5)
kij'
n = n(F,^) (7)
e = 8(F,ip) = Sn (8)
P = ^ (10)
IT < + + pc„
(12)
m
for N = 1
+ Vz + V2> ^
pgk. pe av/j
+ Vz) ^ (al + n^g') + pC,
u ng -"f "f at"
(15)
P8, 3W
m
m at
C = C(F,^) = li (17)
aij)
9 a 2 a 2 ^^f
y P (*f)kxx^(F'*f) 93r 2 p (tf)k (F,»j) ^
3x 3y
rr 0
D^,
V
32
y <= 1)
3iPj
(ecj(F) + ) + p($f)Cf(F,*f) Tt
p(Ve(F,v , .
m ^m
a*.m
(18)
3t
n
k = *0 (r. for ^ (19)
k = kg for ^ ^ (20)
Ti = 2 + 3X (22)
50
Vb
.5
lb)
9
^^(Dorcy)
.3
input to mod el
/Burdine estimote
I / J.
-1000 -100 -IÔ' -1000 -100 -10 .
l(J(cm) l|J Icm)
?m')
Id) 10
L ±
i
1
-10 -20 -30 -20 -10 O 10 20
Ijl (cm) IfJ (cm)
b X (23)
c = aw'- w "(1 - Sf)
The minus sign, before and right hand side term, drops out
with the negative pressure head, ip, in unsaturated flows.
Figure 7c. Specific moisture capacity is zero at atmospheric
pressure. It reaches its maximum value at ip =
NUMERICAL SOLUTION
("pLI
1 + Az^ + Az^^^ ^^k+1 +
^k+1 '*'k
Az,
1
[8(^^j(a'(F) + n(F)B') + 0(^^)1
At
] i,k,f
n(F)
and
[8(^y)(g'(F) + n(F)6') + Cf^y)]
n(F) At i,k,m
where
and
(30)
4 = <Vf + + V (31)
= Dk + (U^ (32)
^i = /(Ax^(Ax^ + ^ f
Ci = {k (4'3-I)/AX^(Ax^_^ + Ax^))}j^^^
^= (33)
^k = (K(flv)/(A2%(A2k_i + AZk))}i_f
Wf = {e(V/At''}i,k,f
^f =
AL = <KCCiii)/AZk}i,f
58
CL = {K(4iv)/AZ%}i f
and
Computer Program
the model and the surrounding nodal blocks are treated with
the appropriate side as an efflux or as an influx boundary.
Such an approach is not intended to provide exact duplication
of flow conditions near these features. The possible non
linear character of the model near these features is ignored,
although a nonlinear flow model could have been coupled for
these parts of the flow domain. Rather the emphasis is on the
effect on a regional scale.
The program is capable of simulating the effect of mine
shafts on flow in a vertical cross-section. First, the steady
state pressure distribution is solved in that cross-section,
and the nodes along the boundary of the mine shaft are set to
atmospheric pressure starting with the first time step. The
heads along these nodes can be fixed or variable in time.
There is no limit for the number of nodes in the simulation of
mine shafts, but the mesh size in the vicinity of these
features should be decided carefully.
Output is in the form of prints of the pressure head in
fractures and in matrix, and total pressure head in fractures.
The water table is interpolated using pressure head values,
satisfying the condition I{J = 0 along the water table. From the
pressure head diagram one can determine the flow pattern and
quantitative values of flow rate.
61
RESULTS
0 o
• interior nodes or
- no flow boun. node
• ' : '
(a)
constant i.c:ad pond
• •
* ^
• • • • •
l.stn till
• • • . ' • • /K1. n
yg /K 5. 2.
lH,k . 4 J w,k .005 .388
i cove or solution , • • 5. 2.5
Vr * channel
w
• • • • • •
i,k-i
• • • • - ' • ' •
700
600
(b) 500
400
total pressure
head(cm)
300
wafer table
250
64
Karst Profiles
(a)
K^=K_=5 tiir
75
till
alluviui water table 62.02 m
50
00 limestone
25
56 60. 60.5
55
1000 2000 3000 m
(b) till-
K =K =5
limestone (m)
75-
till 60-40—
river
water table
till
K=K =5 limestone inr
(m)
75
alluvium till 59.8
river,
water table
*70
25-
3000
IIO.O •
-100.
(pi)
limestone
alluvium 75_
river/ / water table
till 50-
o
25-
56.0
6lO
lopo 3000
(b)
(m)
limestone 75
alluvium water table—ÈLÊâ
rive 50
25
000 3000
till-
(in)
75'
alluvium
river/
fater tabl
limestone
1noo(m) ?nrlo
(a) Stage I, (b) Stage II, (c) Stage III
Figure 10. Model results for = 5
Figure 11. Model results for K^/K^. = 2.5
till 61.0
limestone
a±er__tahJLe-Jà2:9i5l
alluvium 50
till lUtiks V../ jLLl
25-
1000 3000
62 0.
(m)
75_
water table
alluvium
50_
till.
56.35 limestone
\25
61.0"
tilt -inOjj
flood plain K =5, K,=10 (m)
75
water table
alluvium 50
water table f
60.0 25-
300
70
Spring Flow
level of zero
w
discharge
A A
constant head boundary influx boundary
1=0. cm/sec
Y =-30 cm
node number
40U
(cm)
200 lapervioud
constant head
boundary
Y=0. cm
^X
steady state unsteady state
01 01
01
PART III
Iff
PART IV
•7
10
10^ time(sec)
10
78
Sr
fracture -1 3 01 01
matrix -30 2 50 01
-z
10
10
-4
10
-5
-B
10
10
10
0 -10 -20 -30 -40 -50
y (cm)
Figure 17. Change of specific moisture capacity with
pressure head
80
C K Ç
according to Figure 17, the value of ^—+~fC^ exceeds
m lu
after ijj = -13 cm.
The drainage of fractures with an impermeable matrix has
a similar character to seepage through fracture-matrix system.
First and second parts of drainage curves of each system are
the same. In the third part, seepage rate through fractures
by themselves decreases continuously until reaching a zero
value. This behavior proves that the fourth part of the
seepage curve of a fracture-matrix system is dependent on
the flow from matrix. The coincidence of the first two parts
of the seepage permeable and impermeable matrix curves is due
to the high amounts of flow released from fractures relative
to flow from the matrix. Wilson and Witherspoon (1974)
observed the same fracture-matrix flow behavior in saturated
conditions and stated that the flow from the matrix was
negligible for practical purposes.
The drainage of fractures and matrix in the unsaturated
region depends on the unsaturated hydraulic properties of
these pores. One can see the similarity between the shape of
o
Q)
U1
'o
Et • —
4 —1
I
other variables are
same(Fig. 16)
— column I
column II
"g column III
average of I,II
and III
(U
4-1
fd
M
00
Q) to
en
Id
A,
0)
0)
w
•^o
o
o rH Ombla Springs
Bilecâ Springs 1961
II III Bilecâ Springs 1962
<u o
r4
40 50 ou 100
time (days)
COLUMN 1 RESULTS
m
PART IV
'o
20 4060 80 i30
time ( days)
Figure 19. Comparison of Ombla and Bileca Springs'
recession curves with the column results
85
P6 £ I
V • —^ + z) —— (otf + n^3 * ) + pC^ 3t
11 JC J- J- J-
P®]_ I 3^1
+ ^ (ex+ n^B') + pC1 3t~
and
89
(34)
2
n («m + + P^m W
Other Applications
SUMMARY
LITERATURE CITED
ACKNOWLEDGEMENTS
INPUT PARAMETERS:
Delimits end of a set of data decks. Final
data card must always have a zero in column 1.
Impermeable matrix. No data of M2 subgroup.
Permeable matrix.
It can. have any value.
Number of time steps (<100). Set 0 for runs
for steady state.
Title (<20) alphanumeric characters.
Number of nodes in x = direction (<99).
Set 1.
Number of nodes in z-direction (<99).
Number of input fields for guessed initial
pressure heads used as starting values in
steady-state simulation (<7). Usually set to 1.
Number of soil types or geologic formations
«9).
Number of boundary nodes at which constant or
variable head is specified (i.e.: nodes at
which ITAG(I,J,K) = 9).
Number of boundary nodes at which constant or
variable flux is specified (i.e.: nodes at
which ITAG(I/J,K) = 8). Note that NOBO =
NOHEAD + NOFLUX «100).
KTAG(I,J,K) values are read in by lines
(I = If L).
KTAG(I,J,K) values are read in by layers
((I = 1, L), J = 1, N).
KTAG(I,J,K) values are the same (=KWAG) through
out the grid (i.e.: homogeneous case).
105
c
c a********************************************************
C * TWO DIMENSIONAL SATURATED-UNSATURATED FINITE *
C • DIFFERENCE MODEL OF FLOW THROUGH DOUBLE POROSITY *
C * MEDIA *
C *********************************************************
C
COMMON/A 1/ ITAG( 20.1.20),KTAG C 20•1 «20 )«P(20 « 1 « 2C )•
IX(20).Y(1).Z{20).P0R0(9).ALPHA(9)»PRSATX(9>tPRSATY(9)*
2ANH0R(9),ANVERTt 9).ITITLE{20).NES(1OP).ETAC9).ALAM(9),
3RESATt9)»RX(100),RY(1),RZ(100).PBO(IOO).PBOS<100).
4P I(20.1.20).PRSATZ(9),PBUB(9).PTOP(1 CO >
C0MM0N/A2/ ILPUT(100).ITAGItlOO).DELTI(lOO).XLRl«XLR2.
IPT(20.1.20).DELX(20).DELY( 1).0ELZ( 20).OMEGB0.TI ME.
2DELT,GRAV.SEANA,SEAN8.XL.XLR.CXXL.THETA,FACTER.FSCALE.
3ITPUT.OMEGB1 .DIFF.FACTOR.IBUG,INKPUT.ITOP. I STEP.I BILL.
4ITT(I 00).NOTIME.RPER.PERC.IPIT.TSTEP
COMMON/A3/TIM,PHICON.PCON«ISP.IBUGPR.NOEO.INN.DELTF.
*TN.IT.TQLA.KAR.KART.RES.TOLB.L.M .N.GEOFF,TIMl.BETA.
•PCOM(200).PHI(20.1.20).UU(20.1.20).PM(20.1.20).OMEGA
C0MM0N/A4/ UM{20.1.20).VM(20.1.20).QMA(20.20).CLE(9).
1RESATM(9).PBUBM( 9).POROM<9).ALAMM(9).ALPHAM(9).XIM(9).
2ANH0RM(9).ANVERM(9),ET AM(9).PRSAXM(9).PRSAZM(9)
COMMON/Aa/AP(20).CP(20).A(20),8(20),C(20).D(20),E(2C).
IH(20).W(20).S(20).UX(20).UY(20).UZ(20),D CNNA(20).
2PR1(20).PR?(20 ).PR5(20 ),PR6(2C ).LI(20).LK(20).F(20).
3LINK(20>.RXP(20).RYP(1),RZP(20).G(20)
DIMENSION PINIT( 10).ISOIL(9,15 ). ISUBdOO ).KARL( 100),
1IMIN(100),SEC(100).I DUMMY(lO).KFAG(lOO),MOOF(99).
2RESL{100 Î.ÏSUGÎÎ 100).CELT I Mi ÎCCÎ .Ï TOPÎ(99)«1200(100!,
31 SOILM(9.15).IH(IOO)
C
C *********************************************************
C * READ IN GRID DIMENSIONS AND HYDRAULIC PROPERTIES *
C *********************************************************
C
1 READ{5,2) IMP.ÏFR
IF (IMP.EQ.O) GO TO 3
READ(5.2) ISP.NOT!ME,< ÎTÎTLEÎ IÎ,1= Î,20 Î
READ(5.8) L.M.N. NOIN.NOFO.NOHEAC.NOFLUX. KPUT.
*ITPUT. IPRINT. ISTEP. IPIT
LI=L-1
N1=N-1
5 RE AD(5.9) (DEL X( I ).1 = 1 .L )
READ(5,9) (DELZ(K),K=1.N)
X(1)= 0.0
X(L)=0.0
Z(1)=0.0
Z(N)=0.0
DO 17 1=2.LI
112
IF(I-2) 500.500,501
500 X(I)=DELX(I)/2.
GO TO 1 7
501 X(I)=X(I-1)+(DELX(I-l)+OELX(I))*0.5
17 CONTI NUE
DO 1 3 K=2.N1
IF(K-2) 502.502,503
502 Z(K)=DELZ(K)/2.
GO TO 1 8
503 Z(K)=Z(K-1)+0.5*(DELZ{K-1)+DELZ(K))
18 CONTINUE
Y(1)=0.0
DELY{1)=0.0
READ15,9) BETA, C X X L , P E R C.P E R C 1
RPER=1./REPPER
XLR=1.
X L R 1= 0 . 5 * X L R
XLR2=1.5*XLR
I F ( I P R I NT.EQ. 1) GO TO 6700
WR I T E ( 6 , 6 0 )
WRITE(6.3C6) ( ITITLE(I ) .I=1.20 »
WRITE(6,61) L
WRITE(6.63) N
WRITE(6.585)
WRITE(6.86) (DELX(I).1=1,L)
WRITE{6,538)
WRITE(6.86) (OELZ(K),K=1,N)
WRITE(6.65)
WRITE(6.86) (X(I).I=1,L)
WRITE(6î88)
WRITE(6.86) (Z(K).K=1,N>
W R I T E ( 6 , 9 8 0 0 ) I M P . N O T I M E ,I T P U T , M I M P U T
WRITE(6.9801 ) BE TA,REPPER.CXXL,PERC.PERC1
C
C *******************#************»************************
C READ I N NODAL TAGS. ASSIGN INITIAL PRESSURE HEADS(GUESS)
C INTERIOR AND NOFLOW NODES, ASSIGN VALUES TO HEAD AND
C FLUX NODES
C *********************************************************
c
6700 NOBO=NOHEAD+NOFLUX
1117 DO 10 K=1,N
J=1
1 0 R E A D * 5 . 1 2 0 1 ) ( I T A G ( I.J.K ) .I= 1,L )
1 1 1 8 I F ( I P R I N T . E Q . l ) GO TO 1 1 5
1301 FORMAT(4012)
WRITE(6.90)
WRITE(6.9l)
WRITE(6.92)
WRITE(6.93)
113
WRITE ( 6 . 9 4 )
DO 1 1 3 KTCP=l.N
K=K+1-KTOP
J =I
1 1 3 W R I T E ( 6 . 1 0 0 ) ( I T A G ( 1, J . K ) , 1=1 , L )
115 J=1
9011 READ(5.9) (PINIT(NOB).NOB=1.NOIN)
9013 READ(5.11) (ILPUT( IDUM)» IOUM=1.NCBO)
REAO( 5 , 1 1 ) (ITAGI (IDUM) ,IDUM=1 .NODO)
R E AD C 5 . 11) ( I T A G 9 ( I D U M ) , I D U M = l . N O B O )
749 IDUM=1
DO 1 2 1 = 1 , L
DO 12 K=1,N
J =1
IF (ITAG(I,J,K)-8) 39.750,751
751 IF(ITAG( I .J.K)-9 ) 30 22,30 22.3023
3022 READ(5,9) PBO(IDUM)
IF(ITAG9(IDUM).NE.0) GO TO 510
P ( I.J . K ) = P B O ( I D U M )
PT(I.J.K )=0.0
I F ( I L P U T ( IDUM).NE.3) GO TO 9223
P T O P ( ID U I V ) = 0 . 0
RX(IDUM)=0.0
RZ(IOUM)=C.O
GO TO 9 2 2 3
5 1 0 P T (I. J , K ) = 5 . 0
I T A G ( I.J . K ) = I T A G 9 ( I D U M )
NOG=ITAG(I.J.K)
P( I.J.K)=PINIT(NQG)
tfRITE(6.550> I,K.PBO(lOUM)
550 FORMAT(/10X.'WILL BE CHANGED TO , AFTER * ,
I S T E A D Y - S T . R U N 1= • .I3 ,2 X.• K = • , I 3 , 2 X , « P R S . H D = * , F 1 0 . 2 / )
I F ( I L P U T ( IDUM) . N E . 3 ) GO TO 9 2 2 3
PTOP ( IDUM )=0 . 0
RX(IOUM)=0.0
«Z(IDUM)=0.0
IDUM=IDUM+1
GO TO 1 2
9223 I0UM=IDUM+1
GO TO 1 2
3023 P(I.J.K)=P(I.J.K-1)
I F ( I T A G ( I, J , K ) . E Q . l l ) GO T O 5 2 0
PT(I•J,K)=2.0
GO TO 1 2
520 PT(I.J.K )=6.0
I T A G ( I.J . K ) =l
GO TO 1 2
750 I F ( I T A G I ( I D U M ) . E Q . 1 ) GO TO 9 2 0 2
READ(5 . 9 ) RX(IDUM),RZ(IDUM).PTOP(IDUM),PBO( IDUM)
P(I.J,K)=PBO(IDUM)
114
ITAG(I. J.K)=9
PT(I,J,K)=XLR
IOUM=IDUM*1
GO TO 1 2
9202 REA0(5,29) RX(IDUM), RZ( IDUM>,PTOP( IDUM),ISUB< IDUM)
29 FORMAT(3F10.3i110)
NOG=ISUB(IDUM)
P( I . J.K)=PINITINOG)
ITAG{I.J ,K) =ISUB( IDUM)
PT(I,J,K)=XLP
I D U M = I D U M +1
GO TO 1 2
39 I F ( I T A G ( I . J , K > . N E . O ) GO TO 13
P(IiJ»K)=0,0
PT(1,J.K)=0.0
GO TO 1 2
13 NOG=ITAG(I » J.K)
9018 P(I,J,K)=PINIT(NOG)
9020 PT(I,J,K)=0.0
12 CONTINUE
C
c *********************************************************
C READ FORMATION NODAL TAGS AND FORMATION PROPERTIES
Q *********************************************************
c
GOTO (1121.3002.9C00,9001),KPUT
1121 DO 14 K=1,N
J=1
14 READ(5,11) {KTAG(I.J.K),I=1.L)
GO TO 1122
30C2 DO 3003 K=1,N
3 0 0 3 R E A D ( 5 . 1 l ) ( ( K T A G {I.J,K ) .I= 1,L ) . J = 1, M )
GO TO 1122
9000 READ(5.11) (KFAG(K).K=1,N)
DO 9002 K=1,N
DO 9002 1 = 1 . L
DO 9 0 0 2 J = l . M
9002 KTAG(I.J«K)=KFAG(K)
GO TO 1 1 2 2
9001 R E A D ( 5 . l l ) KWAG
DO 9003 K=1.N
DO 9003 1=1.L
D O 9 0 0 3 J=1 . M
9003 KTAG(I.J .K)=KWAG
1 1 2 2 I F ( I P R I N T . E Q . 1 ) GO TO 1 1 1 5
WRITE<6,90)
9 0 1 0 I F { I P R I N T . E Q . I) G O T O 1 1 1 5
WR I T E ( 6 . 1 0 9 1 )
WRITE ( 6 .1092 )
DO 1113 KT0P=1,N
115
K=N+I-KTCF
J-1
1113 WRITE(6.100) (KTAG(I,J,K).I=1,L)
C
c *********************************************************
C READ I N GECHYDRAULIC PROPERTIES OF FACTURES
C *********************************************************
c
1115 00 15 NQ=1.N0F0
1016 READ{5.16) ANHCR(NO) .ANVERT(NO),PORO(NO) « ALPHA{NO).
* E T A ( N O ) • A L A M ( N O ) , ( IS OIL ( N O » IM ) ,I y = l ,15 > • P D U B ( N O ) ,
»RESAT(NO >
I F ( I F R . E Q . O ) GO TO 1 5
C
C *********************************************************
C IFR=1, READ GEOHYDRAULIC PROPERTIES OF MATRIX
C IFR=0. MATRIX I S CONSIDERED AS IMPERMEABLE
C
READ(St 16) ANHORM(NO),ANVERM(NO).POROM(NO),ALPHAM(NO)
• . E T A M ( N O ) , A L A M M ( N O ) » ( I S O I L M ( N O , I M ) • I M = 1 . I5 ) »
•P8UBM(NO).RESATM(NO),XIM(NO)»CLE(NO)
15 CONTINUE
I F ( I P R I N T . E G . l ) GO TO 6 7 0 2
WRITE(6.400)
WRITEC6«401»
W R ITE(6 , 9 8 3 1 »
DO 403 N0=1.N0F0
1 0 5 1 W R I T E ( 6 . 4 0 2 ) N O , { I S O I L ( N O , IM ) • I M = 1 . 1 5 ) . A N H C R ( N O ) ,
•A N V E R T ( N O ) , P O R O ( N O ) . A L P H A ( N C )
I F ( I F R * E a « 0 ! GO TO 4 0 3
WRITE<6,760) ( ISOILM(NO,I M),IM=1,15),ANHORM(NO),
* A N V E R M ( N C ) ,PORCM(NO) , A L P H A M C N O )
403 CONTINUE
760 FORMAT(12X,15A1,E10.2,10X,E10.2,2X,F10.3,2X,E10.2)
I F ( I P R I N T . E Q . l ) GO TO 6 7 0 2
406 WRITE(6,40e)
DO 40 4 NO=L,NOFO
W R I T E ( 6 , 4 0 9 ) N O , ( I S O I L ( N O , I M ) . I M=1 , 1 5 ) , E T A ( N O ) ,
SPBUStNO),RESAT(NO)
I F ( I F R . E O . O ) GO TO 4 0 4
W R I T E ( 6 . 7 6 2 ) ( I S 0 I L M ( N Q , I M ) , I M =1 , 1 5 ) , E T A M ( N O ) ,
•P B L B M ( N O ) , R E S A T M ( N O ) , X I M ( N O )
I,XIM(NO)
404 CONTINUE
7 6 2 F 0 R M A T ( 1 2 X , 1 5 A 1 , 1 X , * E T A M = * ,F 5 . 2,2 X ,• P B U D M = • ,F 1 C.2 , 2 X ,
*'RESATM=',F10.2,2X,'XIM=',F10.5)
6702 READ(5,40) OMEGA,OMEGBO.OMEGB1,TOLA,T0L8,SEANA,SEANB,
•KART,GEOFF,DIFF.FACTOR
9082 I F ( I P R I N T . E Q . l ) GO TO 1 0 3 1
9 8 0 3 W R I T E ( 6 . 9 8 0 6 ) O M E G A, O M E G D O , O M E G b 1 , T O L A , T O L B
116
DO 790 I = 1 , L
00 790 K=1.N
J=l
IF(ITAG( I»J»K) .EQ.O) GO TO 790
NO = K T A G ( I . J . K )
I F ( X I M(NC).EQ.0.0 ) GO TO 790
PM(1,J,K>=(VM(I.J.K)*P(I.J,K)+UM(I,J.K)*PM(I,J,K))/
P 8 I 8 = P M ( I. J , K ) - P B U B M ( N O )
I F ( P B I 0 . 6 E . 0 , 0 ) GO TO 1200
PRKM=ANMCPM(NO)*(PBUGM(NO;/PM(I,J,K))**ETAM(NO)
GO TO 1 2 1 0
1200 PRNM=ANHCPM(NO)
1210 QMA(I,K)=8.*0ELX(I)*DELZ(K)*PRMM*(PM(I,J,K)-P(I.J,K))/
*(CLE(NO)»CLE{NO))
790 CONTINUE
814 CONTI NUE
TIME=TIME+DELT
I H ( I T ) =IF I X ( T I M E / 3 6 0 0 . 0 )
I M I N ( I T ) =I F I X ( ( T I M E - F L O A T ( I H ( I T ) ) * 3 6 C 0 . 0 ) / 6 0 . 0 )
SEC(IT)=TIME-FLOAT(IH(IT))*3600.0-FLOAT(IMIN(IT))*60.0
KARL(IT)=KAR
RE£L(IT)=«eS
DELTI(IT)=OELT
IT O P I ( I T ) =I T O P
IBUGI(IT )=IBUG
IBOO( I T ) = IBUGPR
IF (IBUG) 9092,9092,9091
9092 IF ( ITOP ) 9090.9090,9091
9091 ITPUT=INKPUT
9090 IF (NES(IT)) 345,345,311
345 IT=IT+1
GO TO 34 1
C
C *********************************************************
C PRINT OUT PRESSURE HEAD Ù TOTAL HYDRAULIC HEAD
C *********************************************************
C
311 DO 330 K=1*N
DO 3 30 1 = 1 , L
J=1
IF (ITAG(I.J.K)) 350,350,351
3 50 PHI(I.J.K)=0.0
GO TO 3 3 0
351 PHI(I.J.K)=P(I.J,K)+Z(K)
330 CONTINUE
IF(IT) 315.389.393
3 8 9 GO T 0 ( 3 1 6 . 3 8 0 . 3 1 6 ) . I N N
316 WRITE(6,32l)
«IRITE(6.323) KAR
119
WRITE(6.324) RES
KUR-KAR
RUS=RES
GO TO 3 1 e
3 9 3 N E S I T =N E S ( I T )
GO T T ( 3 1 7 , 3 8 0 , 3 1 7 ) . N E S I T
317 WRITE<6,325) IT
W R I T E < 6 , 3 2 5 ) IH { I T ) , I M I N ( I T ) , S E C ( I T )
326 FORMAT!IX,5HT1ME=.19.6H HOURS,15,8H MINUTES,F7.3,
*8H SECONDS/)
WRITE(6,322)
WRITE(6,323) KAR
WRITE(6,324) RES
GO TO 318
3 1 5 I F ( I P R I N T . E Q . l ) GO TO 3 1 9
WRITE(6,116)
318 1=2
J =1
WRITE{6,2C8) (P(I,J,K),K=1,N)
I F ( I T . L T . O ) GO TO 3 1 9
690 WRITE(6,327)
J=1
1= 2
WRITE(6,208) (PHI(1,J,K),K=1,N)
C
c *********************************************************
C * PRINT OUT MATRIX FLOW ( CM3/SEC/CM) *
C *********************************************************
c
I F d F R . E G . O i GO TO 4 8 9
WRITE{6,792>
792 F0RMAT(/10X,'PRESSURE HEAD DISTRIBUTION I N MATRIX:'/)
J=1
1=2
WRITE(6, 208) (PM( I • J , K ) ,K=1,N)
WRITE(6,1230)
1230 FOfiMAT(/10X,•MATRIX FLOW;*/)
WRITE(6,211) IQMA(I,K).K=l,N)
21! FORMAT ( l O X . l 2E10 - 3 )
489 IF(IT) 319,390,391
390 I F ( I N N . E G . 3 ) GO TO 380
GO TO 319
391 I F (NES( I T ) . E Q . 3 ) GO TO 3 8 0
GO TO 319
380 CONTINUE
319 IT=IT+1
IF(IT-NOTIME) 312,312,1
9250 WRITE(6.9251)
IZ=IT-1
W R I T E ( 6 , 7 0 9 7 ) I Z , D E L T I ( I 2 ) , T I M E , K A R L ( I Z ),
120
* R E S L ( I Z ) .l e U G K I Z ) . I T O P K I Z )
GO TO 1
C
C FORMAT STATEMENTS
C
2 F O R M A T (I1-, I 4 , 2 0 A l )
8 FORMAT (1615)
9 FORMAT (8E10.3)
11 FORMAT ( 8 0 11)
16 F0RMAT<6E10.3.ISAlJ
40 F0RMAT(7E10.3.15)
60 FORMAT ( 1 M , 9 X . ' T W 0 DIMENSIONAL TRANSIENT SATURATED',
••-LNSATUHATED LINE SUCCESSIVE OVERRELAXATION • ,
* MODEL I N DOUDLE POROSITY MEDIA*/)
306 FORMAT (10X,12H0ATA DECK : , 2 0 A 1 / / )
61 FORMAT ( lOX,22HN00ES I N X-DIRECTION = . I 5 )
63 FORMAT (IOX,22HNODES I N Z-OIRECTION = . I 5 / / )
5 8 5 F O R M A T ( 1H O • 9 X , 3 S H N O D . A L S P A C I N G S I N X - C I R E C T I O N - C M / )
5 8 3 F O R M A T ( 1H O . 9 X , 3 3 H N G D A L S P A C I N G S I N Z - D I R E C T I O N - C M / )
85 FORMAT <lh0.9X,'NODAL COORDINATES I N X-OIREC., CM*/)
8 6 F O R M A T ( 1O X , 1O F l 0 . 2 )
88 FORMAT (lh0.9X,'NODAL COORDINATES I N Z-DIREC.. C M ' / )
400 FORMAT ( I H l , 9 X .30HSATURATED FORMATION PROPERTIES/)
4 0 1 F O R M A T ( I0 X , ' F O R M A T I O N '.lOX ,' P E R N X • , 5 X » • P E R M Z ' t 3 X ,
*'POROSITY'.6X,'ALPHA')
402 FORMAT(I11,IX,15A1,E1C.2.10X,E10.?,F10.3.2X,E10.2)
9831 FORMAT (29X.4HCM 2.6X,4HCM 2»6X,4HCM 2,18X•4HCM-1/)
70 97 FORMAT(/10X,'IT=',I3.2X, •DELT= •» ElO. 3.2X, •TIME=' ,
* E 1 0 . 3 » 2 X K A R = ' » I 3 . 2 X , ' R E SID U E =' , E 1 0 . 3 . 2 X , ' I B U G = ' , 1 3 ,
*2X,'ITOP='.13/)
4 0 8 F O R M A T ( 1H O t 9 X , 3 2 H U N S A T U R A T E D F O R M A T I O N P R O P E R T I E S / )
4 0 9 F O R M A T ( l O X , 1 1,1 X,15 A 1,I X , 4 H E T A = , F 5 . 2,2 X ,
t'BUB. PRES. =',F10.2,IX.'RESIDUAL SAT.=' ,F10.2)
90 FORMAT ( I H l • 9 X , l 3HN0DAL TAG MAP/)
<31 F O R M A T ( l O X , 1 6 H 0 = O U T S I D E M O D E L )
92 FORMAT ( l O X , ' 1-7=Z0NES OF I N I T I A L GUESSED PRESSURE
•'HEAD*)
93 FORMAT (10X,13H 6=FLUX NODES)
94 FORMAT (10X.13H 9=HEAD NODES/)
1091 FORMAT (10X.16H 0=OUTSIDE MODEL)
1092 FORMAT ( l O X . l S H 1-9=F0RMATI0NS/)
ICO F0RMAT(1OX,5012)
116 FORMAT (IHl,gx,'INITIAL(GUESSED) PRESS. HEAD - C M ' / )
207 FORMAT (?X,2hK=,I2)
208 F0RMAT(2X ,16F8.2)
321 FORMATCIHI,9X,•INITIAL STEADY-STATE PRESS, HEAD - CM')
3 2 2 F O R M A T ( 1O X , 2 4 H P R E S S U R E H E A D V A L U E S - C M / )
3 2 3 F O R M A T ( l O X , 2 1 H N U M B E R O F I T E R A TIC N S =,I5 )
3 2 4 FORMAT { I0 X , 8 H R E S I O U E = , F 1 0 , 6 / )
325 FORMAT (1H1,16HTIME STEP NUMBER,15)
121
327 FORMAT ( 1H O . 9 X . 2 5 H H Y D R A U L I C H E A D V A L U E S - C M / )
9800 FORMAT { 1H O , 9 X , 4 HI M P = . I 3 » 3 X t 7 H N 0 T I M E = » 1 4 , 3 X . 6 H I T P U T = .
• 1 2 . 3 X , 7 H M I M P U T =, 1 2 )
9801 FORMAT(/IOX,•SETA(l/CM)=*,ElO.3.?X,•REP.PERM(CM/S)=•,
»E10.3.2X,'ERROR LIM(CM)=*,F6.1.2X,«PERC='.E1C.3,2X,
* ' P E R C 1= ' . E l 0 , 3 / )
9 8 0 6 F O R M A T ( 1H O . 9 X . 6 H a M E G A = , F 4 . 2 , 2 X , 7 H C M E G B C = . F 4 . 2 . 2 X i
* 7 H 0 M E G a i=, F 4 . 2 , 2 X , 5 H T 0 L A = , F 1 0 . 3 . 2 X , 5 H T C L B = . F 1 0 W3)
9 8 0 7 F O R M A T ( I 0 X , 6 H S E A N A =. F 7 . 5 . 2 X , 6 H S E A N B - . F 7 . 5 . 2 X « 5 H K A R T = .
•I4 , 2 X , 6 H G E 0 F F = . F 9 . 2 . 2 X » 5 H 0 I F F = , F 9 . 2 . 2 X , 7 H F A C T O R = . F 4 . 2 )
5200 FORMAT < IHI.9X.1OHFLUX NODES/)
7 0 7 F O R M A T { IO X.4I 5 . 3 F 1 0 . 5 )
9 2 5 1 F O R M A T ( I H 1 . 9 X , 2 4 H R E SID U E G R E A T E R T H A N 2 5 . / / )
9836 F0RMAT(12X.» IDUM I J K RX RY«,
*• . RZ*)
9837 FORMAT (41X,10HCM PER SEC/)
3 RETURN
END
SUBROUTINE LSOR
C O M M O N / A I / IT A G ( 2 0 . 1 . 2 0 ) . K T A G < 2 0 , 1 . 2 0 ) . P ( 2 0 . 1 . 2 0 ) .
1 X < 2 0 ) , Y ( 1 ) . Z ( 2 0 ) , P 0 R 0 ( 9 ) . A L P M A ( 9 ) . P R S A T X ( 9 ) . P R S A T Y < 9 ).
2 A N H 0 R ( 9 ) . A N V E R T ( 9 ) . I T I T L E ( 2 0 ) . N E S C 1 0 0 ) . E T A ( 9 ) .A L A M ( 9 ) »
3RESAT(9) .RX(1C0).RY(1 ),RZ<100).PBO(ICO),PBOS(100).
4 P I ( 2 0 . 1 , 2 0 ) , P R S A T Z ( 9 ) . P B U 8 ( 9 ) ,PTOP(1CO)
C0MM0N/A2/ ILPUTtlOO ) . ITAGI(100) .OELTK 100 ).XLR1. XLR2.
1PT(20,1,2C),DELX(20),OELY(1),DELZ(20).OMEGBO.TIME.
2DELT,GRAV.SEANA.SEANB.XL.XLR.CXXL.THETA.FACTER.FSCALE.
31TPUT.OMEGBl .DIFF.FACTOR,IBUG, INKPUT.ITOP. ISTEP.IBILL.
4ITT<100)sNQTIME.RPER,PERC,IPIT,TSTEP
COMMON/A3/TÎM.PHICON,PCON,ISP.ISUGPR.NOBO.INN.DELTF,
*TN.IT.TOLA.KAR.KART.RES.TOLB.L.M.N.GEOFF.TIMl.BETA,
•P C O M ( 2 0 0 ) . P H K 2 0 . 1 . 2 0 ) . U U ( 2 0 . 1 , 2 0 ) . P M C 2 0 . 1 , 2 0 ) , O M E G A
COMMON/A8/AP(20) ,CP(20).A(20),8(20 ).C(20>.D(20).E(20).
1H( 20) .W{20),Sl20).UX(?0) ,UY{20).UZC2C).DONNAI2 0 ) .
2 P R 1 ( 2 0 ) . P R 2 ( 2 0 ) , P R 5 ( 2 0 ) . P R 6 t 2 0 ) . L I ( 2 0 ) . L K ( 2 0 ) . F ( 2 0 ).
3LINK(20) .fiXP(20) ,HYP(1) .RZP(20).G(20 )
IBUGPR=0
IT CP=0
IBUG=0
S l = l.
S 2 = l.
9094 DO I KAft=l,KART
I F ( I T . L T . 2 ) GO TO 9210
I F ( K A R . N E . l ) GO TO 9 2 1 0
I F ( I B U G . N E . O ) GO TO 9210
I F (ITOP.NE.O) GO TO 9210
DO 9 2 1 1 IDUM=1.NOBO
I F iILPUT( IDUM ) . E Q . 3 ) GO TO 9212
9211 CONTINUE
GO TO 9210
122
9212 IDLM=1
DO 9213 J=1.M
DO 9 2 14 1 = 1 , L
DO 9 2 1 4 K = 1 . N
I F U T A G ( I . J , K ) . L T . 0 ) GO TO 9214
I F ( I T A G ( I , J , K ) . G T . 9 ) GO TO 9 2 1 4
I F (ITAG( I • J , K } . E Q . 9 ) GO TO 9215
I F ( I L P U T ( I D U M ) , N E . 3 ) GO TO 9215
I F ( ITAG( 1+1 • J , K ) « N E . 9 ) GO TO 9255
IR=I+1
KR=K
GO TO 9 2 5 0
9 2 5 5 I F ( I T A G ( I - l . J . K > . N E . 9 ) GO TO 9 2 5 6
IR=I-1
KR=K
GO TO 9 2 5 0
9 2 5 6 I F ( I T A G ( I » J , K - 1 ) . N E . 9 ) GO TO 9 2 5 7
IR=I
KR=K-1
GO TO 9 2 5 0
9 2 5 7 I F < [ T A G ( I - 1 . J , K - 1 ) . N E . 9 ) GO TO 9 2 5 8
IR=I-1
KR=K-1
GO TO 9 2 5 0
9 2 5 8 I F ( IT A G { I + 1 , J • < - 1 I , N E . 9 ) G O T O 9 2 1 5
IR=I+1
KR=K-1
9250 JR=J
JDUM= IDUM
IDCM=1
DO 92 51 JH=1,M
DO 9 2 5 1 I H = 1 , L
DO 9251 KH=1,N
I F ( ITAG( I H , J H , K H ) . L T . S ) GO TO 9 2 5 1
I F { Ï TAG( I H , JH,KH) .GT , 9 » GO TO 9 2 5 1
I F ( I T A G ( I H , J H . K H ) . E G , 8 > GO TO 9 2 5 2
I F ( J M . N E . J R ) GO TO 9 2 5 2
I F ( I H . N E . I R ) GO TO 9 2 5 2
I F ( K H . N E . K R t GO TO 9 2 5 2
I F ( I L P U T ( I O U M ) . E 0 . 3 ) GO TO 9 2 5 3
GO TO 9262
9252 IDUM=IDUM+1
9251 CONTINUE
9253 I F ( I R . E Q . I - 1 ) GO TO 9260
I F ( I R . E Q . l + l ) GO TO 9261
GO TO 9 2 1 6
9260 I F (KR.EG.K) GO TO 9234
GO TO 9 2 3 1
9261 I F (KR.EC.K) GO TO 9233
GO TO 9 2 3 2
123
9262 IDUM=JOUy
I F ( I R . E Û . I - l ) GO TO 9263
I F ( I R . E Q . I + 1 ) GO TO 9 2 6 4
GO TO 9257
9 2 6 3 I F { K R . E Q . K ) GO TO 9 2 5 6
GO TO 9258
9264 I F (KR.EQ.K) GO TO 9255
9215 I0UM=IDUM+1
9214 CONTINUE
IG=0
IDUM=1
DO 9 8 0 0 1 = 1 , L
DO 9800 K = l , N
I F (ITAG( I , J . K ) , L T . 8 ) GO TO 9800
I F ( I T A G ( I , J , K ) . G T . 9 ) GO TO 9800
I F ( I T A G ( I , J . K ) . E Q . 9 ) GO TO 9801
I F ( I L P U T ( I D U M ) . N E . 3 > GO TO 9801
I F ( I G . N E . O ) GO TO 9802
KILL=K
ILL=I
IG=1
GO TO 9 8 0 1
980? I F (K.GE.KILL) GO TO 9801
K I L L=K
ILL=I
9801 I0UM=I0UM+1
9800 CONTINUE
LI(J)=ILL
LK(J)=KILL
LINKiJ»=6
GO TO 9213
9216 LINK<J>=1
GO TO 9230
9231 LINK(J)=2
GO TO 9230
9232 LINK(J)=3
GO TO 9 2 3 0
9233 LINK(J)=4
GO TO 9230
9234 LINK(J)=5
9230 LI(J)=I
LK(J)=K
9213 CONTINUE
9210 DO 704 1=1,L
DO 704 K=1,N
J=1
IF (KAR-1) 370,370,371
370 IF (IT-1) 372,372,9000
372 PI(I,J,K)=P(I,J,K)
GO TO 70 4
124
IDLIM=1
I00T=0
DO 810 1=1,L
DO 810 K=l , N
J=1
I F ( I T A G ( I . J . K ) . E Q . f l ) GO TO 8 1 5
I F ( I T A G ( I. J » K ) . N F . 9 ) G O T O 8 1 0
I F ( I U P U T < I D U M ) . G E . 3 ) GO TO 8 2 2
ITAG(I,J.K»=8
GO TO 822
815 I F ( I L P U T ( IDUM»,NE«6 ) GO TO 8 2 2
IT A G { I » J . K ) = 9
822 IF (ITAG(I.J.K)-9) 827,826.810
826 I F f I L P U T ( I0UM>.EQ«3) GO TO 813
I F ( I L P U T ( I D U M ) . L T . 5 ) GO TC 8 1 3
I F ( I T T ( I T ).EQ.O) GO TO 813
READ(S,45) PBO(IDUM)
I F ( I L P U T ( I D U M ) . N E . Ô ) GO TO 8 1 3
I F ( P B O ( I C U M ) . G E . O . O ) GO TO 8 1 3
ITAG{I,J,K)=8
RX{IDUM)=0«0
RZ(IDUM)=0«0
GO TO 813
827 I F ( I T A G ( I , J , K ) . N E . 8 ) GO TO 810
I F ( I L P U T ( I D U M ) . E 0 . 3 ) GO TO 8 1 3
RXP(IOUM)=RX(IDUM)
R Z P ( I D U M »=R Z ( I D U M )
I F ( I L P U T ( I 0 U M ) . N E . 2 ) GO TC 1813
I F ( I T T ( I T ),EQ«0) GO TO 1813
I F Î I S T E P * N E » Î Î GO TO 1260
I F ( T I M E . L T . T S T E P ) GO TO 1813
I F ( I B I L L . N E . O ) GO TO 1813
I F (IDUM .NE.NOBO) GO TO 1860
IBILL=1
1860 READ(5,4£) RX(IDUM),RZ(IDUM)
IF (IDOT) 1830,1830,1831
1830 WRITE{6,1832)
WRITE(6.1633)
i 633 FORMATÎ/ÎIX,• IDUM* .4X*'I',4X*'J'»4X,'K*;5X,'RX':8X:
*'RZ'/)
1 8 3 1 W R I T E < 6 , 7 0 7 ) I D U M , I, J , K , R X { I D U M ) ,R 2 ( I D U M )
IDCT=ID0T+1
1813 GUY=PTOP(IDUM)-P(I,J,K)
I F (GUY.GE,GEOFF) GO TO 8 1 3
BEFORE=DELX(I)*HZP(IDUM)•DELZ(K)*RXP(IDUM)
AFTER=DELX(I)*RZ(IDUM)+DELZ(K)*RX(IDUM)
1851 ADD=BEFORE-AFTER
I F (ADD.GE.GEOFF) GO TO 813
ITAG( I,J.K)=9
PDO(IDUM ) =PTOP(IDUM)
126
813 IDUM=IDUM+1
810 CONTINUE
700 CALL LSORV
13 IF(KAR-KART) 40,9205,9205
40 IF (IT) 3335,3335,3336
3335 TQLC=TQLA
GO TO 3 3 3 7
3336 T0LC=T0L8
3337 IF (RES-TOLC) 9205,920 5,3338
3338 I F ( I T . E C . O ) GO TO 3333
I F ( K A P . L E . 2 ) GO TO 3340
RFSO=PES-RESP
IF(RFSO-DIFFI 3347,3347,9097
9097 IF(RES-RESPP> 3 3 47 , 3 3 47 , 9 0 9 2
3340 I F t K A R . E O . l ) GO TO 3 9 5 1
3347 RESPP=RESP
3951 RESP=RES
I F ( N E S ( I T ) . L E . O ) GO TO 1
3333 I F ( I P I T . E G . O ) GO TO 1
I F ( K A R . N E . l ) GO TO 9 8 1 0
WR1TE<6,9720 » I T
WRITE(6,9721)
9810 WRITEC6,3334) KAR.RES
1 CONTINUE
9C92 WRITE(6,3334) KAR,RES
DO 90 93 1 = 1 , L
D O 9 C 9 3 J = 1, M
DO 9 0 93 K = 1 , N
9093 PC I . J , K ) = P T ( I , J , K >
DELT=DELT/FACTOR
I F ( I B U G . N E . O ) GO TO 9 2 4 0
INKPUT=ITPUT
9240 ITPUT=0
I8UG=IBUG+l
I F (IBUG.LE.2) GO TO 9094
ITPUT=INKPUT
9205 I F ( I T . L T . 2 ) GO TO 2 5
I F ( I T O P . N E . O ) GO TO 2 5
IDUM=1
DO 9 2 0 6 J=1,M
DO 9206 1 = 1 , L
DO 9 2 0 6 K = l , N
I F ( I T A G ( I . J , K ) . N E . 8 ) GO TO 9 2 2 1
I F { I L P U T ( I D U M ) . G T . 3 ) GO TO 9222
I F ( I L P U T ( I D U M ) . N E . 3 ) GO TO 9 2 2 5
I F ( I . N E . L K J ) ) GO TO 9222
I F ( K . N E . L K ( J ) ) GO TO 9222
9225 I F (PC I,J,K>-PTOP(IDUM)) 9222,9207,9207
9 2 0 7 I T A G { I,J , K ) = 9
PBO(IDUM)=PTOP(IDUM)
127
ITCP=1
IBUGPR=I BUG
IBUG=0
9221 I F ( I T A G ( I . J , K ) , N E . 9 ) GO TO 9206
9222 IDUM=I0UM+1
9?C6 CONTINUE
I F t I T O P . N E . l ) GO TO 25
DO 1 8 6 1 1 = 1 . L
DO 1861 J = l . M
00 1861 K=1,N
1861 P(I.J,K)=FT(I.J,K)
INKPUT=ITPUT
ITPUT=0
GO TO 9094
45 FORMATCSEIO.3)
707 FORMAT(IOX.4I5.3F10,5)
1 8 3 2 F O R M A T ( 1H I . 9 X , 1 2 H F L U X C H A N G E S / )
3 3 3 4 F O R M A T I 10 X , 1 5 . F 1 4 . 2 )
9 7 2 0 F0FMAT(1H1,9X,*ITERAT ION SUMMARY FOR TIME STEP N 0 = ' .
*15/)
9721 FORMAT (1CX.16HITER NO RESIDUE/)
25 RETURN
END
SUBROUTIKE LSORV
C O M M O N / A l / I T A G < 2 0 . 1 » ? 0 ) . K T A G ( 2 C . 1 . 2 0 ) . P ( 2 0 . 1. 2 0 ) .
1X{20).V{1).Z(20) ,PORQ(9» .ALPHA(9).PRSATX(9),PRSATY(9),
2ANH0R{9).ANVERT(9). ITITLE(2C),NE S( 1CC),ETA(9).ALAM(9).
3 R E S A T ( 9 ) , R X ( 1 0 0 ) .R Y ( 1 ) . R Z ( 1 0 0 ) . P B C t l C O ) . P B O S d O O ) .
4PÎ <20.1,20)»PRSATZ( 9),PBUB(9) .PTOPdOO)
COMMON/A2/ ILPUT(100). ITAGK100) .DELTI(100).XLKi.XLR2.
1PT(20 .1 ,2C)«DELX(20) .DELY(l).DELZ(20)•CMEGBO.T1ME.
2DELT,GRAV.SEANA.SEANB.XL.XLR.CXXL.THETA.FACTER.FSCALE.
3 I T P U T . O M E G B l . D I F F . F A C T O R .IB U G . I N K P U T . I T O P . I S T E P . I B I L L .
4ITT(100) .NOTIME.RPER.PERC.IPIT.TSTEP
C0WM0N/A3/TIM.PHICON,PCON. ISP. IBUGPR.NOBO.INN.DELTF.
* TN.IT,TOLA.KAR .KART.RES.TOLG.L.M.N.GEOFF.TIMl.BETA,
* P C 0 M ( 2 0 0 ) . P H I < 2 0 , 1 , 2 0 ) , U U ( 2 0 . I . 2 0 ) . P M ( 2 0 . 1, 2 0 ) . O M E G A
C O W M O N / A 8 / A P ( 2 0 ) .C P ( 2 0 ) . A ( 2 0 ) ,B ( 2 0 ),C ( 2 0 Î .D Î 2 0 ) . E { 2 0 ).
1H( 20) .W(20) .5( 20) .UX(20) .UY(20>,UZ(20) ,OONNA(2Û),
2PRl(20 ) .PH2(20 ),PR5(20),PR6(20).LI(20).LK(2C).F(20),
3LINK(20),KXP(2 0),RYP(I),RZP(20).G(20)
R E S = 0.0
RESS=0.0
N1=N-1
IDUM=1
J=1
DO 2 1=1 , L
C
C BEGIN COMPUTING COEFFICIENTS A.B.C.D
C
128
DO 3 K=1,N
IF (ITAGCI,J.K).EQ.O) GO TO 3
IF (ITAG(I.J,K).E0.9) GO TO 5 2 0 7
IF(ITAG(I,J.K),EQ.10) GO TO 3
UX(K)=0.0
UZ(K)=0.0
N O = K T A G ( I. J . K )
ETA1=ETA(N0)
C
c *********************************************************
C COMPUTE DIRECTIONAL SUB-COEFFICIENTS G.H,P,Q,A,C,AP,CP.
C *********************************************************
c
c
c LEFT
C
0 1 6 I F ( I T A G { 1 - 1 .J . K ) . N E . O ) G O T O 5 3 0 0
IF (ITAG(I.J.K)-8) 5301,5304,5304
5301 H(K)=0.0
G O T O 11 6
5304 UX{K)=fiX(IDUM)/DELX<I)
GO TO 5301
5300 I F ( I T A G ( I - l . J . K J ,EQ.101 GO TO 5304
P2=PI(I-l,J,K)+C DELX(I-l )/<DELX( I-1)+DELX( I ) > } *
* ( P I ( I ,J , K ) - P I ( 1 - 1 , J , K ) )
IF (P2-PBUB(N0)) 018.017,017
017 PR2A=ANHCfi(N0)
GO TO 958
018 PR2A=ANH0R(NO)*(PBUB(NO)/P2)*»ETA1
958 IF <KTAG<I,J.K)-KTAG(I-l,J,K#> 960,959,900
959 PR2B=PR2A
GO TO 9 6 1
960 NA=KTAG( I - l , J . K>
ETA2=ETA(NA)
IF(P2-PBUB(NA)> 956.955,955
955 PR2B=ANH0R(NA)
GO TO 961
956 PR2B=ANHCfi(NA)»(PBUB(NA)/P2)»*ETA2
961 PR2(K)=(PR2A+PR2B)/2.0
I F ( P R 2 f K ) .GE.PERC ) GO TO 0 14
PR2(K)=PERC
C14 H{K)=PR2(K)/(OELX(I)*(DELX(I)+DELX(I-l))>
C
C RIGHT
C
11 6 I F ( I T A G ( I + l . J . K ) . N E , C ) GO TO 5 4 0 0
I F ( I T A G ( I, J , K ) - 8 ) 5 4 0 1 , 5 4 0 4 , 5 4 0 4
5 4 0 1 G ( K ) =0 . 0
GO TO 416
5404 UX(K)=RX(lOUM)/DELX(I)
129
GO TO 540 1
5400 I F ( I T A G ( I + l . J . K ) . E Q . 1 0 ) GO TO 5404
P I = P I ( I . J . K ) • ( D E L X ( I ) / ( D E L X ( I ) + D E L X ( I • 1) > ) *
*(PI(I+1,J,K)-PI(I.J.K))
IF(Pl-P8UB{Na)) 118,117,117
117 PRIA=ANHOR(NO)
GO TO 968
118 PR IA=ANHOR(NO) * ( P 8 U 8 ( N 0 ) / P 1 ) * * E T A 1
968 I F (KTAG(I.J ,K)-KTA6tI+l . J « K ) ) 970.969,970
969 PR1B=PR1A
GO TO 9 7 1
9 7 0 N B - = K T A G ( I + l ,J . K )
ETA2=ETA(NB)
IF (Pl-PBUB(NB) ) 966.965,965
965 PR18=ANH0K(NB)
GO TO 9 7 1
966 PRlB=ANHOR(N8)*(PBUB(NB)/Pl)**ETA2
9 7 1 P R l l K ) = ( F R l A +P R l B ) / 2 . 0
I F ( P R ! ( K ) .GE.PERC) GO TO 1 1 4
PR1(K)=PERC
114 G(K)=PR1(K)/CDELX(I)*(DELX(I)+OELX(I+l)))
C
C DOWN
C
4 1 6 I F ( N . E O . l ) GO TO 2 5
I F ( ITAG( I # J . K - 1 ) . N E . O ) GO TO 5 7 0 0
IF (ITAG< I , J ,K)-8) 5701.5704,5704
5701 C(K)=0.0
CP{K)=0,0
GO TO 516
5704 UZ (K)=R2{ IDUM)/DELZ(K)
GO TO 5701
5 7 0 0 I F ( I T A G ( I,J , K - I ) . E Q . I C ) G O T O 5 7 0 4
P 6 = P I ( I. J , K - 1 ) + ( D E L Z ( K - l ) / ( D E L Z ( K - 1 ) + D E L Z ( K ) ) ) *
* < P I ( I,J . K ) - P I { I , J , K - 1 ) )
IF (P6-PBUB(N0)) 418,417,417
417 PR6A=ANVEPT(NO)
GO TO 925
418 PR6A=ANHGR(NO)*(P8UB(NO}/P6)*$ETA1
925 I F (KTAG{ I , J,K)-KTAG(I,J,K-1 ) ) 927.926.927
926 PReB=PR6A
GO TO 9 2 8
9 2 7 N A = K T A G ( I.J . K - 1 »
ETA2=ETA(NA)
IF(P6-PBUE(NA)) 921.920,920
920 PR6B=ANVERT(NA)
GO TO 9 2 8
921 PR6B=ANHCR(NA)•(PBUB(NA)/P6)»»ETA?
928 PR6(K)=(PR6A+PR6B)/2,0
I F (PR6(K ) .GE.PERC) GO TO 4 1 4
130
PR6(K)=PERC
414 C P ( K ) = P R 6 ( K ) / D E L Z { K )
C(K)=CP(K)/(DELZ(K)+0ELZCK-1 ) )
C
C UP
C
5 1 6 I F ( I T A G ( I.J » K + 1 ) . N E . O ) G O T O 5 8 0 0
IF (ITAG( I.J.K)-8) 5801.5804,5804
5801 A(K)=0.0
AP(K )=0.0
GO TO 6 1 6
5804 U Z(K)=RZ<lOUM)/DELZ(K)
GO TO 5 8 0 i
5800 I F ( I T A G { I . J . K + l ) . E Q . 1 0 ) GO TO 5804
P5=PI(I,J.K)+(DELZ(K)/(DELZ(K)+DELZ(K+1)))*
*(PI(I,J.K+l)-PI(I.J,K))
IF(P5-PBUB(N0)) 518.517.517
517 PR5A=ANVERT(N0)
GO TO 935
518 PR5A=ANHCR(N0)*(PDUB(N0)/P5)**ETA1
9 3 5 I F ( K T A G d.J . K ) - K T A G ( I.J . K + 1 n 9 3 7 . 9 3 6 . 9 3 7
936 PR5B=PR5A
GO TO 9 3 8
9 3 7 N B = K T A G { I. J . K + 1 )
ETA2=ETA(N8)
IF(P5-P8UB(NB)) 931.930.930
933 PR5B=ANVERT(NB)
GO TO 93 8
931 PR5B=ANH0R(NB)*(PBUB(NB)/P5)**ETA2
938 PRSÎK) =(FR5A4-PR5SÎ/2.C
I F ( P R 5 ( K ) . G E . P E R C ) • GO TO 5 1 4
PRStK)=PERC
514 AP(K» =PR5{K)/DELZ(K)
A(K)=AP(K )/(DELZ(K)+DELZ(K+l) )
C
C COMPUTE TIME-DEPENDENT SUB-COEFFICIENT S
C
616 IF (IT) 1617.1617.1616
1617 SvK)=C.O
W(K)=0.0
G ( K >= 2 . 0 * G ( K »
H(K)=2.0*H(K)
A(K)=2.0*A(K)
C(K)=2.0*C(K)
GO TO 1618
1 6 1 6 I F ( P I ( I . J . K ) . L T . O . 0 ) GO TO 210
W(K)=(ALPHA(NO)+PORO(NO)*8ETA)/DELT
S(K>=0.0
GO TO 1618
2 1 0 I F ( P I (I, J . K ) , L T , P B U B ( N C ) ) G O T O 5 9 3 6
131
W(K)=POAC(NO)*BETA/DELT
S{K)=-ALAM1N0>#(1.-RESAT(NC))•PORO<N0I*PI(I.J.K)/
\ *(PBUB(NO>*PBUB<NO)*OELT)
\ GO TO 1 6 1 8
59^6 CA7=-ALAM(N0)/PI(It J»K)*( 1.-RESAT(NO)*(PBUB(NO)/
\ * P I (I.J»K > )**ALAM(NO)•PORO(NO)
' S( K)=CA7/DELT
W(K)=PORO(NO)*BETA/OELT
1618 B(K)=G(K)+H(K)+A(K)+C(K)+S(K)+UU{IiJ.K)+W(K)
COF=A(K)+C(K)+G(K)+H(K)-S(K)-W(K)
IF (IT) 710.710.711
711 PA=PT(I,J.K+l)
PC=PT(I.J.K-1)
PB=PT(I,J,K)
PG=PT(I+1.j.K)
PH=PT( I - l .J.K)
GO TO 7 1 2
710 PA=C.O
PC=0.0
PB =0.0
PG=0.0
PH=0. 0
712 PHA=P(I-l,J.K)
PG A=P ( 1 + I . J . K )
PCA=P(I.J.K-1)
PBA=P(I,J.K)
PAA=P(I.J.K+1)
D ( K ) = A ( K > * F A + C ( K ) * P C - C O F * P B+ G ( K ) * P G + H ( K ) * P H + A P ( K )
*CP(K) UX(K)+ UZ(K)+H(K)*PHA+ G(K)*PGA+UU(I.J.K)*
*PM(I.J.K)
C
C COMPUTE BACK SUBSTITUTION COEFFICICIENTS E . F
C
5 I F ( I T A G ( I . J . K - l ) « N E . O ) GO TO 3 5
F(K)= A(K )/B(K)
F(K)=D(K)/e(K)
GO TO 5206
35 E(K)=A(K)/(B(K)-C(K)*E(K-l)i
FCKi=( DîKi-rCÎK r^FÎK-î > )/(B(K)-C{ KÎ *E(K-1J >
GO TO 5206
5207 E( K)=C .0
F(K)=PBO(ICUM)
5 2 0 6 I F ( I T A G d . J . K ). G T . 7 ) G O T O 3 9 3
I F ( I T . N E . C ) GO TO 3
I F ( P T ( I . J . K ) . E Q . X L R ) GO TC 393
I F ( P T ( I, J , K Î . N E . 5 . 0 ) G C T O 3
393 DbM=IOUM+1
I
3 CONTINUE
C
C COMPUTE PRESSURE HEAD VALUES FROM RECURRENCE RELATION
132
DO 3 6 KTGP=2,N1
K=N+Ï-KTCF
I F ( I T A G ( I.J . K > . E Q . O ) G O T O 3 6
I F ( I TAG( I . J . K ) . E Q . I O ) GO TO 3 6
I F ( I T A G ( I .J»K+1 ) . N E . O ) GO TO 90
DONNA(K)=FCK)
GO TO 36
90 DONNA(K)=E( K ) * D O N N A ( K + l ) + F { K )
36 CONTINUE
DO 9 1 K=2,N1
I F < I T A G ( r , J . K ) . E Q . O ) GO TO 9 1
I F ( I T A G ( I . J , K ) . E Q . 9 ) GO TO 5983
I F C I T A G ( I . J , K ) . E Q . I O ) GO TO 5 9 4 9
GAF=ABS(DONNA(K)-P(I.J.K))
IF (GAF-PES) 48,48,49
49 RES=GAF
48 IF (IT) 5937.5937.5938
5937 OMEGC=CMEGA
GO TO 5946
5938 IF (ITPUT) 9090.9090.9091
9090 OMEGC=OMEGBO
GO TO 5948
9C91 OMEGC=OMEGBl
5948 P(I.J,K)=OMEGC*DONNA(K)>P{I,J,K)*<1.-OMEGC)
GO TO 9 1
5 9 4 9 P { I . J . K ) = 0 . 5 * ( P ( I.J . K - 1 )- + P ( I . J . K + 1 ) )
GO TO 91
5983 P( I .J.K)=DONNA(K )
91 CONTINUE
2 CONTINUE
25 RETURN
END
SUBROUTINE FRACU
COMMON/Al/ ITAG( 2 0 . 1. 2 0 ) . K T A G C 2 0 , 1. 20 ) . P ( 2 C . 1 . 2 0 ) .
IX(2C) .Y(1) .2(20) ,PORO(9).ALPHA(9).PRSATX(9).PRSATY(9).
2 A N H 0 R ( 9 ) , A N V E R T C 9 ) . I T I T L E ( 2 0 ) .N E S ( 10 0 ) .E T A ( 9 ) . A L A M ( 9 ) ,
3 R E S A T ( 9 ) , P X ( 1 0 0 ) . R Y ( 1 ) . R Z d O O ) .P B O ( 1 0 0 ). P B O S ( 1 C O ) .
4 P Î ( 2 0 »1«2CÎ »PRSATZ(9) e PSUB(9> sPTOP CI 00 >
C O M M O N / A 2 / I L P U T ( 1 0 0 ) . IT A G I ( 1 0 0 ) . D F L T I ( 1 0 0 ) . X L R l . X L P 2 .
1PT<20 .1.2CÎ.0ELX(20) .OELY{I).DELZ(20).CMEGBC.TIME.
2DELT,GRAV.SEANA.SEANB « XL.XLR.CXXL,THETA.FACTER.FSCALE.
3ITPUT,0MEGB1.DIFF.FACTOR,IBUG,INKPUT,ITOP.ISTEP.IBILL,
4ITT( 100) .NOTIME.RPER.PERC.IPIT.TSTEP
COMMON/A3/TIM,PHICON.PCON.ISP,IDUGPR,NOBO.INN.DELTF.
# T N , I T , T O L A , K A H . K A R T . R E S , T O L G . L , M , N.G E O F F.T I MI . B E T A .
•P C C M ( 2 0 0 ) , P H I ( 2 0 . 1 , 2 0 ) , U U ( 2 0 , 1 , 2 0 ) , P M ( 2 0 , 1 , 2 0 ) . O M E G A
COVMON/A4/ UM(20, I , 2 0 ) ,VM( 20,1 ,20) ,QMA(20,20) .CLE(9) •
IRESATMC 9 ) ,PBUBM(9),P0RCM(9).ALAMM(9) ,ALPHAM(9),XIM(9),
2ANH0RM(9),ANVERM(9).ETAM(9).PRSAXM(9).PRSAZM(9)
133
J - 1
WRITE(6.208) IT
308 FORMAT(/I OX.•TIME STEP N 0 = ' , I 3 / )
DO 2 K=1,N
DO 3 1 = 1 , L
I F ( I T A G ( I,J . K ) . E Q . C ) G C T O 3
NO=KTAG(I,J»K)
I F (XIM(NC ) .EQ.C . 0 ) GO TO 3
I F t P M ( I, J . K ) . L T . O . O » G O T O 1 0
SM=(ALPHAM(NO)+POROM(NO)*BETA)/DELT
PRN=ANH0FM{N0)
GO TO 600
10 I F { P M { I , J . K ) , L T . P B U B M ( N 0 ) ) GO TO 2 0
PR I»/=ANHCPM(N0)
S M= ( - A L A M M ( N O ) * ( 1 . 0 - R E S A T M ( N O ) ) * P 0 R O M ( N O ) • P M ( I . J . K ) /
*(PRUBM(NO)*PBUBM(NO))+POROM(NO)»BETA)/DELT
GO TO 600
20 CA7=-ALAMM(NG)/PM(I.J.K)*( 1,-RESATNO))*(PBUBM(NO »/
*PM(I.J.K)**ALAMM(NO)*POROM(NO)
SM-=( C A7+P0R0M( NO ) *BETA ) /DELT
PRM=ANHORM(NO)*(POUBMC NO)/PM(I .J.K))**ETAM(NO)
600 UM(I.J.K)=SM
VM(I.J.K)=PRM*XIM(NO)
U U ( I . J . K ) = U M { I. J , K ) * V M ( I . J . K ) / ( U M ( I . J . K ) + V M ( I . J . K ) )
3 CONTINUE
2 CONTINUE
1= 2
WR I T E ( 6 , 3 0 0 ) { U M ( I . J . K ) . K = 1 . N )
ITE(6,3C0)(VM(I,J.K).K=1.N)
WRïT£î6.300f\UU{I.J.K).K=1.N)
300 FORMAT(10X.10E12.5)
RETURN
END