Open-access Development of an Algorithm to Determine the Most Efficient Trajectories in Directional Wells

Abstract

We present the development of an algorithm designed to determine the most efficient trajectories for directional wells, a key method used in oil and gas extraction. The primary goal is to optimize the trajectory by minimizing the tension and torques applied to the drill column during drilling operations while ensuring the well stability and operational efficiency. The algorithm analyzes Type I well trajectories, focusing on identifying the best combination of trajectory radius, section length, and inclination angles. To achieve this, the model is based on fundamental principles of mechanics and takes into account factors such as well geometry and the neutral buckling point to define the drill collar length required to avoid structural failures. This algorithm has potential applications in academic research and industry to improve directional drilling strategies, as it can also be used as an educational tool in engineering and applied physics courses.

Keywords:
Classical Mechanics; Fluid Mechanics; Directional Drilling


1. Introduction

Although new forms of energy production are currently being developed and increasingly used, oil and natural gas are still very important resources and will continue to be exploited in significant quantities in the coming decades [1].

The study of more efficient ways to extract oil and gas is important for scientific research in areas such as fluid mechanics and thermodynamics, as well as in the industry, concerning issues like economic feasibility, determining the necessary machinery for the operation, worker safety and minimizing environmental impacts.

In this context, directional drilling is a fundamental strategy to achieve more efficient access to some oil and gas reservoirs. A directional well is one whose trajectory is deliberately controlled to reach a predetermined target that is not directly below the starting point, meaning the drilling path does not follow a purely vertical trajectory.

Directional wells have many applications in the oil and gas industry. For example, if it is desired to reach an oil reservoir located below a mountain or a region where the local geology is composed of rocks that are particularly hard to drill, it is possible to choose a starting point horizontally displaced from the target and reach the reservoir through directional drilling, avoiding digging all the mountain or the harder rocks. In addition, directional wells are used in deep-sea exploration to reach oil and gas reservoirs below the ocean floor and access a wider area from a single oil platform [2].

To perform directional drilling efficiently, it is necessary to know the geological characteristics of the region and the reservoir, but that alone is not enough. During drilling, it is important to ensure the stability of the well. Drilling is carried out using drills that rotate to penetrate the ground, so the physical analysis must take into account all relevant forces and torques over the structure involved in the drilling process to avoid accidents such as the drilling column breaking or buckling. It is also possible that the column gets stuck in the midst of the drilling process [3]. The tension and torque on the drill column are applied to it using a device called a top drive. In addition to the structure responsible for drilling, the pressure in the drilled well must be balanced with the pressure of the surrounding rocks. During well drilling, the bit simultaneously injects a fluid with properties such as density, viscosity, and thermal conductivity sufficient to maintain pressure inside and outside the well in balance, preventing it from collapsing or causing fractures in the surrounding rocks [4].

To study this topic, various models are developed to calculate the conditions under which drilling should be performed to maximize efficiency and ensure the stability of the well. In this work, we develop a model that determines the forces and torques required in directional drilling and identifies, based on the coordinates of the initial drilling point and the target point to be reached, the most efficient directional trajectory.

Based on the model and algorithm, the goal is ultimately to create software that can be used both in research and as a didactic tool in graduate courses to study directional drilling physics. In this sense, the proposed model also offers educational value, enabling its use by instructors in classroom settings to illustrate practical examples, or to propose individual or group assignments. It allows students to explore how mechanical principles govern drilling behavior under different trajectory conditions, serving as a hands-on learning tool for understanding applied physics concepts in engineering contexts.

2. Directional Drilling

There are several types of directional well trajectories. The most common trajectory is Type I, also known as build and hold or slant , where after an initial vertical section and a curved deviation at a certain angle, drilling continues in a straight line until it reaches the final target. The Type II trajectory or ‘S-well’ corresponds to drilling with an initial deviation where the drilling becomes inclined and, after a straight drilling section, a second deviation decreases the inclination of the drilling, potentially making it vertical again in the final section until it reaches the final target. The Type III trajectory, also known as the continuous build-up trajectory or ‘J-well’ , has an initial vertical section followed by a second section of continuous increase in inclination until it reaches the final target. These trajectories are presented in Figure 1 [5].

Figure 1
Directional drilling types.

Note that the three well types described above have trajectories contained in a plane and can be represented through two-dimensional functions. In reality sometimes the drilling can pass by an unforeseen deviation and is also needed design corrections and different trajectories. The development of new well designs and algorithms to simulate these designs faster and more efficiently are an active study area currently [6].

In this work, we present the first version of the algorithm under development, and therefore the analysis of the problem will be limited to Type I wells only since it is the easiest trajectory to model and the most commonly used in the oil industry.

A Type I well has its trajectory divided into three well-defined sections. The first section consists of a straight vertical line, where the drilling begins. Next, the second section is a curve with a constant radius of curvature where the change in trajectory direction occurs. Finally, the third section is an inclined straight line with respect to the vertical axis that ends when drilling reaches the desired final point.

For Type I wells, the inclination angle must be greater than or equal to 15°, as it is difficult with current technology to have precise control over the well trajectory after a slight deflection. On the other hand, the maximum inclination should not exceed a limit between 50°−60°, depending on the characteristics of the well and the soil drilled. For wells with an inclination equal to or greater than this range, drilling begins to occur more slowly and a large amount of weight is necessary in the drill column to generate enough pressure on the bit to perform the drilling [7].

