Introduction

The utilization of drilling fluids is the requisite of rotary drilling processes. Drilling fluids are designed to assist drilling by minimizing reservoir damage and increasing the productivity of the pay zone (Hossain and Wajheeuddin 2016; Shettigar et al. 2018). In earlier days, the drilling fluids comprised only of basic clay and water and thus had minimum environmental effects. However, as the drilling conditions became more challenging, many problems started to arise with the basic drilling fluid properties. Therefore, complex chemicals or additives need to be added to prepare the base mud to meet the best of its functions (Elkatatny 2019). Various useful prerequisites of drilling fluid such as appropriate mud rheology, density, mud activity, fluid loss control are met using different formulations, various polymers, and chemicals that are added as additives. Recently, the use of nanoparticles is widely accepted for the improvement in drilling fluid properties (Saboori et al. 2018). Today, the choice of drilling fluids and their additives has become complex and tedious considering both the technical and environmental factors (Amanullah et al. 1997; Caenn et al. 2016). Various environmental protection agencies and organizations have raised their concerns to protect the ecological system from hazardous drilling activities. The geologically complex deep wells are prone to drilling risk and associated environmental hazards, which are presently overseen by utilizing an oil-based drilling fluid framework or high-performance water-based drilling fluid framework. The much more detrimental effects of oil-based muds on the environment dictate the use of water-based muds (WBM) for increasing drilling fluid applications. Although the WBM is desirable in oil & gas drilling because of its minimal environmental impact, it has inferior properties to support deep drilling than oil-based muds in terms of performance and thermal stability. Due to strict limitations in HSE policies/norms, the environmental safety has become a prime consideration for oil & gas industry and researchers are paying more attention to prepare an economically friendly biodegradable drilling fluid composition for the protection of ecological system (Shuixiang et al. 2011; Hossain and Wajheeuddin 2016; Akinade et al. 2018).

Recent technological advancement has led to the development of novel environment-friendly drilling fluid solutions. The advancement in the direction of sustainable and economically viable drilling fluid systems has been constrained by factors such as complicated chemical synthesis technology, absence of crude material, and high cost (Li et al. 2014). Synthetic and mineral oils are commonly used in oil-based drilling fluid systems. However, there are multiple disadvantages associated with these types of oils. Fundamentally, these oils (synthetic/mineral) have toxic, non-renewable, and non-biodegradable properties. On the other end, they do not accomplish to defined HSE norms and many a time are prompting toward the incredible expense of waste treatment processes. Earlier, little consideration was given to monitoring the ecological conditions at less environmentally sensitive regions for hydrocarbon drilling operations. Now, this delay brought the realization of negative environmental impact from drilling fluid additives such as chemicals, polymers, saltwater, and oil-based fluids (Amanullash 2007). The non-biodegradable additives used in controlling drilling fluid properties cause harm to the environment and personal safety. To control the risk and uncertainties in oil & gas drilling operations and to minimize the drilling hazards, the environment-friendly drilling fluid additive, which adheres to the HSE norms and minimize the waste disposal treatment cost, is the prime demand of the hydrocarbon industry (Al-Hameedi et al. 2020a). However, the health exposure standard of the workers has not always been given the mandatory attention. This is because the occupational hygiene exposures are often not adequately assessed to determine the actual risk to workers. Their direct exposure to drilling fluids is at a constant health risk like dizziness, headaches, nausea, dermatitis, and even cancer (Al-Hameedi et al. 2020a). The preparation of the Exposure Control Plan (ECP) is the most effective and foremost step toward reducing/eliminating the risk of direct exposure with the hazardous source. The method of control is to eliminate or substitute hazardous material with an eco-friendly and safe alternative by enforcement of Material Safety Data Sheets (MSDS) or a safer process. However, the implementation of a safer process often leads to an overall increase in operation cost. The total elimination of the environmental impact of mud and mud additives by selecting or developing highly pure and most environment-friendly additives with readily biodegradable characteristics is very important for mud and mud waste disposal in an offshore or onshore environment, especially in areas having highly sensitive species (Agwu and Akpabio 2018; Al-Hameedi et al. 2020a). Therefore, it becomes the utmost necessity to replace the existing synthetic and mineral oil-based drilling fluid additives with natural substitutes, while at the same time implementing proper engineering and administrative controls to ensuring the provision of personal protective equipment. Numerous factors need to be considered for choosing a suitable drilling fluid formulation. A drilling fluid formulation offers a complex array of interrelated properties (Khamehchi et al. 2016; Al-Hameedi et al. 2020b). Five basic properties are usually defined by the well program and monitored during drilling. These properties are viscosity, density, filter cake or filtration of water loss, solid content, and quality of water make up. Once the properties and their parameters are determined, drilling fluid rheology can be controlled and adjusted accordingly (Fattah and Lashin 2016; Hossain and Wajheeuddin 2016).

