Professional Documents
Culture Documents
SPE 15297
BOAST-DRC:
— —Black Oil and Col?densate Reservoir Simulation
on an IBM-PC
by J.R. Fanchi,Marathon oil co.
SPE Member
TINS paper was prepared for presentahon at the Sympoatum on Pelroleum Industry Application of Microcomputers 01 the Soc!ety o :>elroleum Engineers
held m SilverCreek, CO ;.me 1.S-20, 1986
Th!a paper waa selected for presentation by an SPE Program CommMee following review of information contained m an abstract submitted by lhe
author(s) Conlenla of the paper, as preaenlad, have no! been reviewed by the SGCwly of Petroleum Engineers a,ld are subject 10 cormcbon by the
authur(a). The material, as preaenled. does not neceaaarily reflecl any position of Ihe Sa-5ety of Petroleum Engineers, !1sofhcers. or members. Papers
presented al SPE meetmgs are sublecl lo publication review by Editorial Oommiffees of the society of Petroleum Engineers Perm8saion 10 copy IS
restricted to an absmacl of not more than m words. Illustrations may not fm copied. The abstrac! should contain conspicuous acknowledgmem of wh Ire
and by whom the papar is presented. Wme Publication Manager, SPE, P.O. Box S33S8S, Richardson, TX 76083-2835 Telex, 730889, SPEDAL
-—
in BOAST-DRC include the l!quid content tfons. In BOAST it is. unimportant which
factor VS. Note that gas compr?ssibllity saturation is c?lculateclfirst. Consequen-
includes a nev term proportional to the p~es- tly, BOAST calculates the oil phase satura-
sure derivative of the liquid content, which tion first and the water phase saturation
is treated as a function of pressure only. second.
Convective tralsport coefficients, Un7ike ROAST, “’-- BOAST-DRC oil phase
including gravity and capillary pressure con- flow equation includes both the oil and gas
tributions, are calculated as described in phase saturations in fts accumulation term.
Reference 1 with the followfng exception. This means that only one eq;lationis avail-
Solubilities in the transmissibility terms able for finding two variab;es if the oil
are single point upstream weighted. This phase flow equation is solvej first. To
differs fr~ the mfdpoint weighting used in avo:d this problem, water phase saturation is
the DOE version. The change was made to calculated first from the water phase flow
improve front tracking for lean gas injection equation. Once the water phase saturation is
problems. It also improves material balance. known, gas phase saturation in the oll phase
Another change that was made to improve mat- flow equation accumulation term can be repla-
erial balance was to use a reducsd set of ced using the phase saturation constraint in
flow equations when less than three phases Table 2, Rearranging the accumulation term
are present in a grid block. These changes lets us solve the oil phase flow equation for
have little affect on liquid daminated sys- oil phase saturation. Gas phase saturation
terns.They are important primarily for gas then follows from the saturation constraint
dominated systems. equation and the updated values of water- and
oil-phase saturations. Thfs procedure is
$~~1~ pR~E~RE used with the chain rule expansion treatment
of black oil and condensate problems.
BOAST-DRC is dn IMPES simulator. Auxil-
iary relations and the three flow equations Saturation Cal@latlons Fora Mass Conserving
are combined algebraically to yield a pres- Expansfon Procedure
sure equation. The procedure for construc-
ting a pressure equation, and the order in Amass conserving expansion procedure is
which saturations are subsequently computed, optionally available for solvfng bubble point
depends on the method used to expand the problems. The primary variables in the mass
accumulation ‘termsof the flow equations. conserving expansfon procedure are oil phase
Two methods of expanding the accumula- pressure, water phase saturation, and gas
tion terms are available as options in phase saturation. If the grid block is
BOAST-DRC. The accumulation terms can be undersaturated, varfable substitution i$ used
expanded using a chain rule expansion, as in to replace the gas phase saturation with the
the original DOE version of BOAST, or by bubblz pofnt pressure. The ffrst Iteration
using a mass conserving expansion (also known serfto determine a pressure dist.”ibution
;$+!, This distribution is used to deter-
as consistent expansion) with variable sub-
stitution. A comparison of these expansions mine convective transport between blocks.
is given in Appendix A. Most authors rec- All three primary variables are then compu-
onnnend using a mass conserving exposion. ted. The water equation provides a value for
Implicit coefficients in the mass conserving the water phase saturation. All three flow
expansion are correctly calculated by iter- equations are combined to yield a new oil
sting on the pressure solution. More compu- phase pressure P*. The remaining primary
ter work is necessary, but good material variable (gas saturation or bubble pofnt
balances are achievable. As shown in Appen- pressure) is calculated from ~oth the oil and
rlixA, there are circumstances in which the gas equations. Convergence is achieved when
mass conserving expansion and the chain rule P* equals pk+l within a user-specified tol-
expansion are comparable. Consequently, the erance (usually 0.1 psi).
chain rule expansion In the DOE version of
BOAST can be readily applied to many real- MATRIX SOLUTIONf4ETlkOOS
fstfc problems. The first four examples in
Volume 11 of the BOAST documentation justify BOAST-ORC has several solution methods
this assertion, as do examples shown later fn that represent two basic techniques of solv-
this paper. If the chain rule expansion is fng a linear algebraic problem: (1) direct
applicable, the implicit pressure distrfbu- solution (TANK, BAND, 04, DHT); and (2) line
tion can be computed without iterating.This successive over-relaxation iterative methods
considerably reduces the computer work (LSORX, LSORY, LSORZ). Reference 1 describes
needed, and is especially helpful for practi- most of these methods. OHT is a storage
cal microcomputer applications. efficient band algorithm.6 The X, Y, and Z
appended to the LSOR acronym indicates the
Saturation Calculations For a Chain Rule direction fn which the trfdiagonal aigorfthm
Expansfon Procedure is alfgned.
The TANK method is used when BOAST-DRC
The 00E version of BOAST uses the up- fs run with a single grid block. When a
dated pressures from the pressure equation in sfngle grfd block is defined, BOAST-DRC func-
the oil- and water-phase flow equations to tions as a sophisticated material balance
find the updated oil- and water-phase satura- program.
i-
SPE 15297 J. R. Fanchi 3
The LSORnethcds are most appropriate in dew point resulting from, for example, injec-
the 1-D case because they are coded to func- ting dry gas into a wet gas block. This
tion as tridiagonal algorithms if a 1-D grid effect is accnunted for by variable substitu-
is defined. In the 1-D case, a single pass tion as follows.
is made through the aPf)tYJ@ate LSOR subrou- The oil saturation calculated from the
tine. Pressures returned from the tridiagon- oil equation cd” be negative if enough dry
al algorithm called by the LSOR subroutine gas invades a wet gas block, If a negative
are not modified by the LSOR acceleration oil saturation is calculated, the block is an
parameter U. undersaturated gas block. The oil phase flow
Problems in 2-O or 3-D are solved using equation shown in Table 1 simplifies to
either 04, DHT, or the LSOR method which is
aligned in the directiol: of maximum flux. l-SW
For example, consider a 3-D model with com-
munication bettieenlayers. The large cross-
sectional area which is perpendicular to the
direction of flow Ctnerally results in the
L =—a
0 at
[( )1
.$—
Brs”
9
(1)
)
equtllbrtum between phases has been establi-
shed. kw/Bw
~ ‘q — (5)
wk gk Ag/Bg k ‘
Capillary Pressure Initialization [1
.1
tions for either an oil-water or gas-water
system. q +(r)
ok ‘qgk -k S k ‘gk
[ ‘ (6)
Oil-Water System:
If the block midpoint elevation (EL) is Note the appearance o+ the liquid content
greater than or equal to WOC, the block con- tenn in the equation for oil rate.
tains only water. If not, an estimate of
capillary pressure is calculated using Pressure Controlled Hell for a Condensate
Syste,
Pcow = (Ow - po) (woc - EL)/144 . (*)
For a given flowing bottom hole pressure
Densities are calculated for a pressure (PWF), phase rates by layer are:
that is the average of the block pressure and
the user ir~ut pressure at HOC. A water sat- Aw
uration is calculated from the capillary = (PI) ~ AP ; (7)
pressure estimate in Equation (2) and the in- ‘Wk
put capillary pressure curve for an oil-water [1
systern. Oil saturation is one minus the
water saturation,.
‘gfl~pl)kA~~+Rso~] /~sw)kqwk}+
Gas-Water System:
If the block midpoint elevation is less
than or equal to GOC, the block contains only
water. If not, an estimate of capillary
presssure is calculated using
[l-(RS&(rSJk], ‘8)
P = (Pw- Pg) (GOC - EL)/144 . ~3)
ego
Dry Gas Rate Specified If a wet gas rate is specified, dry gas
injection rate is given by Equation (1.). In
Given the dry gas rate qg, the 9aS, addition, an oil injection rate resulting
water and oil rates for layer k are: from reinfection ~f vaporized oil has the
from
(PI) Ag/Bg ~
[ 1 qok =
qfl . (4) ‘S
() k ‘gk . (12)
gk. PIAB
g \=,[( ) gjgk 1 ‘
+An
SPE 15297 J; R. Fanchi 5
141
6 BOAST-DRC: Black Oil and Condensate Reservoir Simulation on an IBM-PC XT SPE 15297
1A9
S?E 15297 J. R. Fanchi 7
incremental oil reported in Reference 11. 6. Thurnau, D. H.: “BANDSOLVE”, Comm. ACM,
Note that both NBOS and BOAST-DRC revaporize Vol. 6, August 1963, pg. 441;~ Algo-
condensate more rapidly than equation-of- rithm 195.
state based compositional simulators, ~2This
is typ{cal of two-component simulators. 7. Tsau, J. S., Hill, A. D., and
Cumulative material balance err.w for Sepehrnoori, K.: “Modeling o? Permea-
BOAST-DRC was less than 1%. NBOS had a neg- bility Reducing Vertical Conformance
ligible material balance error because it Treatments”, paper SPE 13569, presented
employs a mass conserving expansion. BOAST- at the International Symposium on Oil-
ORC is faster than NBOS because the chain field and Geothemnal Chemistry, Phoenix,
rule expansion requires only a single pres- April 9-11, 1985.
sure distribution calculation. When appli-
cable, the faster chain rule expansion formu- 8. Aziz, K. tind Settari, A.; Petroleum
lation is an advantage for IBM-PC applica- Reservoir Simulation, Elsevier Applied
tions. The price for the speed advantage is science Publishers, Condon, 1979.
a material balance error that must be care-
fully monitored. 9. Shank, G. D. and Vestal, C. R.: “Prac-
tical Techniques in Two-Pseurlocomponent
IX. CONCLUSIONS Black Oil Simulation”, paper SPE 15156,
presented at the SPF Rocky Mountain
1. Practical reservoir simulation problems Regional Meeting, Billings, May 19-21,
can be solved using a microcomputer. 1986.
2. The single pass chain rule expansion 10. Odeh, A. S.: “Comparison of Solutions to
method can be reliably used to solve a Three-Dimensional Black-Oil Reservoir
many types of reservoir simulation prob- Simulation Problem”, J. Pet. Tech., Jan-
lems as long as cumulative material bal- uary 1981, pp. 13-25.
ances are monitored carefully.
11. Kenyon, D. E. and Behie, A.: “Third SPE
3. The conventional mass conserving expan- Comparative Solution Project: Gas
sion method should be used for modelling Cycling of Retrory’adeCondensate Reser-
gas injection into a black-oil reser- voirs”, paper S?E 12278, presented at
voir. the Reservoir Simulation Symposium, San
Francisco, November 15-18, 1983.
4. BOAST-ORC helps fill the gap between
simple material balance calculations and 12. Coats, K. H.: “Simulation of Gas Con-
sophisticated mainframe simulation stu- densate Reservoir Performance”, J. Pet.
dies. Tech., October 1985, pp. 1870-18~
REFERENCES NOMENCLATURE
*4Q .
H ROAST-ORC: Black Oil and Condensate Reservoir Simulation on an IBM-PC XT SPE 15297
Q. Table 2
Liquid content of condensate APPENOIXA: EXPANSION W ACCUMULATION TERM
‘s
‘9
A.
Water phase potential
= krglvg; gas phase mobil ty
= kro/~o; oil phase mobi? ty
‘t(ab’=an[~l+bn[-
.
h.
In general, Eq. (A.3) is not equa? to
u = kr~~w; water phase mob’lity If either a:~ or bn crc slowly
Eq. (A.2).
varying functions, or the time-step size At
Pg Gas phase density
is small, then Eqs. (A.2) and (A.3) are equi-
Pgsc Gas phase density at standard valent. When Eq. (A.3) is not a good approx-
conditions imation, material balance error occurs.
wE J5?97
TABLE1. MassConservation
F1ow Equations TABLE2. Associated
Variable
Definitions
Saturation
Constraint: l=so+sw+sq
ho ?.. Q.
oil: L= 7 *K* V@O+V. fe~r v*-_
o o Pose Rates: Q. = qo + ‘Sqg
9s9
Qg = Oq + Rsoqo+ Rswqw
so s
= ~[+; + ‘s2 )]
q
‘g;J !3.2
PhasePotentf
als: @=p
00 -m
iv qw
Hater: L = v. F!*v @—_ Pwz
w q w PWsc @w= p-p
o cow - m
a
$Sw pgz
. ‘5” PO+P
5 8; 9 Cgo -m
[1
?. k A Qg Capfllary
Pressures: pcow= p. - Pw
1
o w
Grs: Lg = v*Ko:
“ v+R vQo + R —w -..
so ~ sw Bw w
f’q. :
[ 99 Pcgo‘ ~g - Pw
s so Sw
. a+ g+R +R
5 ~ so ~ Sw q
[( )1
TABLE3. PhaseOenslti”s
andCompresslbfl
fties TA8LE4. Buckl
eY-Leverett
LfnearHaterfl
oodat 360Days
1
1
Oensittes: P =—p +R
o B. Osc so ‘gsc
[
1
P=— [
w Bw ‘WSC
+R
Sw ‘gsc
1 1 5117 .270 .730 5116 ,27’) ,7;,
. ,,! :
1 2 5048 .301 .699 5047 .3[,1
‘g
=—p
Bg [
gsc
+rp
s Osc
1 3 4958 .311 .689 4957 .!:i ,, :..,
1 a+
Coapressfbflf
tfes: c ,!,r),
. r ‘F% 5 4763 .349 ,651 4762 ,349
~
[
___9
6q apo
aB
_
.lg apo
09 aReo
1 7
8
4522
4361
,433
.507
.567
.493
4521
4360
.433
.507
.56)
.4[)3
c
o
=-0.
[ B. apo
~ aB
.
B. apo
Bg aR5w
1 9
10
4173
4054
.650 .350
.736 .264
4172
4054
.650
.736
.350
.264
c
w
=-
[
_2-_—
Bw apo Bw apo
1 al Balance = 1.0000
Cumul atfve Of1 Materf
Cumulative GasMaterialBalance = 0.9995
Cumulat{~e MaterMaterfalBalance= 1,0000
TABLE5. InputDatafor3-DNaterfl
ood Ex~l e
NX=NY=5; NZ=2
DX = DY = 500 ft.
TABLE6. Resultsfor a 3-D WJte+lood
InitialSo = 0.88
Initial~= 0.12
UellhoreRadius= 0.25ft.
Skin= 0.0
Year Pressure Gas Saturation Productil Hell Rates
Block [5, 5, 2) Block (5,5,2) Oi1 Gas
GRIO OATA (psia) (fr) (STB/O) (Mscffo)
1
Layer DZ Node Oepth Kx K Kz Initial P CR:* MCE** CRE NCE CRE MCE CRE MCE
o
(ft.) (ft.) (red.) (id .) (red.) (fr.
) (psi)
@.5 3416 3425 .058 .058 1125 1155 1882 1942
1 20 8335 20 20 5 .12 4317 1.0 3231 3236 .067 .067 566 578 1327 1372
2 30 8360 100 100 5 .28 4384 1.5 3233 3234 .048 .049 607 609 1677 1714
HELL DATA 3.0 3271 3265 .020 .020 824 807 1175 1160
Hel 1 ~id Locatfon BHFP* Max Rate Years Active 3.5 3306 3303 .021 .021 935 925 1257 1250
JK (psi) (STB/0) (Start/Stop)
4.0 3340 3329 .021 .021 1052 1015 1303 1266
P-1 33 1-2 3000 2000oil 0/5 4.5 3365 3363 .021 .021 1126 1121 1350 1343
1-1 112 - 500 water** 1/5 5.0 3375 3375 .021 .021 1136 1137 1346 1349
* Bottom hole flowing pressure of pressure-controlled, rate constrained k~ter 0.99914 0.99979
oil production well.
●*Negative rate denotes injection B7900 Cormuter Run Time (CPU seconds) 99 440 w
l?el~tive Permeability and PVT Oata from Example 4 Of Reference 1. IBM-PC XT Computer RunTime(CPUseconds) 3463 --- m
.
SE :! 52.97
Time Produced Oil Produced GOR Gas Sat in Pressure (psia) in Pressure (psia) in
(Yrs.) Rate (t4STlJ/D ) (Hscf/STB) Block (10,1 O,3*) Block (10,10,3) Block (1,1.1)**
—
0.0 20.00 1270 0.000 4800 4783
— Saturated
---- Undersalurated ,
B.
/--; ------.--_:
/;
I
Pressure_ pb P max”
&q
‘sO Pressure--D pb P max
1 +
Pressure~ pb pwax 9
Fig.
1-Example of oil PVT date.
/
I
Pressure - Pressure --
Pressure+
FIo.
2—Example of gne PVT ds!a,
—Datum
-----
Y (+)
)’
x
1
f
z
El .
-----
i50-c
-----
woc
-.
Case 1 7 3 4 ——
5 6
:1
IfOc woc _
f
BOTTOM 30T ----r. BOT BOT BOT BOT
woc woc Goc ~
woc
—— —
Sg= 0,0 f GTHICK GTHICK f=l - WTHICK so= 0.0 so= Sg’ 0,0
f=l - —
‘= THICK THICK THICK
f ~. _WTHICK .!
s = sot - SOI*f = 0.0 S = SWGI s = 1,0
o THICK o 9 w w
fg ●sG[
s= S = 1. O-SUG1 s = 1.0
9 ~w) 9 w
Sti= 1 - 59 SW=SWGI
~- Analytical
Solution
1.o-
0.8r
c
0
%:-. * x nsxxx
‘$ o,~ 360 days
3
. ~120 days K ~’
ii al s
(n
~ 0.4 - y x
I
$02 10 x
L-LL--a--__4 _s--..s —
o.o~
0.0 1.0
DimensionlessLength
Injector Producer
~ BOAST-DRCfCASEl >. A-
2700
e~ BOAST-DRCICASE2 >/
“\, ~.—.o NBOSICASE 1
\. 2400 //“ .>--’
800 -
“\ I / > s- ---S--3------
A.
“\.
700 – \ 21O+J
P’ .“~:.”~”-”2”
O“\.\
/f ““;~
‘\ 1800
600 – / “’”/”
n m ///’ /./
>500 – !jj 1500 // ,
z
c1 #::P”
1200
400 – ‘.
<
.. .
300 - 900 ,/”’
.
~ BOAST-DRCICASE 1
200 – 600
~ A BOAST- DRcl CAS.E 2
b
o—-o NBOS!CASE 1
100 300
1~ x----x NWSICASE 2
t 1
00
1 1.5
I [
3 4.5
I I
6
I
7.5 9
I 1 I
12
~, 0
o
I
1.5 3
I
4.5
I 1
6
I
7.5
I
9
I
10.5
I
12
I
13.5 15
I
360 ~ BOAST-DRC
t h~ NBOS 1
320
0.42
t 1 280
240
:~4,~~d,,,i
[
; 20+3
> ~+y
160
—++—+ — -.s-+-4
//
120
/f
60
/’
40 /
//<.,’:’,: ‘
o
o 1,5 3 4.5 6 7.5 9 10.5 12 13.5 15 0 1.5 3 4.5 6 7.5 9 10.5 12 13.5 15
YEARSOF PRODUCTION YEARSOF PRODUCTION
**”D