Introduction

Global energy demand is predicted to rise by 30% between 2010 and 20401. Additionally, it is projected that oil consumption will reach 111.1 million barrels per day by 20402. Improving oil recovery from diminishing oil reservoirs has become more essential due to the depletion of oil supplies and the rise in energy demand caused by population expansion and rapid industrial development3,4. Crude oil recovery can be divided into three main stages: primary, secondary, and tertiary. The first and secondary stages of oil extraction are known as traditional methods in the petroleum industry .The third phase, however, is known as enhanced oil recovery (EOR)5. Less than 30% of original oil in situ (OOIP) is produced by the primary recovery using artificial lift and natural flow5,6. Oil is pushed out of the petroleum reservoir by the natural pressure of trapped crude oil. As the main process proceeds, the reservoir pressure decreases below a certain level, which prevents the trapped oil from pushing in the direction of producing wells. Gas or water injections are used in secondary oil recovery to preserve or improve the natural pressure in the reservoir7. In water flooding, a reservoir’s pressure is maintained by injecting water into it through a series of injection wells3. The projected amount of oil recovered in the primary and secondary processes typically equivalent to 20–50% of the deposit, depending on the characteristics of the oil and reservoir8. Because of this, the residual oil in the reservoir can be extracted using a tertiary recovery phase, commonly referred to as enhanced oil recovery (EOR). Among the several processes involved in EOR is chemical flooding9,10. Gas injection11,12 ,and thermal recovery13. Gas injection techniques use a variety of gases to improve oil recovery. The advantages of gas injection include improved oil recovery, extra reservoir life, and increased overall oil extraction process efficiency14.The effectiveness of the surfactant is determined by lowering the interfacial tension to very low levels (as low as 10–4 mNm− 1), between the injection fluid and the recovered crude oil that is still in the reservoir15,16. Maintaining a low IFT for prolonged periods of time is necessary for surfactant flooding to be effective17. Oil recovery must be increased by using new recovery techniques because the rate of oil production from reservoirs has decreased in the recent decades18,19. One application for emulsions is emulsion flooding for enhanced oil recovery (EOR). The EOR method involves combining water and crude oil to create an emulsion, which is then stabilized by adding surfactants. The main objective of the additional surfactants is to target the ultralow of interfacial tension (10 − 2 10 − 4 mNm− 1). At the same time, the alkane carbon number (ACN) of the crude oil, which varies from 7 to 9, must be attained in order to achieve the lowest possible interfacial tension20,21. Early studies on EOR in the literature also indicated that the alkane carbon number (ACN (, or the number of carbons in a straight alkane chain) for normal alkanes, or so-called )EACN( for a mixture of hydrocarbons or non-alkyl hydrocarbons, was largely related to the optimal brine salinity developed for a particular brine-oil-surfactant mixture22,23,24,25. The alkane model, first presented by Cayias,25 greatly facilitates the study of interfacial tensions in an oil-surfactant-water system. In order to study the interfacial tensions of surfactant systems against n-alkanes, Cayias introduced the idea of the equivalent alkane carbon number26,27. This model resembles a) V-shape (of the relationship between the interfacial tension and the n-alkanes (n-C6 to n-C18). The Cayias model is used to determine the minimum alkane carbon number (n min) at which the interfacial tension is reduced to its greatest extent. The interfacial tensions between surfactant solutions with varying )n min ( values and different model oils with different equivalent alkane carbon number (EACN) values have also been determined28. The hydrophobicity of crude oil is represented by )EACN(, making it a crucial parameter for finding out the ideal salinity. Knowing the )EACN( of the crude oil makes it easier to formulate a middle phase micro emulsion system (concurrent with ultra-low IFT value under optimal Salinity condition) for EOR by surfactant flooding. Thus, before creating a surfactant formulation for EOR, it would be beneficial to ascertain the )EACN( of the crude oils. When created with true ternary s-o-w (surfactant-oil-water) systems, the properties of micro- and macro-emulsions depended on both the oil and the surfactant’s nature27. Several parameters’ effects on )n min (have been previously reported and briefly reviewed. Currently recognized as critical factors in achieving low interfacial tension are the electrolyte, surfactant concentration, surfactant average molecular weight, the type of oil phase age of the surfactant solution, and alcohols29,30. The nature of the oil, which is frequently expressed by the alkane carbon number (ACN) or the equivalent alkane carbon number (EACN) in cases where the oil phase is not an alkane, is one of the formulation variables31. When the hydrophobic alkyl group chain length is increased for a succession of surfactants with the same basic molecular structure, (n min) increases almost linearly; hence, the equivalent alkane carbon number (EACN) increases as the molecular weight increases. However, the (n min) is decreased when hydrophilic groups, such ethylene oxides, are added to increase the molecular weight. In fact, it appears to be better to modify (n min) by adjusting the hydrophilic = lyophilic balance (HLB) of the surfactant32. In addition to the surfactant molecular weight, the hydrophobicity of anionic surfactants can be modified by altering the hydrocarbon group structure. Some researchers have studied this significant impact of the molecular structure on n min32. It has been demonstrated in more recent research that anionic extended surfactants, which contain intermediate-polarity groups like propylene oxide (PO) and ethylene oxide (EO) inserted between the hydrophilic head and hydrocarbon tail of the surfactant, can produce middle phase micro-emulsions with low IFT and high solubilization of oil without compromising their water solubility33. As a result, several extended surfactants with various characteristics recently made a lot of attention and been studied for numerous practical applications because of these appealing qualities that are very desirable for practical uses34,35,36. Even so, the (EACN) of crude oils has only been the object of a small number of research37 .

The main object of this work is to use these surfactants in two forms, nonionic and cationic moieties, in the chemical EOR application to evaluate their potential in the enhanced recovery factor (RF). Attention should be extended to studying the different parameters, alkane carbon number, IFT, and contact angle, to calculate the work adhesion, spreading coefficient, and surface distribution charge and investigate their effect on the RF. A mechanism of wettability alteration should be introduced in the light of these standard parameters.

Material and measurements

Material

Surfactants

Seven surface-active agents were prepared based on ricinoleic hydrazide. The six surfactants that have a nonionic moiety were prepared by a reaction of ricinoleic hydrazide with succinic anhydride in an open-ring reaction, and then the product reacted with different molecular weights of polyethylene glycol to produce this formula (PMRH x). The letter seven surfactant has a cationic moiety, and its general formula is (RHATAs)38.

The used crude oil and formation water

The crude oil was supplied by the General Petroleum Company (GPC), Egypt. The physical and chemical properties are shown in Table 1. Figure 1 describes the gas chromatography for the used crude oil to determine its equivalent alkane carbon number (EACN).

The formation water was also supplied from the (GPC), Egypt. Its TDS was 50 × 103 ppm.

Table 1 General characterization of the used crude oil.
Fig. 1
figure 1

The GC chromatogram of the used crude oil.

Measurements

Surface and interfacial tension measurement

The sessile drop technique was employed by a Theta optical tensiometer to measure the tension between surfactant solution and oil ( IFT ) at 50 °C in formation water39,40,41. The pendent drop technique was employed by a Theta optical tensiometer to measure the surface tension of surfactant solution at different concentration in formation water. The CMC is the concentration at which surfactant molecules start to form micelles in the solution by absorbing more of the interface than a monolayer. The interfacial tension was measured for the blank sample (used crude oil, 24.5mNm− 1).

Contact angle measurement

The wettability of a flat rock surface saturated with crude oil from the reservoir model was evaluated by measuring the contact angle. The sessile drop method was used to conduct the experiments at 50 °C using a Theta optical tensiometer41. At the critical micelle concentration (CMC), the contact angle was measured with and without the surfactants.

Dynamic viscosity measurement

The PVC Brookfield was utilized to measure the dynamic viscosity for untreated and treated crude oil with the used surfactants at concentrations of the CMC and 25 and 50 °C. The Yield value ƮB, apparent (ηapp), and plastic (ηPl) viscosity values were determined. The flow curves can be analyzed using the Herschel-Bulkley equation:

$$\k{T}= \k{T}{_B} + {\rm{K}}\,{\rm{DM}}$$
(1)

Where Ʈ represents the shear stress ƮB represents the dynamic yield stress “Bingham yield value”, K represents the consistency index, m represents the shear thinning index and D represents the shear rate. The Bingham yield value (ƮB) may be derived from the graph`s intercept showing the relationship between shear stress and shear rate. However, the dynamic apparent viscosity is obtained from the straight line of the shear rate – viscosity equation. The slope of the lines between shear rate and shear stress is expressed.

Surfactant flooding Test42,43

In this experiment, sand-packed equipment was used to perform a surfactant flooding test. The apparatus measured 30 cm in length and 5.0 cm in internal diameter, yielding a bulk volume of 589.28 cm3. The model was filled using sand of varying sizes. To achieve a specific porosity of 23.75%, the sizes utilized were 12, 18, and 20 mesh (1.68, 1.00, and 0.841 mm), respectively. Figure 2 shows the various kinds and sizes of sand that were utilized to create the sand-packed model. The apparatus was saturated for two days with formation water before the experiment. Then, at a rate of 1 cm3/min, 140 cm3 of oil was injected into the apparatus while the reservoir was at 50 °C and 2.0 MPa. 120 milliliters of crude oil out of 140 milliliters saturated the model; this amount (130 milliliters) is known as the initial oil saturation volume (VOI) and may also be referred to as the original oil in place (OOIP). The initial water saturation volume, or VWI (the volume of formation water left in the model after applying the oil saturation), is the remaining 10 ml from the pore volume. After that, the oil had been stored at 50 °C for 24 h. The amount of oil recovered during the secondary recovery stage was then evaluated by water flooding with formation water (TDS: 50,000 ppm). The tertiary oil recovery was then carried out, using concentration at CMC of the used surfactants, during the performing flooding process (3ry recovery).

The following steps were taken to complete the core-flooding experiments44,45,46,47.

  1. 1.

    Packing of sand (Sand stone rock Model) to get porosity

$${\rm{Pore\, Volume = }}{{\rm{V}}_{{\rm\textbf{total\,distilled\, water\, used\, in\, Packing}}}}{\rm{ = 140 ml}}$$
(2)

The sand-pack model was cylindrical, with 30 cm in length and 5.0 cm in internal diameter. So, the volume of the sand pack can be calculated as follows:

So, the total bulk volume is equal to 589.28 cm3.

Hence, the porosity can be determined:

$${\rm{Bulk\, Volume = \pi }}{{\rm{r}}^{\rm{2}}}{\rm{h\;}}$$
(3)
$${\rm{Porosity = Pore\, Volume / Bulk\, Volume}}$$
(4)

The porosity of the sand is then equal to 23.75%.

  1. 2.

    Formation water saturation

Formation water was injected until pronouncing complete saturation.

  1. 3.

    Oil saturation

After saturation of the sand pack by formation water, the crude oil of 40 cP was injected at a constant rate of 10 ml/h through the sand pack to calculate the original oil in place (OOIP).The core was aged for six days to achieve a laboratory-scale petroleum reservoir model .To calculate the initial water saturation and subsequently the initial oil saturation (OOIP), the volume of crude oil saturated the model was measured by measuring the displaced water after oil saturation.

From the 1st step, the pore volume is equal to 140 ml.

From this 3rd step: the displaced water after oil saturation is equal to 130 ml. From this value, the original oil in place (OOIP) can be calculated as follows:

$${\rm{Initial\, water\, saturation\, volume,\,}}{{\rm{V}}_{{\rm{WI}}}}\left( {{\rm{ml}}} \right){\rm{ = Pore\, Volume - Displaced\, Water}}$$
(5)
$${\rm{Initial\, Water\, Saturation\, Percent,\,}}{{\rm{V}}_{{\rm{WI}}}}\left( {\rm{\% }} \right)\:\left( {\frac{{{\rm{Initial}}\:{\rm{Water}}\:{\rm{Saturation}}\:{\rm{volume}}\:\left( {{\rm{ml}}} \right)\:}}{{{\rm{Pore}}\:{\rm{Volume}}}}} \right){\rm{x}}\:100$$
(6)

As the displaced water = 130 ml.

So, the initial water saturation volume (ml) = 140–130 = 10 ml.

Initial water saturation % =\(\:\:\left(\frac{10}{140}\right)\text{x}\:100=7.14\:\text{\%}\)

Then the original oil in place can be computed.

$${\rm{OOIP = \;Is\, the\, initial\, oil\, saturation\, volume,\,}}{{\rm{V}}_{{\rm{OI}}}}\left( {{\rm{ml}}} \right){\rm{ = Pore\, Volume\,-}}{{\rm{V}}_{{\rm{WI}}}}\left( {{\rm{ml}}} \right)$$
(7)
$${\rm{Initial\, oil\, saturation\, percent,\,}}{{\rm{V}}_{{\rm{OI}}}}\left( {\rm{\% }} \right){\rm{ = }}\:\left( {\frac{{{\rm{Initial}}\:{\rm{Oil}}\:{\rm{Saturation}}\:{\rm{volume}}\:\left( {{\rm{ml}}} \right)\:}}{{{\rm{Pore}}\:{\rm{Volume}}}}} \right){\rm{x}}\:100$$
(8)

Therefore, OOIP = Is the initial oil saturation volume, VOI (ml) = 140–10 = 130 ml.

Initial oil saturation Percent (VOI, %) = \(\:\left(\frac{130}{140}\right)\text{x}\:100=92.85\:\text{\%}\)

  1. 4.

    Secondary oil recovery (Formation water Flooding)

The formation of water flooding as a secondary oil recovery system was performed with a fixed flow rate of 3 ml/min. Formation water was constantly pumped until the sand pack model stopped producing any oil (or less than 1 ml). The oil and water which were produced as a result of the flooding were collected in the various graduated cylinders. The volumes of oil gathered have been recorded and this is the recovery factor volume of the secondary stage (RF2ry, ml). From this value, the recovery factor percent of the secondary recovery (RF2ry, %) can be calculated. The water breakthrough has also been recorded. After the formation water flooding process was completed, the residual oil saturation “SOR” (which should be produced by the 3ry recovery) was also determined. The residual oil saturation volume of the secondary recovery, denoted as “SOR (2ry), ml” represents the volume of oil that is left within the rock after completing the brine flooding. Subsequently, the residual oil saturation percent “SOR (2ry), %” can then be computed.

  1. 5.

    Tertiary oil recovery by surfactant flooding

To simulate the reservoir temperature, the sand pack model’s temperature was adjusted to 50oC. The surfactant solution was flooded at a rate of 3 ml/ min after the sand pack model temperature had been raised to 50°C. The surfactant solution above the CMC concentration in formation water was injected until no further oil was released from the model. The liquid (oil and water) recovered by displacement process, was collected in the effluent collector or different graduated cylinders. The tertiary oil recovery volume (RF3ry, ml) and subsequent percentages (RF3ry, %) were determined at the end of this stage.

By utilizing the data on (RF2ry, ml) and (RF3ry, ml), it is possible to compute both the overall recovery and the residual oil content following the implementation of secondary and tertiary recovery processes46,48,49,50

$${\rm{The\, Total\, Recovery = \textbf{(R}}{{\rm\textbf{F}}_{{\rm\textbf{2ry}}}}{\rm\textbf {, ml) + \textbf{( R}}}{{\rm\textbf {F}}_{{\rm\textbf {3ry}}}}{\rm\textbf{ {,ml})}}}$$
(9)
$${\rm{The\, Residual\, Oil }} = {\bf{OOIP}}-[({\bf{R}}{{\bf{F}}_{{\bf{2ry}}}},{\rm{ }}{\bf{ml}}){\rm{ }} + {\rm{ }}({\bf{R}}{{\bf{F}}_{{\bf{3ry}}}},{\rm{ }}{\bf{ml}})]$$
(10)

The produced oil and water from these surfactant displacements run, with different slug sizes, were collected in different graduated cylinders. The produced oil volumes have been reported for each injected surfactant slug size. Furthermore, the water breakthrough for these different surfactant slug sizes has been recorded. The properties of the reservoir model and condition are shown in Table 251.

The chemical flooding system used to perform the flooding test is depicted schematically in Fig. 3. The main components of this device include three cylinders containing formation water, crude oil, and chemical solution in the formation water, an injection pump, plug holder, back-pressure pump, production fluid collection cylinder. To control the temperature, the cylinders, and the plug holder are housed inside an oven. For the injection of certain fluid, the values in the connection line between the cylinder holding the other fluids are closed, whereas, the other valve was opened with the other injecting fluid. The injection rate was set to 2 cc/min.

Table 2 Properties of the reservoir model and condition.
Fig. 2
figure 2

Different sizes of the used sand for packing the sand stone model.

Fig. 3
figure 3

Chemical flooding flow chart.

Results and discussion

The tension between surfactant solution and hydrocarbon system (ACN)

The interfacial tension between crude oil and the injection chemical plays a vital role in the oil recovery process. The undertaken surfactants can reduce the interfacial tension between crude oil and its aqueous solution phase by increasing the ethylene oxide number in the molecule52, as shown in Table 3. The reduction of IFT is a good indication for the formation of water base emulsion (O/W) during the surfactant flooding process, which will help achieve the best possible oil recovery. The IFT was determined against n-alkanes to detect the (n min) (at which the minimum IFT was achieved). It can be identifying the EACN from the V-shaped curves as shown in Fig. 4. The equivalent alkane carbon number (EACN) is shown on the curve lines in Fig. 4. This means that every used surfactant achieved a certain (n min) at n-c14, but at the same time by some different ratio of different n-alkanes up and down the (n min ) can detect the equivalent alkane carbon number (EACN) of the used crude oil. If the used surfactant exhibited a minimum tension in the range of the EACN, it should be pronounced an emulsion (O/W) during the EOR process. By analysis of the GC chromatogram (Fig. 1.), it was found that the total molecular weight of the wax and paraffin of the used crude oil was about 14 (the main soluble hydrocarbon). This foundation is very important to detect the (n min) and the EACN of the used surfactant with the used oil. These factors are considered promising parameters during an investigation of surfactants in chemical oil recovery. The surfactant in this study exhibited (n min ) at n-c14. The γmin (the minimum interfacial tension at the (n min) was sensitive to the ethylene oxide number (EO). The γmin was measured by an increase of the EO number as shown in Fig. 4. The PMRH136 exhibited the minimum value of γmin (7 × 10− 2 mNm− 1) at n-c14. The more minimum IFT was obtained by the blend of PMRH136 with RHATAS (4 × 10− 2 mNm− 1).

Table 3 Surface tension, interfacial tension and contact angle of the blank oil, used surfactant and their some blends in the formation water at CMC concentration.
Fig. 4
figure 4

The ( n min )and Equivalent Alkane Carbon Number of the Used Surfactants and Oil.

Contact angle and wettability alteration

One important feature that surfactants can provide in a variety of applications is the capacity to alter surface wettability. Enhancing the effectiveness of oil recovery (EOR) requires changing the wettability of reservoir rocks in petroleum wells53 The hydrophilicity of the surfactants used for oil displacement is higher than the lipophilicity. When these surfactants are adsorbed on the surface of the formation rock, they can change the rocks’ wettability, which lowers the contact angle between the rock surface and the formation water. This effect increases the efficiency of displacement and decreases the adhesion work between rock and oil. It is expected that water-wet reservoirs will be a good source for obtaining high oil recovery. By measuring the contact angle, θ, with either water or oil droplets, one can determine the strength of the attraction between the water and oil phases in the three-phase system (water solution, oil, and rock surface). In general, a system is categorized as water-wet when using water droplets if the contact angle is between 0˚ and 90˚. While contact angles above 100˚ represent oil-wet conditions, those between 90˚ and 100˚ represent an intermediate wet regime. Thus, a contact angle of less than 90˚is usually required when using the produced surfactants to improve chemical EOR (Enhanced Oil Recovery)54.

The arising different equilibrium phases of the contact angle are associated with the free interfacial energy. This was explained by some investigators55. The surfactant in the formulation of EOR plays an important role in reducing the tension between the formation water and tested oil, consequently, affecting the contact angle between oil and water at the interface area and making an emulsifier to solubilize the oil in the form of emulsion phase (O/W). So, if the angle of contact in the hydrocarbon system is < 90˚ the oil surface is concave toward the water producing a W/O (water in oil emulsion). On the other hand, if the contact angle is measured in the water phase and gives a value < 90˚, the water surface is concave toward the oil to produce an O/W (oil–in–water emulsion). The type of O/W emulsion is very preferable in the EOR application because it indicates the surfactant flooding carried out as it was expected, as shown in Table 3. The data in Table 3, indicate that the used blank oil droplet’s contact angle was 159˚ in formation water, which is noticeably high. The sand model sample thus changes from wetted oil phase to the aqueous phase when the surface charge (γs) changes from negative to positive value. The surface free energy of the used surfactants was positive values as shown in Table 4. The γs increased by EO increase. The minimum γs was obtained with PMRH 9 (0.66 mJ/ m2), meanwhile, the maximum of γs was achieved with PMRH 136 (44.64 mJ/ m2). This result may be due to the increase of the (-O-) bond on the poly oxy alkylene chain acts to rises of γs as the presence of a loin pair of electrons on the oxygen atom. The surfactant decreased the contact angle of oil droplets and interfacial tension at the same time as a result of the decrease of the work adhesion. This finding may explain why the reduction requires work of adhesion to repel the oil droplets away from the rock surface and release them in the form of an emulsion56,57,58.If The contact angle of the water droplet was greater than 100 it was θ = 130.07˚ as in Table 3., suggesting that the rock sample was oil-wet and hydrophobic. The contact angle, however, dropped when the surfactant was added to the formation water at or above the increase of the critical micelle concentration (CMC), signifying that the tested model changed from an wetted oil to an aqueous phase.

These variations in the contact angle and interfacial tension suggest a reduction in the capillary forces, which are responsible for passing the liquid through the openings of the small pores. By lowering the energy required for adhesion, the reduction of capillary forces is essential for improving the oil recovery. Consequently, this facilitates the process of removing oil droplets from the sand model surface and releasing the hydrocarbon as an emulsion phase. The efficiency of oil recovery in the reservoirs that naturally have a preference for oil (oil-wet reservoirs) can be increased by changing the wettability of porous reservoir rocks to become more water-attracted (water-wet). By making this change, the contact angle value (θ) is guaranteed to stay at or below 90˚ degrees (θ < 90˚)42. The undertaken surfactants exhibited contact angles as; 41, 36,30, 25, 19, and 12 against the PMRH 9, PMRH 14, PMRH 23, PMRH 45, PMRH 91, and PMRH 136 respectively. While the contact angle of the cationic surfactant was 22˚.When the anionic surfactants were blended with the cationic, the contact angles became 15˚, and 12˚, for the blends (PMRH 9 + RHATAS) and (PMRH 136 + RHATAS) respectively. This change in the contact angle indicates to shift in the phase from wetted oil phase to the aqueous phase of the rock sample. This reduction in the contact angle facilitates the displacement during the oil recovery process .With the increase in the ethylene oxide content. The decrease in the contact angle as shown in Table 3, indicates improved surface wettability. This decrease in the angle of contact may be attributed to the affinity of the used surfactant to reduce the interfacial tension between the water and the oil at rock pores and surfaces. As a result, these surfactants exhibited enhanced wetting properties.

Work adhesion

In many surfactant applications, the wetting process is a critical character. The reduction of surface tension brought about by a surfactant has an impact on the contact angle (̨θ) of a liquid with a solid surface (oil, formation water, and rock). The contact angle is also affected by the solid surface energy and solid-liquid interfacial tension in addition to the tension of the liquid. The position and orientation of surfactant molecules at the solid-liquid interface have an impact on the adhesion process. The variation between cohesion work (Wc) and the work of adhesion of solution to the surface (Wa) can be used to inform the wetting process. The Adhesion work (Wa) and contact angle (θ) are dependent on the surface tension of both liquid and solid surface tension. The residual oil saturation dropped and the displacement mechanism became simpler as a decrease of contact angle between the fluid, oil, and rock system. For the surfactant molecules present in the flooding process to adsorb in the oil/rock interface layer, the contact angle increases with the oil and decreases with the surfactant liquid/rock. The amount of oil collected increased as a result of the oil starting to flow on the surface of the sandstone or in the pores and becoming soluble as an oil-in-water emulsion. The adhesion work was computed and reported in Table 4. The Younge-Dupre equation was used to compute the work adhesion.

$${W_a} = {\gamma _L}\left( \rm{{Cos\theta}+ 1} \right)$$
(11)

The young-Dupre equation, which links the work adhesion to the wetting liquid`s surface tension, invariably result in more adhesional wetting ( γL) and contact angle at the solution interface ( θ )59,60. From the data in Table 3, it was found that the increase of the contact angle (decrease of Cos θ) reflects an increase in the solution surface tension. When the contact angle is 180˚, which is never reached, the driving force of adhesional wetting is equal to zero and can never be negative. The term “cohesion work” (Wc) refers to a liquid self-adhesion.

$${{\rm{W}}_{\rm{C}}}{\rm{ = 2}}{{\rm{Y}}_{\rm{L}}}$$
(12)

When, if Wa > Wc, the spreading coefficient forms a thin layer on the sandstone by spreading on its own, if Wa< Wc, the spreading coefficient is negative, if θ is greater than zero, and the liquid produce droplets or lenses with a restricted contact angle rather than spreading across the substrate (sandstone). The spreading coefficient is zero when the work of adhesion and the work of cohesion are equal.

From the data of (Wa) in Table 4, it was found that the Wa decreases as the EO number increases as shown in Fig. 5. The value of Wa for PMRH 9 was 1.579 mJ/m2, whereas it was 0.138 mJ/m2 for PMRH 136. The blend between the cationic surfactant and nonionic (PMRH 136) exhibited positive synergism and pronounced Wa equal to 0.079mJ/m2. It seems that the EO content plays an important role in decreasing the Wa which eases to repel the oil droplet from the surface.

Table 4 Work adhesion, surface free energy and spreading coefficient at 50 °C.

Spreading coefficient of surfactant on the rock surface

The spreading coefficient, which is a mathematical expression for the variation in the adhesion work and the work of cohesion, describes how liquid spreads over a solid surface. For the oil to naturally spread across the sandstone rock`s surface (or model), reduce the system`s surface free energy, which depends on a decrease in the area at the interface. The saturation of the rock by oil is in equilibrium with interfacial tension. Spontaneous spreading is possible if the spreading coefficient is positive and it is vice versa if it is negative. The spreading coefficient of surfactant molecules on the surface of the sandstone was determined using Eq. (13).

$${{\rm{S}}_{{\rm{coff}}}}\,{\rm{ =\,}}{{\rm{\gamma }}_{\rm{L}}}\left( {{\rm{Cos}}\theta{\rm{ }} - 1} \right)$$
(13)

The spreading coefficient (Scoff) is equal to the difference between the work adhesion of liquid and its work of cohesion for the sandstone model.

$${{\rm{W}}_{\rm{a}}}{\rm{-}}{{\rm{W}}_{\rm{c}}}{\rm{\,=\,}}{{\rm{S}}_{{\rm{coff}}}}$$
(14)

Where Scoff is the spreading coefficient, γL is the IFT and θ is the contact angle (finite), (Cos θ −1) is always negative and resulting Scoff negative value as shown in Fig. 5. If the contact angle is 0, the spreading coefficient may be zero or positive. In both cases, total spreading wetness, take place. It can be used spreading coefficient as an index to measure wettability because the spreading coefficient is positive and rises with increasing wettability51,61.

From the data in Table 4, it was found that, the spreading coefficient of the (PMRH 136 + RHATAS ) equal − 0.87 × 10 − 3. Meanwhile, it was − 15 × 10− 4 for the individual surfactant PMRH136 .

Surface charge energy

The surface-free energy was calculated using Eq. (15).

$${{\rm{\gamma }}_{\rm{L}}}\,{\rm{cos \,\theta = \theta \,}}{{\rm{\gamma }}_{\rm{S}}}\,{{\rm{\gamma }}_{{\rm{SL}}}}$$
(15)

Where γSL the interfacial tension of the system, γL the surface tension of the liquid (m N/m), and γS the surface free energy of the rock, by rearranging Eq. (16)51.

$${{\rm{\gamma }}_{\rm{S}}}{\rm{\,=\,}}{{\rm{\gamma }}_{\rm{L}}}\,{\rm{cos\, \theta /\;\theta\,}}{{\rm{\gamma }}_{{\rm{SL\;\;\;\;\;\;\;\;\;\;\;\;}}}}{\rm{mJ/}}{{\rm{m}}^{\rm{2}}}$$
(16)

The maximum value of the surface charge energy was obtained with the PMRH136 (44.64mJ/m2). Meanwhile the minimum value was achieved by the PMRH9 (0.66064mJ/m2 ). However, the lowest interfacial tension (4 × 10− 2 mNm− 1) was exhibited against the blend ( PMRH136 + RHATAS). As a result of decreasing the tension, this blend achieved a surface charge energy equal (72.68 mJ/m2). It can be concluded that the increase of ethereal bond (-o- ), increases the surface charge energy. The increase of oxygen bonds along the ethylene oxide chain in the surfactant molecules plays an important role in increasing the surface charge energy as shown in Fig. 5. This means that the surface charge energy is directly affected by the surface of the liquid and the contact angle, which provides that, the surfactant chemical structure is very important in the EOR.

Fig. 5
figure 5

(a)-Relation between ethylene oxide number and work adhesion. (b) Relation between ethylene oxide number and surface free energy. (c) Relation between ethylene oxide number and spreading coefficient.

Rheological properties

The rheological properties of the synthesized nonionic surfactant at a salinity of 50.000 ppm were determined at 25 and 50°C. The Herschel-Bulk ley equation was utilized to analyze the flow curve62.

The effect of the used nonionic surfactant on the rheological behavior of formation water at different temperatures was listed in Tables 5 and 6. It was found that the values of apparent viscosity ( ηapp ) and plastic viscosity ( ηpl ) of the PMRH 9, PMRH 14, PMRH 23, PMRH 45, PMRH 91, PMRH 136 increase with increasing of ethylene oxide number and decrease with increasing temperature as shown in Fig. 6. The yield value (ƮB) increases with increased ethylene oxide number and temperature as shown in Table 5; Fig. 7.

One can conclude that these surfactants not only reduce the interfacial tension but also increase the viscosity of their solutions. This finding gives these surfactants the privilege to play two roles in the EOR process. The first role is to minimize the IFT, which serve to repel the emulsion-forming oil droplet. The second role is to increase the viscosity of the chemical flooding solution which may act as sweeping of oil and emulsion from the pores, consequently enhancing the recovery factor. This observation may be pronounced as the result of an increase of ethylene oxide chains that are coiling in the solution, consequently, the viscosity increases. Enhanced Oil Recovery Factor of the Surfactant Flooding.

The nonionic and cationic surfactants were used in chemical flooding formulations to assess the effectiveness of oil recovery. To change the wettability of the rock surface, the flooding approach depends on choosing the ideal surfactant concentration while accounting for variables including critical micelle concentration (CMC), interfacial tension (IFT), and contact angle (CA). These elements have a great impact on how the flooding process turns out.

The injected pore volume of a sand-packed model was used for various sets of flooding experiments for the nonionic and cationic surfactants at somewhat higher CMC concentrations, temperatures (50 °C), and salinities (50 × 103 ppm). The trapped oil in the pores is released upon flooding with a surfactant solution due to a reduction in the IFT between the oil and the injecting surfactant solution. To interact with the trapped oil, it can lower the IFT, decrease the wettability of the rock, solubilize the oil by generating an oil-in-water emulsion, and raise the recovery factor (RF). By analysis of these factors, the (PMRH 9, PMRH 14, PMRH 23, PMRH 45, PMRH 91 PMRH 136, and RHATAS) exhibited high performance and favorable results. The process of flooding in a one-dimensional model with sandstone under reservoir conditions that were simulated was investigated through experiments. Two distinct methods—a secondary oil displacement (2ry recovery) and a tertiary oil displacement technique (3ry recovery), which involved two processes overall—were used to establish the oil recovery factor. After the sand pack was saturated with crude oil, brine was injected into it in the first stage, which is equivalent to the secondary recovery technique (2ry recovery). The remaining oil was left in the rock, but some of it was successfully extracted. High interfacial tensions alone—no chemical interaction—caused the oil to be displaced by the formation of water.

In order to recover the residual oil in the sand pack model, a tertiary recovery method (3ry recovery) has to be used in the second step. During the flooding process, this technique involves injecting solutions of surfactants (surfactants dissolved in formation water). These solutions reduced the interfacial tensions between the oil and formation water fluids and increased sweeping efficiency. The amount of recoverable oil rose as a result of increased ethylene oxide content. The oil recovery volume recovered in each step (secondary and tertiary oil displacement procedures) was added up to determine the total oil recovery factor (RF), which can be reported as a percentage in milliliters (ml) or as a percentage of the original oil in place (OOIP).

The total recovery factor determined by secondary and tertiary recoveries is denoted by RFTotal. According to results, the overall recovery factor for PMRH 9, PMRH 14, PMRH 23, PMRH 45, PMRH 91, PMRH 136, and RHATAS was 72%, 75.3%, and 76.94% OOIP, 78.6%, 81.9%, and 85.2% OOIP, respectively, and 76.8% OOIP for RHATAS as shown in Table 7.And Figs. 8 and 9. According to these results, the recovery factor increases as the ethylene oxide number increases as shown in (Fig. 10). The maximum recovery for individual used surfactant obtained PMRH 136 (85.20%), and the lowest recovery achieved by PMRH 9 (72%). However with blends between the RHATAS and PMRH 9 and with PMRH 136 at various ratios from (nonionic: cationic) surfactants, it was found that the blend (PMRH 136: RHATAS) pronounced the highest oil recovery factor at a ratio (75:25). As shown in Table 8; Fig. 11.The total recovery factor for this blend arrived 92%.

This result was obtained as the result of mixing surfactant at a certain ratio, a good micelle should be formed, and maximum reduction of IFT was achieved lowest contact angle. These factors make the maximum solubilization of the oil throughout the flooding procedure, furthermore, the RF increases.

Fig. 6
figure 6

The relation between (a) ηapp and (b) ηplaVs EO number at different temps.

Fig. 7
figure 7

The relation between shear stress and shear rate at different temp.

Fig. 8
figure 8

The cumulative oil at secondary recovery vs the injected pore volume.

Fig. 9
figure 9

The cumulative oil at tertiary recovery vs the injected pore volume.

Fig. 10
figure 10

The relation between ethylene oxide number and recovery %.

Fig. 11
figure 11

Relation between oil recovery and blend ratio.

Table 5 Dynamic viscosity parameters for the used surfactant at 25 and 50°C.
Table 6 Apparent and plastic viscosity at 25 and 50°C.
Table 7 Cumulative oil recovery for PMRH 9, PMRH 14, PMRH 23, PMRH 45, PMRH 91, PMRH 136 and RHATAS.
Table 8 Effect of blends (Nonionic: Cationic) surfactants on enhanced oil recovery.

Mechanism of enhanced oil recovery method42

In this work the mechanism of enhancing the recovery factor on the light of changing wettability, contact angle, IFT, work adhesion, spreading coefficient, and surface charge energy is described in different phases as shown in Fig. 12. At the surfactant phase, the rock (sand backed model) is completely oil-wet in the presence of surfactant, the molecules are adsorbed continuously up to make completely adsorption which have been achieved at the CMC. The adsorption process passes via the adsorption of monomeric molecules, then at the pre-micelle phase up to the complete micelle form. The oil droplet is in complete contact with the oil-wet rock surface, by introducing the surfactant pre-CMC will affect the contact angle, where, the rock surface that is moist with oil has the oil droplet adhered to it (θ>>90˚). At the solubilization phase, the trapped oil surface is surrounded by a monomeric adsorbed layer created by the surfactant (on the surface of oil, surfactant molecules begin to adsorb ) at this point the surface is still oil wet but the contact angle somewhat reduces ( θ = 90˚), the complete monolayer of the adsorbed surfactant is formed at the CMC of the surfactant. The surfactant molecules reduce the IFT by penetrating the rock-oil contact. Therefore, by forming a persistent layer between the rock surface and the oil droplet, the penetrating surfactant molecules reduce the contact angle further (θ ≤ 90˚), which is called intermediate wettability. At pre- repelling phase ( nearly water-wet ), The IFT and work adhesion will reach to minimum value and high surface free energy at the final stage, and the contact angle is going very low (θ << 90˚), The oil droplets are going to complete repelling and the sand backed model ( rock ) is nearly water - wet. After that, the O/W emulsion is formed, which is swept easily through the pore during the adsorption of surfactant molecules to achieve maximum recovery factor.

Fig. 12
figure 12

The mechanism of EOR.

Conclusion

The conclusion of this work can be addressed in the following points.

  • The γmin and (n min ) (alkane carbon number, ACN) at 50°C and CMC concentration were determined by the n-hydrocarbon scans (n-c6 to n-c18) against the interfacial tension. From the obtained result, it was found that the γmin recorded in order of 10− 2 mNm − 1 at ( n min ) n-c14.

  • The work adhesion (Wa), surface charge energy, and spreading coefficient were calculated for the used surfactants on the basis of surface interfacial tension and contact angle.

  • The rheological properties of the solution of these surfactants at CMC and 50 °C were measured to determine the dynamic (ηapp) Bingham yield value and plastic viscosity (ηpl). These surfactants exhibited a reduction in IFT and they increased the ηapp and ηpl viscosity of their solution, which gives the privilege to apply in the EOR.

  • The Wa, γs, and Ws were very sensitive to the increase of ethylene oxide number of surfactant. The Wa decreased, the γs increased and the Ws also increased by the increase of EO units in the surfactant molecules. The recovery factor was directly affected by these factors.

  • The recovery factor of the crude oil was investigated by using a sand back model at 50 °C on crude oil (API (35), Pour Point (9), and Wax Content (15.5%).

  • From the obtained data it was found that PMRH 136 exhibited the maximum oil recovery (85.20%), meanwhile, its blend with RHATAS exhibited a recovery factor (92%).