The systematic review of the best practices adopted by the drilling industry has given an idea to develop an eco-friendly fluid loss additive using the cellulose extracted from groundnut husk. The current research work demonstrates the process of preparation of cellulose derivative additive from groundnut husk with controlled rheological properties, which is a bio-compatible, sustainable, and cost-effective alternative to hazardous chemically originated drilling fluids. The laboratory testing of the working efficiency of the proposed additive is carried out, and comparative data analysis is presented in this paper. The comparative analysis shown by (Okon et al. 2020) using dried rice husk, suggests that his proposed mud cake will proficiently prevent differential pipe sticking and is an effective alternative to toxic chemical-based compositions. He has blended and sieved the base material using 125-μm sieve to obtain desired particles size, whereas we have taken a range of particles, i.e., (63–74) µm and (250–297) µm to prepare an additive with a non-uniform gradation of particle sizes and distinctly compared its efficiency at different concentrations. Therefore, our proposed additive with a range of particles will provide efficient bridging and plugging as compared to using a single sized particle, where the fluid can escape through the micropores left around the edges/contacts of the uniform particles. (Cline et al. 1989) states that an excess emulsifier is used to ensure that the solids in an oil mud remain oil-wet. But, if the solids were initially wet with water during the preparation or if the oil-based mud becomes inverted (water continuous), then the water-wet solids clump together and become difficult to revert to oil-wet. If this occurs, the mud solids stick together tenaciously and the mud system may not remain inhibitive to the drilled formation. Also, most of the oil-wet additives are liable to invade into formations along the fractures and may inevitably have negative impacts on the behaviors of reservoir stress sensitivity (Cline et al. 1989; Marques et al. 2019; Elochukwu and Sia 2019). Hence, it is proposed to use cost-effective, high-performance water-based drilling fluid additives. In the current research work, we have demonstrated a methodology to formulate the cellulose using groundnut husk as an environment-friendly fluid loss retarder additive and rheological modifier, which can be comparable to polyanionic cellulose (PAC) for water-based drilling muds (WBM). The physical model of filter cake/mud cake is prepared, and the data generated in the laboratory are thoroughly analyzed, and the essential properties of drilling fluid are compared with available traditional alternatives. The processed cellulose from groundnut husk is analyzed in view to give better fluid loss reducing properties in low concentrations, at an economical price and environmentally friendly manner.

Cellulose generation from groundnut husk

The current research work demonstrates the process of formation and data analysis of a sustainable drilling fluid system, where biodegradable groundnut husk is used as a fluid loss additive and rheological modifier. The cellulose processed from groundnut husk is tested as an alternative for the current practice of using polyanionic cellulose in the drilling fluid formulation. A comparative analysis is made with a standard drilling fluid at different concentrations with the proposed additive to validate the results based on different parameters such as cost efficiency, good API filtration rate, and environmental friendliness. In the petroleum industry, the particle size analyzer has been extensively used to evaluate sedimentary grain size distribution and various other analyses by geologists. One of the major parameters that need to be considered for the determination of fluid loss properties is the particle size distribution in the drilling fluid (Alsabagh et al. 2015). A drilling fluid having particle sizes up to the requisite maximum size will be able to effectively bridge the formation by the development of a filter cake or a mud cake. As the concentration of these bridging particles is increased, this formation of filter cake occurs faster as the permeability of the formation around the wellbore is substantially reduced by either clay swelling, particle blocking, or particle plugging. The filter cake thus formed should be thin, impermeable, and dense (Amanullah et al. 1997; Bjorlykke 2010).

Methodology

Direct exposure of human contact with drilling fluids can be hazardous, as some drilling fluid formulations may emit noxious or unsafe fumes that may reach levels that surpass the maximum recommended short-term or long-term safe exposure limits. Particularly for oil-based muds, some shale inhibitors and corrosion inhibitors tend to produce ammonia or other lethal as well as volatile amines, particularly in hot areas on a rig (Hossain and Wajheeuddin 2016). The extraction and exploitation of hydrocarbons in today’s era urge the use of biodegradable, environment-friendly additives that prove to be at par with the current commercial additives in terms of availability, working proficiency, and cost-effectiveness. Drilling muds with less environmental impact are highly desired over conventional diesel-based mud systems, especially in light of the emerging strict environmental laws (Akinade et al. 2018; Kumar et al. 2020). The particle size and its concentration are the two crucial parameters, which determine the effectiveness of the industrial-grade eco-friendly drilling fluid additive. The determination of particle size was based on two different objectives.

  • The first objective was to test the decreasing permeability of the filter cake with the mean particle diameter. To test this hypothesis, two different particle sizes were selected which ranges from 63 to 297 µm size. The sample size having 63–74 µm particle size was in range with the mean particle diameter of PAC, and the other one was greater than the mean particle diameter.

  • The second objective was to determine if the permeability decreases with increasing width or gradation of the particle size range. This was done to consequentially determine the degree of closeness of the size of the proposed additive to the range of PAC particles that achieved the least volume of fluid loss and hence the optimum size range. To examine if the uniform gradation of particles is of equal importance, the size distribution of particles was kept linear but not close to the range of the PAC additive. Hence, the second sample was prepared with the 250–297 µm size.

