Introduction

Due to the world’s population growth and the rapid depletion of hydrocarbon reservoirs, there is a significant increase in both global energy demand and consumption1,2,3. The recovery of hydrocarbons from tight oil reservoirs and low-porosity, low-permeability shale has lately emerged as a promising solution for the rising energy demand4,5. The oil recovery techniques are categorized into three phases: primary, secondary, and tertiary6. The primary and secondary steps of oil extraction are known as conventional techniques in the petroleum industry7. Significant amounts of crude oil are still unrecovered after the primary and secondary steps of oil recovery. Because of this, enhanced oil recovery (EOR), a tertiary recovery technique, has been employed to increase oil reservoir recovery7,8.

Capillary forces that cause “oil entrapment” and “oil bypass” during secondary recovery are the main reasons that reservoirs have residual oil saturation. Changing the wettability of rock formations is one technique to increase or improve oil recovery from such formations9. Figure 1 illustrates the obstacles and problems during the oil recovery methods. Therefore, the main focus of the present research, according to Fig. 1, is the topic of wettability.

Fig. 1
figure 1

Difficulties related to the oil recovery methods.

EOR methods can be broadly categorized as follows: thermal EOR (in situ combustion and steam injection), gas injection (miscible and immiscible), chemical EOR (alkali, surfactant, polymer, and nanofluid), and other EOR methods like foaming, microbial, and low salinity water (LSW) flooding10,11,12. Modifying wettability, decreasing interfacial tension (IFT), and increasing injection fluid viscosity are the principal factors contributing to the successful implementation of EOR techniques13. Wettability is a key indicator of the physical characteristics of the reservoir, which has a considerable impact on oil recovery during the EOR methods14,15. Changes in wettability allow water to permeate the porous media more readily, which leads to the extraction of oil16. Research on the potential for wettability change to increase production in sandstones and carbonate reservoirs has been conducted extensively, and the results have been published17,18,19,20,21. The number of articles published in the context of wettability modification between 2000 and May 26, 2024 is depicted in Fig. 2, which illustrates the increasing trend and demand for sandstone and carbonate reservoirs’ wettability reformation.

Fig. 2
figure 2

Wettability change of sandstone and carbonate reservoirs22, and from the scholar.google.com.

Due to the significant number of papers, the contribution of various countries to this subject’s growth may not be fully reflected. Thus, we carried out a co-authorship analysis that better demonstrates the role played by different countries in the field of wettability. Countries such as Iran, the United States, China, the United Kingdom, Australia, Canada, Iraq, and South Africa have played a significant role (Fig. 3). Figure 3 also shows that countries like Egypt, Nigeria, Indonesia, Pakistan, and Kazakhstan (in the bottom-left corner of Fig. 3, which is indicated with a yellow color) have made little progress in wettability studies, and more efforts are needed to reduce this gap. The clusters in Fig. 3 indicate more studies between countries. The size of the nodes indicated the number of published articles. The density of links and various colors indicate the connection between countries.

Fig. 3
figure 3

The most influential countries in the field of wettability.

The phrase “propensity of one fluid to spread on or stick to a solid surface in the presence of another immiscible fluid” defines wettability23, and has scientific significance in numerous domains, including fluid flow, corrosion control, dentistry, and the extraction of hydrocarbon from oil reservoirs22. The location, flow, and distribution of fluids in a reservoir are mainly controlled by wettability. Therefore, knowledge of the correct in-situ wettability conditions of a reservoir is crucial for both log and core analysis24. Overall, the oil recovery factor is influenced by capillary pressure and relative permeability curves, both of which are impacted by wettability13. The absorption of water into an oil-wet matrix and the wettability of the rock matrix are the two factors that determine the capillary pressure25. The intricate phenomena of wettability and flow via porous media create difficulties for reservoir operations. Because of formation heterogeneity, they can be classified as water-wet, oil-wet, or intermediate-wet26. Due to the oil-polar ingredients accumulating on the rock surface and precipitating onto it, rock wettability can alter from water-wet to intermediate or oil-wet27. Although many reservoirs have succeeded with traditional EOR techniques, they might no longer be efficient in intricate reservoir conditions28.

More recently, focus has been given to the development of nanotechnology and its applications to increase the effectiveness of different processes in the domains of metallurgy, medicine, catalysis, and the oil industry29,30. Nanofluids have been used extensively in EOR methods since the 1980s. The composition, concentration, size, and form of the NPs all play important roles in enhancing recovery rates28. Nanoparticles typically have sizes less than 100 nm, smaller than pore throat sizes in an oil reservoir. Consequently, they can easily move via the porous medium without significantly reducing relative permeability13. Studies on nanotechnology have appeared as a potential substitute for tertiary oil recovery processes31,32. Nanoparticles have been indicated to increase residual oil recovery through wettability modification. Nanoparticles could interact with a fluid in the pore space and create suitable conditions for wettability modification, IFT, and oil viscosity reduction29,33. The wettability reformation might not be the only fundamental mechanism, as various mechanisms for EOR have been proposed9. Since nanoparticles have high surface energy, their adsorption on the surface of rocks leads to surface energy alteration, which improves wettability modification16. Nanoparticles can be added to wetting agents such as salt ions, polymers, and surfactants to improve their efficiency in altering wettability34,35,36,37. The unique features of Fe3O4 NPs, such as their super-paramagnetic nature, facile preparation, low toxicity, and environmental friendliness, have attracted much attention38.

Literature review

In the field of wettability alteration in oil reservoirs for enhanced oil recovery, academic researchers have conducted extensive investigations over many years, the most significant of which are briefly listed below.

Jafari et al.39 published a study on using natural surfactants (cedar) instead of synthetic surfactants in EOR techniques. This research showed that cedar effectively modifies the wettability of sandstone and carbonate rocks, similar to synthetic surfactants.

