1 Introduction

Some half of all oil reservoirs in the world are composed of fractured carbonate rocks which contain more than half of the remaining oil in the world. The most significant challenge faced in producing oil from reservoirs, which ends up reducing the oil recovery factor, is the trapping of large amounts of oil within the rock matrix and adhesion of the oil to the rock surface (Treiber and Owens 1972; Chilingar and Yen 1983; Cuiec 1984). Wettability alteration of calcite surfaces from water-wet to oil-wet may occur due to adsorption of polar components of crude oil, particularly carboxylate molecules, onto the surface of carbonate rock. Neutral-to-oil-wet states of carbonate reservoirs are due to the adsorption of carboxylate components of crude oil on the calcite surface (Anderson 1986; Dubey and Waxman 1991).

Due to the high permeability of the fracture network compared to the rock matrix, the existing oil within the fractures is withdrawn rapidly, during oil displacement by water, while large volumes of oil remain within the rock matrix. One of the main oil production mechanisms in fractured carbonate reservoirs is the spontaneous imbibition mechanism. However, the oil-wet nature of the rock matrix hinders the effectivity of this mechanism, leaving large amounts of oil within the rock matrix (Saidi 1987; Standnes and Austad 2000a). As a result, any process which can alter wettability of the rock matrix to water-wet will be recognized as an effective approach to enhanced oil recovery (EOR) from fractured carbonate reservoirs. One of the most commonly applied novel EOR techniques for fractured carbonate reservoirs is smart water injection and many researchers have shown the positive effect of this method for improving oil recovery (Ebrahim et al. 2019; Park et al. 2018). The chemical treatment of the injected water was first introduced by Bernard in 1967 but it failed to gain much attention. More serious studies of this topic started later on, in 1990, when the results of research by Wyoming University were published. Researchers from British Petroleum coined the term low-salinity water, while those from Shell adopted the term designed water to describe this technique. Nevertheless, smart water is a general term which encompasses all of such methods. Results from the previous research indicate that the use of smart water and several surfactants can alter carbonate rock wettability from oil-wet to water-wet to enhance oil recovery (Strand et al. 2008, 2016; Fathi et al. 2010; Yi and Sarma 2012; Puntervold et al. 2015; Pal et al. 2018). A study by Strand et al. (2008) showed that the Ca2+, Mg2+, and SO42− ions in seawater can enhance oil recovery in chalk rocks (Strand et al. 2008). They reported the change in wettability of the chalk rocks as the main reason behind the enhanced oil recovery. Fathi et al. (2010) found that not only do the concentrations of the active ions (Ca2+, Mg2+, and SO42−) contribute to oil recovery, but also NaCl content affects this process, so that an increase in NaCl content reduces oil recovery. Puntervold et al. (2015) observed that with removing the NaCl salt and increasing the concentration of SO42− ions in modified seawater, oil recovery was enhanced significantly in spontaneous imbibition experiments at 90 °C.

Zahid et al. (2012) investigated the effect of flooding with smart water of high salinity on oil recovery in Stevns Klint chalk cores. Their results indicated enhanced oil recovery using high-salinity seawater for all three samples of North Sea, Latin America, and Middle Eastern crude. Standnes and Austad (2000b) suggested that cationic surfactants have large impacts in altering carbonate rock wettability toward water-wet conditions, thus enhancing oil recovery. The mechanisms proposed for wettability alteration of carbonates to water wetness include the formation of a pair of ions between the surfactant and fatty acids adsorbed on the rock surface. Jarrahian et al. (2012) studied the effects of three surfactants, cationic, anionic, and nonionic, on the wettability state of dolomitic rock. Their results showed that the cationic surfactant imposed larger effects in changing wettability. Their proposed mechanism for the alteration of the wettability with the cationic surfactant, C12TAB, was ionic interaction between the surfactant and fatty acid adsorbed on the rock surface. Karimi et al. (2016) investigated the effect of a cationic surfactant along with Mg2+ and SO42− ions on oil recovery, using spontaneous imbibition tests. Their findings indicated that a combination of a cationic surfactant along with the potential determining ions can induce a greater increase in oil recovery in spontaneous imbibition tests. From the results of the previous research, it can be understood that surfactants can contribute to changed wettability and enhanced oil recovery from carbonate reservoirs (Saidi 1987; Yi and Sarma 2012). For field applications, however, large amounts of these expensive chemicals are required. Thus, for economic reasons, oil companies are reluctant to employ these materials in field applications, so that the use of low-cost methods has gained a large deal of attention. Therefore, it seems that a combination of smart water with low amounts of surfactants represents a feasible injection fluid on field scale. The present research investigates the effect of the mixture of smart water with three surfactants: C12TAB, SDS, and TX-100 on wettability state and oil recovery from carbonate reservoirs, using contact angle measurements, spontaneous imbibition tests, and TGA analysis.

