1 Introduction

Evidence has demonstrated that about 65%–70% of the oil in reservoirs is trapped when conventional oil recovery methods are used. In other words, these methods cannot overcome the capillary force in the porous medium and bring about significant oil production, especially in carbonate reservoirs. As a result, enhanced oil recovery (EOR) methods are used to extract remaining oil. Depending on reservoir conditions and oil characteristics, EOR methods, up to 40%, can boost oil production (Sheng 2011, 2013).

In the last two decades, among EOR methods, smart water flooding has attracted special attention because not only is it a cost-effective method, but also it has fewer environmental problems (Alipour Tabrizy et al. 2011; Abubacker et al. 2017; Austad 2013; Darvish Sarvestani et al. 2019). Smart water flooding can be defined as a novel EOR technique in which the ionic composition of brine is changed by adding or removing ions to yield higher oil recovery. Smart water is obtained by adjusting and optimizing the concentration of ions in the base fluid or by adding a salt containing the ions that can change the balance of the oil/brine/rock system and improve oil recovery (Austad 2013; Abubacker et al. 2017; Darvish Sarvestani et al. 2019; Manshad et al. 2016). Smart water can change the wettability of the rock surface from hydrophobic to hydrophilic and reduce interfacial tension (IFT), hence allowing trapped oil to move easily (Al-sofi and Yousef 2013; Awolayo et al. 2016; Honarvar et al. 2020a; Manshad et al. 2017; Mohanty and Chandrasekhar 2013; Nowrouzi et al. 2019; Saeedi Dehaghani and Badizad 2019; Saeedi Dehaghani et al. 2020).

Smart water flooding has been the subject of numerous studies. For instance, Austad et al. (2012) reported that ultimate oil recovery in sandstone reservoirs could reach 75%, provided that seawater ions are properly adjusted. Hognesen et al. (2005) performed imbibition tests on carbonate rock and found that SO42− plays an important role in altering wettability of the rock to water-wet; besides, oil recovery rises even further if the concentration of this ion is tripled in the injected brine. Exploring the effect of different ions as single components on IFT and contact angle, Gandomkar and Rahimpour (2017) stated that while Mg2+ and SO42− were able to make the limestone surface water-wet, Ca2+, Na+, and K+ could not change wettability. They also reported that minimum IFT was obtained in the presence of 2,500 ppm of MgCl2 and Na2SO4 salts. Al-Attar et al. (2013) also showed that in carbonate rock, by reducing the concentration of ions in the seawater to 5000 ppm, the oil recovery rose by 21.5% and the presence of SO42− in brine was crucial in changing the pH of the brine. It was also reported that increasing Ca2+ concentration in seawater did not result in a clear trend in IFT values and reduced oil recovery.

Performing smart water spontaneous imbibition, Fathi et al. (2010) showed that both divalent ions and monovalent cations play a key role in changing the wettability of chalk. They found that removing Na+ from the seawater, rather than increasing its concentration, could be the best way to maximize oil recovery. In another study, Fathi et al. (2011) conducted core flooding in carbonates and observed that sweep efficiency was optimized when NaCl was removed from seawater, and Na2SO4 concentration was increased quadrupled. At a concentration of 1000 ppm, Amiri and Gandomkar (2019) examined the effects of various ions on IFT, wettability alteration, and recovery factor. The results revealed that although MgSO4, compared to MgCl2, increased IFT values and altered wettability from strongly water-wet to weakly water-wet, oil recovery was improved by the occurrence of the snap-off phenomenon. They also found that NaCl and KCl did not alter wettability, and limestone remained in the same oil-wet state. Adding NaCl, Na2SO4, and CaCl2 to optimized seawater and examining changes in IFT and contact angle, Rahimi et al. (2020) reported that increasing the concentration of each ion led to an increasing trend followed by a decrease in IFT values. In addition, increasing the concentration of Ca2+ and Na+ in optimized seawater raised contact angle, but increasing SO42− concentration caused a strongly water-wet state. Moreover, Kakati and Sangwai (2018) suggested that the type of oil affects the results of smart water flooding; thus, compared to divalent cations, monovalent cations are more effective in reducing IFT and changing wettability when n-alkanes hydrocarbons are utilized. Kedar and Bhagwat (2018) noted that MgCl2 was more capable of reducing IFT compared to CaCl2 and NaCl. Also, Lashkarbolooki et al. (2014) investigated the impact of various ions, utilizing oil which contained a high percentage of asphaltene, on IFT and wettability alteration and reported that MgCl2 led to the lowest IFT; moreover, they reported, if divalent cations were bonded with SO42− rather than Cl, it could prevent them from reducing IFT. They also found that although increasing ion concentration leads to an increase in contact angle, it leaves wettability within the range of water-wet conditions. Furthermore, Fattahi Mehraban et al. (2019) reported reductions in the contact angle when the temperature increases to 90 °C, and SO42− is the most determining ion to change the wettability towards a more water-wet state.