Zhang et al.40 examined the factors and influencing mechanisms of EOR using surfactants. They observed that calcite’s wettability could change from intermediate wet to water-wet when an alkaline surfactant is used.

Hendraningrat and Torsæter41 employed hydrophilic silica as an EOR agent to improve oil displacement in the porous media, resulting in a 4.9% enhancement in oil recovery through the wettability modification of quartz rocks.

Shahrabadi et al.42 declared that increased oil recovery and improved rock surface wettability can be obtained by utilizing a nanofluid made from hydrophobic silica dispersed in brine.

Jadhunandan and Morrow’s43 studies on brine, crude oil, and rock indicated that the highest oil recovery through water flooding happens near neutral wettability.

Morrow44 examined the impact of reservoir wettability on water flooding recovery. Consequently, he showed that the maximum oil recoveries were for the neutral-wet systems.

Ziaraty et al.45 investigated NPs’ impact on wettability modification and asphaltene absorption. They created SiO2, Fe3O4 nanoparticles, and Fe3O4/SiO2 nanocomposite with different ratios. The study found that optimal nanofluid concentration and temperature led to decreased contact angles and water-wet conditions, indicating nanoparticles’ effectiveness in reservoir conditions.

Recently, in our previous study46, we investigated the wettability of carbonate reservoir rocks (calcite and dolomite) using Fe3O4/gelatin nanocomposite at different aging times (7 and 11 days). In this regard, the wettability of oil-wet dolomite and calcite samples aged in the nanocomposite solution for 11 days was significantly reduced from 107.7° and 104° to 26° and 24.1°, respectively.

Reservoirs are oil-wet structures that are extremely at holding the oil in the rock porous medium26. Therefore, a significant question emerges: how could we increase crude oil recovery by altering the wetting condition of these formations to a water-wet state? According to the type of rock, reservoirs are often classified into sandstone and carbonate reservoirs16.

In the current research, the wettability of sandstone (quartz) rock is examined. To investigate the chemical components and chemistry of the surface of the sandstone rock both with and without aging in oil, various assessments are performed using Fourier transform infrared spectroscopy (FT-IR), energy dispersive X-ray (EDX), and X-ray fluorescence (XRF). The characterization of nanocomposite (NC) is performed by using field emission scanning electron microscopy (FE-SEM) and transmission electron microscopy (TEM). Also, the impact of aging time on the wettability alteration is studied. In this study, we used gelatin as a modifying substance for surface modification of Fe3O4 nanoparticles. Gelatin is a suitable choice for surface reformation of nanoparticles to use in nano-flooding due to its special properties, such as biodegradability, biocompatibility, nontoxicity, low cost, easy availability, presence of functional groups (like amino groups (NH2) and carboxyl groups (COOH)), and surface activity47,48. Despite extensive studies on wettability alteration using synthetic surfactants, nanoparticles, and biopolymers, limited research has addressed the combined effect of magnetic nanoparticles and biocompatible polymers-particularly Fe3O4/gelatin nanocomposites-on sandstone reservoirs. Most prior works have focused on carbonate rocks or used either inorganic nanoparticles or surfactants independently. The unique contribution of this study lies in the synthesis and application of a biopolymer-modified magnetic nanocomposite (Fe3O4/gelatin), which is evaluated for the first time for wettability alteration of quartz rock surfaces. The current tests were conducted at ambient conditions; in our upcoming investigations, we will examine the impact of temperature and pressure. The research provides new mechanistic insights into how core-shell nanocomposites (e.g., Fe3O4/gelatin) interact with quartz surfaces to induce water-wet conditions, filling a critical gap in nanoparticle-assisted EOR for sandstone reservoirs.

Experimental section

Figure 4 illustrates the test steps used to examine the effects of Fe3O4 and SiO2 nanofluids, Fe/G NC, SDS surfactant, Fe3O4-SDS, NaCl, and CaCl2 solutions, seawater (i.e., Persian Gulf water (PGW)), and gelatin on wettability change. As shown in Fig. 4, cutting and cleaning quartz rock and aging of quartz rock with crude oil at various times are demonstrated. The aging of quartz samples with crude oil was performed by immersing the samples in crude oil at ambient temperature and pressure for 5, 11, and 22 days. The process was conducted in a sealed chamber to minimize evaporation and ensure consistent environmental conditions throughout the aging period. In this research, all test was conducted at ambient temperature and pressure. It should be noted that we used the same materials employed in our previous study46. Therefore, in this study, following our previous research46, the synthesized nanocomposite effect and the applications of these materials are studied to investigate the wettability of quartz rock.

Fig. 4
figure 4

Workflow of experiments.

Materials

Sodium dodecyl sulfate (SDS) was the anionic surfactant employed in this study. The selection of this surfactant was based on oilfield applications. SDS (density of 1.1 (g/cm3), pH of 7–9 (10 g/l), and purity of ≥ 86 (%)) was bought from the Merck Company. The concentration at which micelle formation is observable is called the critical micelle concentration (CMC)49. Electrical conductivity and surface tension are commonly used methods to determine CMC50. In this research, the amount of CMC was determined by the electrical conductivity procedure to be approximately 2450 ppm. Utilizing a magnetic stirrer, surfactant solutions were prepared in distilled water at a concentration of 2000 ppm. The properties of the utilized seawater (i.e., Persian Gulf water (PGW)) are indicated in Table 1.

Table 1 Characteristics of PGW51.

The properties of the crude oil used in this study are shown in Table 2.

Table 2 Properties of crude oil51.

Rock sample