Figure 2 provides a detailed representation of a Type I drilling. The point P0 corresponds to the starting point of the column. This point is usually chosen as the origin of the coordinates. P3 corresponds to the end point of drilling, while points P1 and P2 correspond to the interfaces between the different sections of the well. The quantities l1, l2, and l3 are the lengths of the respective three sections of the well, θ is the well inclination angle, and Rc is the second section radius of curvature.

Figure 2
Type I well. The three sections of the drilling are identified by different color segments.

Considering (x0; y0) = (0; 0), the coordinates of P3 can be expressed as a function of the other quantities through the equations

(1a) x 3 = l 2 [ 1 − cos ( θ ) ] + l 3 sin ( θ )
(1b) y 3 = l 1 + l 2 sin ( θ ) ] + l 3 cos ( θ )

Second section length can also be expressed as a function of the angle, as l2 = Rcθ. Thus, for a drilling with known initial and final points, by fixing the curvature radius and the first section length, (1) becomes a system with two equations and two variables (l3, θ).

The algorithm developed in this work uses the coordinates of the points P0 and P3 as initial parameters and, for different values of l1 and Rc, it obtains the corresponding values of l3 and θ, allowing it to plot the entire trajectory.

2.1. The drill column

The mechanism used to perform well drilling, called the drill column, has a highly complex structure. In addition to the drill bit at its end and the main column, there are various sensors, stabilizing mechanisms, and other support tools to perform the drilling.

In this work, we consider a simplified version of the structure for analysis. The drill column can be simplified as a cylindrical annular tube with the bit at its lower end. The annular structure is divided into three sections that exhibit differences in their respective thicknesses (considering the internal and external diameter) and linear densities.

Most of the drill column length is composed of regular drill pipes, which are made of a metal alloy, flexible and strong enough for the column to be flexed and for the forces and torques to be safely transmitted to the drill bit.

At the lower end of the drilling, near the drill bit, there are the drill collars. Much thicker and with a linear density much higher than that of the drill pipes, their main purpose is to add weight to the drill bit during drilling and protect the column from possible breakage or buckling in the region where it is most vulnerable.

Between the two sections, there is an intermediate zone with transitional characteristics components called heavyweight drill pipes. This serves primarily as a transition section that reduces the torque gradient and the buoyancy effects on the interface between different sections, minimizing wear and preventing accidents in the region.

All sections have an annular shape in such a way that the drilling fluid is introduced into the well through the inside of the column, coming into contact with the well walls from the bottom. Their internal diameter is not necessarily the same, but in this simplified model we will consider the three zones with the same internal diameter, differing only in their external diameter and linear density, as presented in Figure 3.

Figure 3
The three different sections by thickness in the drill column. The brown lines represent the walls of the well.

At the top end of the drill column there is a mechanism called the top drive. This must apply the necessary forces and torques to the column to perform the drilling in the desired manner. It is important to note that in the cases discussed in this work, in the deepest region of the well, the weight of the column elements themselves generates more than the necessary pressure on the drill bit to penetrate the soil. So, the tension applied by the top drive generally serves to mitigate the effect of the weight in order to control the trajectory of the well, the drilling rate, avoid excessive wear of the drill bit, or, in the worst case, avoid critical accidents.

3. The Physical Model

The physical model presented in this work corresponds to the calculations performed in the first version of the algorithm to determine the best trajectories of the directional wells.

Here, several simplifications are made. Only Type I wells are considered, the characteristics of the rock formation are uniform, the well diameter is constant along the drilling, and the coefficient of friction between the pipes and the rock formation is also constant. The drilling rate during the process is also considered uniform, so the drill bit moves at a constant speed and rotation, which implies that the system is in equilibrium of forces and torques.

This version of the algorithm presents the most efficient drillings in this configuration considering three main aspects:

  1. For which trajectory is the smallest tension value at the top drive required;

  2. For which trajectory is the smallest torque value at the top drive required;

  3. For each trajectory what is the smallest drill collar section required to avoid buckling in the drilling column.

An important aspect to be considered here is that after drilling, the drill bit must be removed from the well prior to the beginning of oil extraction. However, during the removal of the column, it no longer needs to be in rotation. In this context, the maximum tension at the point that holds the column will occur at the initial moment of column removal, while the maximum torque occurs at the final moment of the well drilling.

3.1. Tension on the drill column

As previously described, the maximum tension on the column occurs when it is removed from the well. However, it is also important to study the forces acting on the column during drilling in order to subsequently analyze the maximum torque on the column. Thus, in this section, both cases (column descending and ascending) are addressed.

To maintain the drilling rate and the speed constant, the system must be in force equilibrium. Since soil characteristics are considered uniform, the rock resistance force to drilling will be constant, in the drilling direction but in the opposite sense.

Besides this, other forces that need to be considered in the inclined section of the drill column are weight, the buoyancy of the drilling fluid, the normal force of the well perpendicular to its lower wall, the friction force and the fluid’s viscous force. However, in this initial model, viscosity will be neglected as previous studies indicate that its effect is considerably inferior to the other forces [8].