In addition, Lashkarbolooki and Ayatollahi (2018) reported that the IFT of the crude oil-brine system depends on the weight percentage of resin and asphaltene in the oil and the oil aromaticity; thus, heightened resin aromaticity increases the impact of resin on IFT. Naeli et al. (2016) studied IFT changes caused by increasing the concentration of CaCl2 and Na2SO4 in diluted seawater. The results illustrated that increasing Ca2+concentration first reduces and then increases IFT, but increasing SO42−concentration initially increases then reduces IFT. Nowrouzi et al. (2018) also examined the combined effect of different salts on IFT and contact angle, and their results indicated that using MgCl2 and K2SO4 together causes the lowest IFT. In addition, the contact angle reaches its lowest point because of the combined use of MgSO4 and CaCl2. In another study, Lashkarbolooki et al. (2017) found that NaCl and KCl exhibit different behavior in changing wettability, such that contact angle decreases by increasing KCl concentration or reducing NaCl concentration. Moreover, Zaheri et al. (2020) reported that the concentration of CaCl2 in formation water (FW) can play an important role in wettability alteration.

It is worth mentioning that most of the previous studies have examined the effect of ions on IFT and wettability alteration when they have been used alone or binary in distilled water. Thus, the impact of each ion in a mixture of salts is still unclear. Moreover, there are no studies thoroughly investigating the effect of altering the concentration of specific ions in the Persian Gulf seawater (PGSW) to determine the composition and ionic strength that could optimally improve oil recovery. Given that the Persian Gulf basin has multiple oil reservoirs, each of which can benefit from the injection of seawater, we aim at determining which ion in PGSW minimizes IFT and contact angle and maximizes the ultimate oil recovery. To this end, we first study IFT changes owing to altering the concentration of NaCl, KCl, MgCl2, CaCl2, and Na2SO4 in PGSW. Then, for each of the ions at points where IFT is minimized, we perform contact angle and zeta potential tests in order to assess wettability alteration. Finally, a micromodel test is conducted to identify the amount of oil recovery at optimal concentrations.

2 Materials and methods

Each experiment was repeated three times for each concentration, and the mean values ​​for each test were recorded. All experiments were carried out under ambient temperature and pressure conditions.

2.1 Materials

Table 1 shows the salts used in this study. The salts, in different concentrations, were used to generate FW, PGSW, and smart water. Table 2 shows the compositions of PGSW and FW. Additionally, the crude oil used in this study was taken from one of the Iranian oil reservoirs. Properties and components of this oil are reported in Table 3. Besides, a mixture of hexamethyldisilane and toluene was used to make the micromodel oil-wet. Methanol was used to alter the wettability of the micromodel and to wash the salts from the rock specimens. It should be noted that all the materials were purchased from Merck Company (Germany).

Table 1 Properties of different salts
Table 2 Compositions of formation water and Persian Gulf seawater
Table 3 Properties and components of oil sample

2.2 Brine and rock preparation

Once the salt required for each solution was weighed using a digital scale, it was poured into a beaker containing distilled water; the solution was then mixed in a stirrer for 30 min. In addition, the carbonate rock used in this study was collected from one of the rock formations in the southwestern Iran. First, the rock was cut into thin pieces so that it can be used in the contact angle test. The rock samples were washed with toluene and methanol to remove oil and salt, respectively; next, distilled water was used to remove toluene and methanol from the washed rock. Then, the rock specimens were placed in an oven for 1 day to dry at 65 °C. Next, the dried rock specimens were immersed in the FW solution. Afterwards, the rock specimens were immersed in oil at 90 °C for 15 days in order to become oil-wet. After making the rock samples oil-wet, for each salt, the solution was prepared at optimal concentration obtained from IFT tests. Next, the rock specimens were immersed in the prepared solutions for two weeks.

2.3 IFT, contact angle and zeta potential measurements

The pendant drop method was used to measure IFT. In this method, the shape of an oil droplet, the fluid density, gravity force, and the size of the needle were employed to evaluate IFT. It should be noted that this method has received wide currency among researchers since it can precisely measure IFT values (Saeedi Dehaghani et al. 2020; Honarvar et al. 2020a; Lashkarbolooki and Ayatollahi 2018; Manshad et al. 2016; Nowrouzi et al. 2019; Lashkarbolooki et al. 2014). In this IFT measurement, the oil droplet was suspended in the brine by means of a needle; then, Drop Shape Analysis Software (LabVIEW software) was used to calculate IFT from a photo which was taken by a high-resolution microscopic camera. Moreover, the sessile drop technique was used to investigate the contact angle. In this method, a drop of oil in the presence of brine was placed on the surface of the carbonate rock by a needle; once equilibrium was reached, a photograph was taken from the drop, and the contact angle was calculated using Digimizer Image Analysis Software.