As per (Geng et al. 2014), the proper sizing of the additive concerning the pore size distribution is essential for developing a drilling fluid with effective sealing ability. To determine the most efficient particle concentration, the drilling fluid was tested at four different concentrations, i.e., at 1%, 2%, 3%, and 4%, for each of the additive. The drilling fluids' properties are continuously tested at the well site, and its composition is adjusted according to the requirement of drilling operations. These field tests are standardized according to the American Petroleum Institute Recommended Practices (API RP) 13 B-1, for water-based drilling fluids (Kekpugile and Godwin Jacob 2014; Fatihah Majid et al. 2019). These typically include testing for drilling fluid density, viscosity, rheology, gel strength, API filtration loss, pH (Chilingarian et al. 2007; Kosynkin et al. 2012; Huang et al. 2016). The physical model of filter cake/mud cake is critically evaluated in the laboratory, and the following properties are tested and compared with the available traditional alternatives.

  • Filtration loss: The formulated samples were tested for filtration loss in a low pressure, low temperature (LPLT) Fann filter press. The fluid is subjected to static filtration at 100 Pa, and the fluid loss readings were taken at 10, 20, and 30 min.

  • Rheology: Automatic viscometer was used to measure stress at speeds of θ600, θ300, θ200, θ100, θ6, θ3. The rheology of the drilling fluid was then calculated. The Fann viscometer, a form of automatic viscometer, enables the variation in shearing stress with shear rate. The assembly is lowered to a prescribed mark in a cup filled with mud, and the outer cylinder is rotated at a constant speed. The viscous drag of the mud turns the suspended bob until it is balanced by the torque in the string. The deflection of the bob is then read from the calibrated dial, which provides the shear stress at the surface of the bob.

  • Gel strength: The fluid was subjected to a speed of θ600 for a minute, and then, the maximum deflection at θ3 was taken as Gel0. The viscometer was then stopped for 10 min, and the maximum deflection at θ3 was taken as Gel10.

  • pH: The pH was tested using a standardized pH meter. For calibration, the pH of distilled water was tested first to be 7.0.

  • Density: The density of the drilling fluid was measured using a mud balance. The procedure is to fill the cup with mud, put on the lid, wipe off excess of mud from the lid, move the rider along the arm till a balance is obtained, and read the density at the side of the rider toward the knife edge. For accuracy of the mud balance and to minimize any measurement uncertainty, the mud balance was calibrated first with fresh water; the measurement reading was 1 g/cc or 8.33 lbs/gal.

The methodology, instrument used, and other properties adopted in the current research work are shown as a working flowchart in Fig. 1. The laboratory analysis work was divided into three different stages. At Stage 1, the systematic extraction of cellulose from the groundnut husk was done. At Stage 2, the particle size distribution using mesh analysis was carried out at two varying particle sizes. At the final Stage 3, the desired composition of drilling fluid was prepared and the laboratory analysis data were recorded systematically. The testing compared with the commercially available PAC at different concentrations was also done during the data analysis and interpretation. The stage-wise details of the experiments are given below.

Fig. 1
figure 1

Flowchart showing progressive methodology adopted and instruments used during current research work

Stage 1: Cellulose extraction from groundnut husk: The good quality groundnut samples were procured from the open market, seeds were removed, and only the husk was used for cellulose extraction. Theoretically, the groundnut husk contains approximately 38.3% cellulose and 18.7% hemicellulose. The groundnut husk was thoroughly washed and left to dry. The groundnut is dried to attain the perfect texture for the additive. The groundnut husk is sensitive to extractive conditions. Strong alkali conditions and/or heating of the husk above 80 °C could result in the disintegration of the husk and the dissolution of the cellulose into the solution not suitable for high-value fibrous applications (Kekpugile and Godwin Jacob 2014). The washed and dried husk was dipped into a 0.5 N sodium hydroxide solution with a solution to the husk ratio of 10:1 at room temperature overnight. The solution along with husk was then heated to 80 °C for 30 min in a hot air oven to vaporize the volatile impurities. The extracted components were drained, and fibers formed were thoroughly washed in warm water and then in cold water. This is done in order to remove any impurities and gently bring the husk to room temperature. After that, the sample is neutralized in dilute acetic acid solution to remove any remaining alkali content and then dried in sunlight for a week. Finally, it is oven-dried to remove remaining moistures and fine powder is prepared using a stone grinder (Fig. 2).

Fig. 2
figure 2

Different steps involved in the preparation of fibers from groundnut husk in laboratory a raw sample soluble in alkali, b preparation of alkaline solution using NaOH tablets, c oven-dried sample in desiccator

Stage 2: Particle size distribution using mesh analysis: After grinding the dry husk, the desired particle size was attained by using mesh analysis. To manage the desired size of the husk, ground fibers were passed through various meshes. To separate the desired 297-μm fibers from the rest, the sample was passed through a sieve of mesh size 50. The fibers which passed through this sieve were all less than 297 μm and were again made to pass through a sieve of a mesh size corresponding to 250 μm which retained particles larger than 250 μm (Fig. 3). Hence, the desired particle size range of 250–297 μm was obtained by a mesh analysis of − 50 + 60. Similarly, to separate the desired 74-μm fibers from the rest, the sample was passed through a sieve of mesh size 200. The fibers passed through this sieve were all less than 74 μm and were again filtered through a sieve of mesh size 230, which retained particles larger than 63 μm. Hence, the desired particle size of 63–74 μm was prepared by mesh analysis of −200 + 230 (Fig. 3). The interpretation of grain size distribution and the presentation of natural data on a logarithmic scale are done. Wentworth’s scale is based on logarithms to the base 2 and is most widely used in sedimentological studies. The phi (φ) scale, where φ = (−log2d), allows convenient interpolation of graphic data. The reason for using negative logarithm is sediment grain diameters (d), which is normally less than 1 mm. Hence, we will have positive phi values for plotting (Bjorlykke 2010). The frequency distribution curve analysis of husk fibers is shown in Fig. 4.

