1. Introduction
Fluid losses during drilling operations, a significant challenge in the field, are primarily influenced by mud filtration in permeable areas (at the wellbore and fracture walls) and flow through fractured zones. This phenomenon not only results in fluid losses but also affects other crucial aspects of drilling operations. For instance, changes in filtrate concentration can alter resistivity log readings, impacting data accuracy [
1,
2,
3,
4,
5]. Furthermore, the rate of mud filtrate advance is known to cause formation damage and contribute to the growth of mud cake, complicating drilling operations [
6,
7,
8,
9,
10].
The issues analyzed contribute to non-productive time, which costs hundreds of millions of dollars annually and is defined as the time during which the drilling rate is reduced or stopped. States that worldwide, around
$20 billion is invested annually in drilling, of which 15% corresponds to NPT. On the other hand, some studies carried out in Colombia in the Castilla field, have shown that lost circulation is the main cause occupying 31% of the NPT [
11,
12].
The dynamics of mud filtration have been extensively studied both through laboratory experiments and mathematical modeling. Experimental studies focusing on fluid displacement in rock samples have shed light on the impact of mud filtration on formation damage, allowing us to determine the reduction in permeability due to the effect of fluid filtration invasion [
13,
14,
15]. Complementing laboratories are numerical approaches, which have been instrumental in modeling the filtration process and mud cake growth, employing both linear (laboratory) and radial (physical models) coordinates [
16,
17,
18,
19]. These models enable the analysis of various interaction scenarios between the drilling fluid and the permeable zone. Proposals in the literature are based on mass balances to determine fluid filtration and fluid concentration changes, studying advective, concentration-gradient, and pressure-gradient transport. Filtrate invasion affects variables such as fluid cake growth, formation permeability, and fluid saturation at the wellbore. This research seeks to couple all of the mentioned phenomena and characterize filtration in a realistic manner.
In naturally fractured zones, the analysis of drilling fluid losses has primarily been based on fluid flow in channels, linking fluid losses to fracture geometry. Some researchers have concentrated on characterizing natural fractures concerning losses observed in the field [
20,
21], while others have estimated fluid losses based on fracture geometry [
22,
23,
24,
25,
26,
27,
28,
29,
30,
31]. Some authors have linked the permeable zone with the fracture zone without including the growth of the fluid cake [
24,
26,
32,
33] (
Table 1). In addition, sometimes fractures connected by the drilling fluid can reactivate and propagate, which can increase losses, so it is important to strengthen fluid flow and geomechanically couplings (Solid-liquid) [
34] and monitor rock properties and stresses over time [
35]. The models that analyze fluid losses in fractures have in common that they use the momentum balance equation to propose an expression that relates shear stress to the pressure gradient and then equates it to the rheological model that represents the behavior of the drilling fluid under different shear rates.
In this context, our article introduces a coupled numerical model designed to widely represent the interaction between drilling fluid and the wellbore. This model encompasses the phenomena of mud filtration in permeable zones and fluid flow in natural fractures. For the permeable zone, the mud filtration rate, changes in filtrate concentration, permeability reduction, and mud cake growth were calculated based on the law of continuity and the theory of convection-dispersion. In natural fracture zones, the flow was evaluated, by determining the velocity profile, flow rate, and accumulated volume of losses, using the motion equation balance and incorporating both Newtonian and non-Newtonian rheological models.
This novel modeling approach enhances the precision and understanding of the interaction between drilling fluid and the wellbore. It provides crucial support for decision-making during well-planning and subsequent operational phases.
2. Developed Methodology
Our methodology to analyze the interaction between the drilling fluid and the wellbore through mathematical modeling is divided into two distinct parts, each focusing on different types of zones: permeable and fractured. This structured approach allows for a comprehensive and detailed analysis of each zone type.
Figure 1 illustrates the workflow of our methodology.
- A.
Analysis of Permeable Zones
In permeable zones, our focus is threefold:
Growth of the Mud Cake: Here, we assess the rate and pattern of mud cake formation on the wellbore. This analysis helps in understanding the filtration dynamics and the associated impact on wellbore stability.
Filtration Rate: We evaluate the filtration rate of drilling fluid, considering pressure changes at the wellbore. This involves analyzing the pressure differentials and their influence on fluid dynamics and filtration rates.
Changes in Filtrate Concentration: This part of the analysis looks at how the filtrate concentration varies over time and its implications for wellbore integrity and drilling efficiency.
- B.
Analysis of Fractured Zones
The study of fractured zones involves examining the flow velocity of the drilling fluid, incorporating different rheological models. This segment is further subdivided into:
Power Law Velocity: Analysis under this model focuses on the flow behavior of drilling fluids following a Power Law fluid model.
Bingham Plastic Velocity: Here, we explore the flow characteristics of drilling fluids modeled as Bingham Plastic fluids, which is crucial for understanding non-Newtonian fluid behavior in fractured zones.
Modified Power Law Velocity: This analysis involves a modified approach to the Power Law model, offering insights into complex fluid dynamics in fractured geological structures.
2.1. Numerical Modeling—Permeable Zone
The interaction between the drilling fluid and the permeable zone (
Figure 2) depends on the movement of fluids due to the pressure gradient and diffusion due to the concentration gradient. These factors affect the growth of the cake and present the following assumptions.
The drilling mud is water-based, and the filtrate exists as a single phase.
The properties of the mud cake, such as density and porosity, remain unchanged over time, after the growth of the fluid cake stabilizes over time.
The formation is homogeneous, isotropic, and characterized by isothermal flow (This assumption applies to each node in the radial direction, as you move to the next node in the vertical direction, the layer characteristics may change.).
Formation properties, are considered constant. (This assumption applies to each node in the radial direction, as you move to the next node in the vertical direction, the layer characteristics may change.).
Formation fluid displacement leads to changes in saturation and relative permeabilities.
The bottom-hole pressure (pw) is maintained constant (Applies if the density of the drilling fluid remains constant, otherwise the value is updated).
The thickness of the cake varies in “r” as a function of time and in the “z” direction as a function of layer properties.
In
Section 2.1.1 the proposed mathematical model is derived, based on the assumptions.
2.1.1. Growth of the Mud Cake
The growth of the mud cake is fundamentally driven by the dynamics of particle deposition and erosion in the drilling mud, as outlined in previous studies [
17,
18,
36,
37]. It is premised on the assumption that particles suspended in the drilling mud water-based do not displace within the porous medium but only deposit on the wellbore, as expressed in Equation (1).
the growth of the fluid cake is determined by the balance between the rates of particle deposition and erosion, as shown in Equation (2):
the rate of deposition is defined by Equation (3), and the erosion rate is characterized by Equation (4):
Literature suggests that the constant
is derived from experiments involving latex suspensions (0.04 µm) filtered through glass beads (diameter 0.397 mm and porosity 0.35), using a specific velocity expression to model adhesion and suspension. This results in
being defined as
[
15,
38]. Likewise, the constant
has been successfully implemented in previous research [
36,
37], which used core flooding data to validate your model.
To establish an expression for mass flow per unit of time, Equation (3) is multiplied by the cross-sectional area of filtration, and Equation (4) by the porous volume of the mud cake. These are then substituted into Equation (2), yielding Equation (5):
Further, by differentiating Equation (1) with respect to time for a radial system and equating it to Equation (5), we derive a new model to determine the growth of the mud cake at the wellbore, as shown in Equation (6). To apply the equation, it is assumed that the properties of the fluid cake such as density and porosity do not change over time
where
is the initial concentration,
is the fluid cake density,
is the wellbore radius,
is the fluid cake thickness and
is the erosion constant and the terms
and
are the porosity and the filtration rate. The derivation of the equation is seen in
Appendix A.
2.1.2. Filtration Rate
In our model, although the bottom hole pressure (
) is considered constant, fluid invasion at the wellbore leads to a pressure increase. To represent this, the continuity equation was used (Equation (7)), which is solved using forward implicit finite differences. To apply the equation, it is assumed that the formation is homogeneous and isotropic, therefore the intrinsic petrophysical properties in the radial direction do not change and as it is assumed isothermal, the viscosity of the filtrate remains constant for the node of study.
where
is the pressure variation between well and reservoir,
is the compressibility of the rock,
is the viscosity of the fluid,
is the porosity,
is the permeability of the rock, and
is the pressure variation over time. To analyze the filtration rate in the mud cake, Darcy’s law is applied in radial coordinates, as shown in Equation (8):
where
is the permeability of the fluid cake,
is the difference between the bottom hole pressure and the reservoir pressure,
is the radius of the well,
is the thickness of the fluid cake and
is the radius of the reservoir affectation.
2.1.3. Concentration of Filtrate
To examine changes in filtrate concentration, we adopt previous research [
16,
18] which employs the Crank-Nicolson method to approximate and solve the relevant differential equations. The transport of mud particles is analyzed through two primary mechanisms:
Advection Transport: This involves the movement of dissolved solids along with the flowing water, also known as advective transport. The quantity of solute transported depends on its concentration in the water and the volume of water flowing, as expressed in Equation (9) [
39]:
Concentration Gradient Transport: Here, solutes in water migrate from areas of higher concentration to those of lower concentration, a process termed diffusion. This occurs even in static fluid and is governed by Fick’s first law. The mass of fluid diffusing is proportional to the concentration gradient, described by Equation (10) [
39]:
Advective transport is represented by Equation (11) and dispersive transport by Equation (12). The total mass flow is the sum of these two mechanisms, indicated in Equation (13):
Including Equations (11)–(13) in a mass balance and considering fluid filtration leads to Equation (14):
where
is the variation in filtrate concentration over time,
is the diffusion constant, and the terms
and
are the porosity and the filtration rate defined previously. In scenarios with no filtration, movement is solely due to concentration changes, resulting in Equation (15):
For correcting the diffusion coefficient in porous media, we use the correlation
[
40], with exponent values for consolidated formations varying between ϵ = 1.8 to ϵ = 2.
For pressure variation, we implement the continuity equation in linear coordinates (Equation (19)):
Flow velocity is estimated using the sample pressure [
9], as shown in Equation (20):
The concentration of solids at the sample face and for the diffusion coefficient, previous research is used [
13,
16,
17,
39], as shown in Equation (21):
Since it is assumed that the displacement of formation fluid leads to changes in saturation and relative permeabilities, it is necessary to calculate their variation in time. Permeability correction due to filtrate invasion is calculated for each time step using the mud saturation equation proposed in previous research [
16], as modified in Equation (22):
where
is the filtrate concentration at each distance
,
is the saturation that can change, the difference between the maximum water saturation and the irreducible water saturation, and
represents the increase in filtrate saturation of the fluid that invades the formation. Relative permeability is then calculated using Equation (23) [
41]:
For studies lacking documented permeability of the cake, an estimation can be made using the Equation (24) [
42]:
where
is the effective particle radius,
is the permeability decay constant, γ is the volume fraction of particles in the filter cake, and
.
2.2. Numerical Modeling—Fractured Zone
In this part of our study, we focus on the velocity profile of the drilling fluid within fractures (refer to
Figure 3). The behavior of the fluid depends on its rheology and the pressure generated by the fluid column. This aspect is approached through the balance of the motion equation [
43]. As a result of this balance, a relationship is established between the shear stress perpendicular to the “
Z” axis in the “
r” direction and the pressure gradient, as shown in Equation (25) (
Appendix B).
By equating Equation (24) with the rheological model of the fluid, we derive an equation for calculating the velocity profile. This is summarized in
Table 2.
Table 2.
Velocity Equation Based on Rheological Model.
Table 2.
Velocity Equation Based on Rheological Model.
Rheology | Equation | |
---|
Newtonian | | (26) |
Power Law | | (27) |
Bingham Plastic | | (28) |
| (29) |
Plug Flow | and | |
Modified Power Law | | (30) |
| (31) |
3. Application of the Numerical Model and Results
The solution of the equations proposed is carried out by means of an algorithm developed in MATLAB-2022. Differential equations whose analytic solution is difficult to implement, are approximated with finite differences using the implicit Crank-Nicolson method (Equation (32)).
after obtaining the approximations, the matrix is built, for example, the structure for pore pressure would be as follows:
where the constants would group the following properties
As for the boundary conditions, there and and for the meshing, similar geometry to the literature models was constructed in order to compare and validate, having a constant radius and angle increment.
3.1. Interaction with Permeable Zone
For the permeable zone, Ref. [
14] analyzed three types of fluids: fresh water, flocculated, and dispersed (
Table 3 and
Table 4).
To validate our model using data from
Table 2 and
Table 3, an algorithm was designed in MATLAB, incorporating Equations (16)–(24) in linear coordinates [
14].
The accumulated volume of mud filtrate reported in the literature [
14] and calculated with our proposed model, exhibits an excellent fit for the three types of fluids, as depicted in
Figure 4. However, for cake growth, our model shows a divergence after the initial 50 min, stabilizing at a constant value. This variation appears because the proposed model incorporates the erosion term, unlike the continuous increase reported in the literature [
14], which did not consider this factor. The effectiveness of the fluid filter cake growth model was verified by comparing the erosion trend of a physical model published in the literature [
44] with the erosion trend generated by Equation (18). In the physical model, upon reaching the maximum thickness, erosion intensifies, decreasing its thickness to a constant thickness as shown by the proposed numerical model.
To validate the model for radial coordinates, the data in
Table 5 were used [
45]. An algorithm was developed in MATLAB, incorporating Equations (6)–(15) and (22)–(24) in radial coordinates. The scenario reported in the literature [
45], focusing on the impact of drill string eccentricity and rotational speed on filtrate cake thickness, was used for validation. Their findings indicate that rotational speed does not significantly influence cake size, which corroborates the validity of our base case comparison.
The results for filtration rate and cake growth are shown in
Figure 5. Our findings align with literature-reported mud filtration rates, but the cake growth is lower due to the inclusion of the erosion term in our model. By including the erosion term, the fluid cake will grow to a maximum value, and then erosion will intensify until it stabilizes at a constant value.
Moreover, the drilling fluid concentration and pore pressure at the wellbore, crucial inputs for Equation (6), were calculated as a function of well radius. This analysis was essential for estimating the invasion radius of the filtrate, which reaches up to 0.5 m, as illustrated in
Figure 6. This information is vital for correcting resistivity logs and calculating treatment volumes to mitigate formation damage.
3.2. Interaction with Natural Fractures
To evaluate the interaction between drilling fluid and natural fractures, we applied Equations (26)–(31) suited for different rheological models. The fluid velocity within fractures was calculated based on fracture width and pressure differential. To validate the model with the modified Power Law (Herschel–Bulkley, Equations (30)–(31)) and for the Power Law (Equation (27)). The relevant data for validation is presented in
Table 6, and the results of each case are represented in
Figure 7.
The validation outcomes with Power Law and modified Power Law models provide credibility to other models based on similar theoretical principles. This suggests that the Bingham Plastic and Newtonian models could also be utilized, contingent upon the specific rheology of the fluid.
Additionally, to verify the model’s applicability, a comparison was made with a Computational Fluid Dynamics (CFD) study focusing on a horizontal fracture [
46]. The data used for this comparison are detailed in
Table 7, and the results for scenarios at 200, 500, 800, and 1000 psi are illustrated in
Figure 8. The rheology applied in this comparative analysis was Herschel–Bulkley.
Finally, to confirm the effectiveness of the proposed methodology and before analyzing field data, the results of Equation (27) are compared with the data generated from a physical model [
47], which consists of measuring the time it takes for a liter of drilling fluid to flow through a fracture with known dimensions. The fracture and the comparison of results are shown in
Figure 9.
4. Field Application
After implementing the numerical model and validating it with data from the literature, the next step is to carry out an application in a Colombian field, estimating the rate of drilling fluid losses in fracture zones and filtrate in the permeable zone. The field of study is the Llanos Orientales basin. For the application, the GeoDrill-Flow tool was developed using MATLAB’s APPDESIGNER, which is an interactive development environment that facilitates the design of applications and the programming of their behavior. The information required for the application is loss events, fracture geometry (inclination and azimuth), geomechanical model, petrophysical model, mud weight, bit position, and mud rheology, as shown in
Figure 10,
Figure 11 and
Figure 12. In addition to the information mentioned, the data in
Table 8 is required [
48].
With the field information and the model developed in
Section 2, we proceed to estimate the growth of the fluid cake, the filtration rate, the velocity of fluid losses, the permeability of the fluid cake, the pressure changes, and the concentration changes as observed in
Figure 13.
The variables calculated in
Figure 13 allow us to determine the pressure variation within the fracture (
Figure 14a) and total fluid loss rate (
Figure 14b), including the flow in the fracture and the filtrate in the permeable zone, which is compared with field data.
Figure 14b is applied to a drill bit diameter 12 ¼ in to a depth of around 6500 ft. From that section on, the diameter changes, so another modeling would have to be performed. This figure shows an excellent fit between field data and modeled data, which highlights the effectiveness of the coupled model implemented.
5. Discussion
The developed model facilitates a comprehensive analysis of the interaction between drilling fluid and the permeable zone, accounting for variables such as petrophysics, rheology, and operational conditions. Additionally, the model assesses the impact of the mud’s exposure time on the wellbore, which is crucial for understanding cake growth dynamics. This aspect is particularly relevant in field operations, where the well remains exposed to the mud until casing placement. For prolonged exposure periods, our model determines the maximum cake growth value, as illustrated in
Figure 15a. Furthermore, recording the filtrate invasion radius (
Figure 15b) is essential to comprehend the extent of the invaded zone and to strategize cleaning treatment volumes, therefore minimizing formation damage.
In
Figure 16, the maximum thickness observed in the mud cake is approximately 3 mm. This value is lower than the thickness reported in previous research [
45], which can be attributed to the erosion factor included in our model. Regarding the invasion radius, it extends to 0.6 m, 20% deeper than indicated in
Figure 6. This expansion is due to the longer study duration, suggesting that prolonged mud exposure leads to a larger affected radius, independent of pressure differential. The filtrate movement can occur due to concentration changes.
Another critical aspect is the size of the mud particles, which significantly influences permeability reduction, mud cake growth, and filtrate invasion. For instance,
Figure 16 demonstrates the permeability reduction as a function of particle size. Smaller particles result in lower permeability and thinner mud cakes, which are advantageous in drilling operations.
As indicated in
Figure 8, an increase in fracture radius leads to a decrease in fluid velocity. This observation can be combined with other variables to mitigate fluid losses. For example, a similar trend is evident when pressure decreases (
Figure 17a) and with varying initial shear stress levels (
Figure 17b). Higher initial stress slows down fluid movement, suggesting that fluids with high yield stress can help decrease losses. Similarly, smaller particles improve the mud cake quality, reducing filtrate invasion.
6. Conclusions
This study introduces a comprehensive methodology to improve the interaction between drilling fluid and the wellbore. It effectively estimates fluid velocity within fractures in naturally fractured reservoirs, and examines the influence of rheology, pressure, and operational conditions on this interaction.
Key contributions of the proposed model include:
Analysis of Fluid-Wellbore Interactions: The model offers insights into the dynamics between drilling fluid and wellbore, analyzing the permeable and fracture zone, and factoring in petrophysical properties, fluid rheology, and operational conditions.
Impact of Mud Exposure Time: It highlights the significance of mud exposure time on the wellbore, a critical aspect in field operations where the well is exposed until casing placement. This feature of the model is vital for understanding the implications of prolonged mud exposure.
Quantification of Drilling Dynamics: Through the coupled model, we quantitatively evaluate various factors such as filtration velocity, filtrate concentration, filter cake formation, and invasion radius. This approach incorporates time and distance-based analysis and applies convection-dispersion theory to explore different mass transfer mechanisms in permeable zones.
Informing Operational Decisions: The understanding gathered from studying mud behavior in both permeable and fractured zones equips drilling and mud personnel with valuable information. This knowledge is crucial for optimizing mud formulations and strategies, ultimately aiding in the reduction of non-productive time (NPT) associated with wellbore stability issues.
In summary, the proposed model enhances the understanding of complex fluid dynamics within wellbores, thereby contributing to more efficient and effective drilling operations, particularly in challenging geological settings.