The zeta potential was measured using a Zetasizer (ZEN 3600, UK). To this end, the carbonated rock was ground to prepare micron-size powder. Then, in the related concentrations of smart water, the powder and brine were mixed and then sonicated by an ultrasonic device for half an hour. Finally, the zeta potential was measured by placing a special electrode in the mixture.

2.4 Flooding tests

In this study, a five-spot glass micromodel was fabricated. The micromodel pattern was copied from a thin section of carbonated rock using CorelDraw Software. The flooding setup included an injection pump, a light, a glass micromodel, a computer, a camera, and a waste container. The pattern, properties of the glass micromodel, and schematic of flooding setup are shown in Fig. 1. In order to perform the micromodel flooding, the oil sample was injected into the micromodel until it was saturated 100% with oil. Then, smart water was injected into the micromodel at a rate of 0.05 mL/h. It should be noted that this flow rate was chosen to avoid turbulence behavior in the micromodel (Ghalamizade Elyaderani et al. 2019). Next, the picture of micromodel was taken by a camera at constant time intervals to measure the oil recovery factor. Before each flooding test, the micromodel was made oil-wet by the following procedure (Mofrad and Saeedi Dehaghani 2020):

  1. (1)

    The micromodel was saturated with a mixture containing 5% of hexamethyldisilane and 95% of toluene for 20 min in order to make the glass surface silicone coated.

  2. (2)

    The micromodel was washed with methanol so as to eliminate siliconizing solution.

  3. (3)

    The micromodel was dried in an oven at 200 °C for an hour to maintain the silicone coating.

Fig. 1
figure 1

Schematic of the micromodel setup and properties of the glass micromodel

3 Results and discussion

3.1 Effect of PGSW with different salinities on IFT

Five different salts, including NaCl, KCl, MgCl2, CaCl2, and Na2SO4, were used to evaluate the oil/brine IFT. First, the effect of each ion, prepared in distilled water separately, on IFT was examined.

Figure 2 presents the effect of different concentrations of monovalent cations on IFT. As can be seen, the IFT decreases and reaches its minimum as a result of increasing the concentration of each ion to 1000 ppm. Specifically, the IFT decreases by 2.52 and 2.47 mN/m in the cases of Na+ and K+, respectively. Then, as the concentration of these two ions increases to 10,000 ppm, the IFT rises and reaches its maximum. Finally, the IFT declines if the concentration exceeds 10,000 ppm. For example, according to Fig. 2, Na+ shows an IFT value of 30.65 mN/m at a concentration of 10,000 ppm, and increasing the concentration to 40,000 ppm results in an IFT value of 27.27 mN/m.

Fig. 2
figure 2

Effect of monovalent ions on IFT between distilled water and oil

Figure 3 illustrates the effect of divalent ions on IFT. According to Fig. 3, increasing the concentration of each divalent ion from 0 to 1000 ppm reduces the IFT. The IFT decreases by 4.69, 1.67, and 2.63 mN/m for Ca2+, Mg2+, and SO42−, respectively. The minimum IFT occurs at a concentration of 1000 ppm. At concentrations above 1000 ppm, the IFT rises, reaching a maximum at a certain concentration. Thus, the maximum IFT values for Mg2+, Ca2+, and SO42− occur at 10,000, 5000, and 10,000 ppm, respectively. It should be noted that a further increase in divalent ion concentration, above the concentration in which the maximum IFT occurs, causes the IFT to decrease. Comparing the capacity of all ions in minimizing IFT suggests that Ca2+ causes the highest IFT reduction, which is in line with the results of Honarvar et al. (2020b).

Fig. 3
figure 3

Effect of divalent ions on IFT between distilled water and oil

According to Figs. 2 and 3, it can be seen that the rising and falling trends in IFT values are the same when each of the ions is present individually in distilled water. The ion concentration range used in this study could be divided into 3 regions; thus, IFT decreased, increased, and decreased in Region 1, 2, and 3, respectively (Fig. 4). Based on Gibb’s adsorption correlation, there is a relationship between IFT and surface excess concentration, such that if the surface excess is positive, the IFT reduction is visible and vice versa (Honarvar et al. 2020a; Lashkarbolooki et al. 2014; Rahimi et al. 2020).

Fig. 4
figure 4

Schematics of oil/water interface and IFT variations in different sections

