- About this Journal ·
- Abstracting and Indexing ·
- Advance Access ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents

Abstract and Applied Analysis

Volume 2013 (2013), Article ID 171732, 7 pages

http://dx.doi.org/10.1155/2013/171732

## A Direct Eulerian GRP Scheme for the Prediction of Gas-Liquid Two-Phase Flow in HTHP Transient Wells

^{1}Uncertainty Decision-Making Laboratory, Sichuan University, Chengdu 610064, China^{2}College of Mathematics, Chengdu University of Information Technology, Chengdu 610225, China^{3}Research School of Engineering Technology, China Petroleum and Chemical Corporation, Deyang 618000, China

Received 10 September 2013; Accepted 17 October 2013

Academic Editor: Mohamed Fathy El-Amin

Copyright © 2013 Jiuping Xu et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### 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:

##### 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

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

Substituting (3) into (2), we get the mass balance equation:

##### 2.2. Momentum Balance

As shown in Figure 4, the integral form of the component the momentum equation can be written as follows with the external forces: where is the force of gravity,is the shear stress, and

Substituting (6) into (5), we obtain momentum balance equation:

##### 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.

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 4. *Calculate the following parameters by Liao and Feng in [15]:

*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/m^{3}; 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.

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.

#### 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 (m^{2}) |

: | Joule-Thompson coefficient (K/pa) |

: | Heat capacity (J/kg·K) |

: | A hydraulic diameter (m) |

: | Acceleration constant of gravity (m/s^{2}) |

: | 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/m^{3}) |

: | 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).

#### References

- H. D. Beggs and J. R. Brill, “A study of two-phase flow in inclined pipes,”
*Journal of Petroleum Technology*, vol. 25, pp. 607–617, 1973. View at Scopus - H. Mukherjee and J. P. Brill, “Liquid holdup correlations for inclined two-phase flow,”
*Journal of Petroleum Technology*, vol. 35, no. 5, pp. 1003–1008, 1983. View at Scopus - H. Mukherjee and J. P. Brill, “Empirical equations to predict flow patterns in two-phase inclined flow,”
*International Journal of Multiphase Flow*, vol. 11, no. 3, pp. 299–315, 1985. View at Scopus - E. T. Hurlburt and T. J. Hanratty, “Prediction of the transition from stratified to slug and plug flow for long pipes,”
*International Journal of Multiphase Flow*, vol. 28, no. 5, pp. 707–729, 2002. View at Publisher · View at Google Scholar · View at Scopus - O. Cazarez-Candia and M. A. Vásquez-Cruz, “Prediction of pressure, temperature, and velocity distribution of two-phase flow in oil wells,”
*Journal of Petroleum Science and Engineering*, vol. 46, no. 3, pp. 195–208, 2005. View at Publisher · View at Google Scholar · View at Scopus - Y. Taitel, O. Shoham, and J. P. Brill, “Simplified transient solution and simulation of two-phase flow in pipelines,”
*Chemical Engineering Science*, vol. 44, no. 6, pp. 1353–1359, 1989. View at Scopus - L.-B. Ouyang and K. Aziz, “Transient gas-liquid two-phase flow in pipes with radial influx or efflux,”
*Journal of Petroleum Science and Engineering*, vol. 30, no. 3-4, pp. 167–179, 2001. View at Publisher · View at Google Scholar · View at Scopus - J. P. Fontanilla and K. Aziz, “Prediction of bottom-hole conditions for wet steam injection wells,”
*Journal of Canadian Petroleum Technology*, vol. 21, no. 2, 8 pages, 1982. View at Publisher · View at Google Scholar · View at Scopus - S. M. F. Ali, “A comprehensive wellbore stream/water flow model for steam injection and geothermal applications,”
*Society of Petroleum Engineers Journal*, vol. 21, no. 5, pp. 527–534, 1981. View at Scopus - Z. Wu, J. Xu, X. Wang, K. Chen, X. Li, and X. Zhao, “Predicting temperature and pressure in high-temperature-high-pressure gas wells,”
*Petroleum Science and Technology*, vol. 29, no. 2, pp. 132–148, 2011. View at Publisher · View at Google Scholar · View at Scopus - J. Xu, M. Luo, S. Wang, B. Qi, and Z. Qiao, “Pressure and temperature prediction of transient flow in HTHP injection wells by Lax-Friedrichs method,”
*Petroleum Science and Technology*, vol. 31, no. 9, pp. 960–976, 2013. View at Publisher · View at Google Scholar - S. K. Godunov, “A difference method for numerical calculation of discontinuous solutions of the equations of hydrodynamics,”
*Matematicheskii Sbornik*, vol. 47, no. 89, pp. 271–306, 1959. View at MathSciNet - J. Li and G. Chen, “The generalized Riemann problem method for the shallow water equations with bottom topography,”
*International Journal for Numerical Methods in Engineering*, vol. 65, no. 6, pp. 834–862, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus - D. John and J. R. Anderson,
*Computational Fluid Dynamics—The Basics with Applications*, McGraw-Hill, New York, NY, USA, 1995. - X.-W. Liao and J.-L. Feng, “Pressure-temperature coupling calculation of transient wellbore heat transfer in deep geopressured gas reservoir,”
*Petroleum Exploration and Development*, vol. 32, no. 1, pp. 67–69, 2005. View at Scopus - E. F. Toro,
*Riemann Solvers and Numerical Methods for Fluid Dynamics: A Practical Introduction*, Springer, Berlin, Germany, 1997. View at MathSciNet - J. Xu, J. Hu, M. Luo, S. Wang, B. Qi, and Z. Qiao, “Optimisation of perforation distribution in HTHP vertical wells,”
*Canadian Journal of Chemical Engineering*, vol. 91, pp. 332–343, 2011. View at Publisher · View at Google Scholar · View at Scopus