Figure 4 illustrates the forces acting on the drill column during descent. Here, as the objective is to illustrate the point of maximum tension, the figure represents the drilling in the vicinity of the final point of drilling, the sections with heavyweight drill pipes and drill collars are fully inserted in the inclined section of the column.

Figure 4
Forces applied on the inclined section of the drill column while descending. θ is the well inclination in relation to the vertical axis.

In this figure W→3 represents the weight of section 3, R→ is the soil resistance due to drilling, T→3 is the tension in the head of the third sector of the column, F→f⁢r is the friction force and all other forces are components of the drilling fluid buoyancy. F→I⁢c and F→I⁢h are the forces due the fluid pressure at the interface between the drill collars and the heavyweight drill pipes and between the regular drill pipes and the heavyweight drill pipes, respectively.

F→n is the buoyancy component in the normal direction, while N→3 is the resultant normal force of section 3 applied by the walls. Let E→3 be the total buoyancy force of the fluid on section 3 and we can write the relation:

(2) F n = E 3 sin θ

The normal force over section 3 is then

(3) N 3 = ( W 3 − E 3 ) sin θ

Here, the elements without arrows correspond to the force magnitudes. Finally, considering that the forces on the column are in equilibrium in the drilling direction:

(4) T 3 + R + F b + F f r = W 3 cos θ + F I c + F I h

The friction force is the product of the drag coefficient μ and the normal force. Isolating the tension on the column:

(5) T 3 = W 3 ( cos θ − μ sin θ ) + μ E 3 sin θ + F I c + F I h − F b − R

Let Dok be the outer diameter of the k-th section:

(6a) F I c = ρ f g y I c π ( D o c 2 − D o h 2 ) 4
(6b) F I h = ρ f g y I h π ( D o h 2 − D o p 2 ) 4

Here ρf is the drilling fluid density, yIc and yIh are the depth of each interface and g the gravity acceleration.

Finally, (5) provides the maximum tension on the head of section 3 during drilling. To find the value of this tension when the column is ascending, it is necessary to alter the formula, as in this case, the friction force will be in the opposite direction and there is no soil resistance reaction. Then, for the ascending drilling column:

(7) T 3 + F b = W 3 cos θ + F I c + F I h + F f r
(8) T 3 = W 3 ( cos θ + μ sin θ ) − μ E 3 sin θ + F I c + F I h − F b

From the value found for T→3, it is possible to analyze the tension behavior in the curved section of the column. Let T→2 be the tension at the head of the second section, Figure 5 indicates the forces acting on the column while ascending.

Figure 5
Forces applied on the curved section of the drill column pressed against the upper wall while ascending. θ is the well inclination due the curved section.

The column is pressed against the upper wall due to the tension on the column, so the normal force points in the opposite direction. Still, that is not the only case that needs to be considered. First, since the tension applied to the column serves to attenuate the effect of the weight of its elements during drilling, this means that its value cannot exceed the weight of the column during descent.

However, to penetrate the soil, the drill bit must be pressed, which indicates that in its vicinity the column experiences compression rather than tension. Given the way that force T→ is defined here, when analyzing its value at a point where the column is under compression, it is expected to be represented by a negative number, which indicates a force in the opposite direction of the vectors represented in the figures. If in the curved section the column is under compression or at tension values insufficient to compensate for the weight component in the direction of the normal force, the column will be pressed against the lower wall of the well.

Furthermore, the analysis of the curved section cannot be performed in its entirety as if all its parts necessarily behaved the same way. As the tension value changes along the section, it is possible that in one part the column is pressed against the lower wall and in another part against the upper wall. Therefore, the forces need to be evaluated point by point along the section, as indicated in Figure 6 for a differential element of the column.

Figure 6
Forces applied on a differential element in the curved section of the drill column pressed against the upper wall while descending.

Since the model assumes that the drilling is performed at a constant speed, the forces on the element in Figure 6 are in equilibrium. Using the t and n, the tangent and normal axes, as references to write the force equations, for 0 < θ′ < θ we can write:

(9a) T θ ′ − d θ ′ 2 cos d θ ′ 2 + d F f r = T θ ′ − d θ ′ 2 cos d θ ′ 2 + d W 2 cos θ ′
(9b) T θ ′ − d θ ′ 2 + T θ ′ − d θ ′ 2 sin d θ ′ 2 = = ( d W 2 − d E 2 ) sin θ ′ − d N

Here (9a) is the tangent axis equation while (9b) corresponds to the normal axis equation.

The Taylor series expansion up to the first order of the following terms can be written as

(10a) T θ ′ ± d θ ′ 2 = T θ ′ ± d θ ′ 2 T ′ ( θ ′ ) + 𝒪 ( θ ′ 2 )
(10b) sin d θ ′ 2 = d θ ′ 2 + 𝒪 ( θ ′ 2 )
(10c) cos d θ ′ 2 = 1 + 𝒪 ( θ ′ 2 )

Where T′(θ′) is the first derivative of the tension. Then, replacing these expansions up to 𝒪(θ′) on (9b) we get:

(11) d N = T ( θ ′ ) d θ ′ − d W 2 − d E 2 sin θ ′

As dFfr = μ|N|, the sign of normal force changes (9a). For dN > 0, the column is pressed against the upper wall and up to 𝒪(θ′) the equation of the tangent axis becomes