In Region 1, where a low concentration of ions is present in the solution (brine with a concentration below 1000 ppm), the ions tend to migrate from the solution and stay at the water/oil interface. When the ions are placed at the water/oil interface, two things happen. First, the surface excess concentration of ions increases, leading to a decrease in IFT. Second, natural surface-active agents in the oil such as polar asphaltenes move toward the interface; consequently, the surface excess concentration of asphaltenes becomes positive, thereby reducing IFT. Moreover, ions help improve the solubility of the polar component of oil based on the salting-in effect, resulting in the IFT reduction (RezaeiDoust et al. 2009). In addition, when ions migrate to the interface, they tend to form complex ions with polar agents and boost the solubility of asphaltenes. This, in turn, can lead to positive surface excess concentration and IFT reduction (Austad 2013; Lashkarbolooki et al. 2014). In short, in low salt concentrations, the two mechanisms of the salting-in effect and the surface excess concentration contribute to IFT reduction.

In Region 2, where the IFT begins to increase as the concentration of ions in the brine rises, the presence of more ions in the solution heightens only the bulk of brine concentration because the ions are unable to move to one side of the saturated interface and stay there. Consequently, the surface excess concentration becomes negative, and the IFT increases. Additionally, the presence of more than a certain number of ions in the aqueous phase makes it difficult for polar agents to dissolve in water. This phenomenon is called the salting-out effect (Fattahi Mehraban et al. 2019; Lashkarbolooki et al. 2014; Rahimi et al. 2020). As a result, some natural surface-active agents return to the bulk of oil from the interface, and the IFT rises owing to the negative quality of asphaltene surface excess concentration. Rostami et al. (2019) and Honarvar et al. (2020a) showed that when salinity rises in the solution, the free surface energy of the interface as a result of the reduction in molecular movement decreases, and, consequently, it causes an increase in the IFT values. Therefore, the IFT increase, in Region 2, can also be attributed to the reduction in molecular movement. Additionally, as ions are placed in the brine, water molecules form hydrogen bonds with a cage-like structure around the ions. The formed hydrogen bonds can be broken as a result of the contact between the brine and the oil phase. Thus, ions tend to return to the bulk of the solution because of energy created at the interface (Kumar 2012; Lashkarbolooki et al. 2014). Consequently, the IFT increases owing to the decreased number of ions at the interface and the negative surface excess concentration. Therefore, in Region 2, the salting-out effect, negative quality of surface excess concentration, molecular movement variation, and hydrogen bond-breaking are the main causes of the IFT increase.

Finally, in Region 3, the addition of more salts leads to a reduction in IFT. This decrease in IFT is probably because although some polar agents move from the interface to the bulk of oil because of the salting-out effect, which reduces their accumulation at the interface, there are still a number of these agents at the water/oil interface. Afterward, due to the packing effect, remaining polar agents are neatly re-situated at the interface, and the IFT reduces (Lashkarbolooki et al. 2014). Hence, the reason for the reduction in IFT in Region 3 is explained by the packing effect.

After examining the effect of the presence and absence of each of the ions on IFT, we modified the concentration of ions in PGSW in order to determine IFT changes. Table 4 shows different concentrations of ions in PGSW, related ionic strength, and their density applied to assess IFT. For each ion, we used four different concentrations, which were 0, 2, 3, and 4 times the initial concentration (i.e., the concentrations existing in PGSW). Figure 5 depicts the effect of PGSW with different concentrations of monovalent ions on IFT. By increasing the concentration of Na+ or K+ in the seawater, the IFT first rises and then falls slightly, and a minimum IFT occurs when NaCl or KCl is removed from the seawater. In fact, the minimum value of IFT was obtained in SW0NaCl (26.29 mN/m) and SW0KCl (26.56 mN/m). In addition, increasing the concentration of Na+ up to 2 times (SW2NaCl) and K+ up to 3 times (SW3KCl) in PGSW increases the IFT by 5.01 and 2.35 mN/m, respectively. It should be noted that although quadrupling the concentration of each monovalent ion reduces IFT, the resulting decrease is still much higher than the minimum IFT obtained by removing each of the salts in PGSW. The reason could be that the lack of NaCl or KCl in the seawater enables Ca2+, Mg2+, and SO42− to be placed more easily at the water/oil interface and further reduce IFT. In other words, by removing these salts, divalent ions could migrate to the double layer and react with polar agents, thereby reducing IFT. In terms of ionic strength, as shown in Table 4, it can be seen that removing Na+ from PGSW decreases ionic strength from 0.785 to 0.334 mol/L. This decrease in ionic strength can contribute to improving the solubility of polar agents and IFT reduction. However, eliminating K+ from PGSW, leading to minimum IFT, does not significantly change the ionic strength, decreasing only by 0.025 mol/L as compared to PGSW. Moreover, although SW0NaCl and SW0KCl solutions have different ionic strengths, a minimum IFT occurs in each mentioned solution. Therefore, it can be inferred that even though the reduction of ionic strength is crucial to have minimum IFT, other factors such as the oil composition, type of ion, and its activity can play an important role in reducing IFT. In the case of the effect of monovalent ions on IFT, previous studies reported that when NaCl or KCl is utilized individually or binary with other divalent ions in distilled water, IFT values reduce (Honarvar et al. 2020a; Kakati and Sangwai 2018; Lashkarbolooki and Ayatollahi 2018; Lashkarbolooki et al. 2014; Nowrouzi et al. 2018). However, the results of our study showed that the minimum IFT occurred when Na+ or K+ was eliminated from the smart water, and increasing concentration of monovalent ions could cause the IFT values to increase.

