Abstract

Accurately predicting the position of gas influx not only helps to analyze complex formation structure, but also can provide reference for taking effective measure, such as increasing mud density, increasing back pressure and casing packer, to suppress the gas influx. Predicting the accurate position of gas influx has been one of the urgent difficulties for drilling industry. With full consideration of the important factors such as the virtual mass force, viscous shear force, energy exchange, and narrow resistance, a new method for predicting the position of gas influx has been proposed based on pressure response time calculation. The gas equations of state (EOS), small perturbation theory, and the fourth-order Runge-Kutta method (R-K4) are adopted to solve the model. Also, the pressure response time plate (PRP) which presents the corresponding relationship between position of gas influx and wellhead parameters by several pressure wave response curves calculated by computer programming is given. The results showed that the PRP is unique at different well depth and gas influx rate, and the position of gas influx can be accurately determined by PRP with known wellhead parameters and detected response time. Therefore, without the help of downhole tools, the accurate mathematical method for predicting the position of gas influx is completely feasible.

1. Introduction

One of the future trends of petroleum industry is the exploration and development of high pressure, low permeability reservoirs [1]. Drilling-related issues such as excessive mud cost, wellbore ballooning/breathing, kick-detection limitations, difficulty in avoiding gross overbalance conditions, and differentially stuck pipe and resulting well-control issues together contribute to the applying of managed pressure drilling (MPD) technology [2, 3]. Although drilling operations try to avoid the risk of gas influxes in MPD operations, occasionally there are gas influxes for various reasons. Since the subsequent influx of gas displaces drilling mud, it decreased the pressure in the wellbore and makes gas enter even faster [4, 5]. Gas influx occurs whenever the pressure of a gas-bearing formation exceeds the pressure at the bottom of a wellbore [6]. The main reasons for gas influx are this pressure differentia; the pressure differentia is an unexpected form of rise in formation pressure or a decrease in mud hydrostatic pressure. A rise in formation pressure can be due to geological processes that have occurred in the region being drilled. Wells are drilled in regions where oil and gas are trapped, and the same processes that create the hydrocarbons can also produce large pressures. Therefore, it is not uncommon to come across regions of abnormally high formation pressure while drilling. Mud hydrostatic can decrease due to any event that causes the mud column in the hole to drop, such as lost circulation or tripping out while not filling the hole to adequately compensate for the volume of the removed drilling assembly [7]. Surge pressure, low drilling mud density, abnormal formation pressure and so forth all can cause that the formation pressure be higher than annulus pressure during MPD process, and the higher formation pressure can lead to gas influx from formation to annulus. At any operation condition, the negative pressure exists between the annulus and the formation when gas influx occurs. If the gas influx cannot be detected in time and take effective measures, the negative pressure differentia will further increase with the migrate of gas along the annulus from bottomhole to wellhead. It can result in further deterioration of influx which may escalate into a blowout creating severe financial losses, environmental contamination, and potentially loss of human lives. Normally, gas influx occurs in bottomhole or casing shoe. But when drilling in complex formation, gas influx may occur anywhere in the open wellbore. Also, gas influx may occur at any time while wellbore pressure falls below formation pore pressure in a permeable and porous zone containing fluids. For drilling safety reasons, the sooner it can be detected, the better it will be. Accurate determination of gas influx position is more conducive to take effective measure for suppressing gas influx [8, 9].