(12) μ d N = T ′ ( θ ′ ) d θ ′ + d W 2 cos θ ′

In order to progress further, we need to consider the characteristics of the drill column. Let λp be the linear density of the drill pipes it is possible to write

(13) d W 2 = λ p g R c d θ ′ = ρ p S p g R c d θ ′

Here, ρp is the density of the drill pipes and Sp its cross section. Now, substituting the expressions for dN, weight and buoyancy in (12), we find:

(14) μ T ( θ ′ ) − 1 − ρ f ρ p λ p g R c sin θ ′ = T ′ ( θ ′ ) + λ p g R c cos θ ′

Replacing A = λpgRc and reordering the terms results in the differential equation

(15) T ′ ( θ ′ ) − μ T ( θ ′ ) = − A cos θ ′ + 1 − ρ f ρ p sin θ ′

For this equation, the particular solution Tp(θ′) can be written as

(16) T p ( θ ′ ) = B 1 sin θ ′ + B 2 cos θ ′

The constants B1 and B2 are given by:

(17a) B 1 = A 1 + μ 2 μ 2 1 − ρ f ρ p − 1
(17b) B 2 = A μ 1 + μ 2 2 − ρ f ρ p

The homogeneous solution is a simple exponential function and the tension can be expressed as:

(18) T ( θ ′ ) = B 1 sin θ ′ + B 2 cos θ ′ + K e μ θ ′

The constant K is determined from the boundary conditions.

On the other hand, if dN < 0 the column is pressed against the lower wall. Then Ffr = −μdN and (9b) becomes

(19) − μ d N = T ′ ( θ ′ ) d θ ′ + d W 2 cos θ ′

Applying the same process performed with (12) to this equation, we find

(20) T ′ ( θ ′ ) + μ T ( θ ′ ) = − A cos θ ′ − 1 − ρ f ρ p sin θ ′

The general solution for this equation is

(21) T ( θ ′ ) = C 1 sin θ ′ + C 2 cos θ ′ + K * e − μ θ ′

Here, K* is determined by boundary conditions, while C1 and C2 are given by:

(22a) C 1 = A 1 + μ 2 μ 2 1 − ρ f ρ p − 1
(22b) C 2 = A μ 1 + μ 2 2 − ρ f ρ p

To determine the boundary conditions, three cases should be considered:

  1. The column is pressed against the upper wall in all curved section.

  2. The column is pressed against the lower wall in all curved section.

  3. The column is pressed against the upper wall from 0 < θ′ < θc and pressed against the lower wall for θc < θ′ < θ where θc is a critical angle such as 0 < θc < θ.

For the first case, the tension in the curved section is only described by (18) and K is determined by the boundary condition T(θ) = T3.

For the second case, the tension in the curved section is only described by (21) and K* is determined by the boundary condition T(θ) = T3.

For the third case, the tension in the curved section is described by (18) for 0 < θ′ < θc and by (21) for θc < θ′ < θ. Here, two conditions are needed to determine K and K*. As in previous cases T(θ) = T3 and the second condition is that (18) and (21) must have the same value for θ′ = θc, which can be simplified to:

(23) B 2 cos θ c + K e μ θ c = C 2 cos θ c + K * e − μ θ c

Notice that the first terms are not necessary in the equation because B1 = C1. In all three cases, from the functions utilized and the boundary conditions, it is possible to determine the tension at the head of the second section using T(θ′ = 0) = T2.

To proceed with the analysis of the curved section, it remains to determine T2 for the ascent. Here, the normal axis equation is the same from the descending column, but as the friction force points in the opposite sense, the tangent axis equation needs to be changed for

(24) T θ ′ − d θ ′ 2 cos d θ ′ 2 = T θ ′ + d θ ′ 2 cos d θ ′ 2 + d W 2 cos θ ′ + d F f r

Since comparing (24) and (9a) the only difference is the side of friction force and previously we had already solved the corresponding differential equation for positive and negative normal force, it is possible to use (18) and (21) also as solutions of the ascending column. However, since the signs are reversed, here (18) corresponds to the solution when the column is pressed against the lower wall, while (21) is the solution when the column is pressed against the upper wall.

It lasts to determine the forces involved in the vertical section of the column. Here, the friction force can be neglected since we consider that the column is in the middle of the well and is not being pressed to any side. Then, the only forces to be considered are the tensions and weight as illustrated in Figure 7.

Figure 7
Forces applied on the vertical section of the drill column.

In this case, since the friction force is not relevant, the equilibrium equations are the same for the ascending and descending columns. For the magnitude of the tension applied by the top drive at the bit of the column T we can write then

(25) T = T 2 + W 1

Here, W1 is the weight of the vertical section, which can be expressed as a function of its length and density.

Finally, by unifying the analysis of the three sections, it is possible, from the force applied to the rock to maintain the drilling at a constant rate, to determine the tension that the top drive must apply over the column during descent. Similarly, it is also possible to determine the necessary tension during the ascent so that the column can be removed at a constant rate.

3.2. Torque on the rotating column

The main factor responsible for generating torque on the column is friction with the well walls and, as used for the tension determination, viscous effects will be neglected. The drill column does not need to rotate while being pulled out, which means that the analysis can be restricted only to the downward movement.