Table 4 Persian Gulf seawater with varied salt concentrations
Fig. 5
figure 5

Effect of monovalent ions spiking of seawater on IFT

Figure 6 illustrates the effect of PGSW with different concentrations of divalent ions on IFT. As can be seen, as the concentrations of CaCl2, MgCl2, and Na2SO4 are increased, the IFT initially declines and then increases. Mg2+, Ca2+, and SO42− are potential determining ions (PDI); therefore, their presence in seawater can play a significant role in reducing IFT. To put it differently, when the concentration of PDI increases in PGSW, they can react with carboxyls at the oil/water interface, and this, in turn, can lead to an increase in the solubility of carboxyls in both oil and water phases. Thus, the IFT decreases to a minimum value. However, when the IFT reaches its minimum value, a further increase in the concentration of PDI can bring about an increase in IFT. This increase in IFT values can be attributed to two reasons. The first reason would be that the mechanism of the salting-out effect is activated if the concentration of PDI increases more than a certain value. In other words, as high concentrations of Ca2+, Mg2+, and SO42− are present in the proximity to the interface, the solubility of polar agents decreases, and water molecules are unable to balance the polarization of divalent ions and carboxyls. Therefore, polar agents return from the interface to the bulk of the oil phase, leading to the negative surface excess concentration and higher IFT. Another possible reason might be that molecular movement can greatly decrease at a high concentration of PDI. Thus, the free surface energy of the interface can diminish, and, as a result, the IFT increases. The minimum IFT for Ca2+, Mg2+, and SO42−, corresponding to 29.95, 27.45, and 26.96 mN/m, respectively, occurs at 3, 2, and 3 times the initial concentration. Furthermore, according to the results, SO42− can cause a further reduction in IFT as compared to Ca2+ and Mg2+. Also, according to Table 4, the ionic strength for SW3Na2SO4, SW3CaCl2, and SW2MgCl2 was respectively 0.973, 0.859, and 0.994 mol/L. Accordingly, although tripling the concentration of SO42− leads to the lowest IFT compared to the other divalent ions (Mg2+ and Ca2+), SW3Na2SO4 has greater ionic strength. As a result, it can be concluded that seawater with lower ionic strength may not result in minimum IFT, and other factors mentioned before should be considered alongside ionic strength. For example, in this research, even though the SW3Na2SO4 solution had greater ionic strength compared to SW3CaCl2, it produced lower IFT values. This issue can be rooted in the fact that SO42− has greater ion activity than Ca2+, and therefore it has more ability to reduce IFT to minimum values.

Fig. 6
figure 6

Effect of divalent ions spiking of seawater on IFT

The results of IFT tests suggest that even though the absence of monovalent ions such as Na+ and K+ in seawater leads to a decrease in IFT values, the presence of divalent ions is necessary for reducing IFT. Because divalent ions, which are active, can form complex ions with polar agents that come to the water/oil interface from the bulk of the oil, and solubility of polar agents increases. Therefore, it can be inferred that divalent ions have a great ability to reduce IFT and, consequently, their presence in smart water is vital. In the case of the effect of divalent ions on IFT, according to previous research (Honarvar et al. 2020a; Kakati and Sangwai 2018; Lashkarbolooki and Ayatollahi 2018; Lashkarbolooki et al. 2014; Nowrouzi et al. 2018), increasing concentration of the divalent ions can diminish IFT values when Mg2+, Ca2+, and SO42− are utilized individually or in pair in distilled water. Moreover, our results also illustrated that they are capable of reducing IFT in the presence of other divalent and monovalent ions.