2 Experimental

2.1 Solid phase

Carbonate reservoir rock from an oil field in south Iran was used in contact angle measurement tests, spontaneous imbibition experiments, and TGA analysis. For the spontaneous imbibition tests, 55-cm-long cores with a diameter of 37 mm were used, while slices of 37 mm in diameter and 2 mm in thickness were used for the contact angle measurement tests. Properties of core plugs used in this study are shown in Table 1.

Table 1 Properties of core plugs

2.2 Oil phase

Crude oil used was from an oil field in the south of Iran, with a total acid number (TAN) of 0.38 mg KOH/g oil. Prior to use, the crude sample was centrifuged and then filtered through a 5 μm millipore filter to remove any impurities.

2.3 Brines

The salts and surfactants used to prepare the brines were from Merck Co., with purities beyond 99%. The brines used are given in Table 2. The terminology used in this study is as follows: SW is synthetic seawater (base brine); SW0Mg is SW without Mg2+; SW3Mg is SW with 3 times the Mg2+ concentration in SW; SW0Ca is SW without Ca2+; SW3Ca is SW with 3 times the Ca2+ concentration in SW; SW0S is SW without SO42−; SW3S is SW with 3 times the SO42− concentration in SW, SW0NaCl is SW without Na+ and Cl; and SW3NaCl is SW spiked 3 times with NaCl.

Table 2 Brine compositions

In addition, other solutions were prepared with seawater along with different weight percentages of C12TAB, SDS, and TX-100 surfactants.

Moreover, solutions 11–16 were prepared using seawater along with different weight percentages of C12TAB, SDS, and TX-100 surfactants.

2.4 Carbonate surface treatment

First of all, the rock samples were washed with a solution of toluene and methanol at 1:1 ratio. The slices prepared for the contact angle tests were immersed in formation water (FW) at 90 °C for 2 h, to form a film of brine on the rock surface. The slices were then aged in crude oil at 90 °C for 4 weeks. After this, the samples were washed with distilled water to remove excess crude oil on the rock surface, and finally dried at 25 °C. In order to investigate the effects of the solutions of modified seawater and surfactants on wettability of the carbonate surfaces, the aged samples were placed in the wettability modifier solutions at 90 °C for 48 h to conduct the contact angle test.

2.5 Contact angle measurement

The contact angle test is a common method for determining the wettability state of different surfaces. In order to measure contact angle, the oil-wetted rock sample was immersed in FW. Then, a crude oil drop was placed on the rock surface from below (see Fig. 1). Contact angle measurements were performed at room temperature and atmospheric pressure using a DSA 100 KRUSS apparatus (Kruss, Hamburg, Germany) with an accuracy of ± 0.1°.

Fig. 1
figure 1

Schematic diagram of the contact angle measurement device

2.6 Preparing the cores for spontaneous imbibition tests

Clean cores were vacuumed using a vacuum pump and a desiccator. The cores were then saturated with the FW under vacuum. Following the injection of the FW, crude oil was injected into the core using a core flooding apparatus until irreducible water saturation was reached. Finally, the cores were aged at 90 °C for 4 weeks.

2.7 Spontaneous imbibition

In order to undertake imbibition tests, glass-made Amott cells of high temperature tolerance (up to 500 °C) were used. The cell cap sealing was performed using silicon adhesive. Next, the aged cores were exposed to the imbibing fluid. Spontaneous imbibition tests were conducted at 25, 70, and 90 °C, where the volume of produced oil was recorded as a function of time.

2.8 Thermogravimetric analysis (TGA)