The torque generated by any force is given by the cross product between the force and the distance between the point where the force is applied and the rotation axis. As stated previously |F→f⁢r|=μ⁢|N→|. This means the friction coefficient for column rotation in this work is considered the same as the one used for tension calculation. This does not necessarily hold true in all cases, as these are movements of different nature. However, here the drill string slides against the well wall while rotating, so it is not appropriate to use the rolling friction coefficient, but rather the kinetic friction coefficient, as in the tension study. Consequently, corrections to this value are of minor significance and will be disregarded in this study.

Considering the friction orthogonal to the drill column:

(26) | τ → f r | = | r → × F → f r | = μ | r → | | N → |

Here τfr is the friction torque. Since the friction with the walls was neglected in the analysis of the vertical section, only the curved section and the inclined section will be responsible for determining the total torque.

First, considering τ2 the torque in the curved section, as in the tension calculation, it is necessary to evaluate the differential torque point by point and integrate over the entire curve. The differential normal force is given by (11). However, it is necessary to evaluate the signal of the normal force at each point.

If dN > 0, the tension is represented by (18) while for dN < 0 the tension corresponds to (21). Therefore, three distinct scenarios must also be considered.

The first case is where dN > 0 in all curved section. From equations (11), (18) and (26) we find

(27a) d τ 2 = μ D o p 2 B ¯ sin θ ′ + B 2 cos θ ′ + K e μ θ ′ d θ ′
(27b) B ¯ = B 1 − 1 − ρ f ρ p λ p g R c

Where |r→|=Do⁢p2. Integrating from θ′ = 0 to θ the total torque of the curved section is given by

(28) τ 2 = μ D o p 2 B ¯ ( 1 − cos θ ) + B 2 sin θ + K μ ( e μ θ − 1 )

If dN < 0 in all curved sections, from equations (11), (21) and (26) the differential torque is expressed as

(29a) d τ 2 = − μ D o p 2 C ¯ sin θ ′ + C 2 cos θ ′ + K * e − μ θ ′ d θ ′
(29b) C ¯ = C 1 1 − ρ f ρ p λ p g R c

Here, comparing (27a) and (29a) the latter has an extra minus sign since |dN| = −dN. In this case the total torque of the curved section is

(30) τ 2 = μ D o p 2 C ¯ ( cos θ − 1 ) + C 2 sin θ + K * μ ( e − μ θ − 1 )

Finally, the last scenario is where dN > 0 for 0 < θ′ < θc and dN < 0 for θc < θ′ < θ. To obtain the total torque, both differential torque expressions should be integrated in different intervals. Let τ2> be the integration of (27a) from 0 to θc and τ2< the integration of (29a) from θc to θ we arrive in

(31a) τ 2> = μ D o p 2 B ¯ ( 1 − cos θ c ) + B 2 sin θ c + K μ ( e μ θ c − 1 )
(31b) τ 2< = μ D o p 2 C ¯ ( cos θ − cos θ c ) + C 2 ( sin θ − sin θ c ) + K * μ ( e − μ θ − e − μ θ c )
(31c) τ 2 = τ 2 > + τ 2 <

For the inclined section θ is fixed, but the different densities of heavyweight drill pipes and drill collars must be considered. The total torque τ3 can be written as the sum of the torques of drill collars (τ3c), heavyweight drill pipes (τ3h) and regular drill pipes (τ3p).

(32) τ 3 = τ 3 c + τ 3 h + τ 3 p

From (3) and expanding the weight and buoyancy in function of the corresponding lengths and linear densities, the normal force for each sector is given by

(33a) N 3 c = 1 − ρ f ρ c λ c g l c sin θ
(33b) N 3 h = 1 − ρ f ρ h λ h g l h sin θ
(33c) N 3 p = 1 − ρ f ρ p λ p g ( l 3 − l h − l c ) sin θ

As the diameter of each section is different, to determine the torque of each section it is necessary consider that:

(34a) τ 3 c = μ D o c 2 N 3 c
(34b) τ 3 h = μ D o h 2 N 3 h
(34c) τ 3 p = μ D o p 2 N 3 p

Finally, the total torque for the inclined section is given using the results of (32–34) and the total torque required from the top drive is

(35) τ = τ 2 + τ 3

3.3. The neutral buckling point

Buckling is the term used for the lateral deflection of a column due to the axial compressive forces at a certain section of this column.

When deeper oil wells began to be explored, buckling became an important issue to consider. Due to this, since the mid-20th century there have been various studies on the topic aimed at determining the conditions under which a column will or will not buckle during the well drilling.

An important concept in these studies is the determination of the neutral buckling point (NBP). This point (actually, a cross section) determines the region of the column where buckling can occur, so that above this point the column will not buckle. However, below the NBP, if the section is not rigid and does not offer enough resistance, the column will buckle.

To avoid buckling, the column below the neutral point must be reinforced, thicker, and resistant to the forces exerted on it. In this context, in actual drilling, only the drill collars should be located below the NBP. Therefore, knowing the position of the NBP is essential to determine the minimum length that the drill collar section must have to prevent buckling.