According to IFT results, the optimal concentrations for NaCl, KCl, MgCl2, CaCl2, and Na2SO4 occur in SW0NaCl, SW0KCl, SW2MgCl2, SW3CaCl2, and SW3Na2SO4 solutions, respectively. The IFT between oil and diluted PGSW and FW was calculated for comparison purposes. The IFT values for FW, PGSW, doubly diluted PGSW (SW2d), and tenfold diluted PGSW (SW10d) are 31.14, 30.40, 27.11, and 33.36 mN/m, respectively (Table 5). Based on Table 5 and Figs. 5 and 6, removing NaCl from PGSW or tripling the concentration of Na2SO4 reduces IFT more than does diluted PGSW. The IFT values for SW2d, SW3Na2SO4, and SW0NaCl solutions are 27.11, 26.96, and 26.29 mN/m, respectively, indicating that smart water flooding has a better performance in this regard.

Table 5 Effect of seawater, diluted seawater and formation water on IFT

3.2 Effect of PGSW with different salinities on contact angle and zeta potential

In order to evaluate wettability alteration, we measured the contact angle for each salt at optimal concentrations obtained from IFT tests. After the rock specimens became oil-wet, the average contact angle was 123°, which confirms that the rock specimens are oil-wet. Table 6 presents the shape of the droplets in equilibrium, contact angle values, ionic strength, and zeta potential at optimal concentrations. The contact angle values for PGSW, SW3CaCl2, SW0NaCl, SW0KCl, SW2MgCl2, and SW3Na2SO4 solutions are 91°, 85.8°, 67.8°, 81.7°, 77.9°, and 70.2°, respectively. A weakly water-wet condition occurs when the contact angle is between 30° and 75°, and a neutral-wet condition emerges when the contact angle is in the range of 75° to 105° (Meng et al. 2018).

Table 6 Effect of different smart water solutions on the contact angle and zeta potential

According to Table 6, removing NaCl from the PGSW causes wettability to approach the weakly water-wet condition. There are main reasons for this change in wettability, as a result of eliminating NaCl. Firstly, when the concentrations of the monovalent ions decrease in PGSW, the dissolution of carbonate rock occurs (Al-Nofli et al. 2018). In this case, calcium carbonate dissolves, and the rock surface becomes negatively charged based on the following reaction (Karimi et al. 2016):

$${\text{CaCO}}_{{3{ }}} \left( {\text{s}} \right){ } + {\text{ H}}_{2} {\text{O}} \leftrightarrow {\text{ Ca}}^{2 + } + {\text{HCO}}_{3}^{ - } + {\text{OH}}^{ - }$$
(1)

Therefore, more carboxyls can be detached from the surface of rock because of the repulsive force existing between negative charges of rock and carboxyls. Consequently, wettability can be changed to weakly water-wet, and this mechanism is shown in Fig. 7. Secondly, it should be mentioned that the ions in the brine are in contact with the rock surface through an electrical double layer which is formed by diffusive and stern layers, and they can be either adsorbed by the attractive force on the rock or driven away from the surface by the repulsive force (Lashkarbolooki et al. 2017; Shirazi et al. 2020). Therefore, when the brine has a high concentration of NaCl, high levels of Na+ in the diffusive layer are present, and less chance is given to divalent ions to be positioned in the electrical double layer so as to further reduce the contact angle due to their activity. Thus, once NaCl is eliminated from the seawater, the carbonate rock surface is more readily available to Ca2+, Mg2+, and SO42−, which are active ions, and wettability, as a result of the expansion of the double layer, could change from oil-wet to weakly water-wet (Fig. 8). Finally, decreasing concentration of ions in seawater can give rise to the salting-in effect, and therefore more carboxyls can be desorbed from the surface (Karimi et al. 2016). In other words, reducing the concentration of ions in the brine leads to an increase in the solubility of the polar agents in water, and a further reduction can be seen in the contact angle values. Thus, when removing NaCl from the PGSW solution, the mechanism of the salting-in effect is activated, and the contact angle decreases further. It is noteworthy that as removing Na+ from PGSW, the ionic strength reduces from 0.785 to 0.334 mol/L. Therefore, the adhesion of oil on the rock surface can be decreased, and this, in turn, can boost water-wetness conditions. However, eliminating KCl does not considerably change the contact angle, it only leads to a nine-degree reduction in this angle relative to PGSW and leaves wettability in the same neutral-wet condition. The reason could be that the concentration of K+ is low in PGSW, and removing it does not significantly affect wettability.

Fig. 7
figure 7

Schematic of the mechanism of dissolution in the absence of Na+

Fig. 8
figure 8

Schematic of the expansion of double layer in the absence of Na+