In this analysis, the changes in the mass of a solid sample with increasing temperature, representing the amounts of adsorbed matter on the surface of the solid, were measured. For this purpose, the solutions that had the most influence on the wettability, according to the contact angle test, were selected for the TGA test. The powdered rock was aged at 90 °C for 4 weeks, then washed with distilled water and dried at ambient temperature and finally placed in the wettability modifier solutions for 48 h at 90 °C. The amount of oil and brine used for TGA was 100 mL for all samples. Powdered carbonate rock of 4 mg was heated continuously in an aluminum vessel (under a flow of argon) to 600 °C, at a heating rate of 10 °C/min, while the sample weight loss, representing the amounts of adsorbed matter on the surface of the solid, was measured as a function of temperature. The thermogravimetric analyzer PL-STA was used in this study.

3 Results and discussion

3.1 Contact angle measurements

Following the aging of carbonate surfaces in crude oil, the surface wettability state changed to oil-wet, for which the average contact angle was equal to 159º. Figure 2 shows the oil drop on the carbonate surface before and after aging in crude oil, with measured contact angles of 31º and 161º, respectively. The change in this angle indicates that the carbonate surface has become oil-wet in the aging process, due to the adsorption of the existing carboxylic acids in the crude oil on the carbonate surface.

Fig. 2
figure 2

Oil drop on the carbonate surface. a Before aging in crude oil. b After aging in crude oil

The results shown in Fig. 3 indicate that the seawater (SW) sample succeeded in reducing the contact angle of the rock to 98º, establishing a good efficiency of this solution in changing wettability of the carbonate rock surface. However, the FW (formation water) solution failed to impose any significant effect on the wettability alteration of the carbonate rock. An increase in the concentration of Mg2+ ions in the smart water resulted in further reduction in the contact angle, while their complete elimination ended up by increasing the contact angle of the carbonate surface. A similar trend was observed with the increase in the concentration of Ca2+ ions. However, the effect of Mg2+ ions on wettability change exceeded that of Ca2+ ions, which was attributed to the higher charge density of the Mg2+ ion with respect to the Ca2+ ion. The greatest reduction in contact angle was observed when increasing the concentration of SO42− in the smart water. In contrast, an increase in the concentration of NaCl salt was associated with negative impacts and increased the contact angle compared to that obtained with seawater. The results of contact angle tests on carbonate rock resembled those reported in the previous research on chalk rock, so that one can suggest that the dominant governing mechanism in this process is similar to that in the chalk rock (Strand et al. 2008; Fathi et al. 2010; Fernø et al. 2011; Zahid et al. 2012).

Fig. 3
figure 3

Contact angles of carbonate surfaces after being treated with smart water and surfactant solutions

As was mentioned before, the main cause of the change in wettability of the carbonate rock surface is adsorption of carboxylic acids in the crude oil onto the rock surface; being negatively charged, these acids were adsorbed by cations. The mechanism through which smart water works to change wettability is as follows: an increase in the concentration of SO2-4 ions in the wettability treatment solution reduces the positive charge on the surface of the carbonate rock and enhances the capacity of divalent cations to dissociate the carboxylic acids on the rock surface. Accordingly, with an increase in concentration of sulfate ions in smart water, the contact angle decreases considerably. An increase in the concentration of divalent cations boosts their activity and efficiency in dissociating the adsorbed carboxylic acids on rock surface, while an increase in the concentration of NaCl attenuates the activity of divalent ions and hinders their access to adsorbed carboxylic acids on water-wetted surfaces; therefore, the activity of the effective ions is reduced, while the contact angle increases. As can be observed, by introducing a small amount of the cationic surfactant, the contact angle reduced considerably. The addition of the anionic surfactant (SDS) to the smart water also resulted in a significant reduction in contact angle. However, when mixed with the smart water solution, the nonionic surfactant (TX-100) failed to produce significant effects on contact angle and wettability mode. Karimi et al. (2015) showed that adding a small amount of the cationic surfactant DTAB to the wettability modifier solution results in a significant decrease in contact angle and an increase in oil recovery, which is in agreement with our results. Moreover, Jarrahian et al. (2012) observed that the surfactant C12TAB made a significant contribution to change the wettability of a calcite surface, compared to SDS and TX-100. The mechanism of wettability alteration with increasing concentration of CTAB in smart water solution (SW + CTAB) was similar to the mechanism involved when increasing the concentration of divalent cations in the smart water solution, which dissociate adsorbed carboxylic acids on the rock surface by their positive charges, increasing the water wetness of the surface. The use of the anionic surfactant SDS separately brings about no significant change in carbonate rock wettability (Jarrahian et al. 2012), but once mixed with the smart water solution, SDS reduced the positive charge on the rock surface, thereby enhancing the access of divalent cations to the surface of the carbonate rock, so that the contact angle decreased considerably. The mechanism through which this surfactant, together with smart water, contributes to changed rock wettability is similar to the mechanism of the SO42− ions, which attenuates positive charge of the rock surface by its negative charge. Figure 4 shows the proposed mechanism for changing carbonate rock wettability using a mix of smart water and cationic and anionic ions.