In this algorithm, a well-known model is used to determine the position of the NBP. This model, developed in the 1950s by Lubinsky and Klinkenberg in different ways, is still used in well drillings today. The general argument is that the column will not buckle where the axial tension is bigger than the average of the radial and tangential tensions. However, its derivation involves advanced concepts of mechanics of materials that are beyond the scope of this work and are not presented here [9,10,11,12]. Studies concerning buckling in drilling columns to improve the models used are still being conducted [13,14,15].

For vertical drilling, db is the distance from the NBP to the drill bit point of contact with the rock. This distance is obtained using the following relation:

(36) d b = R 1 − ρ f ρ c g λ c

In the case of directional drilling, the calculation of the NBP position must take into account the inclination of the well. If θ is the well inclination angle the distance of the NBP to the drill bit is

(37) d b = R 1 − ρ f ρ c g λ c cos ( θ )

However, in the real case, it is necessary to have an extra safety margin to prevent accidents due to an unexpected element while drilling. Therefore, it is common to consider for the drill collar section the length equal to db multiplied by a safety factor f.

Another important factor to consider is that the drill collar section is made up of fixed-size segments positioned sequentially. In this work, we consider that each segment has 9m length because that is the most common industry standard for it [16].

In this work we consider f = 1,2 (20% security margin) and the parameter z is defined such that:

(38) z = f d b 9

Finally, the number of segments considered in each case is the smallest integer greater than z.

4. The Algorithm

The algorithm was developed in Python 3, using Visual Studio Code as the main tool to organize folders and integrate the functions of the codes. Initially, the algorithm presents an interface to input the desired conditions and data entry, along with predefined variables based on industry standards, to prepare for the necessary calculations.

Subsequently, the user or system is required to input the parameters that have not yet been defined for the model application. These include the start and target coordinates for drilling, the densities and diameters of the pipes involved in the process, as well as the specifics of the drilling fluid in the operation, such as its density and viscosity.

In addition, certain ranges are required, such as the variation range for the vertical section length (l1), the radius of the curved section (R) and the minimum and maximum inclination angle allowed for the trajectory.

Next, the algorithm aims to calculate the lowest possible tension based on the possible alternate configurations, which in this case are the radius and length of section 1. These configuration changes directly impact the other structural dimensions of the well, converging at the target point while respecting the constraints imposed by the input data.

At this point, we systematically test the tensions produced for an initial vertical section, varying for different radius values between the designated minimum and maximum radius. These values are differentiated by defined increments that can be adjusted according to the desired mesh precision. The radius that results in the lowest tension is saved for further analysis.

Moreover, after each calculation, the algorithm increments Δl for the vertical section, allowing the tensions to be evaluated for the given radius range in the next structural configuration of the well. In this way, for all new scenarios l1, a minimum tension and its corresponding trajectory condition are saved.

Then it is checked whether the current value assigned to the vertical section is equal to the upper limit previously set, that is, l1 = lmax. If the maximum is not reached, the algorithm returns to the tension calculation step and proceeds to the next iteration until the condition is satisfied. If the condition is met, the next stage begins.

After the loop is completed, the algorithm will have recorded the minimum tension values for each step of the vertical section. These stored tensions form a data set that is analyzed to identify the radius and trajectory configuration that result in the overall lowest possible tension.

The results of the tension analysis are compiled, enabling observation of system behavior, while the lowest tension is displayed with its related metrics. Based on the other trajectory conditions provided by the selected radius and initial section length, additional output data are also generated, supporting information such as the drill column torque and the position of the neutral buckling line, all calculated by the algorithm itself, ensuring that their position aligns with the desired parameters.

Finally, a two-dimensional drawing of the trajectory in question is generated using the collected data to produce a visually scaled-down representation of the path followed in the subsurface by the drilling.

The algorithm concludes this step when all results are recorded, presented in tables for a more user-friendly interaction, and the graphs are generated, finalizing the evaluation processes for the given case and the provided data.

Lastly, this process is repeated to find the condition of minimum torque entirely, with the aim of finding an operational condition that minimizes the drill column torque, coupling the same processes with a verification of the lowest torques by the algorithm.

The algorithm for the entire process is presented in the flowchart exhibited in Figure 8. Each step corresponds to a specific function or decision point, providing a clear and structured overview of the logical structure developed to obtain the desired results efficiently.

Figure 8
Flowchart illustrating all the steps necessary to the complete operation of the algorithm used in this work.

5. Results and Analysis

In this section, we provide an example of using the algorithm and applying it to analyze the best trajectories to drill a hypothetical well. Table 1 contains the input data for the case analyzed here.

Tabla 1
Input data defined for the modelled hypothetical well. The values used here are in accordance with general cases in oil industry [17].

Fluid density and pipe diameter values are based on general cases in the oil industry. The density of each pipe is obtained dividing the linear density by the cross-sectional area. The reaction of the soil to the drilling is estimated by (39), where R→ represents the force reaction on the drill. In this example, Z = 5000lbf/pol is an average parameter used in real drillings and it was converted to SI for the code [17]. The drill bit diameter was approximated as the same of the drill collar outer diameter.

(39) | R → | = Z D o c

Boundary factors were established for the desired configuration. The target point is located 3000m below the initial point and is displaced 1000m in horizontal axis. A maximum angle of 52° was limited, along with a radius range from 100 to 600m, while the initial l1 length has a minimum value of 100m and the other conditions imply a maximal l1 value of 2200m.

