Well Control Model: Theory and User'S Manual
Well Control Model: Theory and User'S Manual
Well Control Model: Theory and User'S Manual
DEA 67 PHASE l
MAURER ENGINEERING INC. 2916 West T.C. Jester Boulevard Houston, TX 77018-7098
Telephone: 7131683-8227 Telex: 216556 Facsimile: 7131683-6418
This copyrighted 1993 confidential report and the computer programs are for the sole use of Participants on the Drilling Engineering Association DEA-44 project to DEVELOP AND EVALUATE HORIZONTAL DRILLING TECHNOLOGY andlor DEA-67 project to DEVELOP AND EVALUATE SLIM-HOLE AND COILED-TUBING TECHNOLOGY and their afiliates, and are not to be disclosed to other parties. Data output ram the programs can be disclosed to third parties. Participants and their affiliates are free to make copies of this report and programs for their own use.
Table of Contents
Page
1.
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1.1 MODEL FEATURES OF WELCON2 . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1.2 WHAT IS NEW IN WELCON2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1.3 REQUIRED INPUT DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1.4 1.5 DISCLAIMER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3 COPYRIGHT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
2.
THEORY AND EQUATIONS 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 APPROACH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 RESERVOIR MODEL (Nickens. 1987) . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 DRILL-PIPE MODEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
ANNULUS MODEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4 SINGLE-BUBBLE MODEL (LeBlanc and Lewis. 1967) . . . . . . . . . . . . . . . 2-6 TWO-PHASE FLOW MODEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6 GAS SOLUBILITY CORRELATION (O'Brian et al.. 1988) . . . . . . . . . . . . . 2-9
2.9
SOLUTION ALGORITHM (Santos. 1991) . . . . . . . . . . . . . . . . . . . . . . . . 2-10 2.8.1 Finite Difference Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11 2.8.2 Boundary Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-12 2.8.3 Initial Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12 . 2.8.4 Solution Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12 RHEOLOGY MODEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14 . 2.9.1 Bingham Plastic Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-14 2.9.2 Power-Law Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17 EQUIVALENT CIRCULATING DENSITY . . . . . . . . . . . . . . . . . . . . . . . 2-20 TWO-PHASE FLOW CORRELATIONS . . . . . . . . . . . . . . . . . . . . . . . . .2-20 2.11.1 Beggs-Brill Correlation (Beggs and Brill. 1973) . . . . . . . . . . . . . . . . 2-21 2.11.2 Hagedorn-Brown Correlation (Brown and Beggs. 1977) . . . . . . . . . . . 2-24 2.11.3 Hasan-Kabir Correlation (Hasan and Kabir. 1992) . . . . . . . . . . . . . . 2-26
2.10 2.11
3.
PROGRAM INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 3.1 BEFORE INSTALLING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 3.1.1 Hardware and System Requirements . . . . . . . . . . . . . . . . . . . . . . . 3-1 3.1.2 Check the Program Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 3.1.3 Backup Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3 3.2 INSTALLING WELCON2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3 3.3 STARTING WELCON2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
QUICK START WITH EXAMPLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1 4.1 INTRODUCTORY REMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1 4.2 GETTINGSTARTED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1 OPTIONS AND CHOICES OF THE MODEL . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1 5.1 INPUTDATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1 5.2 5.3
5.
6.
REFERENCES
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
1. Introduction
Well control is one of the most important aspects of drilling operations. Improper handling of kicks can result in blowouts with potential loss of life and equipment. To help prevent such disasters, Maurer Engineering Inc. has developed a well control windows application, WELCON2, as part of the DEA-44 Project to "Develop and Evaluate Horizontal Well Technology" and the DEA-67 Project to "Develop and Evaluate Slim-Hole and Coiled-Tubing Technology." This program is written in Visual Basic 1.0 for use with IBM compatible computers. Program WELCON2 runs in Windows 3.0 or later versions. WELCON2 will run with 80286 or higher processors (with math co-processors), but run times may be long with 80286 processors due to the large number of calculations (see Table 3-1). The program describes the complex multiphase flow as a gas influx is circulated out of the well. The mathematical model consists of differential equations that are solved using finite difference methods. The model is suitable for 3D wellbores (vertical and horizontal) for inland and offshore applications. It handles both Driller's and Engineer's methods and uses Bingham plastic and power-law fluid models
for frictional pressure calculations. The program allows the user to select either a single-bubble model (water-based mud only) or one of three two-phase flow correlations for handling gas migration in the wellbore. It takes into account the effect of gas solubility when oil-based mud is used. The program calculates kill-mud weight and drill-pipe pressure schedule. It predicts pressure changes and equivalent circulating densities (ECD) at the choke, casing shoe, wellhead, at the end of the well, and at any other one point the user specifies (e.g., entrance to horizontal section). The maximum ECD along the wellbore is also calculated and compared with the pore pressure gradient and fracture pressure gradient. These results are useful for determining equipment adequacy and kick tolerance. Every effort has been made to ensure that WELCON2 will converge to a meaningful solution over the expected range of input variables. However, it is conceivable that the mathematical system may exhibit instability for one or more combinations of input variables. Should this occur, we would appreciate being advised of the circumstances leading to the failure of WELCON2 and the nature of the output generated. 1.1
6. Handle fifteen (15) sections of drill string and ten (10) well intervals. 7. Use Bingham Plastic or Power-Law models. 8. Use two-unit system: English and metric.
The output window is a compilation of chid windows of text reports and graphs, which include: 1. Summary report.
2. Tabulated results. 3. Pressure or ECD at choke, drill pipe, bottom hole, casing shoe, wellhead, and user-specified
point.
1.2
2. In WELCON1, user is required to input the gas distribution along the wellbore. In WELCONZ, a gas kick-in model is used to calculate the distribution.
3. WELCONZ allows user either to include gas kick-in period in the report or exclude it by selecting time origin.
4. The TEXT REPORT is taken out. It is consolidated into the SUMMARY REPORT in
WELCONZ.
5. Different curves of the same kind can be plotted on one page for easy comparison. User decides what to plot.
6. User can print or plot pit gain and gas flow rate as a function of time. 1.3 REQUIRED INPUT DATA
There are four data files associated with WELCONZ: 1. Survey data file (.SDI). a. Directional survey data for the well. Survey must start with zero depth, zero azimuth, and zero inclination.
e. Lengths, ID and OD of drill string. f. Positions and IDS of choke line, casing and open hole.
3. Parameter data file (.WPl). a. Shut-in data. b. Gas influx data. c. Original drilling mud data. d. Kill-mud data. e. Temperature distribution along wellbore. f. Pore pressure gradient and fracture pressure gradient.
4. Project data file with the extension name (.PJT). The project file only stores names of three files mentioned above. All input data saved on the disk or in memory are in the English system of units.
1.4
DISCLAIMER
No warranty or representation is expressed or implied with respect to these programs or
documentation including their quality, performance, merchantability, or fitness for a particular purpose.
1.5
COPYRIGHT
Participants in DEA-44/67 can provide data output from this copyrighted program to their
affiliates and can duplicate the program and manual for their in-house use, but this data is not to be disclosed to other parties.
APPROACH
Figure 2-1 illustrates the conceptual approach used to model the areas of interest in the well
system. The drilling fluid, referred to as the liquid phase, is pumped into the drill pipe, flows through the bit, up the annulus, and exits through the choke. After drilling into an overpressured gas sand, the gas N c k fluid) enters the wellbore creating a two-phase mixture region. If oil-based mud is used, some of the gas will be dissolved in the mud. The rest of the gas remains as free gas if pressure is smaller than the saturation pressure. The objective of the well control is to circulate the gas out of the annulus through the choke while maintaining the bottom-hole pressure (BHP) at the formation pressure to prevent further gas influx. The gas circulation can be initiated by pumping either original drilling mud (Driller's method) or heavier kill mud (Engineer's method).
ORIGINAL DENSITY
FLOW
After a gas influx (kick) has been recognized and the well is shut in, two quantities should be determined: 1. Shut-in drill-pipe pressure, (SIDPP). 2. Influx volume @it gain).
Influx volume can be easily determined from a pit gain recording. The formation pressure is calculated from the following equation:
P i = SIDPP
+
0.052
'
p ,
'
TVD, (psi)
0.052.TVD
(PPP)
The bottom-hole pressure is maintained by adjusting the choke such that the drill pipe pressure follows a precalculated schedule. A two-step procedure is used to simulate the kick behavior in the annulus. The first-step uses a kick-in model to simulate the gas kick-in process. This step ends when either pit gain reaches the specified value or the well is producing free gas before the specified pit gain is reached. The final result from this step is the gas distribution in the annulus which will be used in the next step: the kill model. In reality, there is a shut-in period between the kick-in period and the kill period. However, the shut-in period is not modeled in this program. The kick-in model assumes that the choke is wide-open. The bottom-hole pressure is then determined by calculating the hydrostatic and frictional pressure loss in the annulus. If the calculated bottom-hole pressure is smaller than the formation pressure, gas kicks in. The gas influx rate is determined from the reservoir model. The bottom-hole pressure may increase or decrease due to the gas influx.
This change in pressure will affect the i f u rate. all these changes are reflected in the reservoir model. nlx
The kill model assumes that the bottom-hole pressure is always maintained at formation pressure. There is no additional gas influx during the kill process. When kill mud fills most of the annulus, the bottom-hole pressure may have to be raised above the formation pressure to overcome the increased frictional pressure loss. The kill model consists of two parts. One is for calculating the drill pipe pressure schedule (Drill Pipe Model), another is for calculating pressure behavior in the annulus (Annulus Model). These two models will be discussed in greater detail in sections following.
2.2
portion of the formation is exposed to the gas flow. To model this dynamic flow process, the formation is divided into a series of segments of thickness hi equal to the ROP times the time step during which that segment was first exposed to the wellbore. Each time step for which the ROP is non-zero generates a
new h,. Each segment generated is updated after each time step so that the total time of exposure of each segment is constantly increasing as the kick progresses. Each segment is assumed to flow independently of the others for the purpose of calculating the total gas influx rate. The flow rate from the ith component is calculated from the radial flow equation:
where: P,
= 0.5 [In (t,)
+ 0.811
where
N (t) k
ti
Total number of segments at time t Permeability, md Exposed time of ith segments, second Porosity, fraction Compressibility, llpsi Gas viscosity, cp Wellbore radius, ft Formation pressure, psi Bottom-hole pressure, psi Gas influx rate, Rcflday
4
CP
P
r w Pi p wf
e
2.3
DRnGPIPE MODEL
The drill string is defmed here as the flow path from the mud pump (excluded) to the bit (included). It may consist of many sections of different cross-sectional areas. The calculation of drill-pipe pressure schedule is straightforward. The following equations can be derived by referring to Figure 2-2, assuming that no gas enters the drill pipe.
During the kick-in period, Pbhis calculated assuming the choke is wide-open. During the kill period, P,, equals the formation pressure.
A Pf.,
1 1
KILL MUD
1
A 'h.odrn
ORIGINAL DENSITY
MUD
The frictional pressure loss inside drill pipe and annulus is calculated using either Bingham plastic or power-law models. These two models are documented in Section 2.9.
2.4
ANNULUS MODEL
The annulus is defined as the flow path from the bit to the surface, which consists of 1) the
annular region between the drill pipe and the casing or formation, and 2) the choke line, which is a circular pipe. As with the drill string, the annulus may have as many sections of different cross-sectional areas as desired. However, in the program, the number of sections is limited to ten.
During the course of gas circulation, there could be as many as four sections of fluids in the annulus as shown in Figure 2-3.
ORIGINAL
The original drilling mud section preceding the kill mud does not mix with the gas in the twophase region. The interface between them is distinct and never changes except by moving ahead with the ODM section. The two-phase mixture section includes the section with both dissolved gas and free gas (true two-phase region) and section with dissolved gas only (single-phase actually). The interface between ODM and the two-phase mixture section below is constantly changing since the gas may slip relative to the average mixture velocity and dissolved gas may move ahead due to dispersion. The pressure drop in the liquid regions is determined the same way as for drill pipe. Either the Bingham Plastic or Power Law model is used for the frictional pressure loss calculation. The pressure drop in the two-phase section needs special treatment. For water-based mud, two models are used for this section: 1) one treats the section as a single-bubble and 2) the other treats it as a two-phase bubble-flow region. For oil-based mud, only the two-phase flow model can be used.
(A
The pressure drop in the ODM section may include both of the sections below and above the twophase region depending on the circulation time. The pressure at other points of interest can be evaluated in a similar way.
2.5
constant composition, remains immiscible and undergoes no phase change. This single-bubble of gas stays at the bottom of the well when circulation begins. The length of gas column is determined by the pressure and temperature at the bottom of the column. The single-bubble model applies only to waterbased mud. Assume the pressure and temperature at the interface between the gas column and the mud below is Pi and Ti, respectively, then the gas volume is
from which the gas column length can be determined. Hydrostatic head or frictional pressure loss becomes readily available. V is measured by the pit gain.
2.6
dissolve into or evolve from the liquid phase, depending on the local pressure, temperature, and bubblepoint pressure conditions. Furthermore, free gas may move faster relative to the mixture velocity due to gas slippage. To describe this complex, twephase flow problem, a two-phase flow model is required. Eight variables will give a complete description of the system. These include gas and mud densities, liquid holdup, gas and mud velocities, pressure, temperature, and gas solubility. The temperature distribution in the annulus is assumed to be known and constant throughout the process. Then, seven equations relating the remaining variables are required to obtain a solution.
The seven equations used to describe the one-dimensional mixture system in the annulus are based on the work of Santos, 1991:
Liquid holdup, fraction Time, seconds Liquid density, ppg Liquid density at surface conditions, ppg Gas density, ppg Liquid velocity, Wsec Gas velocity, Wsec Spatial dimension, ft Pressure, psi Bubble-point pressure, psi Specific gravity of gas Temperature, "R Formation volume factor, Rcf/Scf
Eqs. 2-9 and 2-10 are the mass-balance equations for the mud and gas, respectively. Eq. 2-1 1 is the momentum-balance equation for the gaslmud mixture, and Eq. 2-12 is an empirical correlation for predicting liquid holdup from velocities and liquid and gas properties. Eq. 2-13 is the EOS (equation of state for gas phase). Eq. 2-1 1 is used instead of separate momentum-balance equations for each phase because of the unknown nature of the interactive forces between the gas and mud phases. This formulation of separated gaslliquid flow is one form of the "drift flux" model. Eq. 2-14 calculates the liquid density utilizing the formation volume factor. For water-based mud, it is assumed that there is no gas dissolved in the liquid, the formation volume factor equals 1, the liquid density equals the density at the surface conditions, which is constant. As for oil-based mud, gas will either dissolve into or evolve from the liquid, thus decreasing or increasing the liquid density. The formation volume factor is calculated from the following equations (Van Slyke and Huang, 1990).
Eq. 2-15 calculates the solubility under the prevailing pressure and temperature conditions. The solubility depends on the amount of gas available for dissolve. If the available gas is more than the amount required to saturate the mud, then solubility equals the value under saturated conditions, which is calculated from correlations of O'Brian et al. If the available gas is not enough to saturate the mud, all the gas will be dissolved. The solubility is determined by the material balance. Since the amount of gas dissolved depends on the liquid density, and liquid density depends on the amount of gas dissolved, two variables have to be solved simultaneously. The detailed procedure is quite involved and is not included in this manual. However, the correlation of O'Brian et al. is documented below.
2.7
P.
O'Brian et al. performed an experiment to determine gas solubility in the drilling fluid under different pressure and temperatures. The drilling fluid is composed of three components: oil, brine, and emulsifiers. Gas is composed of two components: hydrocarbon and CO, First, the solubility of individual component gas in individual component drilling fluid is estimated. The gas mixture solubility in drilling fluid mixture is calculated as being the volume weighted sum of individual solubilities. 1. The general equation for the solubility of gas in oil and emulsifiers:
R, ,
A B C B,
R, A
= = = = =
=
B C D B,
ko.e.br
(RBb fh
Rrco,
fco,)o.e.br
kofO
&efe
+ kbrfbr
R f
0
Subscript: e br h co,
In the current version of the wellcontrol program, it is assumed that there is no CO, in the gas,
and 85 % of the drilling fluid is oil and 15% is brine. There is no emulsifier in the drilling fluid.
2.8
SOLUTION ALGORITHM (Santos, 1991) The two-phase flow model constitutes a nonlinear system with seven unknowns: pressure, gas
and liquid velocities, gas and liquid density, liquid holdup, and gas solubility. These seven unknowns are functions of time and position along the wellbore. Numerical solutions have to be employed. First, the one-dimensional wellbore is divided into a series of small blocks. The partial differential equation set (Eq. 2-9 to Eq. 2-15) is then discretized based on this division using finitedifference method. To accommodate the cross-sectional area variation in the annulus, it is required that a block cannot span two sections with different cross-sectional areas. This guarantees that the boundaries between different sections are boundaries of blocks. Furthermore, each section of constant crosssectional area can be divided into smaller blocks according to the calculation interval specified by the user. An example is shown in Figure 2-4.
Figure 2-4. Example Annulus Division 2.8.1 Finite Difference Euuations The finite difference approximation of Eq. 2-9 to 2-15 can then be written as:
A xi
-
- (kv
A tk
f rl+
1
f;+l
(2-23)
A xi
-
k+l
(2-24)
[(1 -A),,
B
]'+I B i
jy
;+I
A+ ''
J
= 1
The liquid velocity at the boundary is determined by pump rate and cross-sectional area at the boundary.
3. Calculate the gas mass transfer between liquid and gas phase, gas solubility and liquid density. 4. Estimate liquid holdup 1 ' . 4
5. Calculate the liquid and gas velocities with Eqs. 2-23 and 2-24.
6. With the gas and liquid properties, gas and liquid velocities, liquid holdup from Step 4,
and inclination angle, use two-phase flow correlations to calculate I t " , compare this value and the estimated value in Step 4. If they are sufficiently close, go to Step 7. If not, re-estimate If" and repeat the process from Step 4 until convergence on liquid holdup is reached.
7. Calculate P'"
Step 1. If they are sufficiently close, stop the process. If not, re-estimate pressure and repeat the process from Step 1 until convergence on pressure is reached. The procedure starts from the bottom of the hole where liquid holdup is 1 and pressure equals the formation pressure. The procedure is repeated for the adjacent downstream blocks. The calculations proceed until the fluid properties at all block boundaries are determined. Three two-phase flow correlations are used in the program. Section 2.11 documents these correlations.
2.9
RHEOLOGY MODEL
The models most commonly used in the drilling industry to describe fluid behavior are the
Bingham plastic and power-law rheological models. They can be used to calculate frictional pressure drop, swab and surge pressures, etc. WELCON2 is based on equations derived in Applied Drilling
Engineering (Bourgoyne et al., 1986) and API SPEC 10. 2.9.1 Binpham Plastic Model
The Bingham plastic model is defined by Eq. 2-32 and is illustrated in Figure 2-5.
r
y
= =
SHEAR R A T E ,
Figure 2-5. Shear Stress Vs. Shear Rate for a Bingham Plastic Fluid (Bourgoyne et al., 1986) As shown in Figure 2-5, a threshold shear stress known as the yield point (r,) must be exceeded before mud movement is initiated.
The mud properties p, and r, are calculated from 300- and 600-rpm readings of the viscometer as follows:
where:
8 ,
Calculation of frictional pressure drop for a pipe or annulus requires knowledge of the mud flow regime (laminar or turbulent).
1. Mean Velocity
The mean velocities of fluid are calculated by Eq. 2-34 and 2-35. For pipe flow:
v =
Q
2.448d
Q
2.448(d2' - d:)
Where:
2. Hedstrom Number
The Hedstrom number, N,,, is a dimensionless parameter used for fluid flow regime prediction. For pipe flow:
24,700 p ty (dl
pi
d,)'
Where:
p = Mud weight, lblgal
1' 0
1
6 5
:
1
,
.
.
:
: I : : , ! 1 ~ 1 1 1 1
,
.,
1
,
1
. . .
I
' 1 1 1 1
. /
.
, ,
a ! ,
. , , , . I ' ! I l i
. , . . , ' .
I
.
,
..
4
. , . .
i l l .
, .
,
. , : a
, : : I #
: J ( i i i 1
. I
1 1 1 1
! ! I !
z
= W
3
2
lo4
3 I
...
r
OZ
2
6
. 4
;
I
.
.
1
. . .
. v N 8 1 i
.
I
,
,A,
.
;
./
.:,.,
1 : '
.
I
.
t
.
!
!
.
,
I
.
. .
..
I
.
4
,
. I
,
.
, . t
.
: . I I
11,
lli;i
i l
/ 1 I
I ( ! {
llllill
I I
\ ! ! I
! I
l l i i
I I111
I '
1
, ,
:
567991
,, ,.
..
. l l ,
l l , ,
,
i
.
;
. .
, i
.... .
l l ,
I;I$
:
1 1 1
567891
567.99
19
10.
19
HEDSTROM NUMBER, NH,
lo6
10'
Figure 2-6. Critical Reynolds Numbers for Bingham Plastic Fluids (Bourgoyne et a]., 1986)
3. Reynolds Number
Reynolds number, N,, For pipe flow: is another common dimensionless fluid flow parameter.
5. Frictional Pressure Drop Calculation For pipe flow, the frictional pressure drop is given by:
(1) Laminar flow (N,
Critical
N,3
<
Critical N,)
N,3
K~"
(2-45)
where:
K = Consistency index, equivalent centipoise (Bourgoyne et al., 1986) n = Flow behavior index, dimensionless
Figure 2-7. Shear Stress Vs. Shear Rate for a Power-Law Fluid (Bourgoyne et al., 1986)
The critical Reynolds number must be determined before the frictional pressure drop can be calculated.
1. Mean Velocity
Q
2.448(d: - d:)
.u xapy JolAeqaq
MOD
m3
0002 = "N le3!1!13 u 0088 - 096s = "N Ie3!1!13 OOZV = "N 1~3!1!13
> U 103
<
Critical N,,)
Critical N, )
<
Critical N,, )
0.052
TVD
, (lb/gal)
where
Po = pressure at the point, psi TVD = true vertical depth at the point ft.
three of them for this well-control program. The following correlations use SI units. The Dressure d r o ~ s s h units before being used in Ea. 2-1 1.
vm
= "Sl
vsg
=
vsl
vsg
(5) To determine the flow pattern which would exist if flow were horizontal, calculate the L,, correlating parameters, L,, L, and L,:
Transition:
or
Ans10.4and NFR>L4
where a, b, and c are determined for each flow pattern from the table: Flow Pattern Segregated Intennittent Distributed a 0.98 0.845 1.065 b 0.4846 0.5351 0.5824
c
0.0868 0.0173 0.0609
where d, e, f, and g are determined for each flow condition from the table: Flow Pattern Segregated uphill Intermittent uphill Distributed uphill All flow patterns downhill d e f 3.539 -0.4473 C=O 0.1244
g
-1.614 0.0978
-0.5056
AoI)
A A
= 0.918
= 0.541
-A
where I, is the liquid holdup calculated assuming flow is segregated, I, is the one assuming the flow is intermittent. (13) Calculate frictional factor ratio
where
and
y = -
I ns
12
S becomes unbounded at a point in the interval 1 < y y in this interval, the function S is calculated from S = In ( 2 . 2 ~- 1.2)
(14) Calculate frictional pressure gradient (NRs)ns- P n s ' ~ m ' d e l ~ n s
<
Use this no-slip Reynolds number to calculate no-slip friction factor using Moody's diagram, f,'; then convert it into Fanning friction factor, f, The two-phase friction factor will be
f tp = f
Us
f,'14.
.-ftP
f
ns
NOTE: In the well-control model, it is assumed that when inclination angle is greater than 45", there is no slippage between gas and liquid.
If A
= 0.13.
If B-A is positive or has a value of zero, continue with the Hagedorn-Brown correlation. If B-A is negative, proceed with the Grifiith correlation. Griffith correlation:
0.0019 CN,
=
0.0322.NL - 0.6642 N :
+
4.9951 N,'
1 - 10.0147NL + 3 3 . 8 6 9 6 ~ :
277.2817~:
If N, If N,
< >
(2) Calculate liquid, gas velocity number, and pipe diameter number.
@ =
% k
NGV
(A)
O.I0
IT]
CNL
(2)
f
2f.Pns'Vrn P,, dc p,
.-
P , pr
NOTE: The Hagedorn-Brown correlation applies only to vertical wells. However, in the well control program, it is assumed that gas flows at the same velocity as the liquid when inclination angle is greater than 45". As far as the sections where inclination angle is between 0 and 45", the Hagedorn-Brown correlation is still used as if the well were vertical.
. *
"
E
20
10-
DISPERSED BU9BLE
0, w
0
BUBBLY
TRANSITION
>
3
5
I
0.1
0 L
SLUG OR CHURN
: 0.01 2
V)
I
I
I 10
I 100
(0.429 vsl
0.357 v S )sine
(+)
~
0.6
(<I
-0.4
2fv,
When d s dc and when superficial gas velocity stays on the left of Boundary C, the flow is in dispersed bubble. C) Boundary C: transition from slug to dispersed bubble.
2.
Liquid holdup calculation. For bubbly or dispersed bubble flow v sg A = 1 1 . 2 ~ Vs + ~ For slug or chum flow
(1 + H cos 8)'.2
(2-87)
3.
Frictional pressure gradient calculation. For bubble, slug, or dispersed bubble flow
4 x lo4, then
NOTE: It is assumed in the program that there is no gas slippage when inclination angle is greater than 45 ". Therefore, the correlation is actually not used in this range.
3. Program Installation
3.1
BEFORE INSTALLING
3.1.1 Hardware and Svstem Reauirements
Windows version 3.0 or higher in standard or enhanced mode. Due to the tremendous amount of
calculations involved in WELCON2, we strongly recommend that WELCON2 be run on a 80386 processor or higher with math co-processor. At least four megabytes of RAM is highly recommended. To save memory space, a scheme of overlay is used in the program; that is, part of the program i loaded s into the memory when needed and unloaded from the memory when finished. To speed up this load or unload process, we strongly suggest the program be installed on a hard drive and be operated from the hard drive. The amount of calculation (or calculation time) depends to a great extent on speed of the machine and number of intervals used, which depends on the total length of the well and the length of the calculation interval specified in PDI File. We have run the TEST files on the different machines we have with different number of intervals. The results are tabulated in the following table. As can be seen from the table, the calculation time increases by 3 to 4 times every time the length of the calculation interval is halved. WELCON2 runs very slowly on a 80286 processor, especially the ones without math co-processor.
TABLE 3-1. Calculation Time Comparison TIME: M1NUTES:SECONDS Calculation Interval (ft) 200 100 50 25 Number of Intervals 28 57 115 230 80486 80486 80386 33 MHz (8 Meg) 25 MHz (4 Meg) 50 MHz (8 Meg) 00: 10 00:27 0 1:26 04:41 00: 14 00:44 02: 17 07: 16 00:40 02:Ol 06:29 21 :09
NOTE: Math co-processor is present on all the machines. TEST files are used for these runs. Options selected: Engineer's Method, Bingham-Plastic Model, water-based mud, Hasan-Kabir correlation. For assistance with the installation or use of WELCON2 contact:
Weiping Yang or Russell Hall Maurer Engineering Inc. 2916 West T.C. Jester Boulevard Houston, Texas 77018-7098 U.S.A. Telephone: (7 13) 683-8227 Fax: (713) 683-6418
3.1.2 Check the Promam Disk The program disk you received is a 3 %-inch, 1.44 MB disk containing twenty files. These twenty files are as follows:
SETUPKIT.DL-
GSW.EXE
SETUP.EXE SETUPI . XE E
TEST. SDI
GRID.VBX MDICHILD.VBX
We recommend that all .VBX and .DLL files that have the potential to be used by other DEA-44/67 Windows application be installed in your Microsoft WINDOWS\SYSTEM subdirectory. This applies to all the .VBXs and .DLLs included here. The WELCON2 executable (WELCON2.EXE) fde should be placed in its own directory (default "C:\WELCON2")along with the example data files
F.
TEST.W*IS. All these procedures will be done by a simple setup command explained in Section 3.2.
In order to run WELCON2, the user must install all the fdes into the appropriate directory
on the hard disk. Please see Section 3.2 to setup WELCON2. It is recommended that the original diskette be kept as a backup, and that working diskettes be made from it.
3.2
INSTALLING WELCON2
The following procedure will install WELCON2 from the floppy drive onto working
subdirectories of the hard disk (i.e., copy from A: drive onto C: drive subdirectory WELCON2 and
WINDOWS \SYSTEM).
1. Start Windows by typing "WIN" <ENTER > at the DOS prompt. 2. Insert the program disk in drive B:\. 3. In the F i e Manager of Windows, choose Run from the File menu. Type B:\setup and press Enter.
4. Follow the on-screen instructions.
This is all the user needs to setup WELCON2. After setup, there will be a new Program Manager Group which contains the icon for WELCON2 as shown in Figure 3-1.
&ELPATHSO
DDR4G82
mM0030
BUWE,
DRIFE~
&
~
~sircrsl
W
CTUFE2
H
~llaxl
f
Rd
AFE
3.3
3.4
ALTERNATIVE SETUP When SETUP procedure described previously fails, follow these steps to install the program: 1. Create a subdirectory on drive C: C:\WELCONZ. 2. Insert source disk in drive B: (or A:). 3. Type: C:\WELCONZ <ENTER>. 4. At prompt C:\WELCONZ, type: Copy B:\WELCONZ.EXE <ENTER > Copy B:\TEST.* <ENTER>.
9. Type: CD.. <ENTER > then key in "WIN"' <ENTER > to start Windows 3.0 or later version.
10. Click menu "File" under "PROGRAM MANAGER," select item "New ...," click on "PROGRAM GROUP" option, then [OK] button. 11. Key in "DEA APPLICATION GROUP after label "Description:,"then click on [OK] button. A group window with the caption of "DEA APPLICATION GROUP" appears. 12. Click on menu "File" again, Select "NEW...," click on "PROGRAM ITEM" option, then, [OK] button. 13. Key in "WELCONZ" after label "Description," key in "C:\WELCONZ\WELCONZ.EXE after label "COMMAND LINE," then click on [OK] button. The WELCONZ icon appears. 14. Double click the icon to start the program.
WELCONZ runs in a Windows environment. It is assumed that the user is familiar with Windows, and that his or her computer is equipped with Windows 3.0 or later.
For information about Windows in a concise and convenient form, 10 Minute Guide to Microsoft
TEST.PJT, which allows all three data files to be called up in a single operation. 4.2 GETTING STARTED
1. Call up Windows and make DEA APPLICATION GROUP the active window, as shown in Figure 4-1.
lW4-
IW-
4.
h
When the Data Input Window, Figure 4-3, appears, notice that there are five sets of choices to be made in this Data Input window. These are:
1. Kill Procedure - Driller's or Engineer's Method; 2. Rheology Model - Power-Law or Bingham Plastic Model; 3. Mud Base - Water-Based or Oil-Based Mud; 4. Two-Phase Flow Correlation - Single Bubble, Beggs and Brill, Hagedorn-Brown, or Hasan-Kabir; and 5. Units of Measure - English or Metric.
The user's decision is made by clicking on the button in front of each listed option. Decisions can be made any time before running the program. If not using the mouse, move the cursor from one decision field to another by using the tab key. Move within a decision field by using the arrow keys.
5.
After setting these five options, click on SDI in the menu bar at the top of the screen. This will open the Survey Data Input window, shown in Figure 4-4.
= l . E?
If not using a mouse, activate the menu bar with the < ALT > key. Use arrow keys to move along the menu bar. Use <ENTER> key to make selection.
6. When the Survey Data Input window opens, click on File as shown in Figure 4 4 . This will
When the File window opens, click on Open. This will open the SDI File Open window, shown in Figure 4-6.
When the SDI File Open window opens, click on C:\ in the Drive box. This will cause the list of *.SDI files stored in drive C:\WELCON2\ to appear in the File Name box at the upper left of the window, as shown in Figure 4-6. Now, click on Test.SD1, then click on [OK]. This will open the
Survey Data Input Window, and fill it with data, as shown in Figure 4-7.
Before leaving the Survey Data Input window, notice the three sets of options which are available. These are:
- Feet or Meters; 2. Inclination - Decimal degrees or Degrees and Minutes; and 3. Azimuth - Angular or Oil Field Measure.
1. Depth
To change any of these, click on the desired option. If not using a mouse, use the tab key to move from one field to another, and use the arrow keys to move within a field. As the user moves from one value to another, the highlight will move accordingly. Default choices are Feet, Decimal, and Angular,
..-
respectively. Before leaving this Survey Data Input window, set these three options to suit your needs.
8. Now, click on File on the menu bar above the Survey Data Input window. When the File window opens, as shown in Figure 4-8, click on Exit.
UA~
This will bring back the Input Data Window with the SDI Filename box now listing C:\WELCON2\TEST.SDI, as shown in Figure 4-9.
1 Fd a
4-6
10. Click on TDI on the menu bar at the top of the window. This will open the Tubular Data
Input window, shown in Figure 4-10. All data spaces in this window are blank.
AA~
11. Click on File at the upper left of this window. This will open the File windows.
12. Click on Open in this window. This will open the TDI F i e Open window.
13. Click on Test.WT1 and then on [OK] in this window. 14. This will reopen the Tubular Data Input Data Input window and fill it with numerical data, as shown in Figure 4- 11.
Figure 4-1 1. Tubular Data Input Window-Filled Then click on F i e at the left end of the menu bar. When the File window opens, click on Exit. This will reopen the Data Input Widow, and add the title C:\WELCONZ\TEST.WTl to the TDI Fie name box, as shown in Figure 4-12.
18. Click on PDI on the menu bar at the top of the window. This will open the Parameter Data
Input window, shown in Figure 4-13. All Data spaces in this window are blank, except for those at the lower left of the window where measured depth at the ends of each calculation
are listed. The annulus volume in bbls of each calculation interval is also listed.
19. Click on File at the upper left of this window. This will open the TDI F i e Open window.
This a in Fig1
.al data, as
There are a number of user inputs and options in the Parameter Data Input window. These choices have all been made and incorporated into the Test.WP1 file to expedite the execution of this example run. The Parameter Data Input will be discussed in the next section of this manual.
22. Click on FiIe at the left end of the menu bar. When the Fie window opens, click on Exit.
This will return to the Input Data window, as shown in Figure 4-15.
I F~le SDI
Now, all three data file boxes in the Data Inlet window have been filled with the chosen names
h
of the three files. At this time, the user can create a Project file which will contain all three of the input data files. Calling up this Project file will simultaneously input all three data files for future computation. The project file is established as follows. 23. Click on F i e at the left end of the menu bar. When the Project F i e window opens, click on
Figure 4-16. File Selection Window: New Project 24. This will open the Save Project as window, as shown in Figure 4-17.
4-1 1
In the box directly below F i e Name write the name of the project file with the extension .PJT. For this example, this name is TEST.PJT. Then click on the [OK] box.
C:\WELCON2\TEST.PJT has been added to the list of titles in the boxes at the top of the window. This is shown in Figure 4-18.
26. Now, click on Run on the menu bar. A monitoring panel appears. On the panel, an indicator
displays the percent of computation completed as a function of time. when the indicator reaches 100%,the panel disappears. Also on the panel are some labels indicating the pressure and rate information as a function of time. When calculation finishes, the Input Data window will return to the screen.
27. Click on Output on the menu bar. This will cause an option window to appear. The option
window displays all the options available for three different plots, namely, pressure or ECD plot, pit gain andlor gas flow plot, pressure gradient plot. For pressure or ECD plot, the horizontal axis can be time or strokes pumped, the Y-axis can be either pressure or ECD. The plot can have various combinations of different curves. If the check box preceding the curve name is checked, the curve will be included in the plot. Other plots work in a similar way. The counting of time or strokes pumped may start when gas begins to kick-in (start of kick) or when circulation is initiated (start of circulation). This option is selected in the box "Time Origin." The curve combination and time origin have to be determined before clicking on
Window.
ad1
Figure 4-19. Output Option Window 28. Click on W i d o w on the menu bar. This opens the Graphic Output window, shown in Figure 4-20. The first three items are for the arrangement of a group of child windows. They can be used only when there is at least one child window on the screen. The other five items are different child windows. Clicking on any one of them will bring out the corresponding child window. The child window "Tabulated Results" always displays the tabulated results for Active Graph Child Window.
29. Click on Pressure or ECD to display the graph shown in Figure 4-21. The number of curves displayed on this plot depends on the options selected.
30. To display another plot, click on Window on the menu bar. When the Graphic Output
window opens, select another plot in the list by clicking on it.
3 1 . After viewing several of the graphs, they may be presented in a multiple display, as shown in Figures 4-22 and 4-23. Figure 4-22 is generated by clicking on Cascade in the Graphic Output window.
IJ)WELL CONTROL PROGRAM -OUTPUT
Figure 4-22. Cascade Window Figure 4. will not be det :rations, and
32.
To print any of the screen displays, click on F i e at the left end of the menu bar. When the F i e window opens, click on Print. Figure 4-24 is the printed output of the Choke Pressure graph.
33.
To leave the graphic displays, click on File at the left end of the menu bar. When the File window opens, click on Exit. This will return the user to the Input Data window.
34.
The Help option at the right end of the menu bar will open the Help window. The two options available in this window are Assistance and About.. individuals to contact for assistance with the program.
open the window shown in Figure 4-25, which gives phone and FAX numbers and
Clicking on About.. in the Help window opens a window with infoxmation about the program, and a listing of the equipment you are using to run the program.
35.
To leave the program, click on F i e on the menu bar. When the File window opens, click on Exit.
1.
2.
in the kill procedure. Most field measurements assume the Bingharn plastic model, although there are conversions available to express Fann V.G. readings in terms of the power-law constants. If the pressure drop measured at slow pump rate is input (Parameter Data Input), a correction factor will be applied to the friction drop calculated for mud flow. This should greatly reduce any error resulting from the choice of flow model.
3.
of experience or intuition. A number of the inputs required for the Beggs and Brill, Hasan-Kabir, and Hagedorn and Brown models are not measurable, and must be estimated by the user. The single-bubble model yields the highest choke pressure, and may be considered to represent the worst possible scenario.
4.
5.2
5.3
A ~ i l
Starting down the left-side column, the first four items must be supplied by the user, i.e.,
1. 2.
3.
Drill-pipe pressure, Casing pressure, Pit gain, and Specific gravity of gas. (air = 1.00)
4.
5.
Viscosity, can either be supplied by the user, or, if the user chooses to click on calculate the gas viscosity.
m],the
w],
program will use the formation pressure and temperature, and the gas specific gravity to
6.
Surface tension of the mud, may either be entered by the user, or, if the user clicks on
a default value of 80 dyneslcm will be supplied. This is the surface tension of clean water. It is required in some of the multiphase correlations. 7. User must enter permeability, porosity and rate of penetration. These parameters will be used in the calculation of gas influx rate.
8.
Starting down the right column, items #lo, #11, and #12 are, respectively, mud weight, plastic viscosity, and yield point of the original density mud. The user must supply these. Normal pump rate is the pump rate before shut-in. It must be supplied by the user. Pump pressure may be supplied by the user. Pressure is determined by the slow pump rate and slow pumping test. This value will be compared with the frictional pressure drop calculated using the mud properties in items #lo, #11, and #12, and the flow path geometry listed in the Tubular Data Input. A correction factor will be determined from this comparison. This factor will be used to correct the friction pressure drop computed for the single-phase mud flow to agree with that observed in the slow pump rate test.
9.
10.
If the user elects to click on the [El, the program will calculate a frictional pressure drop for the mud flow, and place it in this box. The program will calculate the mud weight of the kill mud when the user clicks on
w] for item
#16. Items #17 and #18, kill mud plastic viscosity and yield point, must be supplied by the user.
After entering the data for example, the top of the Parameter Data Input is shown in Figure 5-3.
a-PARAMETER DATA INPUT [PDII-C:\WELCONZ\TEST.WPl
&A
Figure 5-3. Parameter Data Input Window: Partially Filled The three empty columns at the bottom of the window must now be filled. Click on the [Estimator] button of the Temperature column to open the Temperature
a 4
, -
Enter surface temperature and temperature gradient in degrees FI100 ft or in degrees Cl30 meters) and click on the [Accept] button to enter the temperature readings into the temperature column in the Parameter Data Input window, as shown in Figure 5-5.
dz!
Enter surface temperature and temperature gradient in degrees F/100 ft or in degrees C/30 meters) and click on the [Accept] button to enter the temperature readings into the temperature column in the Parameter Data Input window, as shown in Figure 5-5.
&IJ~
Figure 5-5. Temperature Data Entered Individual entries in these three columns (Temperature, Pore P. Grad., and Frac. P. Grad.) may be edited or added by clicking onto them and typing in the desired change. The Calculation Interval is also a user input, and is edited by clicking onto the box and entering the desired change. In a similar manner, the PORE PRESSURE GRADIENT window and the FRACTURE PRESSURE GRADIENT are opened, filled, and the results entered into the Parameter Data Input window. These two windows are shown in Figures 5-6 and 5-7.
~ l s 3 l \ r ~ 0 1 1 3 M \ ~ ~I lM N I lVlVQ t l 3 1 3 1 1 V W d - ~ ad
The c
In this window, the pump pressure (300 psia) was user input. Clicking the B] button on the
Pump Pressure line will replace the user input value with a calculated value, 340.05, as shown in
Figure 5-9.
As a final comment, Figure 5-10 presents a composite output graph of choke pressure versus time for all four flow models.
Hagadorn-Brown
..................
.................
.............
20
40
60
80
100
120
140
160
Time (minutes)
Figure 5-10. Choke Pressure for Four Models
, ..
This result seems to be G i c a l &that the s i n i l e - b u b ~ model.yields &=highest choke pressure, while the outputs of the other models are lower and closely grouped.
..I
, * I , ,
..
: ,
, - . :
..
. ? .
.
!.-.
; . A
.I(>!.
,.,:'.,
.:;-,.;
. ' :
,,,
'
6. References
Barnes, D., 1987: "A Unified Model for Predicting Flow-Pattern Transitions for the Whole Range of Pipe Inclinations," International Journal Multiphase Flow, Vol. 13, No. 1 , pp. 1-12.
Beggs, H.D. and Brill, J.P., 1973: "A Study of Two-Phase Flow in Inclined Pipes," Journal of Petroleum Technology, May. Bourgoyne, A.T., Jr., et al., (Date Unknown): Applied Drilling Engineering, Richardson, Texas, Society of Petroleum Engineers. Brill, J.P. and Beggs, H.D., 1991: Two-Phase Flow in Pipes, Sixth Edition, January. Brown, K.E. and Beggs, H.D., 1977: "The Technology of Artificial Lift Methods," Vol. 1, Published by Pennwell Books. Caetano, E.F., Shoharn, 0. and Brill, J.P., 1992: "Upward Vertical Two-Phase Flow Through an Annulus - Part I: Single-Phase Friction Factor, Taylor Bubble Rise Velocity, and Flow Pattern Prediction," Journal of Energy Resources Technology, Vol 114, March. Caetano, E.F., Shoham 0. and Brill, J.P., 1992: "Upward Vertical Two-Phase Flow Through an Annulus - Part 11: Modeling Bubble, Slug, and Annular Flow," Journal of Energy Resources Technology, Vol 114, March. .,
*
Hasan, A.R. and Kabir, C.S., 1992: "Two-Phase Flow in Vertical and Horizontal Annuli," Int. J. II Multiphase Flow, Vol. 18, No. 2, pp. 279-293.
%
LeBlanc, J.L. and Lewis, R.L., 1967: "A Mathematical Model of a Gas Kick," SPE Paper 1860 presented at SPE 42nd Annual Fall Meeting, Houston, Texas, October 1-4. Leitiio, H.C.F. et al., 1990: "General Computerized Well Control Kill Sheet for Drilling Operations with Graphical Display Capabilities," SPE 20327 presented at the Fifth SPE Petroleum Computer Conference held in Denver, Colorado, June 25-28. Nickens, H.V., 1987: "A Dynamic Computer Model of a Kicking Well," SPE Drilling Engineering, June. O'Brian, P.L., et al., 1988: "An Experimental Study of Gas Solubility in Oil-Based Drilling Fluids," SPE Drilling Engineering, March. Santos, O.L. A., 1991 : "Well-Control Operations in Horizontal Wells," SPE Drilling Engineering, June. Santos, O.L.A., 1991: "Important Aspects of Well Control for Horizontal Drilling Including Deepwater Situations," SPEIIADC Paper 21993 presented at 1991 SPE/IADC Drilling Conference, Amsterdam, March. Specification for Materials and Testing for Well Cements, 1990: API SPECIFICATION 10 (SPEC 10) Fifth Edition, July 1 .
Van Slyke, D.C., Huang E.T.S., 1990: "Predicting Gas Kick Behavior in Oil-Based Drilling Fluids Using a PC-Based Dynamic Wellbore Model," IADCISPE Paper #19972, presented at the 1990 IADCISPE Drilling Conference held in Houston, Texas, February. White, D.B. and Walton, I.C., 1990: "A Computer Model for Kicks in Water- and Oil-Based Muds," IADCISPE Paper 19975 presented at the 1990 IADCISPE Drilling Conference, Houston, Texas, February 27-March 2.