Fig. 4
figure 4

Proposed mechanism of wettability alteration of carbonate rock surfaces treated by a SW + C12TAB and b SW + SDS

3.2 Oil recovery from spontaneous imbibition experiments

Spontaneous imbibition tests were performed at 25, 70, and 90 °C for 60 days. Results of the spontaneous imbibition tests were consistent with the results of the contact angle tests. It seems that the dominant mechanism governing enhanced oil recovery with smart water and surfactant in carbonate rock is the change of wettability from oil-wet to water-wet. The results shown in Fig. 5 show that the use of FW as the imbibing fluid had no significant effect on oil recovery. Moreover, the smart water (SW, SW0Ca, SW0 Mg) enhanced only minor oil recovery at 20 and 70 °C, due to the low activity of the ions at these temperatures. However, it increased considerably with the increase in temperature to 90 °C. Strand et al. (2008) also demonstrated enhanced oil recovery from chalk rock at elevated temperatures, due to the higher activity of the ions affecting surface potential. Figure 6 shows that at elevated temperatures, by increasing the concentration of SO42− ions, decreasing NaCl concentration and enhancing the concentration of divalent cations, the oil recovery increased further. Moreover, the use of smart water solution along with the cationic surfactant, C12TAB, resulted in a significant enhancement in oil recovery, not only at elevated temperatures, but also at lower temperatures, due to the presence of the surfactant (Fig. 7). The highest oil recovery was observed using the smart water solution and cationic surfactant C12TAB. Furthermore, the solution of seawater and the anionic surfactant, SDS, also increased oil recovery remarkably, with the mechanism of its effect in changing the carbonate rock wettability explained in the previous section.

Fig. 5
figure 5

Oil recovery by spontaneous imbibition into carbonate cores using smart water: effect of divalent cations

Fig. 6
figure 6

Oil recovery by spontaneous imbibition into carbonate cores using smart water: effect of SO42− and NaCl

Fig. 7
figure 7

Oil recovery by spontaneous imbibition into carbonate cores using smart water and surfactants

3.3 TGA

The results of the contact angle and spontaneous imbibition tests indicate that wettability change is the main mechanism through which enhanced oil recovery using solutions of smart water with surfactants is achieved, with the reason being the adsorption of carboxylic acids on the rock surface. To further investigate the topic, TGA was used to determine the amount of matter adsorbed on the rock surface. For this purpose, carbonate rock was first aged in oil. It was then treated with smart water and surfactant solutions. The weight loss of the samples versus temperature was investigated in TGA experiments. In this analysis, the weight loss due to rising temperature can be divided into three parts.

  • Part I-physically adsorbed materials (30–210°C).

  • Part II-chemically adsorbed materials (e.g., adsorbed carboxylic acids in crude oil on rock surface) (210–400°C).

  • Part III-rock decomposition (T > 570°C).

In the TGA test, rock samples that are in contact with wettability modifier solutions have been used. During contact with the solutions used to change the wettability, the majority of oil is separated from the surface and part of the materials that cause carbonate samples to change from more water-wet to oil-wet (fatty acids or carboxylic acids) are chemically absorb on the surface. Samples are washed with distilled water before TGA tests and if there is brine on the sample surface, at this stage or at the first TGA temperature interval (30–210 °C), brine will be removed or evaporated. When the temperature is in a range of 210 to 400 °C, this is related to materials that are chemically absorbed on the surface and remain on the rock. The other oil materials that are not the main effect of changing the wettability of carbonate samples from water-wet to oil-wet in the aging process and are physically absorbed into the rock, are removed from the surface of the rock in contact with the modifier solution, or at the first temperature range in the TGA test.