Since there are more unknowns, predicting of formation parameters and borehole fluid parameters is always difficult in the drilling industry. At present, the predicting methods generally include software base monitoring and hardware techniques with the help of measurements-while-drilling tools. In drilling site, many judgment methods are put into use, such as level monitoring of return drilling mud in drilling fluid pot, DC index method, shale density method, torque gauge method, acoustic time difference method, and pump speed method. DC index method relies on the accurate determination of normal pressure trend line. For lack of reliability of pressure monitoring and drilling parameters before drilling, the DC index method has limitations. Acoustic curve detection of formation pressure based on acoustic time difference principles is used for prediction of the single well drilling area or regional formation pressure and regional formation pressure profile, which is common and effective. Acoustic velocity is relevant to the density of the rock structure, porosity of formation, and buried depth. The basic principle of acoustic time difference method is that the propagation velocity of sound waves is different in gas drilling fluid and drilling fluid. Seismic reflection wave method is widely used in geophysical methods. Seismic wave method to predict the formation pressure is according to seismic wave velocity difference to decide the formation pressure. The basic principle of pump speed method is based on working mud pump. The mud pump can be seen as a surface pressure pulse generator. The pressure pulses generated by piston in pump enter the circulatory system, such as the drill string, downhole, drill bit, the nozzle, and return to the ground along the annulus [1012]. MWD tool is also an important means for detection of downhole information. In the early 2000s, formation pressure while-drilling tools were introduced. That can obtain formation pressure data, even in highly deviated wells and extended-reach drilling. In earlier research, a numerical solution of the equations that govern unsteady fluid flow is developed by Chen et al. in 2005. The boundary conditions are adjusted for the surface and downhole equipment. The program outputs pressure and flow pulse predictions at any point [13]. In the past many years, this LWD technology has evolved with the addition of downhole fluid sampling and fluid analysis. LWD sampling and testing are now performed in challenging environments that cannot be performed with wire line tools such as horizontal or highly deviated wells [14]. The new generation of LWD and MWD tools was specifically designed by Radzinski and LWD in 2004 for such hostile environments, transmitting real-time directional information, gamma ray, bore and annular pressure, vibration data, resistivity, neutron porosity, and density measurements [15]. Chia quantified a significant improvement to standard MWD surveyed position uncertainty using actual survey data from drilling assemblies used in more than 120 runs in over 35 different wells in 2004. The use of multistation analysis and the subsequent reduction in wellbore position uncertainty can reduce overall surveying and drilling costs for the well, removing the need for correction runs and allowing for penetration of smaller targets than previously possible with standard MWD surveying [16]. Wang demonstrated that the application of MWD is not limited to streamer data but can also be extended to ocean bottom seismic (OBS) data. For OBS data, MWD can remove water-layer-related multiples and receiver ghost in one step [17]. An MWD data transmission system and method were provided for determining and transmitting the environmental properties of the downhole borehole assembly (BHA) to surface data receivers via mud pulse telemetry, EM telemetry, or both mud pulse telemetry and EM telemetry based on one or more determined properties of the downhole environment by Young in 2012 [18]. Construction and a field testing of a prototype that can automatically record data while drilling from caving and influx flow were analyzed in real time. The prototype is used to identify situations in which influx and caving flows are high enough to cause instability of the drilled well in real time. Geraud et al. combined different services, such as the BHA which included a rotary steerable system (RSS), measurement and telemetry service, logging-while-drilling (LWD) magnetic resonance service, multifunction petrophysics platform, formation pressure service, and sonic and seismic services in 2013. Measurements from these services are integrated and used for real-time drilling parameter optimization and formation evaluation [19].

Though some efforts have been made, predicting the position of gas influx still depended on measurement while drilling (MWD). In the past researches, the influencing factors for the position of gas influx are simulated and analyzed with the MWD; however, the variation of gas void at different depth of wellbore is not considered [2022]. The current researches are limited in their assumption and neglect of the flow pattern translation and interphase forces along the annulus. Up to now, no mathematical method to predict position of gas influx in annulus with variation of gas void, flow pattern, temperature, and BP during MPD operations has been derived. The research in this paper will hopefully solve the present puzzle for predicting the position of gas influx occurring in drilling operations. In this paper, the new method for predicting the position of gas influx is proposed based on acoustic time difference method. So, the determination of pressure wave velocity is the key of this method. Since the 1940s, many experimental and theoretical studies for pressure wave velocity have been performed. Experimental tests are conducted to inspect the contributions of fluctuation and flow characteristics on pressure wave. Pressure wave is still worth continuing an in-depth study today [2329]. In drilling industry, Wang and Zhang studied the pressure pulsation in mud and set up a model for calculating the amplitude of pressure pulsation when pressure wave transmits in drilling-fluid channel especially drilling hose with different inside diameter [30]. Lin et al. study the wave velocity for the transmission of pressure disturbance in the two-phase drilling fluid in the form of a pressure wave in annulus during MPD operations in 2013 [31].