The sandstone (quartz) rock was selected as the rock substrate to examine the alteration of the wetting properties. To identify the composition of the rock, an X-ray fluorescence (XRF) test of the quartz sample was carried out. Table 3 depicts the XRF outcomes for the rock specimen. The rock’s measured wettability can be considerably influenced by its surface roughness52. Therefore, to measure contact angles, quartz rock was initially cut through a cutting machine into small slabs (4 × 4 × 0.5 cm) and then polished to create a smooth and flat surface. An increase in surface roughness leads to a decrease in the contact angle because water is retained in the grooves of the rough surface, thus resulting in increased hydrophilicity52. Using toluene (Merck, with a purity of 99 wt%) and the Soxhlet extraction procedure, all specimens were cleaned for 5 h. Subsequently, the specimens were maintained at 40 °C for 1 h in the oven. After that, the rock specimens were cleaned with distilled water for 6 h and kept in an oven at 40 °C for 8 h. Due to the organic pollution on the surface, this method was utilized to prevent significant errors in the measurements of wettability and face cleaning49. After that, the slices were treated in crude oil for different aging times (5, 11, and 22 days). The specimens aged with crude oil were dried at ambient temperature and immersed in the prepared solutions for 7 and 11 days. After the final specimens were dried for approximately 72 h at ambient temperature, contact angle measurements were conducted on the dried slabs.

Table 3 XRF test of quartz.

Preparation of surfactant solution

To improve mixing, magnetic stirrers were used for preparing surfactant solutions. Finally, the slices were immersed in the surfactant solution at various aging times (7 and 11 days). It should be noted that distilled water was used as the base fluid in all tests.

Synthesis of Fe3O4/gelatin nanocomposite and NPs characteristics

Fe/G NC was synthesized by an easy, affordable method and with the single-step chemical co-precipitation53 technique. We purchased ferrous chloride tetrahydrate (FeCl2.4H2O) and ferric chloride anhydrous (FeCl3) from Sigma-Aldrich. To change the pH amount, ammonium hydroxide (NH4OH at 25 w.t% in water) was used. To create a gelatin solution, 0.5 g of gelatin was added to 100 ml of distilled water and stirred continuously for 5 h at 50 °C. Afterward, the gelatin solution was cooled at ambient temperature. The next step included adding FeCl2.4H2O (Fe2+; 1.5 g) and FeCl3 (Fe3+; 3.0 g) to the gelatin solution. Afterward, it was stirred for 1 h at ambient temperature. Ultimately, NH4OH was added progressively while the solution was continuously stirred until the solution pH attained 10, after which the suspension became black. After being continuously stirred at ambient temperature for 4 h, the suspension was centrifuged for 10 min at 3000 rpm. Using distilled water and ethanol, the deposited particles were washed three times to remove the remaining chemical reagents. Finally, they were dried for 12 h in an oven at 70 °C. Figure 5 illustrates the synthesis and formation process of Fe/G NC.

Fig. 5
figure 5

Synthesis process and formation of Fe3O4/gelatin nanocomposite.

Table 4 displays the characteristics of the NPs.

Table 4 The characteristics of nps.

Nanofluid preparation

In this part, to make nanofluids, the amounts of Fe3O4, SiO2 NPs, and synthesized Fe/G NC (0.3 wt%) were progressively added to distilled water. Finally, it was mixed with a magnetic stirrer at 2000 rpm for 40 min and then put inside an ultrasonic apparatus. The ultrasonic device leads to increased nanofluid stability by decreasing the aggregation of NPs46. The solution was sonicated for 40 min at 20–25 °C using an ultrasonic device with high power (20 kHz, 200 watts). Remarkably, no stabilizer was used to stabilize the nanofluid. In this study, the optimized concentration for nanoparticles is 3000 ppm. In this research, we observed that after the concentration of 3000 ppm, the wettability does not change significantly with the increase of NPs concentration.

Gelatin biopolymer

This research investigates the wettability reformation of oil-wet quartz samples using gelatin (Sigma Aldrich) as a biosurfactant. Because SDS and gelatin act as surfactants, for better comparison between these two substances in wettability alteration, the optimized concentration for gelatin is 2000 ppm same as the optimized concentration of SDS (2000 ppm). In order to make a 2000 ppm gelatin solution, 0.5 g of gelatin was added to 250 ml of distilled water and stirred for 1 h using a magnetic stirrer. Then, oil-wet rock samples were aged for 7 and 11 days in gelatin solutions.

Salts

To perform an exhaustive investigation, two varieties of salts were examined. Using NaCl (≥ 99.5%) and CaCl2 (≥ 99.5%), which were purchased from the Merck Corporation, the effects of salinity on the wettability behavior were examined. The brine solution was created using distilled water as the base fluid, adding different amounts of salt. After that, the solutions were mixed for 30 min using a magnetic stirrer.

FT-IR

The Bruker TENSOR 27 Spectroscopy device was utilized to measure the FT-IR spectrum of the solid specimens in the 400–4000 cm− 1 range. Averaging 32 scans with a resolution of 4 cm− 1 was used to obtain all spectra. To conduct the FTIR test, dry quartz powder and oil sample were mixed with potassium bromide at a 100:1 ratio. After compressing the mixture into a pellet, the specimen’s moisture content was eliminated by placing the pellet in a desiccator54. The FT-IR analysis was carried out on the dried and treated specimens. This test is one of the qualitative techniques for determining functional groups54,55,56.

Contact angle