Fig. 3
figure 3

Instruments used while doing direct mesh analysis and their purpose, a sieve shaker instrument used for particle size analysis, b varying mesh sizes used for sample preparation

Fig. 4
figure 4

Frequency distribution curve of husk fibers obtained by mesh analysis

Stage 3: Drilling fluid preparation and composition: Since the use of groundnut husk as a fluid loss retarder additive in the formulation of drilling fluids is novel to the industry, the formulations were kept simple with water, barite, XCP, and groundnut husk (in varying concentrations) tested at two different particle sizes to study the effect of groundnut husk in the drilling fluid against the same formulations but using PAC in place of the proposed additive. The base mud for the different samples was prepared by gradually adding the Xanthum gum polymer to water and then allowing it to swell (Hossain and Wajheeuddin 2016). This mixture was agitated for about 30 min before introducing barite to the formulation. This base mud was prepared freshly for testing the different properties before adding the samples at different concentrations and agitating it in a Hamilton Beach Mixer. The properties were tested before and after the hot roll. The drilling fluid preparation was made with the same procedure as was used for the base mud, but in this case, polyanionic cellulose was replaced with groundnut husk cellulose. Like the case above, the base mud was prepared freshly for testing the different properties before adding PAC at different concentrations and agitating it in a Hamilton Beach Mixer (Barry et al. 2015; Saboori et al. 2019). The properties were also tested before and after the hot roll to analyze the effects of temperature on the drilling fluid.

Drilling fluid formulation

The formulations were kept simple, and each of the properties was measured and compared for the best proposed size and concentration of the additive. The base mud formulation was as follows: water: 500 ml, barite: 22%, i.e., equivalent to 110 g, Xanthum gum polymer: 0.4%, i.e., equivalent to 2 g. Laboratory analysis of the development of three different types of drilling formulations is shown in Fig. 5. The materials used in the formulation of drilling fluids are barite (BaSO4), polyanionic cellulose low viscosity grade (PAC-LVG), Xanthum gum polymer, distilled water, and finely ground husk. Table 1 shows laboratory data analysis for drilling fluid formulation and readings taken before & after the hot roll. The apparatus used for testing out the properties of different formulations is low-pressure low-temperature (LPLT) Fann filter press, measuring cylinders, hot roller oven, stopwatch, filter paper, automatic viscometer, mud balance, Hamilton Beach Mud Mixer (Fig. 1). The major properties tested as per API recommendations are low-pressure low-temperature (LPLT) API filtration loss, apparent viscosity (AV), plastic viscosity (PV), yield strength (YP), gel strength (Gel0, Gel10), pH, mud weight (ρ). The details of drilling fluid formulations with proposed additives are listed in Table 1.

Fig. 5
figure 5

Samples of the developed drilling formulations using different particle sizes of the proposed additive and PAC a 250-297 µm, b 63–74 µm, c PAC

Table 1 Drilling fluid formulation with proposed additive obtained from groundnut husk and PAC from 1% to 4% by weight

Data interpretation

The properties of mud are highly dependent on shear history and temperature; hence, it is of utmost significance to test the proposed mud cake composition in the laboratory prevailing the circumstances comparable to drilling a well. Many drilling mud additives degrade at high temperatures (Huang et al. 2016; Hamad et al. 2020). Consequently, the effect of temperature should be observed in all drilling fluid components and additives to corroborate their efficiency. To simulate the subsurface well conditions, the drilling fluids are hot rolled in the rolling oven at the same pressure and temperature likely to be encountered while drilling a well. The cells are cooled to room temperature; the rheological and filtration properties are then measured and compared to the same properties before testing. That is why it is essential to test the properties of the drilling fluid after hot roll to validate its effectiveness after the aging of the additive. The data generated during the laboratory analysis of current research work are plotted in excel, and systematic interpretation was carried out by comparing properties of different concentrations of proposed groundnut husk and PAC additives. The laboratory analysis results of readings taken before and after the hot roll are shown in Tables 2 and 3.

Table 2 Readings of various rheological properties of the developed drilling fluid formulations taken before the hot roll
Table 3 Readings of various rheological properties of the developed drilling fluid formulations taken after the hot roll

To analyze the laboratory data, the empirical formulas used are given below.

  • Plastic viscosity: PV = θ600 − θ300

  • Yield point: YP = θ300 − PV

  • Apparent viscosity: AV = θ600/2

Rheological properties of resulting formulations with increasing concentrations of (250–297) µm husk, (63–74) µm husk, and PAC as proposed additives

The rheological property is primarily concerned with the shear stress and shear rate relationship of drilling fluids, and it indicates the behavior of mud (Khamehchi et al. 2016; Vryzas and Kelessidis 2017). It is observed that the curves for dial reading increased with the corresponding dial speed and are in good agreement with the Bingham plastic model. Figure 6 shows that the shear stress increased with the concentration of the proposed additives at a given shear rate.

Fig. 6
figure 6

Rheological comparison of developed drilling fluid formulations with base mud after hot roll a 250–297 µm, b 63–74 µm, c PAC

Rheological properties (PV, AV) comparison