The purpose of this paper is to describe a new method based on pressure response time plate (PRP) for predicting the position of gas influx in the two-phase flow in annulus during MPD operations. In addition to pressure, temperature, and void fraction in the annulus, the compressibility of the gas phase, the virtual mass force, and the changes of interface in two-phase are also taken into consideration. By introducing the pressure gradient equations in MPD operations, gas-liquid two-fluid model, the gas equations of state (EOS), and small perturbation theory, the method for predicting the position of gas influx in gas and drilling mud in annulus is developed. The method can be used to predict the position of gas influx at different influx rate, applied back pressure, and well depth with a full consideration of drilling mud compressibility and interphase forces.

2. The Mathematical Model

The drilling system described is an enclosed system (Figure 1). The drilling mud is pumped from surface storage, down the drill pipe. Returns from the wellbore annulus travel back through surface processing. The key equipment include pressure sensor, choke, and gas-liquid flow meter as follows.(i)Pressure sensor: a pressure sensor is used to measure surface back pressure on the wellhead.(ii)Electronic valve: the MPD choke manifold provides an adjustable choke system which is used to dynamically control the required BHP by means of applying surface BP.(iii)Gas-liquid flow meter: a gas-liquid flow meter is used to accurately measure the mass flow rate of fluid exiting the annulus. The ability to measure return flow accurately is essential for the applied-back-pressure.

Both gas-drilling mud flow rate measured by gas-liquid flow meter and the back pressure measured by pressure senor are the initial data for pressure response time calculation in annulus.

During MPD operations, if the gas influx occurs in the bottomhole, the pressure wave velocity will be significantly reduced. This is due to the low density and great compressibility of gas. Gas migrates from the position of gas influx to the wellhead along the annulus. Above gas influx position, fluid is composed of gas and two-phase drilling mud. Below gas influx position, fluid is single-phase drilling mud. When gas migrates to the wellhead, the degree of the electronic valve is increased to suppress gas influx occurrence. Adjustment of throttle valve to increase back pressure and suppress gas influx will generating pressure pulse. Pressure pulse propagates from wellhead to bottomhole along the annulus in the form of pressure wave. After arriving at bottomhole, the pressure pulse returns back the wellhead in two different paths, propagating along the drill pipe and propagating along the annulus. The pressure sensor detects the difference of propagation time    of the two paths.

Gas influx position accuracy detection relies on the calculation of the pressure response time. Pressure response time is the propagation time of pressure wave from wellhead to bottomhole. The wellbore can be divided into several grids. The algebraic sum of propagation time in every grid is the response time.

Divide the annulus into   discrete grids, and the first grid is at the wellhead (, void fraction is  ,  BP is , andwave velocity is ). According to the wellhead parameters, the next parameters () of the grid can be calculated by Runge-Kutta method, followed by the th grid parameters () which are obtained. According to the parameters of the th grid, pressure response time on the corresponding grid can be obtained.

In MPD operations, calculation equation of pressure wave response time based on the wave velocity and well depth is expressed as follows: where is the pressure response time on nod  (s); is wellbore length on nod  (m); is wave velocity on nod  (m/s).

If the drilling fluid is composed of gas and two-phase drilling mud in annulus, the wave velocity can be expressed as where is wave velocity in gas-drilling mud phase on nod  (m/s); is pressure (MPa);   is temperature ();   is gas void fraction; is angle frequency (Hz);   is flow pattern.

If the drilling fluid in drilling pipe is single-phase drilling mud, the wave velocity can be expressed as where is wave velocity in single-phase drilling mud (m/s).

Above the gas influx position (nod ), the fluid in annulus is gas and drilling mud two-phase mixture. Pressure response time of pressure pulse in the annulus above the nod can be expressed as . Consider Above the gas influx position (nod ), the fluid in drill pipe is single-phase drilling mud. Pressure response time in drill pipe is expressed as  . Consider Response time difference   is obtained by calculation. Response time difference is obtained by the detection of two pressure sensor. The precision is defined as . Consider where is response time difference between the two paths detected by pressure sensor;   is the calculated time difference (s);   is computational accuracy (s).