Measurements of the contact angle between oil and nanofluids on the surface of sandstone rock were performed using the sessile drop procedure. The oil-wet substrates for different soaking times (7 and 11 days) were aged in the nanofluids. Using the Krüss G2 contact angle measurement apparatus, the contact angle was determined. was utilized for measuring the contact angle with a syringe that had a distilled water-filled needle. A droplet of distilled water was cautiously placed on the rock surface that was placed horizontally on the device chamber. When the droplet water was completely constant on the surface, a high-resolution camera was employed to take an image. Ultimately, the contact angle was measured using the “Image j” software (version 1.54d; https://imagej.net/ij/). The contact angle of both sides of the droplet was measured, and the difference was less than 0.2°. The contact angle measurements were repeated twice; the second set of measurements showed a maximum alter of less than ± 2.5° between tests.

Results and discussion

Measuring the contact angle is a crucial factor in determining wettability because it improves the EOR process’s performance. The reservoir rocks are typically naturally water-wet, but after being exposed to crude oil for a longer period, the heavy hydrocarbons on the rock surface cause the rocks to become oil-wet. Therefore, in this study, we intend to change the oil-wet quartz surface wettability to water-wet conditions to improve oil recovery. Based on the three-phase contact angle (θ), wettability could be divided into three groups: water-wet (0° ≤ θ < 75°); intermediate-wet (75° ≤ θ ≤ 105°); and oil-wet (105° < θ ≤ 180°)57. Initially, the contact angle of the pure quartz surface was measured. In this step, drops of distilled water (three drops) were gently placed on the quartz surface, and then the contact angle between the rock surface and the distilled water droplets was determined. After that, the average of the data was considered. Image J software was used to analyze the images of the drops. The quartz surface’s initial contact angle was 50°, which shows that the rock specimen is water-wet.

Characterization of the synthesized fe/g NC

Utilizing TEM (Fig. 6) and FE-SEM (Fig. 7), the nanocomposite (NC) morphology and particle size distribution were determined. Also, the nature of the interaction between gelatin and Fe3O4 NPs was determined using FT-IR spectroscopy (Fig. 8).

TEM analysis

Two characteristics must be demonstrated when a core/shell nanocomposite is claimed to be created: (1) the particles are nanosized, and (2) the formation of a core/shell nanocomposite. The TEM analysis can be used to demonstrate these two characteristics. Figure 6 illustrates the synthesized NC’s TEM picture. According to the TEM analysis, gelatin was well coated on the exterior surface of Fe3O4 NPs with an almost spherical shape46. The spherical shape of nanoparticles leads to their high mobility and increased performance in oil reservoirs58. Additionally, it facilitates their facile transmission via porous media59,60. The average size of the synthesized NC was 30–80 nm. This size of nanoparticles is appropriate for injection into porous media. Gelatin causes the Fe3O4 nanoparticles’ aggregation to decrease because it surrounds the nanoparticles’ nucleus and prevents excessive nuclei expansion61. Smaller nanoparticles are more favorable because they will have excellent suspension stability in the dispersed solutions13. Finally, the TEM analysis of the Fe3O4/gelatin nanocomposite particles confirmed the formation of a core-shell structure, and the particles are nanosized.

Fig. 6
figure 6

TEM image of synthesized Fe3O4/gelatin nanocomposite.

FE-SEM analysis

Figure 7 illustrates high-quality and magnified FE-SEM images of the NC. Based on the FE-SEM analysis, the morphology of the synthesized NC is almost spherical. It should be noted that the FE-SEM analysis was taken from the quartz surface after the adsorption of the NC on the quartz surface. FE-SEM images demonstrate Fe3O4 NPs well coated with gelatin, as confirmed below using FT-IR analysis (Fig. 8).

Fig. 7
figure 7

FE-SEM analysis images of oil-wet quartz surface treated with nanocomposite.

FT-IR analysis

The functional group composition of the target product could be identified using FT-IR analysis. Figure 8 illustrates the FT-IR test of gelatin, Fe3O4 NPs, and Fe/G NC. In the band of pure gelatin, the absorption at peak 3425.4 cm− 1 is associated with the stretching vibrations of the N-H bond62. The amide I and II bonds are allocated by the peaks located at 1644.3 and 1552.6 cm− 1, respectively62. The spectra of the Fe3O4 NPs are illustrated by the peaks at 574.3 and 445.5 cm− 1, which are related to the Fe-O bond63. The spectrum of Fe/G NC displays the distinctive peaks of gelatin and Fe3O4 NPs, confirming that gelatin was successfully coated onto the Fe3O4 NPs’ surface. In addition, the N-H bond in the Fe/G NC spectrum changes to a lower wave number, and its band broadness becomes larger, indicating that Fe3O4 NPs and gelatin interact well through electrostatic attraction64.

Fig. 8
figure 8

FT-IR of gelatin, Fe3O4 NPS, and Fe3O4/gelatin nanocomposite.

Detection of rock type

To ascertain the nature of the rock, an EDX test was taken on pure quartz (Fig. 9). The EDX results suggest the presence of oxygen, silica, and carbon as the most dominant constituents in the quartz sample. Pure quartz comprised 53.77 wt%, 44.07 wt%, and 2.17 wt% of oxygen, silica, and carbon, respectively. The ingredients Si and O are characteristic of quartz25.

Fig. 9
figure 9

EDX test of pure quartz rock.

Wettability alteration

Oil and aging time’s effects on wettability

To evaluate the impact and aging time of oil, cut quartz specimens were treated in crude oil at various aging times (5, 11, and 22 days). The contact angle of the samples measured for 5, 11, and 22 days was 66°, 85°, and 107°, respectively. Images of distilled water droplets on quartz samples aged with oil for 5, 11, and 22 days are shown in Fig. 10.

Fig. 10
figure 10

Pictures of distilled water droplets on quartz rock surfaces treated with oil at various aging times.

Subsequently, the impact of aging time on the wettability of quartz samples was examined. The quartz contact angle increases as the aging time increases (Fig. 11). Therefore, aging time considerably affects wettability65. Sandstone reservoirs are typically negatively charged in neutral conditions14. Crude oil comprises polar compounds like asphaltenes and resin, which can be absorbed through surface deposition and polar interactions on negatively charged sandstone surfaces14. Additionally, crude oil amides could cause wettability changes51. In other words, the oil’s acidic ingredients can be adsorbed onto the rock’s surface and alter its wettability66. Various studies have shown that carboxylic acids adsorb onto rock surfaces irreversibly67,68. Therefore, the contact angle of the quartz sample increased significantly from 50° to 107° after being aged in crude oil for 22 days. The increase in the contact angle may be due to the increased adsorption of polar molecules and acidic substances in crude oil. Remarkably, the treated rock specimens with crude oil for 22 days were employed for analysis and subsequent experiments.

Fig. 11
figure 11

The impact of oil on the wettability of quartz at different aging times (5, 11, and 22 days).

FE-SEM determination

By observing alterations in the morphology of the rock surfaces, it is possible to investigate the mechanism of the wettability change of the quartz surface treated with oil. The microscopic morphology of rock surfaces treated with crude oil was determined in this study using FE-SEM analysis. Figure 12 shows the FE-SEM images of pure quartz and quartz surfaces treated with crude oil. According to Fig. 12(a), the quartz rock surface is not entirely smooth before aging with oil. As can be seen from Fig. 12(b), in comparison to the pure quartz surface, the morphology of the aged quartz surface with oil has altered considerably due to asphaltenes of the oil phase being precipitated on the surface through polar interactions and ion binding69. FE-SEM analysis nicely reveals the mechanism of the wettability change from a water-wet quartz surface to an oil-wet quartz surface using crude oil.

Fig. 12
figure 12

FE-SEM analysis of quartz surfaces, (a) before treatment and (b) after treatment with oil.

EDX analysis

The specimens examined in elementary form are analyzed using the EDX analytical procedure70. The EDX analysis was utilized to compare the precipitation of the oil elements on the quartz surfaces before and after treatment with oil. Table 5 illustrates the elemental composition of the quartz surface before and after aging with oil. Also, the EDX test of the quartz sample aged with oil is shown in Fig. 13. S and C atoms, which are oil ingredients, are visible in the quartz aged with crude oil, whereas their presence was approximately zero before aging. Therefore, the rise in C atoms and the appearance of the S atom are the outcomes of oil adsorption on the quartz specimen surface, which leads to the wettability alteration.

Table 5 Elemental composition of the quartz surface before and after aging with oil.
Fig. 13
figure 13

EDX analysis of quartz rock after aging with oil.

FT-IR test

Functional groups of pure quartz and quartz aged with oil could be identified in Fig. 14. The absorption band at 468.07 cm− 1 is related to the asymmetric bending vibration of the Si-O bond26. The Si-O bond’s symmetric and asymmetric vibrations are represented by the peaks located at 785.47 cm− 1 and 1082.5 cm− 1, respectively71. Therefore, the rock used contains pure silica as the main element of quartz rock. The spectra of the oil-treated quartz illustrate a peak at 1880.5 cm− 1, which is related to the stretching vibration of the C = O bond26,72. Peaks at 2858.37 cm− 1 and 2926.3 cm− 1 are assigned to the alkyl C-H bond72. The peaks of pure quartz can be found in the spectrum of quartz aged in crude oil. Therefore, the FT-IR spectra confirm that the crude oil was successfully adsorbing onto the quartz surface.

Fig. 14
figure 14

FT-IR test of pure quartz and quartz aged with oil.

Wettability alteration by seawater

After aging oil-wet quartz specimens in seawater (for 7 and 11 days), we placed them in an oven, and when they cooled, their contact angle was examined. The contact angle values for seawater at various aging times are demonstrated in Fig. 15. After aging for 7 days in seawater, the contact angle of the oil-wet quartz surface reduced from 107° to 99.6°. With rising aging times (for 11 days), it reduced from 107° to 88°. Ca2+ and Mg2+ ions in seawater could reduce the contact angle due to the formation of a complex structure with fatty acids, which leads to the separation of fatty acids from the rock’s surface73. Additionally, the separation of the oil phase from the rock surface may be caused by a reaction between Ca2+ and adsorbed carboxylic groups. Mg2+ concentration in seawater is approximately four times higher than Ca2+ concentration; therefore, Mg2+ could, using a replacement reaction as a determining ion, displace Ca2+ from the quartz surface74. Therefore, Mg2+ could be active in the wettability reformation process in seawater74. The contact angle will increase with increasing Na+ concentration in seawater. The increase in Na+ concentration causes a reduction in the activity of divalent ions and hinders their availability to the double layer, so the contact angle is increased. Na+ is an inactive ion; thus, its presence in the double layer does not have sufficient power to change the contact angle75. Additionally, since seawater has a high salinity, fewer carboxylic substances’ can dissolve in the aqueous phase, and the salting-out effect takes place65.

Fig. 15
figure 15

Wettability alteration of quartz specimen by seawater.

Effect of type of salt on the wettability

Two kinds of salts, sodium chloride (NaCl) and calcium chloride (CaCl2), were employed in a wide range of brine concentrations to test the wettability. Brine concentrations were changed to be between 1000 and 200,000 ppm. Quartz samples were aged in brine solutions for 11 days. As displayed in Fig. 16(a) and (b), the wettability of crude oil and brine decreases quickly as the concentration of salt increases and then gradually increases when more salt is added, but less rapidly. The optimal salinity of the NaCl and CaCl2 solutions was around 10,000 and 25,000 ppm, respectively.

Acidic substances exiting from the rock surface and dissolving in the aqueous phase are the mechanisms responsible for wettability reformation. Increases in the electrical double layer can be another mechanism responsible for the change in wettability during low salinity water. The electrical double layers increase as the Debye layer length rises, reducing the contact angle because of increased electrostatic repulsion at the interfaces. The ionic strength decreases with decreasing salinity. Hence, variations in ionic strength cause a considerable alteration in the surface charge of sandstone. Thus, LSW can shift the quartz surface to a water-wet condition76,77. In this work, at salt concentrations higher than 10,000 (NaCl) and 25,000 (CaCl2) ppm, the contact angle increased. Most likely, the exchange of ions between the positive and negative charges increases the contact angle78. At high concentrations of salt, the impact of the salt prevails over the cation valence. Therefore, according to Fig. 16, hydrocarbons’ propensity to dissolve in the aqueous phase reduces as brine salinity increases. In other words, the high salinity of brine minimizes the electrostatic forces, so oil can stick to the rock surface79. As the salinity increases, the salting-out effect causes more organic materials to remain in the oil phase76. In comparison to NaCl, CaCl2 exhibited superior interaction with the crude oil, leading to a higher decrease in wettability. Divalent cations demonstrate a stronger rate of repulsion and hydration at the interface than monovalent ions80. Consequently, divalent ions have a considerable impact on wettability reformation due to their high electrical charge density81. Conversely, the repulsive forces between anions and acidic substances partially hinder their solubility in water82. Understanding how oil sticks to the surface of rocks depends on the difference in surface potential between the two materials. For example, increased CaCl2 concentration causes a greater amount of calcium absorption on rock surfaces and oil, which causes both surfaces to have a greater positive electrostatic potential. Hence, reduced contact angles and more rock and oil repelling are caused by small variations in surface potential amounts83. As the concentration of NaCl rises, sodium is only absorbed on the rock surface, which leads to the surface-potential difference between rock and oil decreasing. Figure 16 depicts that the oil-wet quartz surface contact angle reduction is impossible using the high salinity of the NaCl and CaCl2 solutions.

Fig. 16
figure 16

The impact of NaCl and CaCl2 ions on the wettability change of the quartz sample.

Impact of NPs and surfactant on wettability

Fe3O4 and SiO2 NPs

In this part, Fe3O4 and SiO2-based nanofluids are employed to determine the contact angle of the oil-wet quartz specimen. In this regard, the quartz samples immersed in nanofluids were dried at ambient temperature, and their contact angle was determined. After 7 days of immersing quartz samples in SiO2 and Fe3O4 nanofluids, their contact angles decreased from 107° to 62.16° and from 107° to 52.13°, respectively (Fig. 17).

Fig. 17
figure 17

Wettability reformation of rock samples by NPs and SDS.

With increasing aging time (for 11 days) of quartz specimens in SiO2 and Fe3O4 nanofluids, the contact angle of quartz reduced from 107° to 51.38° and from 107° to 46.21°, respectively. The reason for this contact angle reduction is wedge film creation, a thin layer of nanoparticles that gradually apply disjoining pressure to the oil phase (see Fig. 18(a))26. The propensity of nanoparticles to arrange in a wedge-like shape is defined as a wettability modification mechanism during nanoparticle flooding84. In this procedure, a water layer with nanoparticles would provide force to reduce the system’s free energy, or disjoining pressure, and ultimately remove the oil that was adhered to the rock surface85.

Depending on the nanoparticles’ surface groups, they could encounter a wide range of chemical interactions86,87,88. For instance, SiO2 and Fe3O4 nanoparticles are hydrophilic and protected by hydroxyl groups89,90. Electrostatic repulsion and Brownian motion among nanoparticles are the primary driving forces of the disjoining pressure57. With the adsorption of NPs on the rock surface, the disjoining pressure mechanism leads to the wettability change of the rock surface from an oil-wet to a water-wet state. The primary mechanism of wettability reformation by nanofluids could be attributed to the NPs’ physisorption on the rock surface. In other words, layers of NPs are absorbed by the rock (or oil), which causes wettability modification of the rock surface91,92. Nanoparticles absorb acidic substances due to their small size and extremely high surface area, based on their surface energy93,94. Hence, nanoparticles could decrease the precipitated asphaltene molecules and change the wettability of the solid surface95,96. Destabilizing the oil layer(s) on oil-wet surfaces with nanoparticles could assist in the desorption of the oleic phase46. Therefore, oil layers exit the rock surface, and the wettability of the rock surface changes to a water-wet condition97. Besides, Nanoparticles could influence the roughness of the rock surface, which causes the rock’s surface to become more water-wet34,98,99.

Disjoining pressure arises from interactions between the solid surface, liquid, and nanoparticles, and it can significantly influence the stability and thickness of thin liquid films at the solid-liquid interface, thereby affecting wettability26,84,85. In our study, the effect of disjoining pressure was primarily considered from a theoretical standpoint. We accounted for its role in modifying the effective interaction forces at the solid-liquid interface, especially in the presence of nanoparticles that can adsorb onto surfaces or create structured layers at the solid-liquid interface. While we did not directly measure disjoining pressure experimentally, our wettability tests (e.g., contact angle measurements) indirectly reflect its influence, particularly when comparing treated vs. untreated surfaces.

SDS and Fe3O4/SDS

Using NPs to increase oil recovery has been considered, particularly when mixed with surfactants100,101. The loss of surfactants through adsorption into rocks could be considerably decreased by adding NPs to a surfactant solution46. Therefore, in the next section of the experiment, the quartz contact angle was measured for concentrations of SDS and Fe3O4/SDS (2000 and 3000/2000 ppm). It is clear that before treatment, all rock surfaces were oil-wet (θ = 107°). Oil-wet quartz samples were aged for 7 and 11 days in surfactant and Fe3O4/SDS solutions. As seen in Fig. 17, the quartz contact angle in the SDS solution was reduced from 107° to 46.53° and in the Fe3O4/SDS solution from 107° to 38° after 7 days of treatment. With an increasing aging time (for 11 days), the rock sample contact angle in SDS and Fe3O4/SDS solutions decreased from 107° to 41.67° and 32.64°, respectively. Nanoparticles of Fe3O4 improve the wettability reformation mechanism due to synergistic effects with SDS102. This synergy arises from the complementary surface-active properties of both components, leading to improved interfacial interactions with the rock surface and the crude oil103. Fe3O4 nanoparticles possess a high surface area and surface energy, enabling them to adsorb effectively at the oil-water and rock-fluid interfaces46. However, their tendency to aggregate can limit their efficiency in porous media. SDS, an anionic surfactant, reduces interfacial tension (IFT) and provides electrostatic stabilization to the nanoparticles, preventing aggregation by imparting a negative surface charge, thereby improving nanoparticle dispersion and mobility46. Additionally, the dual presence of Fe3O4 and SDS enhances disjoining pressure at the oil-rock interface and facilitates structural disjoining pressure film formation, which further promotes oil detachment from the rock surface84. The result is a more pronounced and stable wettability alteration than that achieved by either agent alone.

The optimum concentration of surfactant is important for wettability reformation. The surfactant molecules appear as monomers at concentrations below the CMC. Hence, the monomers can contact absorbed organic substances on rock surfaces to change their wettability and become more water-wet104. (It should be noted that the concentration used for the SDS in this study is 2000 ppm, i.e., < CMC.). Through the hydrophobic interactions between the absorbed acidic compounds and the surfactant tail, SDS adsorbs on the surface, causing the surface to become water-wet56. There is electrostatic repulsion between negatively charged SDS molecules and the quartz specimen; thus, just the hydrophobic effects and van der Waals forces can lead SDS to absorb onto the surface. Surfactants create ion pairs with the polar ingredients of oil, and then the ion pairs are separated from the rock surface, which causes a decreased contact angle27. Therefore, the two principal mechanisms that alter the wettability of rocks toward a more water-wet condition are ion-pair creation and the adsorption of surfactant molecules via interactions with the adsorbed crude oil elements on the rock surface20,22,27. Ion pair creation may remove the adsorbed layer of crude oil ingredients from the rock surface, causing the rock surface to become water-wet46. The ion pairs created during the process would no longer be water soluble and therefore would move easily across the oil/water interface into the oil phase, leaving the free surfactant molecules in the water phase to associate with the adsorbed crude oil elements near the oil/water interface22. Consequently, the surfactants can gradually alter the rock surface’s wettability to a more water-wet condition20.

Surfactants, through the formation of a surfactant monolayer on the oil-wet rock surfaces, cause a reduction in the contact angle20. The synergistic effects of Fe3O4 nanoparticles with positive charge and SDS cause a substantial reduction in the contact angle57. Single-layer absorption of SDS molecules onto Fe3O4 nanoparticles causes the hydrophobic tail of surfactants to be placed in the solution. Consequently, nanoparticles become hydrophobic and are absorbed at the interface of oil and water, causing a decrease in wettability (see Fig. 18(b)).

Fig. 18
figure 18

Mechanisms of the wettability reformation: (a) NPs without SDS and (b) NPs with SDS.

EDX analysis

Figure 19 displays the EDX analysis for quartz specimens after treatment with SiO2 and Fe3O4 nanofluids. According to EDX analysis, the silica amount of the quartz sample before treatment with SiO2 nanofluid was 9.88 wt%. After aging the quartz specimen in a solution containing SiO2 NPs, the silica amount increased to 14.02 wt%. Also, no iron was observed in the quartz rock before aging, whereas iron amounts were 45.43 wt% after treatment with Fe3O4 nanofluids.

Fig. 19
figure 19

EDX analysis of quartz rock after treatment with (a) SiO2 and (b) Fe3O4 nanofluid.

For better understanding, the silica and iron absorption behavior on the quartz surface is depicted in Fig. 20 before and after aging.

Fig. 20
figure 20

Si and Fe amounts of quartz specimens before and after aging in Fe3O4 and SiO2 nanofluids.

Effect of gelatin and fe/g NC on wettability

Gelatin is a protein that dissolves in water and is obtained from the bones and skin of animals through thermal denaturation105. Gelatin, due to having functional groups such as carboxyl and amine, is an excellent choice for surface reformation of nanoparticles for utilization in nano flooding47,105. Gelatin is a natural polymer and has excellent biocompatibility. Moreover, gelatin is cheap and readily accessible47,106. Swelling ratio has been widely used as a simple method to characterize water absorption and stability of biomaterials106. Therefore, gelatin can swell after being adsorbed to the rock surface, and the oil phase adsorbed to the rock surface is separated from the rock surface along with the swelling of the gelatin. Divalent metal ions, including Cu2+, Ca2+, and Fe2+, are present in trace amounts in gelatin107,108,109. These ions stick to the carboxylic acid groups on the chains of the gelatin molecules and create ionic bonds (Fig. 21(a)). Through electrostatic interactions, negatively charged carboxylic acid groups can absorb positively charged amine groups (Fig. 21(a)). Due to the high hydrophilicity of the gelatin, water is absorbed by the gelatin through hydrogen bonds that are created between water molecules and amino and carboxylic acid groups (Fig. 21(b))106.

Fig. 21
figure 21

Probable interactions between ions and gelatin (a) and the formation of hydrogen bonds (b).

One of the other possible mechanisms of wettability reformation by gelatin is the creation of capillary forces through the hydrophobic interaction between the hydrophobic amino acids of gelatin and the oil phase106,110. Figure 22 illustrates the proposed mechanism of wettability reformation by gelatin. In general, gelatin can reduce the contact angle of the oil-wet surface, which behavior is attributed to the fact that gelatin tends to enhance the hydrophilic characteristics of the rock surface by having even more hydrophilic groups that can interact with water111.

Fig. 22
figure 22

The proposed mechanism for the wettability reformation to a water-wet state by gelatin.

The contact angles of quartz samples were measured after various aging times (7 and 11 days) in gelatin and NC solutions. As seen in Fig. 23, the contact angle of quartz specimens in gelatin and Fe/G NC solutions decreased from 107° to 39° and 27.4° in 7 days of aging. By rising the aging time of quartz samples in gelatin and Fe/G NC solution (for 11 days), the contact angles of quartz samples reduced from 107° to 33.9° and 25.13°, respectively. Hence, the Fe/G NC contact angle was dramatically less than the bare gelatin. While the results may not fully replicate reservoir conditions, the observed wettability behavior under ambient conditions provides valuable preliminary insight into the surface-fluid interactions. Future work will aim to extend this study by conducting measurements under temperature and pressure conditions representative of the reservoir to more directly assess field applicability.

Core-shell structured NPs are desirable for different applications due to their high stability under reaction conditions112. Their uniform size, morphology, and tunable chemical compositions also make them valuable in various applications113. Active mechanisms in the wettability change of a rock surface by NC are the same as those of NPs, except that the synergistic effect of Fe/G NC has significant performance114. Therefore, the rock surface becomes coated with Fe/G NC, creating a hydrophilic layer on the surface and reducing the contact angle114. By raising the disjoining pressure on the rock surface, nanocomposites could weaken the force of adhesion between the oleic phase and the rock surface and remove the oleic phase from the rock surface115,116. The physical and chemical characteristics of a material are enhanced by their combination111. Therefore, the Fe/G NC has better performance than bare iron and gelatin. Ensuring the oil-wet nature of the formation before flooding in the laboratory is necessary to study the efficiency of the EOR process, which targets recovery via wettability reformation. However, wettability reformation is dependent on various factors, including oil characteristics, aging temperature, aging time, etc117. Therefore, the effects of the mentioned parameters on the wettability of oil reservoir rocks assist our insight into reaching the desirable result.

The synthesized Fe/G NC demonstrates significant potential for large-scale implementation in EOR applications due to its effective wettability alteration performance and environmental compatibility. The Fe/G NC reduced the contact angle of oil-aged quartz from 107° to 25.13°, indicating a strong shift toward water-wet conditions, which is favorable for improved oil displacement efficiency. The use of gelatin (a biodegradable and surface-active biopolymer) may reduce nanoparticle aggregation and enhance transport through porous media, limiting nanomaterial retention and pore-blocking risks. Fe3O4 NPs are relatively inexpensive, chemically stable, and can be synthesized in bulk via established co-precipitation. In field scenarios, fluid-rock interactions will be influenced by mineralogical heterogeneity and reservoir temperature and pressure. However, further studies on core flooding performance, long-term stability under reservoir conditions (e.g., high salinity and temperature), and cost-benefit analysis are necessary to fully validate its field-scale application. Nevertheless, the synthesized Fe/G NC also faces challenges in EOR applications. Achieving stable dispersion of Fe3O4 NPs within the gelatin matrix and in reservoir fluids is challenging. Precise control over nanoparticle size, distribution, and loading within gelatin is necessary to optimize properties but can be difficult to achieve consistently. Efficient separation or recycling of NPs post-EOR is still a challenge.

Fig. 23
figure 23

Wettability reformation of quartz specimens by gelatin and Fe/G NC.

Sandstone reservoirs present specific challenges in EOR processes due to their inherent surface wettability characteristics. A major issue is the tendency of quartz surfaces to become oil-wet over time as a result of the adsorption of heavy and polar components from crude oil118. This wettability alteration severely reduces EOR efficiency, as the displacement of oil becomes more difficult in oil-wet conditions. The main factors of sandstones’ wettability change by crude oil are their API, asphaltene, and clay contents119. Brine decreases the negative electrical charge on the clay surface in high-salinity reservoirs, which reduces the repulsive force19. Then, the surface-active material in the crude oil is adsorbed onto the clay surface, which leads to it being oil-wet119. Sandstone becomes more oil-wet when the clay content increases120. The wettability of sandstone is influenced by high temperature, pH, and brine composition119. Various opinions have been reported in the literature about the impact of high temperature on the wettability of sandstone and carbonate121. At high temperatures, sandstone can become either water-wet or oil-wet, whereas carbonate becomes water-wet as the temperature rises119.

By targeting the specific problem of oil-wet conditions in sandstone reservoirs, our study offers a comprehensive approach for wettability reformation using a variety of agents, including synthesized Fe/G NC, individual NPs, gelatin, salt ions, and SDS. This not only improves EOR efficiency but also provides insights into designing tailored nanofluids for complex sandstone reservoirs.

Conclusions

In this research, Fe3O4/gelatin nanocomposite was synthesized in the laboratory and investigated for EOR applications. This study included different static (i.e., characterizations, nanocomposite synthesis, and measuring contact angles) experiments. The wettability change of quartz by NPs, SDS surfactant, salt solutions, gelatin biopolymer, and seawater, and the impact of treatment time on wettability, were examined. The following is a summary of the important results:

  1. 1.

    In the first step, the hydrophilic quartz surface was changed to an oil-wet state after treatment with crude oil (for 22 days). Therefore, the contact angle of pure quartz increased from 50° to 107°.

  2. 2.

    This study used a facile procedure to synthesize the Fe/G NC, which was evaluated using FE-SEM, TEM, and FT-IR tests.

  3. 3.

    Oil-wet quartz surface after aging (for 11 days) in SiO2 and Fe3O4 nanofluids and Fe3O4/gelatin nanocomposite decreased from 107° to 51.38°, 46.21°, and 25.13°, respectively.

  4. 4.

    With the increasing treatment time, the ability of the contact angle to alter the wettability to the water-wet condition increases.

  5. 5.

    Seawater exhibited the least change in contact angle because of its high salinity and the salting-out effect.

  6. 6.

    First, the contact angle reduces with rising NaCl and CaCl2 concentrations, and after reaching the optimal salinity, the contact angle increases as the concentration rises. The optimum salinity of the system for NaCl and CaCl2 solutions was around 10,000 and 25,000 ppm, respectively.