Viscosity represents a measure of matter’s resistance to a deforming force (Balhoff et al. 2011). This phenomenon is attributable to the attraction between molecules of a liquid and is the measure of the combined effects of adhesion and cohesion, to the effects of suspended particles and the liquid environment. For all drilling fluids, as temperature increases, the viscosity of base mud decreases (Sarah and Isehunwa 2015; Akinade et al. 2018). Viscosity can be expressed as either relative or in terms of absolute measurement. The relative measurements are the funnel viscosity and apparent viscosity. The viscosity measured by the marsh funnel is measured at only one rate of shear, but the temperature varies at each time of measurement (Al-Khdheeawi and Mahdi 2019; Alsabaa et al. 2020) The apparent viscosity of a fluid is the viscosity that fluid appears to have on a given instrument at a stated rate of shear. The absolute measurements are the quantitative values of the non-Newtonian characteristics, i.e., plastic viscosity, yield point, and gel strength.

Plastic viscosity can be defined as the resistance of a fluid to flow. According to the Bingham plastic model, PV is the slope between shear stress and shear rate. Fluids that have shear thinning and elevated viscosities are efficient for wellbore cleaning (Nasiri and Ashrafizadeh 2010). A measure of the internal resistance to fluid flow, plastic viscosity is attributable to the amount, type as well as the size of solids present in a given fluid (Idress and Hasan 2020). It is observed that decreasing the size of solids at a constant volume increases the value of the plastic viscosity. A drilling fluid formulation with higher plastic viscosity increases the equivalent circulation density (ECD); surge and swab pressures reduce the ROP all the while increasing the chances of differential sticking. The PV, AV trends for the formulations are illustrated in Fig. 7. It is observed that the viscosity values demonstrated by PAC were significantly larger than those shown by the husk formulated drilling fluids (Fig. 7).

Fig. 7
figure 7

PV, AV comparison of developed drilling fluid formulations with base mud before and after hot roll a 250–297 µm, b 63–74 µm, c PAC

Yield point comparison

A parameter of the Bingham plastic model, the yield point, is the yield stress extrapolated to a shear rate of zero. The yield point is the attractive force among the colloidal particles in the drilling fluid and represents the ability of the drilling fluid to lift the cuttings. The yield point is the resistance to initial flow and represents the stress required to start the fluid movement (Deng et al. 2020). This resistance is due to electrical charges located on or near the surface of the particles. Higher yield point leads to larger frictional pressure losses and an increase in the equivalent circulation density (ECD). The yield point trend illustrated by the (63–74) µm additive showed a peak value at 3% concentration and was considerably higher than the peak demonstrated by PAC at the same concentration as shown in Fig. 8.

Fig. 8
figure 8

Yield Strength comparison of developed drilling fluids formulations a before hot roll, b after hot roll

Gel strength (thixotropic) comparison

The gel strength of a drilling fluid is a measurement of the electrochemical forces under static conditions, which works to keep the cuttings in suspension (Ahmad and Federer 2018). These time-dependent forces cause gelling in the drilling fluid as it remains quiescent for a certain period when circulation stops. It is a measure of the same inter-particle forces of a fluid as determined by the yield value, except that gel strength is measured under static conditions (Al-Hameedi et al. 2020b). The observations concluded the flat rheology profile of the fluid meaning minor changes of gel strength with time. The presence of a fragile gel is desirable as opposed to a progressive gel because it requires higher pump pressure to break the gel and begin continuous circulation (Jung et al. 2011). In the case of both the husk additives, the initial and final gel strengths are found to be increasing gradually, which indicates better suspension of cuttings and the gradual increase indicates the presence of a fragile gel (Fig. 9), whereas at 4% concentration, PAC formulated drilling fluid showed the presence of a progressive gel, which is undesirable as shown in Fig. 9.

Fig. 9
figure 9

Gel strength comparison of developed drilling fluid formulations before and after hot roll a 250–297 µm, b 63–74 µm, c PAC

Filtration properties of resulting formulations

For the formation of a filter cake, the drilling fluid must contain particles sizes slightly smaller than the pore openings of the formation (Alcheikh and Ghosh 2017; Saboori et al. 2018). Particles of a certain critical size stick at bottlenecks in the flow channels and form a bridge just inside the surface pores. Once a primary bridge is established, successively smaller particles are trapped, and thereafter, only filtrate invades the formation (Agwu et al. 2019). These are known as bridging particles that are trapped in the surface of the pores while the finer particles, at first, are carried deeper into the formation. The suspension of fine particles that enters into the formation, while the cake is established, is known as the mud spurt, and the liquid that enters subsequently is known as the filtrate (Yao et al. 2014). The rate of filtration and the increase in cake thickness depend upon whether or not the surface of the cake is subjected to fluid or mechanical erosion during the filtration process. When the mud is static as in this case, the filtrate volume and the cake thickness increase in proportion to the square root of time, at a decreasing rate (Caenn et al. 2016).

As a result of the differential pressure exerted by the hydrostatic fluid column in the wellbore, a mud cake or filter cake having very low permeability that is formed against the walls of the borehole acts as a barrier between the fluid in the drilled borehole and the formation being drilled (Fattah and Lashin 2016). The loss of the filtrate of the drilling fluid into the formation is also an important parameter to consider, as a drilling formulation with higher filtration losses will soon start exhibiting increased values of density due to the loss of the fluid content from the mud into the formation. This can further lead to formation damage around the wellbore. Hence, a filter cake that is thin, impermeable, and dense ensures that a lesser amount of filtrate is lost to the formation, which helps prevent a change in the rheological properties of the drilling fluid by averting a change in the fluid density (Nasiri and Jafari 2016).