The gas influx position can be determined by where is the length of wellbore above the gas influx position (m). If the influx occurs at the bottomhole, amounts to the depth of the well.

Furthermore, each position of gas influx and gas influx rate corresponds to a pressure wave response curve. The PRP presents the corresponding relationship between position of gas influx and wellhead parameters by several pressure wave response curves calculated by the computer programming. With known gas influx rate and pressure wave response time, the position of gas influx can be accurately determined on the basis of the PRP.

3. Governing Equations

In the following part of this section, the calculation equations of pressure wave velocity and flow parameters vary well depths are given.

3.1. Wave Velocity in Gas and Drilling Mud Two-Phase Fluid

The continuous equation for gas phase can be expressed as follows: where is gas density (kg/m3);   is gas flow velocity (m/s).

The continuous equation for drilling mud phase can be expressed as follows: where   is drilling mud density (kg/m3);   is drilling mud flow velocity (m/s).

The momentum conservation equation for gas flow can be expressed as follows: where     is gas phase pressure (N/m2);     is shear stresses of gas interface (N/m2); is Reynolds stress of gas interface (N/m2);   is momentum transfer in gas interface (N/m2);   is shear stresses of gas interface (N/m), and    is annulus effective diameter (m).

The momentum conservation equation for drilling mud flow can be expressed as follows: where  , gas phase pressure (N/m2);   is shear stresses of drilling mud interface (N/m2); is Reynolds stress of drilling mud interface (N/m3); is shear stresses of drilling mud along well wall (N/m2);   is momentum transfer in drilling mud interface (N/m2).

Pressure gradient within the annulus consists of weight component, acceleration component, and friction forces component. Based on the theory of two-phase flow, equation used to calculate pressure gradient of drilling fluid can be written as where   is weight component; is acceleration component; is friction forces component.

The total pressure drop gradient is the sum of pressure drop gradients due to potential energy change, kinetic energy, and frictional loss. By simplifying, (13) used to calculate pressure gradient of gas drilling mud two-phase flow within the wellbore can be written as where   is frictional pressure of pipe wall (N/m);   is the average density (kg/m3).

By differential treatment of the two-fluid model, (9)–(12) is converted to vector by aid of Taylor formula. The small perturbation theory is also applied to the solution of wave velocity model. According to the solvable condition of the homogenous linear equations that the determinant of the equations is zero, the equation of pressure wave can be expressed in the following form: where ;;;;  is slip velocity (m/s);   is shear stresses coefficient of drilling mud interface;   is the coefficient of drag force;   is the coefficient of virtual mass force;  is shear stresses coefficient of drilling mud interface;   is angle frequency (Hz);  is average diameter of the bubble (m).

The real value of wave number is determined the pressure wave velocity, and pressure wave velocity in the two-phase flow is defined by where is wave number;    is the real part.

When  ,  the   can be expressed as

3.2. Flow Pattern Analysis

Based on the analysis of flow characteristics in the closed drilling system, it can be safely assumed that the flow pattern in wellbore is either bubble or slug flow. The flow pattern transition criteria for bubbly flow and slug flow given by Orkiszewski et al. are used to judge the flow pattern in the gas-drilling mud two-phase flow [32, 33].

For bubbly flow, the empirical relations can be expressed as follows: For slug flow, the empirical relations can be expressed as follows: Where    is volume flow rate for gas (m3/s); is mixture volumetric flow rate for gas-drilling mud (m3/s).

The dimensionless number   is defined by where   is mixture flow velocity for gas and drilling mud (m/s).

The dimensionless number   is defined by where   is volume flow rate for the drilling mud (m2/s).

The can be defined by where   is acceleration due to gravity (m2/s);   is surface tension (N/m2).

The mixture density of two-phase flow is where   is gas and drilling density (kg/m3);   is gas void fraction;   is drilling mud holdup.

Drilling mud holdup can be expressed as follows:

3.2.1. Bubble Flow

Gas void fraction for bubble flow is where   is superficial gas velocity (m/s);   is superficial drilling mud velocity (m/s).

The value of the distribution factor   can be described as where   is diameter of the inner pipe (m);   is diameter of the outer pipe (m).

Superficial gas velocity   can be described as

3.2.2. Slug Flow

