Abstract
With growing global energy demand, deep and ultra-deep wells have become a focal point in oil and gas development. Wellbore temperature variations significantly impact drilling and completion operations in such wells. To analyze the temperature distribution in ultra-deep wellbores, a numerical model based on the Gauss–Seidel iterative algorithm was developed. This model explicitly accounts for the convective heat transfer coefficient and the distinct thermophysical properties of drilling fluids in both the drill string and the annulus. By employing adaptive meshing, it significantly enhances computational efficiency while ensuring accuracy. This study investigated the influence of key parameters—including drilling fluid density, specific heat capacity, drill pipe thermal conductivity, and formation properties—on bottom-hole temperature. The results show that the average deviation between the actual wellbore temperature and the model-predicted temperature is 0.5%. The heat transfer dynamics model for ultra-deep wells is validated by the close agreement between theoretical predictions and field data. This study offers a valuable theoretical basis for wellbore temperature management and the control of drilling fluid cooling systems, supporting safer and more efficient development of ultra-deep resources.
1. Introduction
Globally, a burial depth of 4500 m serves as the conventional threshold for defining a stratum as a deep layer. In 2005, the official guidelines used to compute reserves of petroleum and natural gas issued by the China Mineral Reserves Commission took the stratum with a burial depth of 3500~4500 m as a deep layer and the stratum with a burial depth of more than 4500 m as a super deep layer [1]. According to the dynamic evaluation results of oil and gas resources in 2015, China’s deep and ultra-deep oil and gas resources amount to 763 × 108 tons of oil equivalent [2], accounting for 35% of the total oil and gas resources [2]. It can be seen that the potential of deep oil and gas resources is huge and the degree of exploration is low, which is the realistic field of oil and gas exploration and development in the future. However, with the increase in well depth, the temperature of the wellbore is rising. Excessive temperature will affect the mud performance and even damage the bottom-hole instruments [3]. Therefore, accurate prediction of the bottom-hole temperature field is of great significance to reasonably determine the drilling fluid system, determine the construction technology, achieve safe and rapid drilling, and achieve temperature-controlled drilling.
In the past few decades, some progress and achievements have been made in the study of wellbore temperature fields at home and abroad. Ramey [4] proposed a mathematical model of a wellbore temperature field suitable for incompressible fluid. This model assumes that there is unstable heat flow in the formation and there is stable heat flow in the wellbore, which can estimate the temperature of fluid and casing. Moreover, Swift and Holmes [5] developed a steady-state model to predict drilling fluid temperature in both the drill string and annulus. A key finding was that the temperature peak occurs not at the well bottom, but at some point above it. In 1973, Keller et al. [6] put forward a two-dimensional transient heat transfer model to predict the distribution of fluid temperature inside and outside the drill string on the basis of considering the existence of casing and drill string. The thermal model factored in the heat produced by rock crushing, as well as the frictional effects arising from drill string rotation and contact with the wellbore.
In 1992, Kabir et al. carried out research on the temperature field of the positive and negative circulation of drilling fluid, respectively [7], established a mathematical model, obtained the analytical solution of the model using the mathematical solution method, and the author added the geothermal transient distribution model to this model. Prediction is becoming higher, and building upon the consideration of inlet temperature effects, Eirik and Bernt S [8] refined prior models to develop a one-dimensional unsteady-state model of the wellbore temperature field. In this model, the author treated the well depth and inlet temperature as linear functions related to time, and solved the distribution of the wellbore temperature field when circulation stops. For deep-sea drilling applications, Romero [9] developed both one-dimensional and three-dimensional unsteady wellbore temperature models. These models were founded on the principles of wellbore heat transfer, energy conservation, and thermodynamics, tailored to deep-sea conditions. The finite difference method was employed to solve the models, yielding a detailed distribution of the temperature field.
Furthermore, Nguyen [10] developed a model characterizing the fluid temperature distribution during drilling and assessed its impact on wellbore stability, with mechanical friction incorporated as a key factor. In this model, the author explained the causes of mechanical friction, and pointed out that mechanical friction will affect the temperature of fluid in the wellbore while affecting wellbore stability. Hasan and Kabir [11] deduced a unified method to explain the thermal behavior under different conditions, which is applicable to the models of single flow and multi-flow conduits. In addition, it is applicable to the steady and unsteady flow models in the production process. A transient wellbore temperature model was developed by Kutasov and Eppelbaum [12] to predict thermal profiles in both the wellbore and the formation. The model is applicable to the drilling and cementing phases. Liangliang Ding [13] developed a transient prediction model for bottom-hole flowing temperature by coupling the temperature and pressure fields of the formation and wellbore. Based on the Darcy flow mechanism and microscale thermal effects, the model provides a theoretical tool for predicting temperature variations caused by microthermal effects. Xu-Ning Wu et al. [14] represented the wellbore and formation as a two-dimensional axisymmetric structure. On this basis, a mathematical model for the temperature field under multi-fluid, multi-stage conditions was derived from the principle of energy conservation. Mohamed Shafik Khaled [15] incorporated machine learning into bottom-hole temperature prediction, developing a model that demonstrates exceptional generalization capability, stability, and accuracy in forecasting downhole temperatures.
In the prior research, there are generally some following problems in this context. Many existing wellbore temperature field models are oversimplified, as they overlook critical influencing factors. Common simplifications include assuming a constant geothermal gradient, neglecting or misrepresenting internal heat sources, and using inaccurate convection heat transfer coefficients. These omissions lead to significant discrepancies between modeled and actual temperatures [16]. Conversely, while some models comprehensively integrate these factors to improve accuracy, they often become overly complex. This complexity manifests in high parameterization demands with difficult-to-obtain inputs, coupled with computationally intensive processes that ultimately limit their practical utility [16].
Therefore, this paper establishes a temperature field model for ultra-deep wells. Accounting for the distinct thermophysical properties of drilling fluid across the drill string, as well as accurate heat source terms and convective heat transfer coefficients, the wellbore temperature is calculated via a discretization approach. Although many studies have been conducted by predecessors, they all failed to take into account the flow heat transfer coefficient and the research on adaptive grids. For the numerical solution, we employed an adaptive grid method, which significantly enhances computational performance without compromising the accuracy of the results. A single-factor analysis of actual drilling trajectory data from a Sichuan well comprehensively evaluated the impact of multiple factors—such as drilling fluid density, specific heat capacity, drill pipe thermal conductivity, and formation properties—on bottom-hole temperature. Based on this, solution method employing the Gauss–Seidel method and SOR relaxation iterative parameters was developed. The correctness of the ultra-deep-well heat transfer dynamics theory was then verified by comparing the theoretical predictions generated by this software with measured field data.
2. Methods
2.1. Establishment of Wellbore Temperature Field Model
The disparity in physical properties between seawater and the formation alters the wellbore heat transfer process in deepwater drilling, since the seawater layer primarily undergoes rapid heat exchange dominated by convection, with its temperature remaining nearly constant. In contrast, the geological formation primarily experiences slow heat diffusion dominated by conduction, with its temperature steadily increasing with depth, but the physical model of the drilling process is the same, and the circulation of the liquid during the drilling process can be divided into three stages: (1) the liquid is pumped into the casing string or drill string and flows downward in the drill string; (2) the liquid flows out through the casing shoe or bit into the annulus; and (3) the liquid flows up in the annulus and returns to the wellhead [17], as shown in Figure 1.
Figure 1.
Wellbore physical model when drilling fluid is circulated.
The fluid temperature at each stage is governed by distinct heat exchange mechanisms. The thermal evolution of the circulating fluid is modeled in three stages: (1) downward flow within the pipe, where temperature changes are governed by axial convection and radial heat exchange with the annulus; (2) thermal continuity at the bit, where the pipe outlet temperature equals the annulus inlet temperature; and (3) upward annulus flow, where temperature is determined by upward convection and radial heat transfer with the inner pipe fluid and the formation.
For the flowing medium drilling fluid, according to its different rheological properties, it can be divided into different flow patterns such as Bingham fluid [18], power-law fluid [19], and Casson fluid [20]. When fluid media with different flow patterns flow in different geometric spaces in different flow states, the effects of velocity distribution on heat transfer and temperature are also different. The circulation of drilling fluid is a very complex problem, because, on the one hand, drilling fluid is a non-Newtonian fluid, and its rheology changes greatly and has various flow patterns; on the other hand, the geometry of each part of the drilling fluid circulation system must be considered. These different shapes result in varying flow states under the same displacement rate. Also, the drill string rotates during the drilling process, the flow of drilling fluid in the drill string and the annulus is not a single axial flow, and there are many problems that have not been solved theoretically. Therefore, in engineering calculations, for the convenience of application, it is necessary to appropriately simplify the circulation flow problem of drilling fluid within the allowable range of accuracy. In fact, under drilling conditions, the flow of drilling fluid in the pipe is always turbulent, and the flow in the annulus may be laminar or turbulent, and further judgment is required to determine the flow state. In addition, considering drilling fluids as Bingham fluids, sufficient accuracy can also be achieved in engineering calculations. In order to deduce the energy balance equation during wellbore circulation, the following assumptions can be made for the drilling fluid:
(1) The drilling fluid is assumed to be incompressible and to undergo no phase change. Its thermal conductivity and specific heat capacity are treated as constants, independent of temperature.
(2) The drill string is in a position concentric with the wellbore, and the wellbore is a circular wellbore with a known diameter.
(3) The model incorporates both axial forced convection and radial convective heat transfer but neglects axial heat conduction (as it is negligible compared to convection) and frictional heating from bit pressure drop.
(4) We can ignore the radial temperature gradient of the drill string, casing, or annulus; in other words, during the drilling fluid circulation process, the drilling fluid in the wellbore is considered uniformly mixed and can be regarded as an ideal heat conductor.
(5) The geothermal gradient is constant.
(6) The formation is modeled as a radially symmetric, infinite medium.
(7) The model incorporates both steady-state, one-dimensional heat transfer in the wellbore and unsteady radial heat conduction in the formation.
(8) Beyond the thermal influence zone of the wellbore, the formation retains its original, undisturbed temperature.
The model adheres to the first law of thermodynamics. For a control volume, the net heat transfer into the volume plus the work conducted on it equals the increase in its internal energy:
where is the net heat entering the control body from the outside world, J; is the work conducted by the outside world to the control body, J; and is the increment of the internal energy of the material in the control body, J.
Based on the previous basic assumptions, according to the first law of thermodynamics, as well as the basic principles of thermodynamics and heat transfer, the heat transfer changes of the liquid in the pipe string is studied. The control body of the liquid in the pipe string wall and the annulus is derived, and the energy conservation equation of these control bodies is deduced; that is, the heat transfer model of the wellbore circulation is obtained. Due to the particularity of deepwater drilling, the temperature distribution and physical properties of seawater and formation are different, and the heat transfer from the wellbore is also different.
Heat is added to the control volume via radial convection from the liquid flow along the inner pipe wall, as well as from any other external heat sources. For a drilling process, the work input to the control volume comprises the viscous frictional work of the fluid, the energy for driving the drill string rotation, and the work conducted by the drill bit [21].
This project adopts a three-stage temperature calculation model, which is divided into the temperature model in the drill string (region 1 and region 2), and the temperature model in the annulus (region 3), as shown in Figure 1. In the schematic diagram, arrows indicate the flow direction of the drilling fluid.
The thermal exchange is governed by temperature gradients: within the drill string, cooler fluid gains heat from the warmer annulus and formation; within the annulus, the now-warmer fluid facilitates axial heat conduction from the formation back toward the drill string.
Drilling fluid in Zone 1 descends steadily, while it ascends in Zone 3. Radially, wellbore heat transfer is governed by thermodynamic and heat conduction laws; axially, it is dictated by the conservation of energy and mass.
The heat transfer of drilling fluid in the wellbore occurs in three stages: (1) as it enters the drill string from the surface, heat flows into the drill pipe; (2) within the wellbore, heat is transferred to the annulus; and (3) as the fluid rises through the annulus, heat flows toward the surface.
This study combined the three heat transfer modes to develop an energy balance equation, which was then solved using a fully implicit finite difference method [22] to obtain the circulating temperature distribution of the drilling fluid.
(1) Temperature model of fluid unit in drill string
As illustrated in Figure 2, the schematic of the heat exchange model for drilling fluid inside the drill string encompasses heat transfer to the inner pipe wall and axial convective heat transfer along the flow direction; thus, allowing for the derivation of the governing equations, it can be concluded that
where is the internal energy change of the fluid unit in the drill string, J; is the heat flowing into the fluid unit in the axial direction, J; is the heat flowing out of the fluid unit in the axial movement, J; is the distance between the drill string and the fluid in the drill string heat exchange, J; is the heat generation for the internal heat source, J; is the isobaric specific heat capacity, J/(kg·°C); is the fluid density, kg/m3; is the flow cross-sectional area, m2; is the axial length, L; is the fluid temperature at location L, °C; , mass flow rate, kg/s; is the time step, s; is the temperature of the fluid at location L, °C; is the temperature of the fluid at location L + ΔL, °C; is the convective heat transfer coefficient between the fluid and the pipe inner wall, W/(m2·°C); is the inner diameter of the pipe, m; is the temperature of the pipe inner wall surface, °C; and is the mean temperature of the fluid, °C.
Figure 2.
Physical model of fluid in the drill string.
(2) Temperature model of drill string unit
Figure 3 primarily includes the heat transfer between the annulus and the outer wall of the drill string, axial heat transfer along the drill string, and heat exchange between the drilling fluid and the inner wall of the drill string.
Figure 3.
Physical model of the drill string.
According to the law of the conservation of energy and the principle of heat transfer [17], it can be concluded that
where is the upstream heat inflow, J; is the downstream heat outflow, J; and is the heat transfer between the outer wall of the drill string and the drilling fluid in the annulus, J.
(3) Temperature model of the fluid element in the annulus
As illustrated in Figure 4, the annular fluid unit involves three key heat transfer mechanisms: between the wellbore wall and annular fluid [23], between the drill string and annular fluid, and axial convection along the flowing fluid.
Figure 4.
Physical model of the annulus.
According to the law of the conservation of energy and the principle of heat transfer [17], it can be concluded that
where is the axial downstream heat outflow from the annular element J; is the axial upstream heat inflow into the annular element, J; is the heat transfer between the drilling fluid and the outer wall of the drill string, J; is the radial heat exchange between the annular fluid and the wellbore wall, J; is the heat generated by the internal heat source in the annular fluid element, J; is the specific heat capacity of drilling fluid in the annulus under constant pressure, J/(kg·°C); is the density of the annular fluid, kg/m3; is the cross-sectional area of the annulus, m2; is the mass flow rate of the annular fluid, kg/s; is the temperature of the annular fluid at the axial position L + ΔL, °C; is the annular heat transfer coefficient; is the temperature of the outer wall of the drill string, °C; and is the temperature difference of drilling fluid in the annulus, °C.
According to the above theoretical analysis, the drilling fluid circulation temperature model can be obtained as follows:
(1) Temperature distribution model in the drill string:
(2) Temperature distribution model of drill string:
(3) Temperature distribution model in the annulus:
(4) The temperature distribution model of the formation:
2.2. Initial Conditions and Boundary Conditions
Initial conditions:
Drill string inlet (z = 0): Specifies the temperature of the injected fluid, as shown in Equation (23).
where is the surface temperature, °C, and is the geothermal gradient, °C/km.
Annulus outlet (z = 0): Usually assumed to be the convective outlet boundary; that is, the extension Equation (24) of the upstream value, or in some models, it is referred to as the pressure boundary, as shown in Equation (24).
Boundary condition:
Wellbore centerline (r = 0): According to symmetry, an adiabatic boundary is adopted, as shown in Equation (26).
The outer boundary of the stratum: Set to a constant undisturbed ground temperature, as shown in Equation (27).
In actual calculations, we take a sufficiently large radial distance and apply this condition at that point.
2.3. Adaptive Grid Analysis of Iterative Well Depth Interval
When using the Gauss–Seidel iterative algorithm to calculate the wellbore temperature field of ultra-deep wells, it is necessary to divide the wellbore grid according to the iterative well depth interval [24]. If the traditional uniform grid is used, the grid scale in the deflecting section and the vertical section is in the same order of magnitude. If the grid density is larger, as shown in Figure 5a, the error of iteration results in a larger deflection section, and the accuracy of calculation results is low. However, if the grid density is bigger, as shown in Figure 5b, the number of grids in the vertical well section is too large, and its computation and storage is also unbearable for modern computers. Therefore, we choose to use an adaptive grid to divide the iterative well depth interval of the ultra-deep wellbore, as shown in Figure 5c, where grid scale in the vertical well section is large, and the grid scale in the deflection section is small, which not only ensures the accuracy of the prediction of the ultra-deep wellbore temperature field model, but also reduces the calculation amount.
Figure 5.
Uniform and adaptive grid generation of iterative well depth interval. (a) Uniform grid of 10 m interval; (b) Uniform grid of 5 m interval; (c) Adaptive grid.
As shown in Table 1, this is the result of the analysis of the temperature field of a 9000 m ultra-deep well using two traditional uniform grids and adaptive grids, respectively. It can be seen from the calculation results that the grid density has doubled, but the calculation time has increased 3.7 times. By adopting an adaptive grid, while improving the calculation accuracy, the calculation time length is only 1.5 times longer than that of a 10 m grid. This is of certain significance for reducing computing costs. The conventional meshing schemes (10 m, 5 m) and adaptive meshing (5–10 m) demonstrate weak correlation between actual measured bottom-hole data and prediction errors, indicating that the model calculation results are independent of the grid configuration.
Table 1.
Comparison of two traditional uniform grids and adaptive grid computing.
The adaptive grid based on iterative well depth can dynamically densify or sparse the grid based on the multi-scale traits of the wellbore, capture the structure of the vertical well section and the deflecting section of the wellbore, and at the same time, meet the accuracy of the local computational domain. The flow chart of using an adaptive grid to divide the iterative well depth interval of ultra-deep wells is shown in Figure 6, where Y denotes yes and N denotes no. The adaptive grid generation process begins with Start, first dividing the grid uniformly. It then evaluates whether the gradient in the current section exceeds 10°/10 m. If it does not exceed the threshold, the process returns to the step of uniform grid division. If the gradient is exceeded, it proceeds to set the scaling factor for the adaptive grid, followed by dividing the grid adaptively based on this factor. After grid division is completed, a check is performed to determine if the designed or actual drilling depth has been reached. If the depth requirement is not met, the process returns to the gradient evaluation step and repeats the above operations. Once the depth requirement is satisfied, the process ends with End. Unlike the traditional uniform high-precision grid distribution, the adaptive grid can not only greatly compress the number of grids, but also meet larger computational requirements. It has a good prospect for iterative well depth division in the prediction of ultra-deep wellbore temperature fields.
Figure 6.
Flow chart of iterative well depth interval division for ultra-deep wells.
2.4. Model Input Parameters
In the result analysis and discussion section, the well depth of all the analysis objects is 3600 m, the deflection point is 2200 m, the deflection section is 400 m long, and the horizontal section is 1000 m long. The drill pipe diameter is 127 mm, and the annular outer diameter is 215.9 mm. Set the initial parameters as shown in the following Table 2.
Table 2.
Initial parameters of wellbore temperature distribution analysis.
2.5. Model Verification
To validate the model, data from Well X, located near the structural high point at the base of the Permian in the Shuangyushi Block of Sichuan, was used as input to calculate the bottom-hole temperature. The well was drilled with a 149.2 mm drill bit to a total depth of 9010 m, setting a new record for the deepest horizontal well drilled onshore in China. Its wellbore trajectory is shown in Figure 7.
Figure 7.
Three-dimensional trajectory of a well in Sichuan.
The temperature related physical properties, engineering, and model calculation parameters of a well in Sichuan are shown in Table 3.
Table 3.
Temperature related physical properties, engineering, and model calculation parameters of a well in Sichuan.
To verify the correctness of the model, the actual wellbore temperatures were measured at vertical depths of 2000, 3000, 4000, 5000, 6000, 7000, and 8000 m, respectively. The parameters from Well X were applied to the prediction model to calculate the wellbore temperatures at these different depths. Figure 8 shows a comparison between the model-predicted wellbore temperatures and the actual measured temperatures. Table 4 lists the actual and model-calculated bottom-hole temperatures along with the model error values. From the table, it can be seen that the average error between the two is 0.5%. The close agreement validates the accuracy of the prediction model.
Figure 8.
Prediction and analysis of bottom-hole temperature of a well in Sichuan.
Table 4.
The actual and model calculated temperatures at the bottom of the well and the model error values.
3. Result Analysis and Discussion
3.1. The Impact of Various Engineering Parameters on Bottom-Hole Temperature
3.1.1. Drilling Fluid
(1) Density of Drilling Fluid
To investigate the effect of drilling fluid on bottom-hole temperature, a density range of 1000~1500 kg/m3, representative of conventional water-based systems, was utilized. Through wellbore temperature field solution method, the influence of drilling fluid density in drill string and annulus on temperature distribution is obtained, as shown in Figure 9 and Figure 10. It can be concluded that the bottom-hole temperature decreases gradually with increasing drilling fluid density inside the drill string, whereas it increases with increasing density in the annulus. Furthermore, comparative analysis reveals that fluid density within the drill string has a more pronounced influence on bottom-hole temperature than density in the annulus.
Figure 9.
Influence of drilling fluid density in the drill string on temperature distribution.
Figure 10.
Influence of annular drilling fluid density on temperature distribution.
(2) Specific heat capacity of drilling fluid
The typical specific heat capacity of drilling fluids ranges from 1500 to 4000 J/(kg·°C). In this section, we investigate the effect of specific heat capacity—using values of 2000, 2500, 3000, 3500, and 4000 J/(kg·°C)—on bottom-hole temperature. This range encompasses both oil-based and water-based drilling fluids. The influence of specific heat capacity of drilling fluid in drill string and annulus on temperature distribution is obtained through wellbore temperature field simulation software, as shown in Figure 11 and Figure 12. It can be concluded that with the increase in the specific heat capacity of the drilling fluid in the drill string, the bottom-hole temperature gradually decreases; the bottom-hole temperature exhibits a positive correlation with the specific heat capacity of the annular drilling fluid. Moreover, variations in the specific heat capacity of the in-pipe fluid exert a stronger influence on the bottom-hole temperature than changes in the annular fluid density.
Figure 11.
Influence of drilling fluid specific heat capacity in the drill pipe on temperature distribution.
Figure 12.
Effect of annular drilling fluid specific heat capacity on temperature distribution.
3.1.2. Drill Pipe
(1) The heat transfer coefficient inside and outside the drill pipe
The heat transfer coefficient inside and outside the drill pipe is dependent on fluid properties and flow velocity. The typical range is 500–2000 W/(m2·°C), although it may exceed this range under very high fluid velocities [24]. Through wellbore temperature field simulation software, the influence of internal and external heat transfer coefficients of drill pipe on temperature distribution is obtained, as shown in Figure 13. It can be seen that with the increase in the internal and external heat transfer coefficient of the drill pipe, the bottom-hole temperature gradually increases. When the internal and external heat transfer coefficient of the drill pipe is large, the change range of the bottom-hole temperature slows down.
Figure 13.
Influence of heat transfer coefficient inside and outside the drill pipe on temperature distribution.
(2) Thermal conductivity of the drill pipe
Most drill pipes are composed of alloy steel. Varying the content of alloying elements can affect their thermal conductivity, with the thermal conductivity range for drill pipe alloys typically falling between 20 and 100 W/(m·K) [25]. The influence of drill pipe thermal conductivity on temperature distribution is obtained through wellbore temperature field simulation software, as shown in Figure 14. As can be seen, the thermal conductivity of the drill pipe has a negligible effect on the temperature distribution, resulting in overlapping curves in the plot. Therefore, a detailed inset for the 3400–3500 m depth interval near the bottom-hole is provided in Figure 14. This inset reveals a positive correlation between drill pipe thermal conductivity and bottom-hole temperature.
Figure 14.
Influence of thermal conductivity of the drill pipe on temperature distribution.
3.1.3. Drilling Fluid Inlet Temperature
The influence of drilling fluid inlet temperature on temperature distribution is obtained through the model, as shown in Figure 15. An increase in the drilling fluid inlet temperature elevates the bottom-hole temperature proportionally.
Figure 15.
Influence of drilling fluid inlet temperature on temperature distribution.
3.1.4. Drilling Fluid Displacement
The flow rate of drilling fluid is a critical drilling parameter. If the velocity is too low, hole cleaning will be ineffective; if it is too high, it may erode the wellbore wall. Its value typically ranges from 15 to 30 L/s [25]. The influence of drilling fluid displacement on temperature distribution is obtained through wellbore temperature field simulation software, as shown in Figure 16. A higher drilling fluid displacement linearly reduces the bottom-hole temperature, indicating a strong and nearly linear inverse relationship.
Figure 16.
Influence of drilling fluid displacement on temperature distribution.
3.1.5. Drilling Fluid Circulation Time
Based on drilling practice and the technical literature [25], the circulating time of drilling fluid generally falls within the range of 0.5 to 2.5 h. As shown in Figure 17, with drilling fluid circulation time increases, bottom-hole temperature gradually decreases. The influence of circulation time on temperature is evident. This phenomenon occurs because the drilling fluid acts as an efficient circulatory cooling system, continuously carrying heat away from the formation and transporting it to the surface, thereby disrupting the thermal equilibrium of the wellbore and surrounding formation and gradually cooling it down.
Figure 17.
Influence of drilling fluid circulation time on temperature distribution.
3.2. The Impact of Various Geological Parameters on Bottom-Hole Temperature
3.2.1. Formation Rock Diameter
As shown in Figure 18, the influence of formation rock thermal diffusivity on the temperature distribution is minimal, resulting in overlapping curves. Therefore, a locally magnified view of the temperature variation at a vertical depth of 3400–3500 m has been added to Figure 18. It can be observed that as the formation thermal diffusivity increases, the bottom-hole temperature decreases.
Figure 18.
Influence of formation rock diameter on temperature distribution.
3.2.2. Thermal Conductivity of Formation Rock
Figure 19 illustrates the influence of formation rock thermal conductivity on the temperature distribution. As shown, the thermal conductivity of the formation rock has a negligible effect on the temperature profile, resulting in overlapping result curves. A detailed inset highlighting the variation in bottom-hole temperature within the vertical depth interval of 3400–3500 m is provided. From the enlarged view, it can be observed that the bottom-hole temperature exhibits a gradually increasing trend with rising formation rock thermal conductivity.
Figure 19.
Influence of formation thermal conductivity on temperature distribution.
3.2.3. Heat Transfer Coefficient of Outer Wall of Formation Annulus
Figure 20 and Figure 21 present the influence of the heat transfer coefficient at the outer wall of the formation annulus on the temperature distribution, as obtained through wellbore temperature field simulation. The simulation results indicate that the bottom-hole temperature exhibits a gradual increasing trend with the rise of the heat transfer coefficient. Overall, however, the impact of this coefficient on the bottom-hole temperature remains relatively minor. This pattern further confirms that heat transfer at the outer wall of the annulus is not a dominant factor in the overall wellbore thermal behavior.
Figure 20.
Influence of the heat transfer coefficient of the outer wall of formation annulus on temperature distribution (5–25 W/(m2∙°C)).
Figure 21.
Influence of the heat transfer coefficient of the outer wall of formation annulus on temperature distribution (100–500 W/(m2∙°C)).
3.3. The Sensitivity Influence of Different Numerical Parameters on the Bottom-Hole Temperature
The in-house solver was developed using Python 3.12. The computations were performed on a system equipped with an Intel(R) Core(TM) i5-14600KF processor running at 3.50 GHz and 32 GB of RAM. It is worth noting that when the relaxation factor ω of the SOR iterative method equals 1, it is equivalent to the Gauss–Seidel method. The Gauss–Seidel method is a special case of the SOR method with a relaxation factor ω of 1, at which point the model exhibits optimal convergence behavior [26]. Therefore, in all studies investigating the influence of different modeling parameters on temperature, the value of ω has been consistently maintained at 1.
3.3.1. Iterative Well Depth Interval
The influence of iterative well depth interval on temperature distribution is obtained through wellbore temperature field simulation software, as shown in Figure 22. The results indicate that as the iterative well depth interval increases, the bottom-hole temperature shows a declining trend. Furthermore, this parameter has a pronounced effect on the simulated temperature distribution, underscoring its importance in ensuring solution convergence. The iterative depth interval specifically refers to the numerical integration step size used in the one-dimensional temperature calculation along an individual well trajectory. Its strong sensitivity to the bottom-hole temperature highlights the dependence of numerical precision and stability on this parameter when solving the wellbore energy balance equation.
Figure 22.
Influence of iterative well depth interval on temperature distribution.
3.3.2. Iteration Interval
The influence of iteration time interval on temperature distribution is obtained through wellbore temperature field simulation software, as shown in Figure 23. It can be seen that with the increase in iteration time interval, the bottom-hole temperature gradually increases, and the iteration time interval has a greater impact on the temperature.
Figure 23.
Effect of iteration time interval on temperature distribution.
3.3.3. SOR Relaxation Iteration Parameters
According to previous studies [26], a value of w between 0.3 and 1.4 is considered a reasonable range for the temperature prediction model in ultra-deep wells. The influence of SOR relaxation iteration parameters on temperature distribution is obtained through wellbore temperature field simulation software, as shown in Figure 24. The results indicate that with the increase in SOR relaxation iteration parameters, the bottom-hole temperature gradually decreases, and the SOR relaxation iteration parameters have a greater impact on the temperature.
Figure 24.
Influence of SOR relaxation iteration parameters on temperature distribution.
3.4. Analysis of Main Controlling Factors of Bottom-Hole Temperature Distribution
By analyzing the influence of physical parameters such as drilling fluid, drill pipe, and formation rock, and engineering parameters such as drilling fluid inlet temperature, flow rate, and circulation time, formation rock diameter, iterative well depth interval, iterative time interval, and SOR relaxation iterative parameters on wellbore temperature distribution, we can obtain the quantitative analysis table as shown in Table 5 and the impact distribution chart as shown in Figure 25, in Table 5, ↗ represents a positive correlation trend and ↘ represents a negative correlation trend, and draw the conclusions:
Table 5.
Quantitative analysis of influence factors on wellbore temperature distribution.
Figure 25.
Influence of different factors on temperature distribution. 1—Drilling fluid density in drill string; 2—the specific heat capacity of the drilling fluid in the drill string; 3—annular drilling fluid density; 4—annular drilling fluid specific heat capacity; 5—heat transfer coefficient inside and outside the drill pipe; 6—drill pipe thermal conductivity; 7—heat transfer coefficient of outer wall of formation annulus; 8—thermal conductivity of formation rock; 9—drilling fluid inlet temperature (circulation 2 h); 10—drilling fluid displacement; 11—drilling fluid circulation time; 12—formation rock diameter; 13—iterative well depth interval; 14—iteration interval; 15—SOR relaxation iteration parameters.
(1) Among the physical parameters considered, the temperature distribution is predominantly controlled by the drilling fluid density, its specific heat capacity, and the heat transfer coefficient of the drill pipe.
(2) Among the operational parameters considered, drilling fluid displacement, circulation time, and inlet temperature have a major impact on the wellbore temperature profile.
(3) Among the calculation parameters, iterative well depth interval, iteration time interval, and relaxation iteration parameters have a great influence on the wellbore temperature distribution numerical approximation.
4. Conclusions
This study presents an optimized two-dimensional unsteady wellbore temperature field model, which improves upon previous approaches by distinctly accounting for the convective heat transfer coefficients and the differing thermophysical properties of drilling fluid within the drill string and the annulus. The model was solved using an unconditionally stable, fully implicit finite difference scheme, leading to a robust numerical solution for the wellbore temperature distribution after discretization.
To implement this model, a temperature field simulation software was developed utilizing the Gauss–Seidel iteration algorithm complemented by Successive Over-Relaxation (SOR) parameters. The software’s efficacy was demonstrated through a case study of a well in Sichuan, where it successfully calculated the wellbore temperature profile. The results showed a high degree of accuracy, with a mere 0.5% error between the predicted and actual measured temperatures.
Sensitivity analysis revealed that the accuracy of the wellbore temperature calculation is significantly influenced by input parameters such as the geothermal gradient, formation thermal conductivity, and the specific heat capacity of the drilling fluid. Consequently, it is imperative to accurately determine these thermophysical properties prior to simulation to ensure reliable results.
The investigation also highlights the considerable impact of operational parameters on the temperature field distribution. Specifically, the drilling fluid inlet temperature, circulating flow rate, and circulation time were identified as key controlling factors. This implies that the downhole thermal regime can be actively managed by adjusting these operational variables.
Finally, the application of an adaptive grid scheme for analyzing the iterative well depth intervals in ultra-deep wells proved highly effective. This method automatically refines or coarsens the grid resolution as needed, ensuring computational accuracy where required while simultaneously reducing the overall computational load. This approach renders the simulation process both more scientifically sound and computationally efficient.
Author Contributions
Conceptualization, J.Z. and H.Z.; methodology, J.Z. and H.Z.; software, Y.W.; validation, Y.W.; formal analysis, X.L.; investigation, H.Z.; resources, J.Z.; data curation, P.W.; writing—original draft preparation, J.Z. and H.Z.; writing—review and editing, J.Z. and H.Z.; visualization, P.W.; supervision, J.Z.; project administration, J.Z.; funding acquisition, J.Z. All authors have read and agreed to the published version of the manuscript.
Funding
This work was funded by the Natural Science Foundation of China (52374006), National Science and Technology Major Project (2025ZD1407003), and Sichuan Science and Technology Program (2024YFHZ0155). The authors also sincerely thank the editors and the reviewers for their efforts in improving this paper.
Data Availability Statement
The data that supports the findings of this study are available within the article.
Conflicts of Interest
Authors Yang Wang and Pingan Wang were employed by the company Chuanqing Drilling Engineering Co., Ltd. Author Xinfeng Liu was employed by the company Materials Branch of Great Wall Drilling Company. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Nomenclature
| dQ | Heat (J) | dW | Work (J) |
| dE | Change in internal energy (J) | Qp,chang | Change in internal energy of the fluid element in the drill string (J) |
| Qp,in | Heat inflow into the fluid element (J) | Qp,out | Heat outflow from the fluid element |
| Qdp | Heat exchange between fluids in the drill string (J) | Qfp | Internal heat (J) |
| Cp | Isobaric Specific Heat Capacity (J/(kg·°C)) | Ap | Flow cross-sectional area (m2) |
| ∆L | Axial length (L) | ρp | Fluid density (kg/m3) |
| ∆Tp | Fluid temperature at location L (°C) | mp | Mass flow rate (kg/s) |
| Δt | Time step (s) | Tp,L | Temperature of the fluid at location L (°C) |
| Tp,L+ΔL | Temperature of the fluid at location L + ΔL (°C) | hpi | Convective heat transfer coefficient between the fluid and the pipe inner wall (W/(m2·°C)) |
| dpi | Inner diameter of the pipe (m) | Td | Temperature of the pipe inner wall surface (°C) |
| Tp | Mean temperature of the fluid (°C) | Qdup | Upstream heat inflow (J) |
| Qddown | Downstream heat outflow (J) | Qa,in | Axial downstream heat outflow from the annular element (J) |
| Qda | The thermal energy exchange across the radial direction from the drill string to the annular fluid (J) | Qa.out | Axial upstream heat inflow into the annular element (J) |
| Qad | The process of radial convective heat transfer across the interface between the annular fluid and the drill string wall (J) | Qac | Radial heat exchange between the annular fluid and the wellbore wall (J) |
| Qfa | Heat generated by the internal heat source in the annular fluid element (J) | Ca | The specific heat capacity at constant pressure of the annular fluid (J/(kg·°C)) |
| ρa | The density of the annular fluid (kg/m3) | Ad | The cross-sectional area of the annulus (m2) |
| Ta | The temperature difference of the annular fluid (°C) | ma | The mass flow rate of the annular fluid (kg/s) |
| Ta,L+∆L | The temperature of the annular fluid at the axial position L + ΔL (°C) | ha | The convective heat transfer coefficient within the annulus (W/(m2·°C)) |
| Tc | The drill string surface temperature (°C) |
References
- DZ/T 0217-2005; Specification for Calculation of Petroleum and Natural Gas Reserves. China Standard Publishing House: Beijing, China, 2005.
- Li, Y.; Xue, Z.; Cheng, Z.; Jiang, H.; Wang, R. Progress and development direction of deep oil and gas exploration and development in China. PetroChina Explor. 2020, 25, 45–57. [Google Scholar]
- Zhao, J.; Peng, H.; Fang, S.; Wang, K.; Han, S.; Zhang, Y.; Zhu, Z.; Tu, C. Study on dynamic sealing performance of combined sealing structure of telescopic type of downhole robot by using HTHP coupling method. Sci. Prog. 2021, 104, 00368504211013214. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ramey, H.J., Jr. Wellbore Heat Transmission. J. Pet. Technol. 1962, 14, 427–435. [Google Scholar] [CrossRef] [Scilit]
- Holmes, C.S.; Swift, S.C. Calculation of circulating mud temperatures. J. Pet. Technol. 1970, 22, 670–674. [Google Scholar] [CrossRef] [Scilit]
- Keller, H.H.; Couch, L.E.J.; Berry, P.M. Temperature Distribution in Circulating Mud Columns. SPE J. 1973, 13, 23–30. [Google Scholar] [CrossRef] [Scilit]
- Kabir, C.S.; Hasan, A.R.; Kouba, G.E.; Ameen, M. Determining circulating fluid temperature in drilling, workover, and well control operations. In Proceedings of the SPE Annual Technical Conference and Exhibition—1992, Washington, DC, USA, 4–7 October 1992. [Google Scholar]
- Karstad, E.; Aadnoy, B.S. Analysis of temperature measurements during drilling. In Proceedings of the 1997 SPE Annual Technical Conference and Exhibition, San Antonio, TX, USA, 5–8 October 1997. [Google Scholar]
- Romero, J. Temperature Prediction for Deepwater Wells: A Field Validated Methodology. In Proceedings of the SPE Annual Technical Conference and Exhibition, New Orleans, LA, USA, 27–30 September 1998. [Google Scholar]
- Nguyen, D. Modeling Thermal Effects on Wellbore Stability. In Proceedings of the Trinidad and Tobago Energy Resources Conference, Port of Spain, Trinidad and Tobago, 27–30 June 2010. [Google Scholar]
- Kabir, C.S.; Yi, X.; Jakymec, M.; Hasan, A.R. Interpreting Distributed-Temperature Measurements in Deepwater Gas-Well Testing: Estimation of Static and Dynamic Thermal Gradients, and Flow Rates. SPE Prod. Oper. 2014, 29, 97–104. [Google Scholar]
- Kutasov, I.M.; Eppelbaum, L.V. Time of refreezing of surrounding the wellbore thawed formations. Int. J. Therm. Sci. 2017, 122, 133–140. [Google Scholar] [CrossRef] [Scilit]
- Ding, L.; Yang, Z.; Chen, W.; Zhang, Q. Transient prediction method for flow temperature at wellbore bottom. Appl. Therm. Eng. 2023, 234, 121208. [Google Scholar] [CrossRef] [Scilit]
- Wu, X.N.; Hou, Z.M.; Li, Z.Y.; Feng, B.; Wu, L.; Chen, Q.-J.; Cai, N.; Wei, T.-C. Numerical calculation of bottom hole circulating temperature in wellbore cementing processes with multi-fluid and multi-step. Pet. Sci. 2025, 22, 1578–1595. [Google Scholar] [CrossRef] [Scilit]
- Khaled, M.S.; Wang, N.; Ashok, P.; van Oort, E.; Wisian, K. Real-time prediction of bottom-hole circulating temperature in geothermal wells using machine learning models. Geoenergy Sci. Eng. 2024, 238, 212891. [Google Scholar] [CrossRef] [Scilit]
- Ma, Z. Analysis and Research on Temperature Field of Drilling Wellbore. Master’s Thesis, China University of Petroleum, Beijing, China, 2019. [Google Scholar]
- Yang, S. (Ed.) Heat Transfer; Higher Education Press: Beijing, China, 1980. [Google Scholar]
- Zhao, J.; He, J.; Migórski, S.; Dudek, S. An inverse problem for Bingham type fluids. J. Comput. Appl. Math. 2022, 404, 113906. [Google Scholar] [CrossRef] [Scilit]
- Ignatenko, Y.; Gavrilov, A.; Bocharov, O.B.; Aragall, R. Turbulent spiral flow of power-law fluid in annular channel. Eur. J. Mech.-B/Fluids 2025, 109, 354–366. [Google Scholar]
- Nagarani, P.; Job, V.M.; Murthy, P. The effect of peristalsis on dispersion in Casson fluid flow. Ain Shams Eng. J. 2024, 15, 102758. [Google Scholar] [CrossRef] [Scilit]
- Zhao, J.; Wang, J.; Sahmani, S.; Safaei, B. Probabilistic-based nonlinear stability analysis of randomly reinforced microshells under combined axial-lateral load using meshfree strain gradient formulations. Eng. Struct. 2022, 262, 114344. [Google Scholar] [CrossRef] [Scilit]
- Zhang, N.; Abushaikha, A.S. An implementation of mimetic finite difference method for fractured reservoirs using a fully implicit approach and discrete fracture models. J. Comput. Phys. 2021, 446, 110665. [Google Scholar] [CrossRef] [Scilit]
- Weng, Z.; Yang, S. Heat Transfer; Shanghai Jiaotong University Press: Shanghai, China, 1987. [Google Scholar]
- Tao, W. Numerical Heat Transfer; Xi’an Jiaotong University Press: Xi’an, China, 2001. [Google Scholar]
- Wang, W.C.; Yang, H.Y.; Luo, D.K.; You, M.-M.; Zhou, X.; Chen, F.; Di, Q.-F. The analysis of drill string dynamics for extra-deep wells based on successive over-relaxation node iteration method. Pet. Sci. 2025, 22, 3293–3303. [Google Scholar] [CrossRef] [Scilit]
- Wu, B.; Liu, T.; Zhang, X.; Wu, B.; Jeffrey, R.G.; Bunger, A.P. A transient analytical model for predicting wellbore/reservoir temperature and stresses during drilling with fluid circulation. Energies 2017, 11, 42. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
