Tension and torque in the top drive were calculated for different well configurations varying l1 with 10m steps and the curvature radius with 50m steps. We found the results for the trajectories that provided the minimum tension and torque, shown in Table 2 and Table 3 respectively. The step choices are justified to demonstrate the behavior of tension and torque variation curves in function of l1 and R in this stage of algorithm development.

Tabla 2
Output data obtained for the well design considering the minimal tension configuration.
Tabla 3
Output data obtained for the well design considering the minimal torque configuration.

Graphical and numerical results were obtained for torque and tension optimized trajectories. These results provide a comprehensive evaluation of the algorithm performance minimizing these variables, offering also a deeper analysis concerning the tension and torque behavior under varying trajectory conditions.

The minimal tension configuration (729344.02N/m2) was achieved for l1 = 1880m, combined with R = 600m. For minimal torque (3560.03N⋅m), the configuration occurred at l1 = 1430m and also R = 600m. The final trajectories for both cases are shown in Figure 9.

Figure 9
Best well trajectories for the minimal tension and torque configurations.

Figure 10 illustrates the behavior of tension and torque as a function of l1 with R = 600m, the radius of curvature where the minimal tension and torque occurs.

Figure 10
Tension and torque behavior with l1 variation for R = 600m.

The tension graph has a decreasing tendency as l1 increases. However, this generates an augment in the inclination angle, which simultaneously results in an increase in the NBP distance from the bit and the number of required drill collar segments, thereby adding more weight to the column and, consequently, increasing the tension. This particularity causes the sudden jumps observed in 1280, 1700 and 1900m. The minimum point was observed at the mentioned length of l1 = 1880m, next to the maximum value allowed to maintain the boundary angle with R = 600m.

Regarding torque, its decline initially mirrored the tension behavior, but exhibiting an upward tendency after reaching its minimum at l1 = 1430m. This can be explained by the fact that when the curved section begins at this depth, the column is partially pressed against the upper wall and partially pressed against the lower wall of the well. Therefore, the normal force magnitude is smaller on average than when the column touches just one of the walls and the friction torque of the curved section will be smaller in this depth region.

On the other hand, the inclined section torque depends of θ, that increases with a l1 increase, and l3, that decreases with a l1 increase. As both factors partially compensate each other the variation in the inclined section torque is less relevant than the curved section variation. Then, the minimum torque occurs in the region where the curved section torque is minimum. Note that the addition of drill collar segments also generates changes in torque value, however, with less influence, presenting slight jumps in the graph.

Figure 11 shows the tension and torque behavior as a function of R, while l1 = 1880m, the point where the lowest tension occurs.

Figure 11
Tension and torque behavior with R variation for l1 = 1880m.

It is observed that an increase in radius is directly proportional to tension reduction except at 150m where a drill collar segment is added. However, the opposite occurs with torque, where a radius increase is directly proportional to an increase in the angle, due the greater horizontal extension of the curved section.

Figure 12 illustrates tension and torque behavior as a function of R with l1 = 1430m, point where the lowest torque occurs. The tension curve is similar to Figure 11(a), while the torque curve displays a different behavior, reducing its total value as the radius increases, in contrast to what is observed at Figure 11(b).

Figure 12
Tension and torque behavior with R variation for l1 = 1430m.

An increase in the radius of curvature means a longer curved section and a shorter but steeper inclined section. Therefore, at l1 = 1880m an increase in the curved section length and a reduction in the inclined section length does not necessarily imply a decrease in the total torque, as the average normal force magnitude in the curved section is strong enough to produce an increase in the total torque. Nevertheless, at l1 = 1430m the average normal force modulus in the curved section is smaller and an increase in the curved section length means a larger section producing a smaller torque and, consequently, a lower total torque.

Finally, for a comprehensive analysis, Figure 13 shows l1 variation in incremental steps, taking into account the optimized R for minimal tension and torque at each point. These curves offer a deeper understanding of the interplay between length and radius optimization. Note that the general behavior observed was similar compared to the fixed radius of 600m, despite some points displaying a distinct optimization curvature radius. The small jumps in the tension curve are related to a radius of curvature change, while the larger jumps are due an increase in the drill collar length. Consequently, the local tension was reduced and the minimum values were consistent. In this context, the interval of the graph extends up to 2200m, where, due to the maximum angle restriction, the radius used in the longer initial segments progressively decreases, resulting in continuous increases in torque and tension.

Figure 13
Tension and torque behavior with l1 variation, considering the optimal R for minimum values at each step.

These plots are also important for practical decision-making. As the minimal tension and minimal torque were found at different points, the optimal l1 value is not obvious, and these graphs help the user to decide in a real case if the best l1 choice is the one that minimizes the tension, the torque or any other intermediate point that keeps both values not too high for his standards.

6. Final Remarks

Here we present the first stage of the development of the physical model and the algorithm to calculate the trajectory of directional drilling. It is important to emphasize that the algorithm already fulfills the main functions for which it was proposed, but for it to be capable of meeting the intended didactic applications, a more user-friendly interface will still be developed. We also intend to make a fully functional version of the software available in the future, accompanied by a tutorial that guides its educational use in classroom settings and individual learning activities 1.