The distribution factor   for slug flow can be described as For slug flow, the slip velocity    can be calculated as

3.3. Physical Equations
3.3.1. Equations of State for Drilling Mud

Under , drilling mud density was measured by    in different temperature, and the empirical formula is expressed as follows [25]: Here, is density under standard atmospheric pressure (kg/m3); is pressure of drilling mud (MPa);   is temperature (K).

3.3.2. Equations of State for Gas

State of acidic gas is governed by Redlich-Kwong equation: where   is gas volume;   is gas constant.

Both   and   parameters can be defined by Here, where  ;.

4. Solution of the Model

Obtaining the analytical solution of the mathematical models concerned with flow pattern, void fraction, characteristic parameters, and pressure drop gradient are generally impossible for two-phase flow. In this paper, the Runge-Kutta method (R-K4) is used to discretize the theoretical model.

We can obtain pressure, temperature, gas velocity, drilling mud velocity, and void fraction at different annulus depth by R-K4. The solution of pressure drop gradient equation (14) can be seen as an initial value problem of the ordinary differential equation: With the initial value () and the function  ,  (35) can be obtained as follows: where is the step of well depth (m).

The pressure on the nod    can be obtained by In the present work, the mathematical model and pressure wave velocity calculation model are solved by computer programming on ++ (Version 2010). The solution procedure for the gas influx position is shown in Figure 2. At initial time, the wellhead back pressure, wellhead temperature, wellbore structure, well depth, and gas and drilling mud properties, and so forth are known. On node , the pressure wave velocity, pressure gradient, temperature, and the void fraction can be obtained by adopting R-K4. Then, the pressure wave response time is calculated based on the calculated parameters, compared with the response time difference detected by sensor. The process is repeated until meeting the accuracy requirement. As the accuracy requirement is met at node , the gas influx occurs at node . Finally, the distance from the wellhead can be obtained.

5. Analysis and Discussion

Both gas and drilling mud flow rate measured by gas-liquid flow meter and the BP measured by pressure senor are the initial data for annulus pressure calculation. The experiment well MF6 used for calculation is a gas well in Sichuan Chengdu Region, Southwest China, and the response time test was conducted on May 23, 2013. The wellbore structure, well design parameters (depths and diameters), gas-drilling mud properties (density and viscosity), and operational conditions of calculation well are displayed in Table 1. The length of well is 4000 m, which is divided into 1000 grids. The length of each grid is 10 m in the calculation. Figure 3(a) shows the experimental equipment in MPD field. A dynamic pressure senor is used to measure pressure disturbance time at the wellhead and pressure disturbance return time to verify the pressure response time.

The calculated pressure response time plate is given in Figures 3(b1) and 3(b2). Individually, the two plates present the corresponding relationship between response time and position of gas influx when gas influx occurs or not. Experimental results show that the pressure response time has good consistency with the experimental data. The computer programming can be installed in IPC in real-time in drilling site, and the precision can meet the engineering requirements.

The calculated PRP is unique at different gas influx position and gas influx rate. According to the corresponding principle, the gas influx position can be determined on the basis of the PRP with the known detected response time different when gas influx occurs. Table 2 lists the position of gas influx predicted based on the method in this paper during drilling operations. The key parameters, wave velocity and pressure response time, used for gas influx position predicting are also analyzed in Figures 49.

5.1. Effect of BP on PRP

Figures 4 and 5 show the distributions of wave velocity and variations of pressure response time along the flow direction in the annulus when the back pressure at the wellhead is , BP = 1.0 MPa, BP = 2.6 MPa, BP = 4.5 MPa, BP = 7.0 MPa, BP = 10.0 MPa, BP = 14.0 MPa, and BP = 19.0 MPa, respectively. It can be seen that the wave velocity significantly decreases along the flow direction in the annulus. Conversely, the pressure response time shows a remarkable increase tendency. This can be explained from the viewpoints of mixture density and compressibility of two-phase fluid and the pressure drop along the flow direction in the wellbore. According to the EOS, if gas invades into the wellbore with a small amount in the bottomhole, the density of the drilling mud has little variation while the compressibility increases obviously, which makes the wave velocity decrease, and the pressure response time shows an increase tendency. Then, the gas migrates from the bottomhole to the wellhead along the annulus with a drop of pressure caused by potential energy change, kinetic energy, and frictional loss, which leads to an increase of pressure response time. If the wave velocity is increased, resulting in a decrease for pressure responses time along the flow direction.