Figure 8 shows the results of TGA of the carbonate samples treated with smart water solutions (SW, SW3Mg, and SW3S). The results indicated that the weight loss was smaller for the sample treated with SW3S compared with those treated with SW3Mg and SW, and the capability of the SW3S solution in removing carboxylic acids exceeded that of the other two solutions (SW and SW3Mg). Moreover, TGA tests were further performed on the samples treated with SW + C12TAB, SW + SDS and SW + TX-100 solutions. Figure 9 shows that the weight loss of the samples treated with C12TAB was minimal, indicating the greater capability of the SW + CTAB solution in changing rock wettability and enhancing oil recovery from carbonate cores. The TGA results were consistent with the results of the contact angle and spontaneous imbibition tests, and confirmed that the main cause of oil-wetting of the carbonate surfaces was the adsorption of carboxylic acids in crude oil, with the main mechanism of enhanced oil recovery using the solution of smart water and surfactant being a change of rock surface wettability from oil-wet to water-wet state. Moreover, the results of Jarrahian et al. (2012) also showed that the weight loss was minimal when surfactant C12TAB (rather than SDS or TX-100) was used as a calcite surface wettability-treating agent, i.e., C12TAB has the largest effect on calcite surface wettability alteration (Jarrahian et al. 2012). Karimi et al. (2015) also observed that the lowest weight loss in TGA analysis was obtained with the calcite surface treated with the cationic surfactant DTAB and Mg2+ ions, indicating the efficiency of this solution in removing the adsorbed fatty acid on the rock surface, which is in agreement with our results.

Fig. 8
figure 8

TGA analysis of oil-wet carbonate samples after being treated with modified seawater: SW3S, SW3Mg, and SW

Fig. 9
figure 9

TGA analysis of oil-wet carbonate samples after being treated with seawater and surfactant solutions

4 Conclusions

The main objective of the present work was to study experimentally the influence of modified seawater solution containing C12TAB, SDS, and TX-100 surfactants on wettability alteration of carbonate rocks and enhanced oil recovery. Surface wettability change was measured using the contact angle test. The effects of temperature, ionic concentration in seawater, and different surfactants on the recovered oil from carbonate cores were investigated through spontaneous imbibition tests. TGA tests were utilized to measure the amount of adsorbed matter on the carbonate rock surface. Finally, a mechanism for carbonate rock wettability alteration using SW + CTAB and SW + SDS solutions was proposed based on the experimental results. The following conclusions can be drawn from the experimental results:

  1. 1.

    The decrease in contact angle using modified smart water solutions, from oil-wet to water-wet is as follows: SW3S > SW0NaCl > SW3Mg > SW3Ca > SW > SW0Ca > SW0Mg > SW0S > SW3NaCl > FW.

  2. 2.

    With increasing concentrations of SO42− and Mg2+ ions in the smart water, a further increase in oil recovery from carbonate rock was observed in the spontaneous imbibition test.

  3. 3.

    For the modified seawater solutions, low oil recoveries were obtained at 25 and 70 °C due to the low activity of the ions. However, increasing the temperature to 90 °C enhanced oil recovery considerably.

  4. 4.

    The use of cationic surfactant C12TAB and anionic surfactant SDS, together with seawater as imbibing fluids, enhanced oil recovery from the carbonate cores, even at low temperatures.

  5. 5.

    The use of cationic surfactant C12TAB together with seawater had the largest impact on reducing the contact angle and enhancing oil recovery. A comparison between oil recoveries from the spontaneous imbibition test for the modified seawater solutions containing different surfactants shows that the oil recovery increased in the following order: SW + C12TAB (0.1 wt%) > SW + SDS (0.1 wt%) > SW + TX-100 (0.1 wt%) > SW.

  6. 6.

    The TGA results were in agreement with those of the contact angle and spontaneous imbibition tests, in which the amount of hydrocarbon components adsorbed on the rock surface was lower for the solutions with better effects on wettability change and enhanced oil recovery.