Stehfest accelerators.
Abstract
The flow of fluids between wells and reservoirs involves a substantial amount of thermal energy exchange with the formation. Understanding the mechanisms involved in the heat transfer of these processes is crucial to the design of the wells for mechanical integrity. While long term production scenarios may achieve a notional steady state, short term injection scenarios involve an accurate consideration of the thermal transients. With global initiatives towards a transition to clean energy, the design of geothermal wells is becoming an area of great importance these days. Accordingly, correct simulation of the heat transfer in the circulating scenario involved in closed loop wells enables accurate assessments of thermal power generated. This chapter aims to educate the user in how to tackle these problems and explains the physics and mathematics involved in detail.
Keywords
- heat transfer
- wellbores
- production
- injection
- circulation
- geothermal energy
1. Introduction
1.1 Background
The discovery of reservoirs with hotter in-situ temperatures (above 200° F) over the past several decades has introduced engineering challenges that depend critically on an accurate assessment of wellbore temperatures. In particular, subsea wells are being drilled to deeper horizons these days and are exposed to hotter temperatures than in the past.
These wells have multiple tubulars and fluid-filled annuli as depicted in Figure 1. In addition, many of these wells are prolific producers (of hydrocarbons or geothermally heated water), resulting in high arrival temperatures at the surface. In some instances, the fluid arrival temperatures at the wellhead could, in fact, be hotter than the already high bottomhole temperature, because of the negative Joule-Thomson effect. A problem of equal, if not greater importance, is the effect of the lateral (or radial) heat transfer from the flowing stream to the wellbore layers, resulting in temperature buildup in fluid filled annuli and thermal stresses in the unsupported sections of the bounding tubulars.1 One of the most serious implications of radial heat transfer is Annular Pressure Buildup (APB). The prediction and mitigation of APB constitutes a vast body of investigation in its own right. Thermal stresses in tubulars influence the structural design of the wellhead, and the control of Wellhead Movement (WHM). The displacement constraints on the tubulars at the wellhead and the tops of cement can cause buckling and the generation of bending stresses during well operation. In a worst case discharge (WCD) scenario, elevated temperatures may potentially dislodge tubulars from the wellhead, and require additional lock down rings to prevent the tubulars from catapulting. All of these phenomena require accurate and reliable estimates of wellbore temperatures. In instances that involve operations with short durations, accurate prediction of the thermal transient response is critical (for example. Drillstem tests, Well Testing to evaluate reservoir performance, Designing APB mitigation mechanisms, wellhead pressure control in platform wells). Injection and circulation scenarios also create temperature changes that generate unsustainable tensile forces in improperly designed wellbore tubulars and tubular connections.
1.2 Heat transfer mechanisms in wellbores
The fundamental mechanisms of heat transfer in a wellbore are indicated in Figure 2. In most of the onshore and offshore locations, the geothermal temperature increases with depth below the surface, at an average of rate of 21–32°C/km. This temperature gradient is the primary driver for all heat exchange phenomena in a wellbore. This is true of wellbores used to extract oil and gas, and of wellbores used to generate geothermal energy.
For the purposes of thermal and structural analysis, a well can be enclosed in an imaginary volume that encloses the production tubing (i.e. the innermost cylinder and primary flow conduit), and the series of casings and cement sheaths in the intervening annular spaces. The well boundary is located at the interface between the outermost cement sheath and the earth (known hereafter as the formation).
In a wellbore, energy is exchanged between the flow stream(s), the wellbore (i.e. the casing strings and annular contents) and the formation. The thermal analysis of the producing wellbore proceeds in three interlinked steps. The first step is the solution of the balance (mass, momentum, and energy) equations in the tubing. The second step is the assessment of radial heat loss from the tubing to the wellbore. For the purposes of thermal analysis, the wellbore is defined as the region between the outer surface of the tubing and the outer surface of the outermost cement sheath. The third step is the determination of the heat transfer in the formation, i.e. from the wellbore – formation boundary to the earth.
There is forced convection heat transfer between the flowing fluid stream and the conduit boundary. Usually, the uncemented annular sections between tubulars contain incompressible fluids that experience natural convection. Conduction in the radial direction occurs through the walls of the casing, and the cemented sections of the intervening annuli. This is a case of diffusion across in a composite medium. At the well boundary, heat lost by the contents of the wellbore diffuses by conduction into a semi-infinite domain. Sometimes the semi-infinite domain is approximated by a finite domain with a very large farfield radius. In some wells, there is a need to minimise heat loss from the wellbore. In such applications, Vacuum Insulated tubing (VIT) is used.2 The heat transfer in this case between the inner and outer pipes is practically by thermal radiation.
1.3 Types of well thermal operations
In terms of thermal interactions, a wellbore is essentially a heat exchanger. Conventional heat exchangers typically involve heat transfer between two counterflowing or parallel streams. In a wellbore however, a single stream flowing up (production) or down (injection) the wellbore, exchanges heat with the formation layers surrounding the wellbore, as indicated in the left two panels of Figure 3. In this figure, the black dotted line represents the geothermal temperature, which prevails in the wellbore until an operation (or operations) induce a thermal disturbance. During production, the hot fluid exits from the reservoir at the bottom of the well and flows upward. During it upward transit, there is loss of fluid enthalpy because of lateral/radial heat transfer. This is responsible for the heating of the tubulars, the annular contents in the well (solid red curve, panel (a)). During injection, cold fluid gets heated during its downward transit (blue curve, panel (b)). The right two panels indicate circulation scenarios which are analogous to classic counterflow heat exchangers. In both cases, qualitative descriptions of the associated temperature profiles are indicated (solid red and blue curves).
In all the three scenarios in Figure 3, the key objective of a thermal analysis is the prediction of the flowing temperature profiles, given appropriate boundary conditions. In the case of transient heat transfer, initial conditions must also be specified. In production and injection scenarios, the (boundary condition) temperatures are either known or stipulated at the reservoir and wellhead locations. In forward circulation, the temperature is specified at the wellhead location of the inner conduit, whereas in reverse circulation the temperature is specified at the wellhead location of the outer (annular) conduit. In either case, the temperature is specified at the inlet to the wellbore of the downward flowing stream. At the bottom of the wellbore, it is typical (but not always) to stipulate the equality of the temperatures of the two flowing streams, as shown in Figure 3 (panels (c) and (d)).
The analysis involves the solution of the transport equations in conjunction with heat transfer in the formation. This requires careful consideration of all relevant fluid and thermal transport phenomena. The subsequent sections will present a systematic analytical approach to the solution of the aforementioned problems.
1.4 Review of relevant literature
The earliest studies of heat transfer in wellbores by Lesem et al. [1] and Moss and White [2] date back to the late 1950s. For a detailed review of the literature on the topic, the reader is referred to Chandrasekhar [3] wherein a comprehensive transient thermal model of a complex wellbore is described in detail. There are several key studies that constitute essential reading and are listed below:
The 1962 study by Ramey [4] was the first systematic study of both flowing and wellbore temperatures. His approach assumed pseudo steady state conditions in the flowing conduit and wellbore, with the transients relegated solely to the formation. This approach is in fact the basis for a very large number of model implementations (the WELLFLO code for example) to this day. The wellbore itself was modelled as a line source in a semi-infinite formation for which a simple expression was used to characterise the transient heat flux. While the approach breaks down for shorter producing intervals, it is valid for time periods corresponding to Fourier numbers in excess of unity.
Willhite [5] extended the approach of Ramey [4] to account for amongst other phenomena, natural convection, and thermal radiation in fluid-filled annuli. An iterative approach is required to calculate the overall heat transfer coefficient linking the temperature of flowing stream to the far field undisturbed geothermal temperature.
It is very likely that Raymond [6] was the first study of the transient circulation problem using a combine Laplace Transform/Finite Difference approach. The key observation of Raymond’s analysis is that the transients are limited to the first few hours of circulation and that the steady state solution was valid for longer periods. The first detailed study of multiple well operating scenarios is that of Wooley [7] in which production, injection, and circulation were considered in the context of a transient analysis using a finite difference approach to couple the well and formation responses.
More recent studies have looked at analytical solutions where possible for coupled wellbore/formation problems. Wu and Pruess [8] considered transient heat transfer between a flowing fluid stream and the formation, but used an overall lumped heat transfer coefficient to model the heat transfer across the wellbore itself. They formulated a more refined formation temperature model using Laplace transforms to model a cylindrical source. The 2018 study of Chandrasekhar et al. [9] is recommended for the reader interested in the application of a circulating model to a complex realistic wellbore considering both hydraulics and thermal phenomena, in addition to several other aspects of actual real-life wellbores.
There are several textbooks in the literature that present a detailed analysis of the fundamentals of wellbore heat transfer. Hasan and Kabir [10] cover several aspects of both heat transfer and fluid flow in wellbores, starting with the governing equations, and several models for multiphase flows in wellbores. In a 2009 SPE monograph, Mitchell and Sathuvalli [11] discuss various phenomena and analytical techniques relevant to temperature prediction in prolific oil and gas producers.
There are a few experimental studies that have investigated aspects of wellbore heat transfer. Jones [12] describes a real time measurement that was quite novel at the time approach to establish circulating temperatures in wellbores during drilling and cementing operations. The performance of Vacuum-Insulated Tubing was studied by Aeschliman et al. [13] in the context of a steam injection well. Their results compared six different commercially available means of achieving thermal insulation by the suppression of convection in the tubing annulus.
2. Governing transport equations
2.1 Mass conservation
Consider a control volume (CV) of length
where
so that the instantaneous temporal derivative of the density is zero. From Eqs. (1) and (2), we have
whereupon the temporal derivative of the velocity also vanishes, so that along with no mass accumulation, there is no accumulation of momentum in the control volume either.
2.2 The energy equation
The specific energy
where
Energy enters and leaves the CV in Figure 4 as indicated, with some accumulation at the rate
A simple energy balance yields the following expression
where the Mean Value Theorem has been used to replace the integral such that
Evaluating the limit and noting that
From one of the fundamental thermodynamic relationships relating the enthalpy to internal energy, we have
Substitution of the above along with Eq. (4) into Eq. (7) yields
The derivative of the vertical depth
where the temporal derivative of the density vanishes in accordance with the constant mass flow criterion which also stipulates from Eq. (3) that the time derivative of the velocity is zero. In addition, it follows from the momentum conservation equation (which will be presented in the next section), that in the context of a constant mass flow rate the time derivative of the pressure also vanishes. Accordingly, Eq. (9) reduces to
Note that Eq. (11) contains spatial derivatives of both specific enthalpy and velocity. Closure therefore requires the consideration of the momentum equation which is presented next. It is reiterated here that Eq. (11) as derived is
2.3 The momentum equation
A force balance over the same control volume as in Figure 4 yields the rate of change of momentum. The forces acting on the fluid in the control volume are the static and dynamic pressure forces and the pressure and shear stress as indicated
whereupon following the same logic as was used to derive the energy equation and noting from Eq. (3) that the time derivative of the velocity vanishes, we have
which is functionally equivalent to Newton’s Second Law of Motion relating the rate of change of Momentum to the sum of the forces acting on a body of fluid.
Note that the stipulation of no mass accumulation also implies no momentum accumulation, so that the only accumulation in the wellbore is that of energy. Note also, that from Eq. (13), the time derivative of pressure is zero which enables the energy equation to be cast with enthalpy as the sole flux variable on both side of the equation.
2.4 Coupled transport equation system
The kinetic energy term in Eq. (11) is represented by the spatial derivative of the velocity. This term can be expressed in terms of pressure and enthalpy derivatives by invoking the chain rule as follows
where
2.5 Extraction of wellbore temperatures
Subject to an initial condition for the enthalpy field in the wellbore and appropriate pressure and enthalpy and boundary conditions, Eq. (15) can be solved in conjunction with the constitutive models for the heat flux (
Since the heat flux term itself depends on temperature, the solution involves an iterative sequence at each depth. Furthermore, in a transient multiphase analysis, the coupling of the transport equations with the diffusion in the formation adjacent to the wellbore can present occasional challenges with respect to the latter, as is the case with modelling transient phenomena in steam injector wells.
2.6 Single phase flow (sensible heat)
In Two-Phase flow, the temperature remains constant under an isobaric change in enthalpy. In single phase flow however, an enthalpy change is related to changes in pressure and temperature according to
where
For liquids with very low expansivity, the Joule-Thomson coefficient is invariably negative. The term “sensible heat” is used to refer to Eq. (17) since a change in enthalpy can be perceived as a change in temperature, which is not possible when the state point is inside the vapour dome of the fluid.
The sensible heat formulation can also be extended to multiphase flow in wellbores in conjunction with the so-called
where
Substitution of Eq. (19) in Eq. (15) results in the system (see Chandrasekhar [3]):
where
are the Thermal, Hydrostatic, and Frictional forcing functions respectively. If we ignore the transient term for the time being, then the 2×2 system in Eq. (20) can be inverted to yield the following expressions for the streamwise gradients of temperature and pressure as
and
where
and
For an incompressible liquid,
and the pressure gradient reduces as it should, to
Before delving into the important physical aspects of Eq. (26), it will be useful to establish the constitutive models for the heat flux and fluid shear stress, which will be presented next.
3. Constitutive models
3.1 Heat flux
The formation adjacent to a wellbore is notionally a semi-infinite cylinder. Accordingly, a true steady state is never reached. However at large times from when a well is put into operation, a notional or
where
3.2 Overall heat transfer coefficient
Consider the section of the wellbore shown in Figure 5 with multiple intervening layers between the fluid and the formation. At some notional steady state typically attained at long elapsed times after a well is put into operation, the fluxes across all of these layers are equal. In addition, this flux is also equal to the flux at the wellbore-formation interface at some
where the dimensionless time
The constant heat flux per unit length across the wellbore represented by Eq. (29)and out into the formation at some snapshot in time can also be represented in terms of a fluid to formation temperature difference with the use of an Overall Heat Transfer Coefficient as
Eliminating the flux
Eq. (32) considers the following phenomena.
forced convection in the conduit,
thermal resistances offered by all of the intervening wellbore layers,
thermal resistance at the wellbore-formation interface.
It is often convenient in wellbore heat transfer analysis to work with an overall
where the overall conductance is the reciprocal of the term in brackets in Eq. (32).
3.3 Natural convection in fluid-filled annuli
The thermal conductivity in each wellbore layer depends on the medium of the layer. In the case of tubulars and cemented sections, the thermal conductivity may be regarded as constant. Typical values for steel and cement are 45 W/m-K and 1 W/m-K, respectively. When the layer consists of a fluid however, it is subject to natural convection that must be considered in the analysis. Therefore, the conductivity of a fluid layer as used in Eq. (32) should be replaced by an equivalent thermal conductivity
The natural convection correlation used in this context is an extension of the one proposed by Dropkin and Sommerscales [14] as suggested by Willhite [5] such that the equivalent conductivity
where the Grashof and Prandtl numbers are defined as
and
where in the interest of keeping with the traditional nomenclature used in the literature, the term
3.4 Shear stress
For flow in a conduit, the frictional resistance is expressed as a shear stress per unit distance in the streamwise gradient that is related to the flow velocity according to the Darcy–Weisbach model
where the friction factor
4. Steady state temperature profiles
Consider the scenario depicted in Figure 6, in which fluid enters a vertical wellbore from a reservoir at a fixed temperature
Dimensionless streamwise coordinate, and fluid and geothermal temperatures can be defined according to
Substitution of Eqs. (28) and (38) for the heat flux and shear stress into Eq. (26) and rearranging, results in the compact form
where readers familiar with classical heat exchanger analysis will identify the coefficient of the temperature differential as the
which as noted above can be expressed as the reciprocal of a7 Peclet Number. The dimensionless
Note that the dimensionless entity in parenthesis within the expression for
Subject to the boundary condition above, the solution of Eq. (41) is
For
The impact of the Number of Transfer Units is shown in Figure 8, and shows that even in the absence of frictional heating, near-isothermal conditions in the wellbore can be achieved as the Number of Transfer Units number becomes very small. In fact, in the limit
A word of caution is in order here. The phenomenon of the arrival temperature exceeding the bottomhole temperature as evidenced in Figure 7 is associated only with liquids that almost always have a Negative Joule-Thomson coefficient
5. Transient heat transfer in wellbores
Thermal transients in a wellbore are characterised by the fluid exchanging heat with the surrounding formation at a rate that evolves in time. Therefore, there are two adjacent coupled problems that need to be considered – the transient transport equation in the wellbore conduit of radius
With the assumption of an incompressible fluid, the transient transport equation can be extracted from Eq. (20) as
subject to the same boundary condition as in the steady state case i.e.,
The temperature at the interface between the wellbore and the formation is not known a-priori, but constitutes one of the radial boundary conditions for the problem of diffusion in the formation. In lieu of a semi-infinite domain, we will regard the formation as a finite cylindrical domain with an outer radius far enough that geothermal conditions prevail therein at the end of the well operational time period of interest. Accordingly, the diffusion in the formation is governed by the partial differential equation
subject to the initial condition
and the boundary conditions
and
Implicit in Eq. (49) is the assumption that axial diffusion is negligible, which given the length scales of typical wellbores, is eminently justified. As a consequence, the governing equation holds at all depths along the wellbore where the thermal interaction between the wellbore and the formation is described in terms of a purely radial heat transfer mechanism.
The time and spatial coordinates variables are non-dimensionalised as
where the dimensionless time is essentially a Fourier Number, and the temperatures are normalised as before with respect to the bottomhole to surface geothermal temperature difference as
Substitution of the modified heat flux constitutive model i.e., Eq. (46), the shear stress model from Eq. (38) and the set of dimensionless variables defined by Eqs. (53) and (54) into Eq. (47) and Eqs. (48)–(52) result in the following dimensionless system of coupled equations:
where
is a Peclet number. In the context of the steady state problem, the term
is a diffusion coefficient and the frictional heating parameter
as defined above is somewhat different from that described earlier. Eq. (55) is subject to the initial condition
and the boundary condition
which must be solved in conjunction with the formation diffusion problem non-dimensionalised as
subject to the initial condition
along with the a priori unknown boundary condition at the wellbore formation interface
and the farfield boundary condition
The value of the farfield radius ratio
5.1 Solution of the transient formation diffusion problem
We start with the solution of Eq. (61) subject to the criteria of Eqs. (62)–(64) that following Ozisik [15], involves the use of Duhamel’s Theorem as is customary for problems involving time dependent boundary conditions. The radial temperature profile is not the actual entity of interest. What is necessary to facilitate the coupling of the formation diffusion problem with the fluid transport equation, is the interface flux wherein flux continuity as expressed by Eq. (46) yields in terms of non-dimensional entities
where
and the Duhamel Convolution Integral is
where the prime denotes a derivative with respect to
5.2 Solution of the transient fluid transport equation
As is the case with a large number of problems in transient heat transfer, the first step in the solution of Eq. (55) is Laplace transformation whereupon we have
Laplace transformation of the interface flux expression of Eq. (65) in conjunction with Eq. (67) and some algebra yields
where the Convolution Theorem has been used on the Duhamel Integral. Noting that the initial condition or the interface flux is the undisturbed geothermal temperature, Eq. (69) can be rearranged (see [3]) into the compact form
where
and
Substitution of Eq. (70) into Eq. (68) along with the initial condition of Eq. (59) results in the ordinary differential equation in the frequency domain
subject to the transformed boundary condition
The solution of Eq. (73) in the frequency domain is
where
and
5.3 Inversion from the frequency domain
The solution expressed in Eq. (75) in the frequency domain is not particularly useful from a practical point of view. It must therefore be inverted back to physical space using the Inverse Laplace Transform. One approach is to use the Cauchy Residue Theorem by summing the residues over all of the poles of Eq. (75). One of these poles is at the Origin.9 The remaining poles lie along the negative real axis of the complex plane and are the zeros of the denominator of the 2nd term in Eq. (76) such that
which must be solved numerically. An efficient method of doing so involves an asymptotic bracketing technique, the description of which is outside of the scope of this chapter.
The Residue Theorem while attractive from the standpoint of constituting a formal analytical solution can involve some very tedious if otherwise straightforward book-keeping in addition to the requirement of numerical evaluation of the roots of Eq. (78). A far more efficient approach is to use numerical inversion with the Gaver-Stehfest Function-Sampling Algorithm (Stehfest [16]) whereupon the temperatures in physical space are given by
where
The evolution of the temperature profiles for two cases –with and without frictional heating, is shown in Figure 10. In both cases, the Gaver-Stehfest function sampling algorithm was used in conjunction with a farfield radius ratio of 200 and 1000 Fourier modes. The Negative Joule-Thomson effect is clearly seen in the right panel of the figure for the case with frictional heating.
6. Heat transfer in circulating scenarios
Circulation constitutes an important aspect of wellbore operations. This is most commonly encountered in drilling, as well as swapping fluids and hole cleaning. In what is known as forward circulation, fluid is pumped down a drillstring and returns to the surface through the annulus, as depicted in panel (c) of Figure 3. In Reverse Circulation (panel d Figure 3), the flow directions are reversed so that colder fluid is injected down the annulus and hotter fluid returns to the surface. This is not that common in conventional wellbores, but is the primary mode of operation in geothermal wells where hot fluid returns through an insulated or partially insulated inner string known in that context as the tubing.
The thermal interactions in both scenarios are depicted in Figure 11 indicating the known boundary conditions and the a priori unknown return fluid temperatures of interest. At the bottom of the well, a matching condition stipulates that the pipe and annulus temperatures (designated by the subscripts “p” and “a”, respectively) are equal. In the simple well configuration considered, there is an inner pipe of inner radius
Invoking the previous assumptions of both incompressibility and pseudo steady state heat transfer, the governing equations describing both forward and reverse circulation can be described by the pair of equations
for flow in the pipe (denoted by the subscript “p”), and
for flow in the annulus (denoted by the subscript “a”). Note that the subscript “p” has been dropped from the specific heat since it is now used to denote the flowing stream in the inner pipe. The direction of the circulation is characterised by the parameter
at the surface inlet and the matching condition
at the bottom of the well assuming no losses as the fluid leaves one conduit and enters another. The velocities are related through mass conservation such that
The Heat Transfer terms in Eqs. (80) and (81) are
for the pipe describing the interaction between the two flowing streams and
for the annulus describing the interaction between the streams and the interaction between the annulus stream and the formation. In accordance with the formulation of the overall heat transfer conductance, we have with respect to the geometry of Figure 11 the following expressions
and
where
and
Normalising the wellbore streamwise coordinate by the length as in the previous exercises, and the pipe and annulus temperatures by the surface to well depth temperature difference as before yields the following coupled system of equations
which makes use of the fact that the normalised linear geothermal temperature is
The governing dimensionless parameters are the Number of Transfer Unit parameters
and the dimensionless frictional heating parameters
The analytical solution of Eq. (91) yields the pair of equations for the pipe and annulus temperature profiles as
and
where
The
and
The constants of integration are determined from the boundary conditions as
6.1 Forced convection in the annulus
In Eqs. (87) and (88), the terms
where
where the dimensionless bulk temperature is a function of the power law index and radius ratio, and is given by
6.2 Examples of forward and reverse circulation
For a given set of operational parameters, the intermediate calculations and evaluation of the dimensionless parameters is shown in Figure 12 which represents a case of forward circulation of an oil-based fluid in a fairly typical drilling scenario.
The circulating temperature profiles in the Drillpipe and its annulus are shown in Figure 13 for the parameters in Figure 12, but three different flowrates. It is seen that the temperature at the well TD at first decreases with flowrate as would be expected, but at higher flowrates, actually increases due to frictional heating. This is more clearly evident in Figure 14 where the TD and arrival temperatures are plotted over a range of flowrates. The inflexion point in the well TD temperature is where the negative Joule-Thomson effect surpasses the advection effect in the drillpipe. The point at which the (dashed) arrival temperature curve intersects the (solid) well TD curve is where frictional heating is significant even in the annulus.
The temperature profiles shown in Figure 15 for three different mass flow rates of water in a reverse circulating scenario correspond to a geothermal well. In this case, the inner conduit known as the tubing is assumed to be insulated as is common in geothermal wells. The well TD and arrival temperatures quickly tend to become independent of mass flow rate. The thermal power produced by a geothermal well is given by
and is plotted as a function of mass flow rate as shown in Figure 16. The arrival temperature is seen to become independent of mass flow rate at about 25 kg/sec whereupon the thermal power increases linearly. It is important to note that only a fraction of the thermal power is actually converted into electric power (often at a rate of about 15–20%) that can be transmitted to a grid. Furthermore, a portion of even this converted power has to be used to overcome the parasitic power due to frictional losses in the geothermal wellbore. The thermal power serves however as a useful metric in a parametric sensitivity analysis of a geothermal well.
The circulating thermal model developed here considers only a simple monobore well for illustrative purposes. For an extension of the methodology to a complex wellbore with multiple wellbore segments coupled via an arbitrary number of interface temperature matching conditions, the reader is referred to [9]. That study also considers curvature and tortuosity effects in deviated wells, variable lithology, multiple geothermal gradients, and the effects of fluid rheology.
7. Evaluation of wellbore and interface temperatures
7.1 Wellbore temperatures in a transient analysis
The methodologies described in the previous sections dealt with the estimation of flowing temperatures in operating and circulating scenarios. An issue of equal - if not often greater - importance is the estimation of temperatures in the intervening wellbore layers (fluid and solid) between the flow conduit and the formation. The description of a fully transient analysis wherein the transient temperatures in all layers are evaluated in tandem with the transient flowing temperature is beyond the scope of this chapter, but the interested reader is referred to [3] where such an analysis is described in near-exhaustive granularity. What will be demonstrated in what follows here is how to estimate the interface thermal conductivities and temperatures which are needed to evaluate the heat fluxes as well as the natural convection multipliers required for the estimation of the nodal thermal conductivities in fluid layers.
Consider the depiction in Figure 17 showing 3 adjacent layers designated
from which the interface thermal conductivity at the right and left interfaces with indices
where the geometric coefficients are
The interface temperatures can be expressed in terms of the geometric coefficients in Eq. (107) and the nodal conductivities as
When there is at least one fluid layer subject to natural convection, the evaluation of the interface values must be embedded in an iterative sequence within each time step. Note that in a transient analysis, the fluxes on either side of a nodal layer need not be equal, so that in general,
7.2 Wellbore temperatures in a Pseudo steady state analysis
If the transients are relegated solely to the formation and included as a flux captured at a snapshot in time, then the overall heat transfer coefficient can be calculated from Eq. (32) without any need for explicitly formulating an energy balance for each individual wellbore layer. If at least one layer is a fluid layer, then the interface temperatures are required to model the natural convection which then renders the procedure iterative. At each step of the iteration, the interface temperatures can be calculated as follows - given a value of the fluid temperature evaluated a certain iteration step, the temperature at the conduit wall is estimated from the forced convection component of the overall thermal resistance as
Subsequently the temperatures at each of the outer layers is evaluated as
Once the iteration has converged, the temperature at the layer mid radius is evaluated as
Note that in this case, since the fluxes are evaluated using interface temperature differences, there is no need to evaluate interface thermal conductivities as in the transient analysis case.
8. Conclusions
The key aspects of wellbore heat transfer cover the entire gamut of thermal energy transport mechanisms from advection/convection in wellbores, to conduction across wellbore tubular and cement layers, to natural convection in trapped annuli, and diffusion in semi-infinite domains from a wellbore to the surrounding formation layer. A term by term derivation of the transport equation using the enthalpy formulation is crucial to understanding the relative importance of the various energy terms.
The mathematical models developed are applicable to a very wide range of wellbore operations, from production and injection to circulation. While thermal transients can generally be ignored for long term production scenarios, significant errors can result from ignoring them in shorter injection and circulating scenarios. When the flowrates exceed a certain threshold, the seemingly counter-intuitive temperature profiles can be explained in terms of the Negative-Joule-Thomson effect.
The most efficient approach to solving transient wellbore heat transfer problems is by Laplace transformation of the governing equations. An efficient method of inversion back to the physical domain is with the use of the powerful Gaver-Stehfest function sampling algorithm.
Appendix
The solution to the one dimensional radial transient diffusion problem defined by Eq. (61) with a constant boundary condition (
in which the radial eigenfunction is
where
The Fourier-Bessel coefficients are
The flux at the inner boundary is the entity of interest, so that the coefficient
The coefficients in the Gaver Summation known as Stehfest accelerators are defined as
and are tabulated below for the first few even orders of the method.
k | Stehfest accelerators | ||||
---|---|---|---|---|---|
2 | 4 | 6 | 8 | 10 | |
1 | 2 | −2 | 1 | −3.333E−01 | 8.333E−02 |
2 | −2 | 26 | −49 | 4.833E+01 | −3.208E+01 |
3 | −48 | 366 | −9.060E+02 | 1.279E+03 | |
4 | 24 | −858 | 5.465E+03 | −1.562E+04 | |
5 | 810 | −1.438E+04 | 8.424E+04 | ||
6 | −270 | 1.873E+04 | −2.370E+05 | ||
7 | −1.195E+04 | 3.759E+05 | |||
8 | 2.987E+03 | −3.401E+05 | |||
9 | 1.641E+05 | ||||
10 | −3.281E+04 |
Nomenclature
Flow Area (m2) | |
Joule-Thomson Coefficient (K-m2/N) | |
Specific Heat at Constant Pressure (J/kg-K) | |
Hydraulic Diameter (m) | |
Total Specific Energy (J/kg-K) | |
Friction Factor | |
Acceleration due to Gravity (m2/s) | |
Specific Enthalpy (J/kg) / heat transfer coefficient (W/m2-K) | |
Thermal Conductivity (W/m-K) | |
Conduit Length (m) | |
Mass Flow Rate (kg/s) | |
Power Law Index (dimensionless) | |
Nusselt Number (dimensionless) | |
Nusselt Number (dimensionless) | |
Pressure (N/m2) | |
Prandtl Number | |
Prandtl Number (dimensionless) | |
Reynolds Number (dimensionless) | |
Heat Fux per Unit Area (W/m2) | |
local radius (m) | |
Interface Radius (m) | |
Conduit Radius (m) | |
Wellbore Outer Radius (m) | |
Reynolds Number (dimensionless) | |
Reynolds Number (dimensionless) | |
Laplace variable in Frequency Domain | |
time (s) | |
Temperature (K) | |
Specific Internal Energy (J/kg) | |
Overall Heat Transfer Coefficient (W/m2-K) | |
Overall Heat Transfer Conductance (W/m-K) | |
Flow Velocity (m/s) | |
True Vertical Depth (m) | |
Streamwise Coordinate (m) | |
Isobaric Volume Expansivity(1/K) | |
Isothermal Compressibility (m2/N) | |
Annulus Radius Ratio () | |
Directional Index | |
Dimensionless Formation Temperature | |
Dimensionless radial Coordinate | |
Kinematic Viscosity (m2/s) | |
Dimensionless Fluid Temperature/ Wellbore Local Inclination Inclination | |
Fluid Density (kg/m3) | |
Dimensionless Time (Fourier Number) | |
Wall Spear Stress (Pa) | |
Dimensionless Streamwise coordinate | |
Annulus | |
Formation | |
Geothermal | |
Inner Surface | |
Outer Surface | |
Pipe | |
Wellbore |
References
- 1.
Lesem LB, Greytok F, Marotta F, McKetta JJ. A method of calculating the distribution of temperature in flowing gas wells. Transactions on AIME. 1957; 210 :169 - 2.
Moss JT, White PD. How to calculate temperature profiles in a water-injection well. Oil and Gas Journal. 1959; 57 (11):174 - 3.
Chandrasekar S. Revisiting the classical problem of transient temperature prediction in complex Deepwater wellbores with a new semi-analytical approach. In: SPE/IADC Paper 199653. Galveston, TX; 2020 - 4.
Ramey HJ. Wellbore heat transmission. In: SPE Paper 96. 1962 - 5.
Wilhite GP. Over-all heat transfer coefficients in steam and hot water injection wells. In: SPE Paper 1449. Denver, CO; 1966 - 6.
Raymond L. Temperature distribution in a circulating drilling fluid. In: SPE Paper 2320. Austin, TX; 1969 - 7.
Wooley GR. Computing downhole temperatures in circulation, injection and production wells. Journal of Petroleum Technology. 1980; 1980 :1509-1522 - 8.
Wu Y-S, Pruess K. An analytical solution for wellbore heat transmission in layered formations. SPE Reservoir Engineering Journal. 1990; 1990 :531-538 - 9.
Chandrasekhar S, Sathuvalli UB, Suryanarayana PV. Circulating temperatures in complex wellbores: A quasi-exact solution. In: SPE-IADC Bangkok paper 191033. 2018 - 10.
Hasan AR, Kabir CS. Fluid Flow and Heat Transfer. 1st ed. Richardson, TX: Society of Petroleum Engineers; 2002 - 11.
Mitchell RF, Sathuvalli UB. Chapter 10 in Advanced drilling and well technology. In: Heat Transfer in Wells – Wellbore Thermal and Flow Simulation. Richardson, TX: SPE; 2009 - 12.
Jones RR. A novel economical approach for accurate real-time measurement of wellbore temperatures. In: SPE-ATCE Paper 15577. New Orleans, LA; 1986 - 13.
Aeschliman DP, Meldau RF, Noble NJ. Thermal efficiency of a steam injection test well with insulated tubing. In: SPE Paper 11735. Ventura, CA; 1983 - 14.
Dropkin D, Sommerscales E. Heat transfer by natural convection in liquids confined by two parallel plates which are inclined at various angles with respect to the horizontal. Journal of Heat Transfer. 1965; 87 (1):77-82 - 15.
Ozisik MN. Heat Conduction. 2nd ed. Hoboken, NJ: John Wiley & Sons; 1993 - 16.
Stehfest H. Algorithm 368: Numerical inversion of Laplace transforms. Communications of the ACM. 1970; 13 (1):47-49 - 17.
Chandrasekhar S. Annular Couette–Poiseuille flow and heat transfer of a power-law fluid – analytical solutions. Journal of Non-Newtonian Fluid Mechanics. 2020; 286
Notes
- Wellbore casings (see Figure 1) are hollow cylinders with diameter to wall thickness ratios between 8 and 40. These hollow cylinders are known as Oil Country Tubular Goods (OCTG) or tubulars.
- A joint of VIT contains a set of concentric pipes welded together at the ends of the shorter tube. The annular gap between the pipes is evacuated to ∼20 millitor (2.6 Pa).
- Note that the volume expansivity is typically defined as the normalised density derivative with respect to temperature.
- Such as NIST’s REFPROP.
- Note that Ramey’s solution is not accurate for small values of the Fourier Number. An expression for Fτ that is valid over the entire spectrum of Fourier Numbers is provided in [3].
- This rather unfortunate reusing of symbols in context is somewhat typical of heat transfer analysis, when a multitude of thermal phenomena are considered. Note that α can refer to both volume expansivity and thermal diffusivity.
- The use of the article a in “a Peclet Number” as opposed to the Peclet Number is because there are several flavours of this entity relating the magnitudes of the advective to thermal diffusive fluxes.
- For an analysis that considers the thermal transients in all layers of a complex wellbore, see [3].
- There is also a double-pole at the origin on account of the s−2 term in Eq. (76).
- For the very common Dittus-Boelter correlation, the values are C=0.023, m=0.8, and n=0.33.