5.2. Effect of Well Depth on PRP

Figure 6 presents the change of pressure wave velocity in the annulus at different well depth. Figure 7 shows the effect of well depth on pressure response time in gas-drilling mud flow. When the gas influx () occurs at different well depth (such as ,  ,  ,  ,  ,  ,  ,  ), gas invades into the wellbore and migrates from the bottomhole to the wellhead along the flow direction. It can be clearly seen from the curves that the wave velocity and pressure response time are varied in real time due to variation of pressure along annulus. With the increase of well depth, both wave velocity and pressure response time are increased. The wave velocity in the two-phase drilling fluid and the distribution of pressure response time at different depth of the annulus will diverge. In conclusion, the wave velocity and pressure response time increase accompanying the increase of the well depth.

5.3. Effect of Gas Influx Rate on PRP

Figures 8 and 9 present the variations of wave velocity and pressure response time along the flow direction in the annulus during MPD operations at different gas influx rate (such as ,  ,  ,  ,  ,  ,  ,  ,  ,  and) in bottomhole. When gas influx occurs in the bottomhole, gas invades into the wellbore and migrates from the bottomhole to the wellhead along the flow direction. It is extremely obvious that the wave velocity and pressure response time first change slightly then sharply change in a comparatively smooth value. The compressibility of the gas is high at wellhead, which results in a change of wave velocity and pressure response time. Since the compressible component increases with the increase of gas influx rate, the compressibility of the gas and drilling mud two-phase fluid is improved, so the variations of wave velocity and pressure response time become more prominent. Under the high bottomhole pressure (up to 52 MPa), the change of gas compressibility is low, changing slightly. In conclusion, the pressure response time is sensitive to the wave velocity. Both the wave velocity and pressure response time are dominated by gas influx rate and pressure in the annulus, especially the gas influx rate. Within the range of high gas influx rate, the wave velocity decreases significantly.

6. Conclusions

A new method for predicting the position of gas influx in drilling operations based on PRP has been proposed. The mathematical model is solved by compiled code on  ++ (Version 2010) language. The main conclusions can be summarized as follows.(1)In this paper, the pressure response time plate is calculated with full consideration of important factors which has influence on wave velocity. Experimental results show that the calculated pressure response time has good consistency with the experimental data.(2)When gas influx occurs and migrates along the flow direction in the annulus from the bottomhole to wellhead, the wave velocity first slightly decreases and then sharply decreases. With the gas influx rate decreases or the BP increases, the wave velocity increases and pressure responses time decreases. Pressure response time is sensitive to the wave velocity. Both the wave velocity and pressure response time are dominated by gas influx rate and pressure in the annulus, especially the influx rate.(3)The calculated PRP is unique at different gas influx position and gas influx rate. According to the corresponding principle, the gas influx position can be determined on the basis of the PRP with the known detected response time when gas influx occurs.(4)Without the help of downhole tools, an accurate mathematical model to predict the position of gas influx based on PRP is of great importance and is feasible. The computer programming of mathematical model can be installed in the IPC to predict the position of gas influx in real time in drilling site. The new method provides accurate prediction of gas influx position in comparison with the field experiment. The prediction method is not only quickly and accurate, but it also saves drilling nonproductive time (NPT).

Subscripts

BP:Back pressure (MPa)
EOS:Equations of state
IPC:Industrial personal computer
MPD:Managed pressure drilling
MWD:Measurement while drilling
PRP:Pressure response time plate
R-K4:The fourth order explicit Runge-Kutta.
Subscripts of Graph
:Wave velocity in gas and drilling mud two-phase flow (m/s)
:Well depth (m)
:Gas influx rate at the bottomhole ()
:Pressure response time(s).

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

Research work was cofinanced by the National Natural Science Foundation of China (no. 51274170) and Important National Science and Technology Specific Projects (2011ZX05022-005-005HZ). Without their support, this work would not have been possible.