The trend of API filtration losses at 1% concentration of additives with the base mud

Figure 10a shows the trend of the filtrate losses of the formulated drilling fluids at 1% of the additive. The API filtration loss of the base mud after 30 min was 61.6 ml and peaked at a filtrate loss of 48 ml at 20 min. The filtration properties exhibited by the 250–297 µm proposed additive showed a decrease in the API filtration loss of 12.5% at 20 min but then showed an increase in the losses of 25.8% at 30 min. In contrast, the 63–74 µm proposed additive showed a shallow descent trend with a decrease of 41.88% in the filtration loss. The fluid loss trend of PAC demonstrated a steep decline with a decrease of 92.69% in the filtration loss.

Fig. 10
figure 10

API filtration losses of developed drilling fluid formulations after hot roll a at 1% sample concentration, b at 2% sample concentration, c At 3% sample concentration, d at 4% sample concentration

The trend of API filtration losses at 2% concentration of additives with the base mud

Figure 10b shows the trend of the filtrate losses of the formulated drilling fluids at 2% of the additive. The API filtration loss of the base mud after 30 min was 61.6 ml and peaked at a filtrate loss of 48 ml at 20 min. The filtration properties exhibited by the 250–297 µm proposed additive showed a decrease in the API filtration loss of 45.13% at 30 min. The 63–74 µm proposed additive showed a similar trend as its husk counterpart with a decrease of 43.51% overall. The fluid loss trend of PAC demonstrated a steep decline similar to its 1% equivalent with a decrease of 93.67% from the base mud.

The trend of API filtration losses at 3% concentration of additives with the base mud

Figure 10c shows the trend of the filtrate losses of the formulated drilling fluids at 3% of the additive. The API filtration loss of the base mud after 30 min was 61.6 ml and peaked at a filtrate loss of 48 ml at 20 min. The filtration properties exhibited by the 250–297 µm proposed additive showed a decrease in the API filtration loss of 73.54% at 30 min. The trend for the 63–74 µm proposed additive showed a similar trend with a decrease of 73.21% overall. The fluid loss trend demonstrated by PAC was a lesser steep decline which was a perpetual continuation as its predecessors with a decrease in the filtration loss of 97.89% overall.

The trend of API filtration losses at 4% concentration of additives with the base mud

Figure 10d shows the trend of the filtrate losses of the formulated drilling fluids at 4% of the additive. The API filtration loss of the base mud after 30 min was 61.6 ml and peaked at a filtrate loss of 48 ml at 20 min. The filtration properties exhibited by the 250–297 µm proposed additive showed an overall decrease in the API filtration loss of 82.31% at 30 min. The filtrate loss trend demonstrated by the 63–74 µm proposed additive and PAC was observed to be strikingly similar. The 63–74 µm proposed additive showed a stable decline trend with a decrease of 91.88% in the filtration loss. The fluid loss trend of PAC illustrated a similar decline with a decrease of 98.21% in the filtration loss.

The pH of resulting formulations

A desirable drilling fluid is alkaline in nature and has a pH range of 9–10 as it ensures that the drilling fluid shows optimum rheological and filtration properties (Li et al. 2018; Gamal et al. 2019). This helps decrease the plastic viscosity which leads to an increase in the Rate of Penetration (ROP) thereby reducing the required pump pressure to circulate the mud to the surface, effectively reducing time, and helps in sustaining the drilling operations. Moreover, a lesser volume of filtrate ensures the formation of a thin, impermeable filter cake drastically reducing the chances of differential pipe sticking. A lesser pH means an increased amount of additives to achieve the right viscosity (Huang et al. 2016; Saboori et al. 2018). Hence, an optimum pH range ensures savings of the additives and operation costing. The pH comparison is carried out to have a comparative analysis of the proposed fluid. Figure 11 illustrates the pH trend of the developed formulations with increasing concentrations of additives. It is observed that the pH of the 250–297 µm husk and 63–74 µm husk as additives showed a slightly higher pH compared to both the base mud and PAC at all concentrations. The pH of the base mud after the hot roll was 6.01. At 4% concentration, the pH of the 250–297 µm husk was 7.92 while that of its 63–74 µm husk counterpart was 7.15, while at 4% concentration, PAC demonstrated a pH of 5.70.

Fig. 11
figure 11

pH trend of the developed drilling fluid formulations with increasing concentration of the additives

Results and discussion

The main objective of current research work is to develop an industrial-grade economically friendly, biodegradable drilling fluid additive that can perform its designated functions in a cost-effective manner. There has been a strong need for the development of clean drilling fluid additives that can replace hazardous chemical born traditional alternatives. We have given utmost consideration to various useful prerequisites of drilling fluid such as appropriate mud rheology, density, mud activity, fluid loss control. These were kept in consideration while preparing an eco-friendly substitute. The cellulose generated from groundnut husk was used to prepare a fluid loss retarder additive and rheological modifier as a prospective substitute of industrial PAC-LVG. The proposed drilling fluid is prepared and tested in accordance with API fluid testing procedure, and the results were systematically compared with the same formulation of PAC to validate the results in all aspects. The particle size and concentration were determined for the optimal results based on various observations. The determination of the optimum particle size for the proposed additive was based on two objectives. The first objective was based on the relationship of permeability of the filter cake with the mean diameter of the additive. The second objective was based on the uniform gradation of particle sizes or the width of the range of particle sizes for optimal results. Based on these observations, two different particle sizes (63–74 µm and 250–297 µm) were tested and outcomes of comparative analysis are shown in this paper. The determination of ideal particle concentration is based on the observation of increasing concentrations of the husk additive as opposed to its PAC counterpart.

