Abstract

A coupled system model of partial differential equations is presented in this paper, which concerns the variation of the pressure and temperature, velocity, and density at different times and depths in high temperature-high pressure (HTHP) gas-liquid two-phase flow wells. A new dimensional splitting technique with Eulerian generalized riemann problem (GRP) scheme is applied to solve this set of conservation equations, where Riemann invariants are introduced as the main ingredient to resolve the generalized Riemann problem. The basic data of “X well” (HTHP well), 7100 m deep, located in Southwest China, is used for the case history calculations. Curve graphs of pressures and temperatures along the depth of the well are plotted at different times. The comparison with the results of Lax Friedrichs (LxF) method shows that the calculating results are more fitting to the values of real measurement and the new method is of high accuracy.

1. Introduction

The prediction of pressure and temperature of transient gas-liquid flow in a wellbore is important but difficult for well completion test because they are characterized by the dependence of pressure, density, velocity, and other flow parameters on both time and space. As for pressure prediction research, there exist empirical formulas, such as those given by Beggs and Brill [1], Mukherjee and Brill [2, 3], and so on. Different researchers such as Hurlburt and Hanratty [4] and Cazarez-Candia and Vásquez-Cruz [5] have proposed mechanistic models, assuming that flow is under steady-state conditions; other researchers such as Taitel et al. [6]; Ouyang and Aziz [7] have proposed unsteady-state gas-liquid two-phase flow models. Fontanilla and Aziz [8] and Ali [9] presented two simultaneous ordinary differential equations for estimating the steam pressure and quality and solved these equations by using the fourth-order Runge-Kutta method. However, those models can only predict the pressure profiles but not the temperature profiles and ignored their interdependence.

Concerning both pressure and temperature in HTHP wells, Wu et al. have presented a coupled system model of differential equations in [10], but this model only considered the single phase flow statement. In this paper, we build a set of coupled partial differential equations of pressure, temperature, density, and velocity in HTHP gas-liquid two-phase flow wells on the base of the model which was build by Xu et al. in [11]. The numerical model, which accords with the actual situation of the well, allows for the change of oblique angle,different heat transfer medium in annular and the depth of the physical properties of the formation.

We found an algorithm solving model with generalized Riemann problem (GRP) scheme, which is an analytic extension of the Godunov scheme in [12] and originally designed by Li and Chen in [13] for the shallow water equations. A direct and simple derivation of the Eulerian generalized Riemann problem scheme is presented to get the integration in time of the conservation laws. Riemann invariants are applied in order to resolve the singularity at the jump discontinuity. The approach has the advantage that the contact discontinuity in each local wave pattern is always fixed with speed zero, while the rarefaction and the shock waves are located on either side. Since the extension of this scheme to multidimensional cases is obtained using the dimensional splitting technique, getting the integration in time of the conservation laws is more direct and simple.

In this paper, we use GRP method for solving this problem and get more accurate prediction of pressure and temperature compared with those obtained from the existing correlations such as LxF method in [11]. The basic data for the calculation are from X well, 7100 m of depth in Southwest China. The curves of the gas pressure and temperature along the depth of the well are plotted. The results can provide a technical reliance for the process of designing well tests in HTHP gas-liquid wells and a dynamic analysis of production from wells.

2. Model Formulation

Considering the two-phase flow system shown in Figure 1, the mixture density and velocity are related to the in situ liquid volume fraction (holdup), , as follows:

Figure 1: The two-phase flow.

2.1. Mass Balance

Consider the flow model shown in Figure 2. According to the fluid moves through the fixed control volume depicted by John and Anderson in [14], we have

Figure 2: Control volume 1.

Under transient conditions, applied to the control volume in Figure 3, in the limit as becomes very small, the volume and surface integral in (2) becomes

2.3. Energy Balance

For the transient flow, it leads directly to the energy equation in terms of temperature. As shown in Figure 5, we should consider the heat transmission within wellbore and from wellbore to formation as transient.

Figure 5: The radial transfer of heat.

According to the energy balance law, the heat variation flowing on control volume that is equal to the combination heat of inflow and outflow, and the heat transferring to the second dimension, we get the energy balance equation of transient flow:
where and . Equation (8) equals the following equation:

Finally, we obtain the coupled system model of partial differential equations:

3. Format Construction

We unify the conservation equations (4), (7), and (9) which are also included in (10) into the following formation:

We define the equally spaced grid points, the interface points, and the cells as

We assume that the data at timeare piecewise linear with a slopeand we have.

The second-order Godunov scheme for (11) takes the following form: , where is the midpoint value or the value of at the cell interfacewith accuracy of second order. More specifically, the mid-point valueis computed with the formulas and . Also, is the solution of the Riemann problem centered at. Moreover, and are the limiting values of initial data on both sides of . We present a direct and simple derivation of the Eulerian geralized Riemann problem (GRP) scheme and apply Riemann invariants in order to resolve the singularity at the jump discontinuity.

The local wave configuration is usually piecewise smooth and consists of rarefaction waves, shocks, and contact discontinuities. As the general rarefaction waves are considered, the initial data can be regarded as a perturbation of the Riemann initial data and .