Also, even though doubling MgCl2 concentration reduces the contact angle by 13.1° relative to PGSW, the neutral-wet condition remains in place. As discussed in the literature (Fathi et al. 2010; Karimi et al. 2016), as a result of the presence of anions and the dissolution process, Mg2+ can get closer to the rock surface since less positive charges are available on the rock surface. Therefore, Mg2+ can react with carboxyls and reduce contact angle. Besides, it can replace Ca2+ via ion exchange, and, as a result, this can detach oil droplets from the carbonate surface (Zhang and Austad 2006). Nevertheless, by comparison with SW0NaCl in terms of wettability alteration, SW2MgCl2 solution was unable to significantly reduce the contact angle, due to the high concentration of Na+ in the double layer. To put it differently, the high concentration of Na+ hindered the positive effects of Mg2+ from changing the wettability towards water-wet condition. Also, tripling the concentration of Ca2+ shows that wettability cannot be changed to water-wet condition. Because, more than a certain concentration of Ca2+, the salting-out effect is activated, and the contact angle does not change substantially (Rahimi et al. 2020). In other words, the solubility of polar agents can be decreased due to the high concentration of Ca2+ in the PGSW. In fact, as the concentration of Ca2+ increases in PGSW, a water structure, which is created as a result of hydrogen bonds formed between hydrophobic pieces of polar agents and water molecules, can be broken, and the solubility of polar agents is decreased. Thus, wettability cannot be altered to a water-wet state owing to the decreased solubility.

Like the effect of NaCl removal on wettability, increasing Na2SO4 concentration can alter the wettability of carbonate rock to weakly water-wet conditions. In smart water flooding, the carbonate rock surface can have positive charges (RezaeiDoust et al. 2009). Also, when the concentration of SO42− in PGSW increases, because of the adsorption of SO42− on it, the rock surface shifts from a surface with positive charges to a surface with negative charges. Therefore, in the presence of negative charges, divalent cations will be able to approach the surface of the rock and change wettability by replacing complex ions, formed between Ca2+ and carboxyls, with Mg2+ (Fathi et al. 2010; Rashid et al. 2015). Moreover, when anions and cations are present in the brine, ion-pairs can be formed. In other words, based on Eqs. (2) and (3), the formation of ion-pairs is between Mg2+, Ca2+, and SO42− (Moosavi et al. 2019).

$${\text{Mg}}^{2 + } + {\text{ SO}}_{4}^{{2 - { }}} = \left[ {{\text{Mg}}^{{2 + .{ }.{ }.{ }.{ }.{ }.{ }.{ }.{ }.{ }.{ }.}} {\text{ SO}}_{4}^{2 - } } \right]$$
(2)
$${\text{Ca}}^{2 + } + {\text{ SO}}_{4}^{{2 - { }}} = \left[ {{\text{Ca}}^{{2 + .{ }.{ }..{ }.{ }.{ }.{ }.{ }.}} {\text{SO}}_{4}^{2 - } } \right]$$
(3)

Therefore, as SO42− is adsorbed on the rock surface, owing to the formation of ion-pairs, more Mg2+ and Ca2+ are available in close proximity to the surface, and wettability can be further altered. It should be pointed out that the ionic strength values for SW3Na2SO4, SW3CaCl2, and SW2MgCl2 increase by 0.188, 0.074, and 0.209 mol/L, respectively. According to previous studies (Derkani et al. 2019), lowering the ionic strength values can enhance the water-wetness condition of the rock surface. Our results illustrate that although the ionic strength increases, the contact angle decreases. Thus, it can be inferred that the presence of PDI plays a prominent role in contact angel reduction, and wettability alteration can occur if the ionic strength rises.

As Table 6 shows, in order to evaluate the surface charge of rock for optimal concentrations, we calculated zeta potential at −2.7 mV when the carbonate rock was exposed to the PGSW solution. Following the removal of NaCl or KCl, the zeta potential was −4.7 and −3.7 mV, respectively. Therefore, the removal of monovalent ions from the PGSW solution increases the magnitude of the negative zeta potential, which is consistent with the results reported by Abbasi et al. (2020). However, as the concentration of Mg2+ in the PGSW solution is doubled, the negative charge on the rock surface is reduced just slightly. In this case, the zeta potential has changed from −2.7 to −2.3 mV. A similar trend was observed for SW3CaCl2. As the concentration of Ca2+ was tripled in PGSW, the zeta potential was altered from −2.7 to −2.4 mV. In fact, increasing concentration of Mg2+ or Ca2+ owing to the adsorption of these ions onto the rock reduces the negative charge of the surface by a small amount.