As the model is based on fundamental principles of mechanics, we believe that its use can be beneficial for both engineering students and general studies in the field of applied physics.

The results obtained showed the complexity of choosing a trajectory capable of minimizing the effects of torque or tension on the column presented interferences from various factors, such as the need for additional drill collar segments to meet the demands of the NBP and the behavior of tension and torque in different sections with discrepant configurations.

In this way, the tool can be used in an activity for an entire class, with the professor choosing the parameters in real time and using the generated graphs as a tool to identify, together with the students, the most relevant factors in the physics of the problem, as well as the challenges and priorities when selecting the best drilling trajectory. It is also possible for a student to use the tool individually by following a guide in which they vary some of the problem parameters, such as the target coordinates, fluid and tube densities, friction coefficient, among other relevant physical parameters. Based on the results generated for different problem configurations, the student can gain a clearer understanding of both the physical model and how to select the most efficient trajectories for different scenarios.

In the same vein, we hope that more advanced versions of the model and algorithm can be developed in the future, considering some of the physical aspects that were disregarded here, as well as expanding the analysis to other types of directional well trajectories and estimating the duration of the entire drilling process. Nonetheless, the mesh analysis used for the application proved effective in detecting the predicted variations. However, it is worth considering that mesh refinements can be performed in future upgrades to obtain accurate results using more complex models.

In this context, classroom studies could delve deeper into the choice of the most efficient well type and, given the limitations of the available machinery, the need to prioritize minimizing the forces and torques involved or the total drilling duration. We also believe that the full version of the proposed software could have applications as a tool in the development of research projects in directional drilling area and undergraduate projects in engineering.

Acknowledgments

The authors thank UDESC for help with structure and support.

Data Availability

The data supporting the results of this study are available within the article. The algorithm developed in this study is not publicly available yet, but a functional version and a tutorial are planned for release in the future.

References

  • [1] R.G. Miller and S.R. Sorrell, Philosophical Transactions of the Royal Society A 372, 20130179 (2014).
  • [2] B. Bashir, M. Piaskowy and G.A. Alusta, ARPN Journal of Engineering and Applied Sciences 16, 2305 (2021).
  • [3] M. Mims and T. Krepp, Drilling designs and implementation for extended reach and complex wells (K&M Technology Group, Houston, 1999).
  • [4] R. Caenn, H.C.H. Darley and G.R. Gray, Composition and properties of drilling and completion fluids (Gulf Professional Publishing, Burlington, 2011), 6 ed.
  • [5] J.L. Vieira, Controlled Directional Drilling (University of Texas, Texas, 2009), 4 ed.
  • [6] T. Eren and V.S. Suicmez, Journal of Natural Gas Science and Engineering 73, 103081 (2020).
  • [7] L.A.S. Rocha, M.G. Ribeiro, M.A. Costa and M.A. Vieira, Perfuração Direcional (Oficina de Textos, São Paulo, 2011), 3 ed.
  • [8] A. Kerunwa, C.I.C. Anyadiegwu, I.K. Asuquo, N.U. Okereke, S.G. Udeagbara and S.T. Ekwueme, Journal of Petroleum and Gas Engineering 16, 1 (2022).
  • [9] A. Lubinski, in: Drilling and Production Practice (American Petroleum Institute, Washington, 1949).
  • [10] A. Klinkenberg, in: Drilling and Production Practice (American Petroleum Institute, Washington, 1951).
  • [11] A. Lubinski and W.S. Althouse, Journal of Petroleum Technology 14, 655 (1962).
  • [12] R. Dawson and P.R. Paslay, Journal of Petroleum Technology 36, 1734 (1984).
  • [13] S. Menand, in: SPE Deepwater Drilling and Completions Conference (Galveston, 2012).
  • [14] M. Cebeci, I.H. Gücüyener and M.V. Kök, in: SPE Middle East Oil and Gas Show and Conference (Manama, 2019).
  • [15] J.K. Wilson, in: SPE Annual Technical Conference and Exhibition (Houston, 2024).
  • [16] B. Guo and G. Liu, Applied Drilling Circulation Systems: Hydraulics, Calculations and Models (Gulf Professional Publishing, Houston, 2011).
  • [17] A.T. Bourgoyne Jr., K.K. Millheim, M.E. Chenevert and F.S. Young Jr., Applied Drilling Engineering (Society of Petroleum Engineers, Dallas, 1986).

1

Once the algorithm and its interface are finalized, access may be requested directly from the first author using the contact email already provided in this article.

*Correspondence email address:

rafael.francisco@udesc.br

Editor-in-Chief:

Publication Dates

  • Publication in this collection
    07 July 2025
  • Date of issue
    2025

History

  • Received
    28 Feb 2025
  • Reviewed
    06 June 2025
  • Accepted
    08 June 2025
location_on
Sociedade Brasileira de Física - SBF Rua do Matão, travessa R, 187 - Edifício Sede - Cidade Universitária, São Paulo, SP, Brasil, CEP 05508-090, Tel: +55 (11) 3034-0429 - São Paulo - SP - Brazil
E-mail: rbef@sbfisica.org.br, marcellof@unb.br
rss_feed Acompanhe os números deste periódico no seu leitor de RSS
Ir para o topo