1. Introduction
The CO
2 injection string is the most important transportation channel for fluid in a wellbore, and it determines the safety and effectiveness of the storage project. The strength–safety performance of the injection string is key to the success or failure of CO
2 flooding storage [
1]. However, during operation, the CO
2 injection string is affected by the load that is imposed by the construction equipment, the fluid pressure inside and outside the string, the temperature change in the wellbore, and the CO
2 phase transition in the string, in addition to other factors during operation [
2]. When the loading conditions are poor and complex, accurate strength–safety assessment of the string becomes more difficult. Therefore, it is crucial to consider the characteristics of CO
2 injection in analyses of variations in the temperature and pressure law with CO
2 injection string along the well’s depth, the impacts of basic effects on the injection string, and the strength and safety of the CO
2 injection string.
Due to the influence of temperature and pressure on formations, a large temperature gradient often appears in the tubular string along the well’s depth during CO
2 injection, which leads to thermal stress in the tubular string. Therefore, the temperature field and thermal stress of the injection string are important factors in the evaluation of its safety. The traditional analysis method of the string temperature field is mainly used by researchers to establish differential equations of fluid heat transfer based on the theory of fluid heat and mass transfer, and they are solved on the premise that the structural parameters, thermophysical parameters, and initial and boundary conditions of the string are known [
3,
4]. However, the analysis method based on the traditional differential equation is complex, especially for fluid phase transition in a tubular string. Moreover, it is difficult to determine the fluid physical parameters, and the solution accuracy and prediction of the traditional flow-heat-transfer equation are not ideal [
5,
6]. In addition, in the usual mathematical model of string temperature distribution, scholars often specify the physical parameters of the fluid in the string as constants and ignore the nonlinear permutations of the CO
2 physical parameters in the supercritical region. To overcome the shortcomings of the solution of the forward-heat-transfer problem, scholars in recent years have increasingly been attempting to build artificial neural networks based on experimental data to establish and solve the temperature–pressure coupling model of CO
2 injection strings considering CO
2 phase transition [
7,
8,
9].
Within formations, the CO
2 injection string is in a complex mechanical environment, and analysis and evaluation of its strength are complex and difficult. The mechanics of tubular strings during drilling were first explored by studies based outside China [
10]. Later, with the deepening and refinement of research, the research field turned to injection tubular strings and the establishment of a mechanical model for the analysis of packer casing strings [
11,
12,
13].
2. Analysis of Temperature–Pressure Coupling Mathematical Model for CO2 Injection Strings
We present the physical model of CO
2 injection strings in
Figure 1. CO
2 fluid continuously flows into the well bottom from the injection string, and the formation heat and CO
2 fluid undergo heat exchange, which affects the temperature and pressure-field distributions of the CO
2 injection string. When the CO
2 fluid reaches the well bottom, the temperature and pressure of the CO
2 fluid exceed the critical values of their supercritical states, and the law of fluid heat transfer is difficult to predict.
In order to establish a temperature-field model for CO2 injection strings, we made the following assumptions for heat transfer according to their characteristics: (1) CO2 fluid exists in the form of a segmented single-phase stable flow in the string; (2) there is steady-state heat transfer between the CO2 flooding injection string, and unsteady heat transfer between the string and the formation; (3) only the radial and axial heat transfer of the tubular string, and not the influence of heat source in the rock, is considered in the process of heat transfer.
During the process of CO
2 injection, the fluid in the string exchanges heat with the annulus and formation, and the fluid energy changes during the flow process. According to the law of energy conservation, we can obtain the equation for energy conservation of CO
2 fluid flowing in the microsegment as follows [
14,
15]:
The first part of the equation describes the heat transfer from the fluid to the cement sheath; the second part of the equation describes the heat transfer from the cement sheath to the infinite stratum. When the first part of the fluid transfers heat to the cement sheath, the expression of the radial heat change (
dQ) on any microsegment of the injection string is as follows:
The total heat transfer coefficient of the CO
2 injection string is the total thermal resistance generated by the CO
2 fluid, string wall, oil casing annulus, casing wall, and cement sheath in the process of heat transfer from the formation to the injection fluid. Its value is related to the influence of the above factors on the heat flow resistance and convective heat transfer from the injection string to the casing. We selected the calculation formula of Ramey, Hasan, and others for the calculation, and the expression [
16] is as follows:
The second part of the equation is the heat transfer from the outer edge of the cement sheath to the formation. According to the variation in the expression of the dimensionless heat transfer function with time, the heat change expression is as follows:
According to (Equations (1)–(4)), the heat transfer equation of the CO
2 flowing downward in the tubular string is as follows:
The pressure gradient of the CO
2 fluid in the tubular string is composed of the gravity gradient, acceleration, and friction. According to the momentum and mass conservation equations, we can obtain the expression for the pressure gradient of the fluid in the tubular string as follows:
According to the above derivation process, we can obtain the coupled equations for the CO
2 fluid flow rate, density, pressure, and temperature as follows (Equation (7)):
In the temperature pressure coupling equation, physical parameters such as density are functions of temperature and pressure. The distribution of temperature and pressure along the well’s depth can be obtained by solving the fourth-order Runge Kutta equation iteratively.
In the process of flooding and injection, the CO
2 fluid is continuously affected by changes in temperature, pressure, and velocity, which result in the transformation from liquid CO
2 to supercritical CO
2. As shown in
Figure 2, the physical properties of supercritical CO
2 have nonlinear change characteristics; thus, the change law of its physical parameters cannot be summarized using fixed value parameters or linear functions. When the formation exchanges heat energy with the CO
2 fluid injected into the string, the mode of heat transfer is convective. The convective heat transfer coefficient can thus be used to characterize the rate of heat exchange of the CO
2 fluid injected into the string by CO
2 flooding.
The factors that affect the convective heat transfer coefficient of the fluid in the CO
2 injection string include the fluid flow state (laminar or turbulent flow), the thermophysical parameters of the fluid (density, specific heat, and viscosity), the size of the string inner diameter, the influence of string bending, and the influence of the heat flow direction. These factors have complex effects on the convective heat transfer coefficient. In this study, we used an adaptive fuzzy neural network system (ANFIS) [
17] to establish the model for the calculation of the convective heat transfer coefficient.
As shown in
Figure 3, the first-order adaptive fuzzy neural network inference system is a fuzzy inference system with two inputs (X and Y) and an output (HF), which are associated with the fuzzification rule. The left input layer is the parameter input. In this study, the input layer selects the injection velocity (
V), heat flow (
qw), ground temperature gradient (
K), and pressure (
P) as the input parameters, and the output layer selects the Nusselt number (
Nu) (dimensionless number) as the output parameter. After the training of the system model, we can obtain the required fuzzy rule base. MF1 and MF2 are marked with Gaussian distribution functions. The rule base of the model reflects the physical characteristics of the system, and the parameters of the membership function are shown in
Table 1.
After the system model training, the required fuzzy rule base will be obtained. The training model is based on four input parameters and the divided membership function. Through the initial parameter setting, the Nusselt number modeling knowledge base consisting of the following eight fuzzy rules will be obtained.
- (1)
if(v is L)and(ρisM)and(C is S)and(k is S) then (Nu = a1,1*v + a1,2*ρ + a1,3*C + a1,4*k + a1,5)
- (2)
if(v is L)and(ρisM)and(C is S)and(k is M)then (Nu = a2,1*v + a2,2*ρ + a2,3*C + a2,4*k + a2,5)
- (3)
if(v is L)and(ρisM)and(C is M)and(k is L)then (Nu = a3,1*v + a3,2*ρ + a3,3*C + a3,4*k + a3,5)
- (4)
if(v is L)and(ρisM)and(C is M)and(k is S)then (Nu = a4,1*v + a4,2*ρ + a4,3*C + a4,4*k + a4,5)
- (5)
if(v is L)and(ρisL)and(C is L)and(k is M)then (Nu = a5,1*v + a5,2*ρ + a5,3*C + a5,4*k + a5,5)
- (6)
if(v is L)and(ρisL)and(C is L)and(k is L)then (Nu = a6,1*v + a6,2*ρ + a6,3*C + a6,4*k + a6,5)
- (7)
if(v is L)and(ρisL)and(C is S)and(k is S)then (Nu = a7,1*v + a7,2*ρ + a7,3*C + a7,4*k + a7,5)
- (8)
if(v is L)and(ρisL)and(C is S)and(k is M)then (Nu = a8,1*v + a8,2*ρ + a8,3*C + a8,4*k + a8,5)
The structure of the fuzzy inference system can be adjusted by using neural adaptive learning technology similar to training neural networks through MATLAB fuzzy logic toolbox, and the best model training data are finally obtained, as shown in
Table 2.
Table 2 shows the best result parameters obtained by ANFIS after training the Nusselt number.
3. Stress Analysis of CO2 Injection String
The stress condition of the CO2 injection string in the well is relatively complex, and the main loads are the axial force (due to the self-weight of the tubular string), internal pressure (due to the CO2 fluid), external pressure (due to the annulus fluid), torque (due to spatial spiral bending), and bending moment (due to tubular strings bending). Therefore, in this study, we analyzed loads of the CO2 injection strings from the following aspects, in which the casing and injection strings are simplified: (1) the injection string is a homogeneous elastic rod with a constant linear thermal expansion coefficient; (2) the influence of the buoyancy force on the injection string, produced by the density change in the CO2 fluid after phase transition is ignored; (3) during CO2 injection, the formation, cement sheath, and casing are in a plane–strain state.
The internal and external pressures on the CO2 injection string include the hydraulic pressure on the string under annulus protection fluid and during CO2 injection, respectively. The change in the hydraulic pressure conforms to the change law of hydrostatic pressure, which only occurs with a change in the vertical well depth. According to the hydraulic pressure borne by the injection string, we can determine the hydraulic pressure outside the string at any well depth from the wellhead.
The external extrusion pressure borne by the CO
2 injection string is produced by the liquid column pressure outside the string, which can be calculated as follows:
The main source of the internal pressure (
Pi) of the CO
2 injection string is the dynamic pressure of the injection fluid:
The axial force (
FZ) caused by gravity at the depth (
z) of the CO
2 injection string is as follows:
The axial stress borne by the CO2 injection string includes the axial tensile and compressive stresses generated in the string, the additional axial bending stress caused by the bending of the string, and the shear stress caused by the injection string torque. In addition, the influence of thermal stress on the CO2 injection strings should be considered.
When the injection string under CO
2 flooding is in a working state, the formation temperature and the convective heat transfer of CO
2 fluid cause the injection string temperature to change, which is the temperature effect. The formula for calculating the axial stress caused by the change in the temperature of the injection string is as follows:
The injection string is subject to a bending moment due to buckling, the simplified calculation of which is as follows:
The bending moment (M(x)) between the tubular string and shaft wall after bending is generated and, in turn, generates additional bending stress:
The axial static stress caused by gravity at the depth (
z) of the CO
2 injection string is as follows:
The frictional force of the injected fluid flowing down the string wall causes the stress and axial deformations of the injected string to change. The axial stress generated by the friction resistance at the Z section of the injection string is as follows:
Therefore, the maximum axial stress of a section on the string is as follows:
When the injection string is subjected to internal and external pressures, the string wall is subjected to radial stress and circumferential stress, respectively (
Figure 4).
Therefore, we can determine the radial stress (Equation (17)) and circumferential stress Equation (18) in the string wall using the Lame formula [
18]:
We can assess the strength and safety of the tubular string by the equivalent stress according to the fourth strength theory. According to the analysis, the inner wall of the injection string is a dangerous stress point at a dangerous section. The formula for the equivalent stress calculation is as follows:
Due to the influence of the CO2 fluid and annulus protection fluid on the internal and external pressure, temperature, and downhole tools of the CO2 injection string, the string produces deformation effects that are caused by different factors. Excessive axial deformation causes the packer to lose sealing or plastic failure of the string. Therefore, in order to carry out the stress analysis of a CO2 injection string, we need to analyze the causes affecting its axial deformation. The deformation effects of injection strings include the following: the Hooke effect, which causes axial tensile or compressive deformations due to the string self-weight; the piston effect resulting from different internal and external pressures on the injection string that cause axial deformation when the packer acts; the bulging effect, due to the different internal and external pressures on the injection string that cause radial deformation; the temperature effect, which affects the thermal expansion and cold contraction of the string due to uneven temperature distribution; the spiral bending effect, which occurs when the pressures at both ends of the injection string are greater than the unstable axial force. The deformations caused by the basic effects and total deformation are calculated as follows:
Deformation due to the Hooke effect:
Deformation due to the bulging effect:
Deformation due to the temperature effect:
Deformation due to the piston effect:
Deformation due to the spiral bending effect:
Deformation due to the liquid friction effect:
Total deformation under CO
2 injection:
4. Example Analysis of CO2 Injection String
We evaluated the strength and safety of the CO
2 injection strings in four wells in a certain block of the oil field using CO
2 injection string mechanical analysis system software. We present the relevant calculation parameters in
Table 3.
We compared the calculation results for the temperature-field and pressure-field distributions of the CO
2 injection strings in four wells in the same block of an oil field. MATLAB software was used to obtain the temperature–pressure distributions of the injection strings through the numerical calculation program and graph the distribution diagrams of the temperature and pressure fields (
Figure 5).
According to the calculation results in
Figure 5, the injection-string temperatures in the four wells continuously increase with the increase in well depth. The CO
2 fluid injection temperature has a substantial impact on the temperature distribution 300 m near the ground of the tubular string. With the gradual deepening of the tubular string, the impact of the injection temperature gradually decreases. With the increase in the depth, heat is transferred from the formation to the fluid in the tubular string. At the same time, the pressure gradually increases with the increase in the depth of the tubular string, and its distribution law is approximately linear. As the CO
2 fluid is in a supercritical state when it exceeds the critical temperature (31.1 °C) and pressure (7.38 MPa), the change in the density in this state is smaller than that under normal pressure; thus, the change in the pressure gradient caused by gravity is also smaller. At the same time, the viscosity of the supercritical CO
2 is small; thus, there is less friction generated by the inner wall of the tubular string and the pressure gradient of the CO
2 fluid in the supercritical section.
According to the temperature–pressure distribution results of the four injection strings in the oil field, we can intuitively obtain the CO
2 phase transition process in the string. The depth of the tubular string and temperature of the CO
2 fluid increase, and the CO
2 fluid changes to a supercritical phase state (
Figure 6). The enthalpy of the phase transition of the fluid in this process is 0; thus, the fluid injected into the string is in a segmented single-phase flow state, and there is no mixed-phase state in which the liquid and supercritical states exist at the same time.
Under complex field conditions, CO
2 injection strings will elongate and contract. When evaluating the safety and reliability of an injection string, the worst conditions for string strength verification need to be considered. Using the above calculation procedures, we conducted analyzed and calculated the string deformation, load, and strength of the four wells in a specific block of an oil field. The results are shown in
Table 4 and
Table 5.
According to the comparison results in
Figure 7, the thermal stress of the injection strings decreases at the CO
2 supercritical section when considering the phase-state change in the CO
2 fluid. Although the decrease in CO
2 fluid viscosity due to the change in the CO
2 phase state leads to reductions in the convective heat transfer coefficient and heat flow, the convective heat transfer coefficient in the injection string is much larger when there is a change in CO
2 fluid phase state than there is no phase-state change. The final impact on the CO
2 injection string is that the temperature difference and thermal stress in the injection string become smaller after considering the phase-state change.
As can be seen from
Table 4, in the process of CO
2 injection, the influence of the friction effect on the deformation of the injection string is minimal. When the injection pressure of the CO
2 is low, the temperature effect plays a major role. The injection string is mainly affected by the temperature and Hooke effects, followed by the bulging and friction effects.
It can be seen from
Table 5 that the influence of the maximum axial stress on the string is greater than the equivalent stress. The values corresponding to the same parameters of the four wells are similar and the safety factor is greater than one, so it meets the safety production requirements.