Since the properties of mud depend so much on shear history and temperature, the mud cake of the proposed additives was analyzed in the laboratory prevailing to analogous drilling conditions. The formulation of the base mud was kept simple, and the properties of the fluid were tested before as well as after hot roll, i.e., after the aging of the additive. The drilling fluid was tested for various mud properties such as mud rheology, density, Filtration Losses, pH, etc. These properties were measured according to the standard procedure, and the final observations were systematically compared and discussed in this segment of the paper. The comparative analysis of laboratory experiments in terms of various parameters is shown in Figs. 12, 13, 14, 15, 16 and 17. Various conclusions can be drawn from the comparative laboratory analysis between the groundnut husk based drilling fluid additive and PAC. The results of comparative analysis are shown in Figs. 12 and 13, where the bar charts are raveling the variation in shear stress in terms of the dial reading in a decreasing pattern from θ600 to θ3, before and after hot roll examination. In terms of dial readings of θ600, θ300, and θ200, it is observed that the proposed husk additive remained consistent throughout, while the PAC readings are showing variations at all the dial readings and increasing substantially as the concentration of the additive increased from 2 to 3% (Fig. 12). It is also noticed that the before hot roll readings of shear stresses remain in close range to each other for the proposed additive, but the PAC readings are showing increasing stresses after hot roll at all concentrations as shown in Fig. 12. Similar results are shown in Fig. 13 for dial readings of θ100, but the shear rate at dial readings of θ6 and θ3 is showing deviations between the before and after hot roll readings at 2–4% of concentrations. This is a significant finding of current research work that the proposed husk additives are showing similar patterns of stresses and essentially remain consistent as dial rates decrease as compared to PAC, which is clearly visible in the pattern of stresses plotted in Figs. 12 and 13. This deviation can easily be noticed by the variance between red and blue dashed lines shown in both the figures.

Fig. 12
figure 12

A comparative analysis illustrating the variation in shear stress in terms of the dial reading in a decreasing pattern from θ600 to θ200 before and after hot roll. It is seen that the before hot roll readings of shear stresses remain in close range to each other for the proposed additive, but the PAC readings are showing increasing stresses after the hot roll at all concentrations

Fig. 13
figure 13

A comparative analysis illustrating the variation in shear stress in terms of the dial reading in a decreasing pattern from θ100 to θ3 before and after hot roll. It is seen that the dial readings of θ100 are showing similar results shown in Fig. 12, but the shear rate at dial readings of θ6 and θ3 is showing deviations between the before and after hot roll readings at 2–4% concentrations

Fig. 14
figure 14

A comparative analysis for PV, AV at varying concentrations before and after hot roll showing gradual increase in both the values as the concentration of the additives increased from 1 to 4%

Fig. 15
figure 15

Comparative analysis for YP, Gel0, Gel10 at varying concentrations before and after hot roll is shown. The YP values of PAC showing that the before hot roll values are incredibly high and showing variations from the after hot roll values for a similar concentration. Similarly, the Gel0 and Gel10 readings are also showing large variations between the before and after hot roll readings at all the concentrations. It is also noticed that the Gel10 readings of PAC at 3–4% concentration are showing abnormal behavior

Fig. 16
figure 16

A graphical interpretation illustrating the API filtration losses as a function of time at 10, 20, and 30 min before and after hot roll. Incredibly large variations can be seen between before and after hot roll readings, particularly at 1–2% concentrations

Fig. 17
figure 17

A comparative analysis of pH at varying concentrations before and after hot roll

In terms of PV and AV, it is observed that there is a gradual increase in both the values as the concentration of the additives increases from 1 to 4%, but it remains in the close ranges to each other before and after hot roll examinations (Fig. 14). However, in the case of PAC, it is observed that both the PV and AV values increase appreciably with the concentration and show great variations in the readings taken before and after a hot roll (Fig. 14). When compared for the YP value, it is observed that the before hot roll values of PAC stand out at all concentrations and show incredibly large variations from the after hot roll values for the same concentration (Fig. 15). While it is certainly observed that unlike its PAC counterpart, the husk additives remain consistent at all concentrations. The Gel0 and Gel10 readings are also showing large variations between the before and after hot roll readings (Fig. 15). The Gel10 readings of the PAC additive increased gradually after the hot roll, but it remained consistent for proposed additives. This is significant as it is indicative of the flat rheology profile of the husk additives. It also implies that the husk additives act as a fluid loss retarder without much deviation from its base rheology. This is of paramount importance as the proposed additive can be used to reduce the fluid loss in sensitive areas, where it needs to be done without much change to the rheology of the mud.