The GRP scheme assumes piecewise linear data for the flow variables, which leads to the generalized Riemann problem for (11) subject to the initial data:
where, andare constant vectors.

The initial structure of the solution is determined by the associated Riemann solution, denoted by .

4. Solving Process

Step 1. Set the step length. In this paper,

Step 2. Obtain each point’s inclination:.

Step 3. The in situ liquid volume fraction (holdup) in (1) can be calculated from

Step 5. For piecewise given initial data, we solve the Riemann problem for (11) to define the Riemann solution, which is the same as the classical Godunov scheme and the Riemann solver in [16] is used in the solution.

Step 6. Determineand evaluate the new cell averages. We apply monotonic algorithm slope limiters to suppress the local oscillations near discontinuities. We use parameterin, where and .

5. Results and Discussion

In this simulation, we study a pipe in X well located in Sichuan Basin, Southwest China. All the needed parameters are given in [17] as follows: fluid density is 1000 kg/m3; depth of the well is 7100 m; friction coefficient is 1.2; ground temperature is 160°C; ground thermal conductivity parameter is 2.06; ground temperature gradient is 0.0218°C/m. Parameters of pipes are given in Table 1. Inclination, azimuth, and vertical depth are given in Table 2.

Table 1: Parameters of pipes.

Table 2: Parameters of azimuth, inclination, and vertical depth.

Through the simulation, we use GRP method to calculate the prediction of pressure and temperature of the oil in the pipe and draw a sensitive analysis for the results. We compare the results of pressure and temperature calculated for the well head at 1200 s by GRP and LxF scheme with the measurement results, which also shows that GRP scheme is more accurate in the real calculation. We obtain series of results contained in tables and figures and analyze these results as follows.

When the bottom pressure is 70 MPa, temperatures are plotted in Figure 6 at different depths and shown in detail in Table 3. When the output keeps constant, the temperature increases with the increasing depth of the well and when the depth fixed, the temperature increases with the increasing time. In addition, it can be seen from the figure that the temperature changes quickly in the early stage but stabilizes over time, especially after 1200 s.

It is established that, when depth is constant, the pressure shown in Figure 7 and Table 4 increased with an increase of the time. When the output keeps constant, the pressure increased with the increasing depth of the well. This is because, with time increasing, the flow increases and then the frictional heat leads to an increase in the pressure. It can also be seen that the pressure changes quickly in the early stage but stabilizes over time.

As shown in Table 5, for the comparative results of the well head temperature at 1200 s, the relative error between the calculation results and the measurement results of GRP scheme method is 5.12% and by LxF method is 6.70%, while the relative error between the results in pressure predition at the same time calculated by GRP scheme method is 8.81% and by LxF method is 9.73%, which shows that the distribution prediction of the two-phase flow is more accurate in actual calculation by GRP scheme method.

Table 5: Comparative results of the well head at 1200 s.

6. Conclusion

In this paper, considering the variation of pressure, temperature, velocity; and density at different times and depths in gas-liquid two-phase flow, we present a system model of partial differential equations according to mass, momentum, and energy. We establish an algorithm solving model with a new difference method with a direct Eulerian GRP scheme which is proven to be efficient for the numerical implementation in this paper. The basic data of the X well (HTHP well), 7100 m deep in Sichuan Basin, Southwest China, was used for case history calculations, and a sensitivity analysis is completed for the model. The gas-liquid’s pressure and temperature curves along the depth of the well are plotted, and the curves intuitively reflect the flow law and the characteristics of heat transfer in formation. The results can provide the technical reliance for the process of designing well tests in high temperature-high pressure gas-liquid two-phase flow wells and dynamic analysis of production. Furthermore, the works in this paper can raise safety and reliability of deep completion test and will yield notable economic and social benefits and avoid or lessen accidents caused by improper technical design.

Nomenclature

:

A total length of conduit (m2)

:

Joule-Thompson coefficient (K/pa)

:

Heat capacity (J/kg·K)

:

A hydraulic diameter (m)

:

Acceleration constant of gravity (m/s2)

:

Formation conductivity (J/m·K)

:

Pressure (KPa)

:

Dimensionless radius

:

Outer radius of conduit (m)

:

Temperature (K)

:

Dimensionless time

:

Temperature of the stratum (K)

:

Wellbore temperature (K)

Dimensionless wellbore temperature (K)

:

Temperature of the second surface (K)

:

Initial temperature of formation (K)

:

Overall-heat-transfer coefficient (W/m·K)

:

Velocity (m/s)

:

A total length of conduit (m)

:

The distance coordinate in the direction along the conduit

:

Heat transfer coefficient for natural convection based on outside tubing surface and the temperature difference between outside tubing and inside casing surface

:

Heat transfer coefficient for radiation based on the outside tubing surface and the temperature difference between the outside tubing and inside casing surface

:

Thermal conductivity of the casing material at the average casing temperature

Thermal conductivity of the cement at the average cement temperature and pressure

:

The friction coefficient, dimensionless

:

Euler constant 1.781

:

Density (kg/m3)

:

Inclination angle flow conduit.

Conflict of Interests

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

Acknowledgments

This research was supported by the Key Program of NSFC (Grant no. 70831005) and the Key Project of China Petroleum and Chemical Corporation (Grant no. GJ-73-0706).