Also, the zeta potential changes from −2.7 to −1.8 mV by tripling the concentration of Na2SO4 in PGSW. Some previous studies (Abbasi et al. 2020; Strand et al. 2006; Alroudhan et al. 2016; Kasha et al. 2015; Smallwood 1977; Mahani et al. 2017) show that there is a rise in the magnitude of the negative zeta potential as the SO42− concentration increases in seawater, which contradict our results. However, Al-Hashim et al. (2018) reported that doubling the concentration of SO42− in seawater decreases the negative surface charge of carbonate rock. Therefore, their result for SO42− is in line with our results. This decline in the magnitude of the negative zeta potential can be attributed to two reasons. Firstly, because of electrostatic screening, above a specific concentration of Na2SO4, ions are unable to be adsorbed onto the rock surface, and increasing the Na2SO4 concentration causes the rock surface to have less negative charges (Awolayo and Sharma 2016). Secondly, the concentrations of divalent ions and their presence in seawater can have impacts on the affinity of ions towards the surface, and the zeta potential values can be changed from negative to positive even by an increase in the concentration of SO42− (Kasha et al. 2015).

3.3 Micromodel flooding

Micromodel flooding was performed at optimal concentrations obtained for each salt to evaluate oil recovery by smart water flooding. Figure 9 shows the ultimate oil recovery through the injection of different smart solutions at optimal concentrations. As a result of PGSW flooding, oil recovery was 23.22%, which is the lowest oil recovery compared to other solutions. The ultimate oil recovery values for SW0NaCl, SW0KCl, SW2MgCl2, and SW3Na2SO4 solutions were 33.34, 27.12, 28.44, and 30.56%, respectively. As can be seen, the SW0NaCl solution exhibits the highest oil recovery because it has not only the lowest IFT but also the largest alteration of contact angle. In fact, the oil recovery was 10.12% higher than PGSW flooding. This is in line with the results reported by Fathi et al. (2010, 2011), Awolayo and Sharma (2016), and Puntervold et al. (2015). The oil recovery for PGSW without K+ was about 6.5% less than PGSW without Na+. The difference in oil recovery of these two solutions, although IFT values are almost the same for both, is explained by the fact that the SW0NaCl solution can cause a higher reduction in the contact angle; thus, it produces more oil in a more water-wet condition. In addition, the SW3Na2SO4 solution increased oil recovery by 2.12% more than did the SW2MgCl2 solution because it further reduced IFT and changed the wettability to a weakly water-water state. Figure 10 illustrates micromodel images after the injection of 1 pore volume (PV) of smart water for PGSW and SW0NaCl solutions. As shown, the SW0NaCl solution, compared to PGSW, was able to improve the sweep efficiency, resulting in less trapped oil in the micromodel. Thus, the lowest IFT and contact angle were obtained for the SW0NaCl solution, which allowed overcoming the capillary forces in the micromodel pores leading to more oil production. Therefore, removing NaCl or tripling the concentration of Na2SO4 can be the best possible option if one seeks to carry out smart water flooding by changing the concentration of salts in PGSW in order to improve oil recovery.

Fig. 9
figure 9

Effect of different smart water solutions on the ultimate oil recovery

Fig. 10
figure 10

Oil displacement after the injection of 1 PV of the injected fluid: a PGSW flooding and b SW0NaCl flooding

4 Conclusions

Based on the tests performed, which included IFT, contact angle, zeta potential, and micromodel tests, the following results can be inferred:

  1. (1)

    When each ion was utilized separately in distilled water, Ca2+ showed a greater ability to reduce IFT to a minimum value. In the case of using different concentrations of monovalent and divalent ions in PGSW, eliminating Na+ from PGSW resulted in the lowest IFT value.

  2. (2)

    Although removing each of the monovalent ions (K+ or Na+) from PGSW causes IFT reduction, increasing Ca2+, Mg2+, and SO42− concentrations in PGSW decreased IFT values. Thus, it can be stated that the absence of monovalent ions is of importance to decline IFT, and the presence of divalent ions plays a crucial role in reducing IFT. It should be noted that seawater with lower ionic strength may not result in minimum IFT, and other factors such as the presence of PDI can have a more positive effect on minimizing the IFT.

  3. (3)

    The lowest contact angle was related to the solution from which NaCl was removed (67.8°). Additionally, among all the solutions evaluated, only SW0NaCl and SW3Na2SO4 could change surface wettability to weakly water-wet conditions, while the other solutions led to a neutral-wet condition.

  4. (4)

    The removal of NaCl or KCl from PGSW caused the rock surface to have slightly higher negative charges. However, increasing the concentration of divalent ions (Ca2+, Mg2+, and SO42−) led to a reduction in the magnitude of the negative zeta potential.

  5. (5)

    SW0NaCl and SW3Na2SO4 solutions, compared to PGSW, raised ultimate oil recovery by 10.12% and 7.34%, respectively. Therefore, if smart water flooding is to be performed in reservoirs by changing the concentration of salts in the Persian Gulf seawater, the best option will be to eliminate NaCl or to triple the Na2SO4 concentration.