The trend of API filtration losses is shown in Fig. 16. The data plots are generated for fluid loss readings at 10, 20, and 30 min, which indicate that the fluid Loss to be much higher after the hot roll as compared to before hot roll analysis. Based on fluid loss pattern at 30 min, it is concluded that the fluid loss of husk additives of 63–74 µm particle size begins to resemble the pattern of PAC as concentration increases with a higher degree than the 250–297 µm particle size additive, although the PAC still shows the least amount of filtration losses (Fig. 16). The 63–74 µm particle size additive shows a similar fluid loss pattern at 4% concentration after hot roll like that of PAC with a very high rate of success, while remaining consistent and illustrating a flat rheology profile. It is observed that the pH value of the PAC after the hot roll is considerably less than the husk additives. The proposed husk additives steadily maintain a higher pH level at all concentrations before and after the hot roll analysis (Fig. 17).

The 63–74 µm additive remained more consistent in rheological aspects as compared to 250–297 µm husk, while both were largely consistent as compared to PAC. Thus, it can be validated from above-discussed observations that the groundnut husk additives developed during current research work are an industrial-grade product based on systematic investigations and analysis/comparison. It can provide an extremely similar reduction in fluid losses as that of PAC-LVG, while simultaneously being more consistent, illustrating a flat rheology profile and being 50.79% more cost-effective than PAC-LVG.

The cost-effectiveness of any product is a prime concern for any drilling operation. Nowadays, the adverse effect of drilling operation on the environment is considered as one of the major worries for petroleum industries, which should be taken into consideration to virtually eliminate the unnecessary expenses of improving the wasting quality before disposing it into the environment (Davarpanah 2018). The cost of drilling fluid additives varies geographically in a very wide range (Liu et al. 2016). The comparative cost analysis for industrial-grade conventional and proposed drilling fluid additives is carried out to understand the economic probabilities based on the published literature and our research work. To prepare a cost-effective drilling fluid, it is prerequisite that the base material should be easily available as per the industrial requirement at economic cost (Amanullah and Yu 2005; Haider et al. 2019). To validate this hypothesis, we have chosen the groundnut husk for the generation of cellulose as an eco-friendly additive, which is easily available in most parts of the world, inexpensive and the waste product of the food industries. The resulting formulations with 250–297 µm, 63–74 µm particle size of husk and PAC as proposed additives, variable cost scenarios emerge. The average price of Xanthum gum polymer (XCP) ranges between Rs. 200 and 225 per kg with a median price of approx. Rs. 210 per kg. Similarly, the median price of Barite is approx. Rs. 14.5 per kg, and for the PAC-LVG it is approx. Rs. 184 per kg. The median price of groundnut husk is approx. Rs. 3–3.5 per kg, and the median price of sodium hydroxide is approx. Rs. 33–34 per kg. So based on these mean values of base composition, the cost of preparation of 500 ml of base fluid will be around Rs. 2. The cost of preparing 500 ml groundnut husk drilling fluid at 4% concentration will cost around Rs. 2.8, and the cost of 500 ml of drilling fluid with the same concentration of PAC-LVG will cost around Rs. 5.70. Thus, the groundnut husk additive is 50.79% more cost-efficient than the industrial PAC-LVG, and this becomes a hundredfold when used for oil and gas drilling operations.

Hence, based on the above observations of present investigation and comparative analysis, it is successfully demonstrated that the groundnut husk additive mainly of 63–74 µm particle size shows more consistency as compared to PAC on all parameters as discussed in this paper. It provides a reduction in fluid loss without deviation from base rheology, which is largely comparable with PAC and having less environmental impact due to its biodegradable nature. Lastly, we conclude that the groundnut husk additive can be used in place of PAC-LVG, such that it reduces the fluid loss while retaining its rheological behavior and hence is better suited for drilling hydrocarbon exploration wells in geologically complex scenarios.

Conclusions

The outcome of the current research work suggests that the groundnut husk can be successfully used as a cost-effective biodegradable alternative to industrial-grade PAC-LVG, which acts to reduce the API Filtration losses. The key outcomes of the laboratory analysis and data interpretation are summarized as follows,

  1. 1.

    Cellulose generated from groundnut husk is proposed as a fluid loss retarder additive. The 63–74 µm proposed additive showed a stable decline trend with a decrease of 91.88% in the filtration loss at 5.0 ml as opposed to a decrease of 98.21% in the filtration loss at 1.1 ml for PAC.

  2. 2.

    The rheological properties illustrated by the proposed additives do not show much deviation from the base mud in terms of viscosity, yield strength, and gel strength. The mud weight at 1.13 g/cc remained constant for all the formulations, while the higher pH values are observed for all the husk formulations as compared to PAC.

  3. 3.

    The mud cake permeability decreased with mean particle diameter as filtrate volume decreased from 250 to 297 µm sample to 63–74 µm sample. The least fluid loss is obtained at the finer end of the particle range, i.e., uniform gradation of particle size is of secondary importance as compared to the particle range as it will result in pore openings for the finer particles to pass through and result in fluid loss.

  4. 4.

    The groundnut husk additive was found to be 50.79% more cost-efficient than the industrial PAC-LVG, and this cost-effectiveness increases exponentially when used at an industrial level for actual drilling operations.

  5. 5.

    It is thus concluded that the proposed groundnut husk additive acts as a more cost-efficient filtrate retarder additive without much deviation from base rheology and is therefore recommended as a suitable alternative to PAC-LVG.