Introduction

In recent years, enhanced oil recovery (EOR) methods have gained significant importance in the petroleum industry due to their capability to increase the oil recovery factor (RF). Generally, EOR organizes into primary, secondary, and tertiary – or enhanced – methods. Primary recovery takes advantage of natural depletion due to the pressure difference between the reservoir and the production well. Secondary recovery, usually employed when the primary recovery is no longer effective, injects water, brine, or gas into the reservoir to maintain or increase the inner reservoir pressure. On the other hand, tertiary or enhanced recovery encompasses techniques such as chemical injection, ultrasonic stimulation, microbial injection, and thermal recovery aiming to produce additional effects other than pressure increase (Perera et al. 2016).

In the petroleum industry, processes such as gas–oil separation, multiphase flow, and oil extraction from reservoirs are influenced by IFT, which can be responsible for up to a third of the residual oil volume in petroleum reservoirs (Christensen et al. 2001). IFT also affects many other reservoir properties, such as wettability, permeability, and capillary pressure (Gajbhiye 2020).

Among the EOR techniques, CO2 injection (CO2EOR) is one of the most established and used worldwide (Islam 2019). This technique reduces oil viscosity and CO2–oil interfacial tension and increases oil swelling, mobility, extraction, and sweep efficiency (Gu et al. 2013; Hemmati-Sarapardeh et al. 2014; Zanganeh et al. 2012). It also keeps the high internal reservoir pressure and an associated low cost (Shang et al. 2014). These factors generate a high displacement efficiency and decrease residual oil volume, thus improving the oil recovery. On the other hand, the increased CO2 dissolution in oil leads to asphaltene precipitation (Zanganeh et al. 2012). From the flow assurance point of view, a trade-off between oil displacement and asphaltene precipitation due to CO2 dissolution requires a technical and economic assessment of the process. The injection of other gases, such as methane or nitrogen, does not provide the same positive effects as CO2 because these gases have a much lower solubility in oil (Ghaffar 2016).

Moreover, CO2 injection benefits the environment since it mitigates greenhouse gas emissions. It is also helpful in the case of Brazilian pre-salt reservoirs, which naturally have a high-CO2 content, reaching 40% (mol) in the produced gas (Carvalhal et al. 2019). Although it is not within the scope of this work, the asphaltene and wax precipitation phenomena, as well as hydrate formation, dramatically affect the flow assurance in CO2 injection processes and should be addressed appropriately.

The CO2 injection into the reservoir can occur in miscible or immiscible conditions. Usually, immiscible CO2 injection is less efficient and generates a low recovery factor (Hashemi Fath and Pouranfard 2014). The concept of miscibility refers to when the interfacial tension between two phases approaches zero and no more interface occurs between the phases (Gu et al. 2013). For gas–oil systems, there is usually a minimum pressure at a given temperature at which the reservoir oil and the injection gas become miscible. It is called the minimum miscibility pressure (MMP) (Choubineh et al. 2019).

Miscibility can be achieved at pressures above the MMP through condensation, vaporization, or a combination of both mechanisms (Zick 1986). The first-contact miscibility occurs when the oil and the injected gas reach miscibility upon their first contact in the reservoir at any arbitrary rate. However, in most cases, gas–oil miscibility develops through continuous mass transfer between the phases, named multi-contact miscibility (Choubineh et al. 2019; Green and Willhite 2018).

In the case of CO2–oil systems, the multi-contact miscibility depends on mass transfer and phase equilibrium between the liquid and gas phases (Zhang et al. 2018). When considering the oil flow resulting from CO2 injection, as soon as the oil and gas come into contact, the processes of CO2 dissolution in oil (condensation mechanism) and the extraction of the light components from the oil by CO2 (vaporization mechanism) occur. After the first contact, the injected CO2 – now enriched with hydrocarbons extracted from the oil – advances along the reservoir due to its higher mobility and encounters the fresh oil, i.e., the oil that has not met the CO2 front yet, further increasing its enrichment. Thus, after multiple contacts, the enriched CO2 becomes miscible in the oil (Gu et al. 2013). This process promotes a change in the compositions and properties of the CO2–oil system, such as density, viscosity, and interfacial tension (IFT) (Cho et al. 2020).

However, in practice, the injected CO2 is often mixed with various components due to the different sources of the injected gas, such as light hydrocarbons, sulfur, and nitrogen compounds, which affect the performance of the injection process. As the purification of the CO2 streams is quite expensive, the injection of CO2 mixed with some other components leads to a significant cost reduction in the CO2 EOR processes (Shokrollahi et al. 2013). Among these components, methane gas is generated as a product of primary, secondary, and tertiary oil extraction processes and used as a reinjection gas for EOR processes. Therefore, it is the object of study of the present work. It is imperative to understand these components’ effects on the injection performance of an EOR method to determine whether it is appropriate to inject a CO2 stream into the reservoir without purification (Jin et al. 2017) since gas purification has a high cost, which, if avoided, contributes to the economic performance of the injection.

Several authors have studied the effect of CO2 + methane injection on the IFT and MMP of CO2–oil systems. Choubineh et al. (2019), Gu et al. (2013) and Zhang et al. (2004) observed that the MMP increases as methane concentration in the injected gas increases. According to them, this occurs because methane has a solubility in oil and an ability to extract light components much lower than CO2, which makes it difficult for the system’s phases to reach miscibility. Zhang et al. (2018) compared the properties of CO2–oil systems with and without methane and reported that the increase in the system’s pressure generates a slight increase in oil density due to CO2 dissolution in oil. However, as methane is a much lighter gas than CO2, the CO2 + methane dissolution in oil causes the opposite effect: decreased oil density with increased pressure.

The literature reports several studies on oil recovery using CO2, with and without methane (Ghaffar 2016), and the impact of the methane concentration in CO2 on the properties of the CO2–oil system. However, most of these studies end up focusing just water alternating CO2 injection (CO2WAG), instead of injecting only CO2, as is the case of Cho et al. (2020) and Ghaffar (2016), so it is not possible to make a direct comparison between them and the present work. The higher the methane content in the CO2 injection stream, the smaller the amount of oil recovered at the end of the process (Cho et al. 2020; Ghaffar 2016) noted that a 0 to 50% increase in methane molar fraction reduced the RF by about 36% at 21 °C and 650 psi.

Jin et al. (2017) studied the effect of methane concentration in the CO2 injection stream on a water alternating gas (WAG) process. Jin et al. (2017) also reported that, for the case under study, after the injection of four pore volumes of CO2 in the reservoir, the oil RF reached its maximum value when the methane content in the injection gas was between 10 and 20%. However, regardless of the injected pore volume, when the methane content in the injection gas reached 40%, the flow changed from miscible to immiscible. It indicates that the injection gas has an optimum composition range in the initial periods of the process, which leads to maximum recovery while reducing costs since CO2 purification is unnecessary. However, the optimum composition range for a continuous gas injection in a WAG process is not reported in the literature. Moreover, studies on continuous gas injection processes performed under the same conditions used by Jin et al. (2017) have not been found in the literature.

Cho et al. (2020) studied the effects of methane concentration by simulating a WAG injection process in an oil reservoir. They observed that a higher methane concentration leads to less gas dissolving in the oil, reducing its viscosity. Consequently, the fraction of the injected gas does not create preferential gas channels, which could lead to an early breakthrough of the produced gas. Zhao and Yu (2018) reported a strong correlation between the methane content on a CO2 stream and the breakthrough pressure, in a way that the higher the content, the higher the IFT and the breakthrough pressure. In addition, due to its low solubility in water, methane suffers a breakthrough before CO2. Cho et al. (2020) also noted that, during the first cycle of WAG injection, the reservoir’s average gas saturation increases with the methane concentration since it occupies a greater pore volume than CO2. However, due to the low sweeping efficiency promoted by methane, this trend reverses in the following cycles, similar to those observed by Ghaffar (2016). Thus, the sum of the effects of sweeping efficiency, displacement efficiency, and compressibility increases the oil recovery factor with the methane concentration in the early stages of the WAG process. However, in the following WAG cycles, the observed trend is reversed, and oil recovery becomes greater for CO2 injection.

Nobakht et al. (2007) performed an experimental analysis of the impact of IFT and other variables on a CO2EOR process. The authors observed that, at pressures lower than a certain threshold, the IFT reduces linearly with the increasing pressure, whereas, above this threshold, the IFT continues to reduce but with a much smaller trend. Such behavior was attributed to the fact that, at low pressures, the pressure increase leads to a rise in CO2 dissolution in oil, which quickly reduces the IFT. However, at high pressures, the light components extraction process begins, which leads to a change in the oil phase composition, and explains the difference in the IFT curve behavior. The authors also compared the direct impacts of the injection pressure on the CO2EOR and found similar trends. At low values of injection pressure, the CO2EOR is low and almost constant because of the low CO2 viscosity, the high IFT, and the high capillary force, which leads the injected CO2 only to displace the oil from the largest pores. At medium values, the CO2 viscosity increases and quickly dissolves into the oil, lowering the IFT and equilibrating the capillary and viscous forces, leading to higher CO2EOR. Finally, at high values, the residual oil remains only in the smallest pores where the viscous force is not strong enough to displace. Consequently, the CO2EOR reaches a maximum and becomes almost constant again.

Drexler et al. (2020) studied the effects of CO2 dissolution on both dynamic and equilibrium IFT between a high-salinity brine and a Pre-salt oil with a high total base number (TBN), a non-negligible total acid number (TAN), and a considerable amount of asphaltene and resins. Although the CO2 dissolution decreased the time required for the IFT to reach equilibrium by 70%, the authors observed it did not reduce the IFT. Thus, oil recovery depends on viscosity reduction and wettability alteration. Analyzing the impact of the pH on the IFT, the authors also found that for neutral and basic pH values, the IFT values remained constant, while, for strongly acid pH, the IFT reached the maximum values.

Recently, Abdullah and Hasan (2021) studied the effects of miscible CO2 injection on a CO2EOR process. However, the authors did not carry out an approach as complete as the one presented in this work. For pure CO2 injection, increasing the reservoir pressure and the temperature raises oil production through IFT reduction, oil swelling, reducing oil viscosity, increasing sweep efficiency, increasing CO2–oil interaction, and other mechanisms related to supercritical CO2.

There are several methods to measure the IFT experimentally, so the most established one is the pendant drop method. This method determines the IFT by photographing a pending droplet and measuring the drop dimensions from the negative films. Currently, the most employed method for measuring IFT is the axisymmetric drop shape analysis (ADSA) technique, an improvement of the pendant drop method improved by Cheng et al. (1990).

Many authors developed different methods to calculate the IFT as a function of specific variables. Therefore, several empirical, semi-empirical, and phenomenological methods can determine the IFT in multicomponent systems. Among the CO2–oil systems, the most used in general, including numerical simulation purposes, is the Parachor method, developed by Weinaug and Katz (1943), due to its simple formulation, even though this method frequently leads to higher deviations compared to others. Other more complex methods, but less used, are the density gradient theory (DGT) (Cahn and Hilliard 1958), the linear gradient theory (LGT) (Zuo and Stenby 1996), and the theory of the corresponding state (Zuo and Stenby 1997). Such methods are not commonly used because they require complex mathematical treatments, which are unfeasible for reservoir numerical simulation since they require high computational efforts (Pereira 2016).

In the literature, to our knowledge, no work compares the injection of CO2 with and without methane, analyzing the impact of the methane content on the system’s properties, especially on the gas–oil IFT and the oil recovery factor. Cho et al. (2020) performed a similar analysis but for the cycles of a WAG process, not a gas-only injection one. Jin et al. (2017) also analyzed a WAG process but did not evaluate the effects of the systems’ properties. Ghaffar (2016) did not assess its impact on the IFT, although they compared CO2 injections with and without methane.

The experimental measurements of IFT and studies about the effect of this property on the gas–oil system generally consider only motionless systems, i.e., an oil droplet surrounded by gas, typical of the experimental setup. The present work, however, performs an assessment that is more representative of the CO2 EOR processes, considering the effect of the IFT throughout the oil flow inside the reservoir, which is a novelty in the literature.

Until now, the analyzed IFT values were obtained by experimental procedures, such as the pendant drop method. In this case, the characteristics of the reservoir in the IFT and oil displacement and recovery are not assessed. For such, simulations were carried out considering different methane concentrations in the injection gas, ranging from 0 to 50% molar of methane in a mixture with CO2. In addition, other injection conditions are tested, such as gas injection at constant pressure, considering pressure values above and below the experimental MMP, and gas injection at a constant flow rate. For each simulation, the behavior of various properties of the gas–oil system along with the flow is compared, such as density, pressure, phase composition, oil saturation, and, of course, IFT and oil recovery. The focus is on the variation of these properties that affect the IFT and the mechanisms involved.

This kind of analysis is not found in the literature at all. Still, it is reasonably necessary due to the role of IFT on fluid displacement in a porous medium and its intimate relationship with the properties of the CO2–oil system, besides the flow assurance issues.

Methodology

The present work simulated CO2 injection for different CO2 and methane mixtures through the numerical simulator Generalized Equation-of-State Model Compositional Reservoir Simulator (GEM), developed by the Computer Modelling Group (CMG).

A field-scale optimization study in a more realistic scenario as performed, for example, using open-source carbonate benchmarks that represent Brazilian pre-salt field trends, as presented in UNISIM-IV, is not our goal. The main focus is to investigate the effect of the gas–oil interfacial tension considering the compositional flow for different scenarios with varying methane concentration, pressure, and flow rate.

The GEM is a reservoir simulator for compositional, chemical end unconventional modeling, describing the multidimensional and multiphase flow through porous media considering phase behavior and mass transfer. It accurately models the flow of three-phase, multicomponent fluids and primary, secondary, and tertiary recovery processes, mainly enhanced oil recovery processes. For this, the balanced system equations consider Darcy’s law and mechanical dispersion and diffusion. CO2 solubility in the water phase, which is an important aspect of CO2EOR, is regarded by Henry’s law. The oil data were taken from Sequeira et al. (2008), and the reservoir model proposed by Killough and Kossack (1987) was adopted. These are the unique papers in the literature that reported both PVT and CO2–oil IFT data, which is the property of most significant interest in the present work.

Oil characterization

Before running the simulations, it is required to characterize the oil and define the reservoir’s characteristics properly. The PVT characterization of the oil was carried out using experimental data of saturation pressure, separator test, constant composition expansion, differential liberation, swelling test, and MMP, all provided by Sequeira et al. (2008) for CO2–oil systems. Table 1 shows the oil composition used in the simulations, molar weight and density. More information about the PVT characterization of the oil can be found in Section A in Supplementary Information, such as which PVT experiments were analyzed and details about the equations used for modeling.

Table 1 Composition and properties of the original oil

Table 2 presents the minimum, maximum and average deviations obtained in describing the oil’s PVT properties using WinProp® 2019.1. The modeling used to describe the experimental data obtained from Sequeira et al. (2008) showed acceptable numerical deviations for performing the numerical simulation of the CO2 injection, with the average deviation being less than 1% for most of the described properties.

Table 2 PVT properties described in the oil PVT modeling stage and the respective deviations obtained

Reservoir modeling

Table 3 presents the characteristics of the numerical grid used in the simulations, while Table 4 shows the reservoir properties. The grid used to describe the reservoir has 7 × 7 × 3 dimensions. The injector and producer wells were positioned in blocks (1, 1, 3) and (7, 7, 1), respectively, so there is the greatest possible distance between them.

Table 3 Reservoir properties by layer
Table 4 General reservoir properties

As seen in Table 4, both the present work and Killough and Kossack (1987) consider the presence of formation water in the reservoir, seeking to approximate the modeling to a more realistic case. However, the objective of the present work does not concern the study of the effect of this water. Thus, it is assumed to be pure water without dissolved salts to simplify the simulations. Neither the dissolution of gases in water nor geochemical reactions between oil, water, and rock are considered.

Gas–oil IFT modeling

The GEMTM compositional simulator calculates the CO2–oil IFT using the Parachor method for multicomponent systems. The Parachor parameter of the system’s pseudo components is calculated by Firoozabadi et al. (1988).

Simulations

Simulations using the compositional simulator GEM ensure an accurate description of the flow assurance issues. GEM can consider essential phenomena such as asphaltene precipitation and better describe the phase and interfacial behavior effects than black oil simulators. Various injection process restrictions were established for each simulation, as shown in Table 5. Besides, for each set, the following CO2 compositions were chosen: low-methane content CO2 stream (100% CO2), medium-methane content CO2 stream (75% CO2 and 25% methane), and high-methane content CO2 stream (50% CO2 and 50% methane), all in molar fraction.

Table 5 Simulation conditions

For the first set of simulations, the bottom hole pressure (BHP) restriction was defined in the injector and producer wells. The injector BHP was set at 7000 psi, a pressure higher than the pure CO2–oil system MMP reported by Sequeira et al. (2008) and described during the oil PVT characterization, which was 6675 psi. This was done to guarantee that the reservoir’s internal pressure does not reach a value lower than the experimental MMP. However, the pressure drop across the reservoir may cause the pressure in the producing well to drop below this value. The producer BHP was set at 6500 psi to avoid a huge pressure difference between the wells and thus keep the oil recovery values within a feasible range. As the injection gas composition directly affects the MMP of a gas–oil system, the new MMP value should be calculated for CO2 + methane injection cases, and then the BHP values based on this adjustment should be selected. However, the correlations available in the literature to compute the MMP of the CO2–methane–oil systems were developed considering low methane concentrations. There is no consensus between the MMP values calculated by simulation and correlations. So, for each simulation set, the same restrictions in the BHP and the wells’ surface gas rate (STG) values were chosen, regardless of the composition of the injection gas. For the second set of simulations, the injector BHP was defined as 6000 psi, below the calculated MMP for pure CO2, aiming to assess the effect of immiscible flow on the process. The producer BHP was set at 5500 psi for the same reason. For the third set of simulations, STG of the injector and producer BHP values were chosen as restrictions. The STG was set at 12,000 MCF/day, the same value used by Killough and Kossack (1987), while the BHP remained the same as in the first set. The purpose is to compare the process results when the injection is performed under both fixed pressure and fixed flow conditions and to assess the influence of these approaches on the IFT calculation and, consequently, on the oil recovery factor.

Results and discussion

First, it is analyzed the behavior of the properties of the mixtures CO2–methane–oil system as a consequence of the mechanisms of gas dissolution in oil and light components extraction. Then, the effect of these properties on the system’s IFT and, subsequently, their impacts on the field oil recovery are evaluated. As the properties of a CO2–oil system depend on position and time, to analyze them over time, a block of the reservoir grid was first defined to be observed. Since the grid was discretized as 7 × 7 × 3, it was decided to examine the properties of the intermediate block in position (4, 4, 2), located precisely in the reservoir center. To facilitate the understanding of the simulations, Fig. 1 illustrates the reservoir grid, highlighting the position of the injector and producer wells and the intermediate block under analysis.

Fig. 1
figure 1

Illustration of the grid used for the reservoir modeling, highlighting the positions of the injector and producer wells and also the intermediate block under analysis

Analysis of the behavior of the system’s properties

Figure 2 compares the molar fraction of CO2 in oil over time for the three sets of simulations and each injected gas composition. The higher the methane content in the injected CO2, the lower the molar fraction of dissolved CO2. Similar results were reported by Ghaffar (2016). This effect also impacts the MMP of the system, as observed by Choubineh et al. (2019), who stated that the higher the methane content in the injected CO2, the greater the MMP of the mixture CO2–methane–oil system.

Fig. 2
figure 2

CO2 molar fraction in the oil over time in the block (4, 4, 2), considering the three sets of simulations and the three different methane concentrations in the CO2 injection stream

Looking at Fig. 2, it is also possible to notice that the curves for all cases show similar behaviors. At the beginning of the injection process, the CO2 molar fraction in oil is zero, as the injected gas has not yet had time to reach the intermediate block under analysis. However, around 1989, the curves went up and stabilized at the first level until they presented a new abrupt growth and finally stabilized at a final level. When the injected CO2 meets the oil, a displacement front, composed of oil and dissolved CO2, is formed, which leads to a diffusion process that allows CO2 to propagate from the front to the fresh oil, even if there is no direct contact between the fresh oil and the gas phase. The first growth of the CO2 molar fraction curves represents this diffusion process. The first level represents the state in which the diffusion of CO2 in the oil reached its maximum value.

On the other hand, the second growth of the curves means the moment when the gas phase reaches the oil. Comparing the CO2 + methane injections simulated at a fixed pressure, as seen in Fig. 2a and b, the curves reach a stability level earlier for the case of gas injection at a pressure above the MMP, i.e., the systems with gas injection at higher pressures come to the equilibrium state more quickly. Figure 2c shows that, in addition to the curves corresponding to a stability level more rapidly than the other cases, after stabilizing, the curve for pure CO2 injection exhibited an abrupt growth in 2013 until reaching a new level. This anomalous behavior is dealt with in further detail in this work since the analysis of the oil phase composition alone cannot explain this behavior.

Table 6 presents the CO2 molar fraction in oil at the end of the simulation time for each injection gas composition and each simulation set. In addition, Table 6 facilitates the comparison of results for each simulation set. It allows observing that the highest CO2 molar fractions in oil always occur for the third set of experiments, followed by the first and the second.

Table 6 CO2 molar fraction in oil at the end of the simulation time

Figure 3 was built to analyze the light hydrocarbon extraction from the oil by the CO2-rich gas phase for the three different injection gas streams: two with methane in their composition and one with pure CO2. To do so, it was necessary to analyze one of the light components of the oil. Although methane (C1) would be the adequate choice, it is impossible to directly monitor how much of it is being extracted from the gas phase because this component is being injected into the system along with the CO2. The second option is to monitor the concentration of C2. However, as shown in Table 1, the molar fraction of this component in the oil is very close to zero. Therefore, the C3 component was chosen to analyze hydrocarbon extraction from the oil to the gas phase.

Fig. 3
figure 3

Gas mole fraction of extracted C3 over time in the block (4, 4, 2), considering the three sets of simulations and the three different methane concentrations in the CO2 injection stream

In Fig. 3, a direct relationship between the methane concentration and the extracted fraction is not observed, which contraries the results of Zhang et al. (2018), who reported that the increase in the methane content led to a decrease in extraction. The most likely cause of this divergence is the differing methodologies adopted. While Zhang et al. (2018) considered all hydrocarbons extracted from oil, the present work considered the extraction of only C3. A comparison of Figs. 2 and 3 shows that the extracted C3 molar fraction curves reach a value other than zero and their maximum values at the same time as the respective CO2 dissolved in oil molar fraction curves reach their final constant levels. This behavior again corroborates the work of Zhang et al. (2018). Therefore, the results of Figs. 2 and 3, together with those of Zhang et al. (2018), indicate that the light component extraction mechanism only significantly influences the system when the CO2 dissolution mechanism no longer matters. Although the diffusion process guarantees that the CO2 molecules propagate to the fresh oil in the block understudy, the amount of CO2 that dissolves in the fresh oil due to this process is very small, as shown in Fig. 2, which does not provide the formation of a gas phase. The gas phase only appears in the system when the injected gas reaches the block under study and consequently, while the meeting between these phases does not occur, the curves in Fig. 3 present a null value. Therefore, the point at which the molar fraction of C3 ceases to have a zero value corresponds to the moment when the injected gas reaches the block. Analyzing Fig. 3c in detail, one notes that the curve for pure CO2 injection presents an abrupt drop to zero, again, in 2013, a behavior discussed in detail later. Information about the pressure for the block (4, 4, 2) and the gas rate SC over time can be found in Fig. S2 and Fig. S3, respectively, in Section B in Supplementary Information. To facilitate the understanding of the methane concentration effects on the internal pressure of the reservoir, Fig. 4 magnifies Fig. S2 to improve the visualization for only the cases of injection above and below the MMP. Figure 4 shows that the higher the methane content in the injection gas, the higher the pressure in the block (4, 4, 2). These findings are in line with the results obtained by Cho et al. (2020), although these authors have studied cases of the water alternating gas (WAG) process. This occurs because methane has lower compressibility than CO2, thus contributing to keeping the reservoir pressure stable (Cho et al. 2020), in contrast to CO2, which promotes a pressure drop when dissolved in oil. Information about the phases’ densities and the oil saturation over time can be found in Fig. S4 and Fig. S5, respectively, in Section C in Supplementary Information.

Fig. 4
figure 4

Pressure over time in the block (4, 4, 2), considering only the first and second sets of simulations and the three different methane concentrations in the CO2 injection stream

Analysis of the system’s IFT

Figure 5 presents the gas–oil IFT curve over time for the three sets of simulations and the three different methane concentrations in the CO2 injection stream. Although the IFT values shown in Fig. 5 seem relatively low, Sequeira et al. (2008) observed that for the same oil in a condition of pure CO2 injection at 6000 psi, the IFT presented values as low as 0.01 mN/m. As the injection conditions are close to those considered in the present work, it is concluded that the IFT values found are consistent. It is also possible to notice that, after leaving the null value, the IFT curves quickly stabilize, showing that, after the gas reaches the block, the IFT does not vary significantly over time, except for pure CO2 injection in Fig. 5c. This behavior is discussed in detail later. This point indicates that the oil reaches saturation with the injected CO2, which can be observed by analyzing both Figs. 2 and 5 and noting that the curves reach stability simultaneously.

Fig. 5
figure 5

Gas–oil interfacial tension overtime in the block (4, 4, 2), considering the three sets of simulations and the three different methane concentrations in the CO2 injection stream

When observing Fig. 5a–c, it is pretty clear that the results diverge concerning the stream that leads to the lowest IFT, although the figures show that injection of CO2 with 50% methane causes the highest IFT. Figure 5b shows a clear trend that the higher the methane concentration in the injection stream, the higher the gas–oil IFT, in agreement with the results observed by Zhang et al. (2018) and Gu et al. (2013). However, Fig. 5a and c show that the lowest IFT is achieved by injecting CO2 with 25% methane, indicating that there may be an optimal concentration that provides the maximum recovery. The disagreements found between the results obtained in this work and those from the literature are because, in the literature, the experiments for data collection consider only the oil and gas phases. In contrast, a water phase is also present in the system in the simulations performed in this work. The current work does not show the effects of the water phase on the gas–oil IFT. However, the IFT is a property directly affected by the phase’s saturation. Therefore, the water phase affects the phase equilibrium and, consequently, the value of the IFT.

Furthermore, in the literature, experiments for data collection are carried out in a controlled environment so that the system pressure is independent of the methane content in the injection gas. However, as shown in Fig. 4, methane concentration in the injection gas directly affects the system pressure in a petroleum reservoir. Based on the apparent contradiction described above, the IFT depends on two significant variables: the block pressure, which increases as the methane content in the injection gas increases, and the CO2 dissolution in oil, which decreases with the increase in methane concentration, as shown in Fig. 2. So, there is an offset effect acting on the system because the block pressure and the CO2 dissolution in oil both cause a decrease in the IFT and are oppositely affected by the increase in the methane concentration. This offset explains why Fig. 5a and c have an optimal methane concentration, unlike Fig. 5b. Furthermore, it is also noted that Fig. 5b presents IFT values much higher than the others, which was expected since lower injection pressures usually lead to higher IFT values. As the IFT value is directly related to the difference between the phase densities, this result is consistent with what was observed in Fig. S4 in Section C in Supplementary Information. Figure 5c shows that, after reaching a stable region, the curve for pure CO2 presents a drop toward the null value in 2013. This anomalous behavior is in line with expectations since, following the miscibility hypothesis, when the phases of a system become miscible, the interfaces cease to exist, and, consequently, the interfacial tension takes on a null value (Abedini et al. 2014; Gu et al. 2013). Thus, when the IFT value drops, the system reaches the flow MMP, in this case, around 2014. In the same year, the black curve in Fig. S2.c in Section B, in Supplementary Information, reached its peak pressure, indicating that this abrupt increase in pressure led the system to the MMP, whose value is between the peak pressure and the pressure recorded in the previous year.

Analysis of the oil recovery

Once the behavior of several properties, including the IFT, were analyzed, it was finally possible to evaluate the oil recovery throughout the injection process and the effect of these properties on the recovery factor. Figure 6 presents the field oil recovery over time for the three sets of simulations and each of the different compositions of the injection gas. All the field oil recovery curves over time show an upward behavior, which was expected since, as time goes on, the amount of oil produced from the reservoir increases due to the gas injection process. However, in the first ten to twenty years of the injection process, it is possible to notice that the most significant recovery is achieved by using CO2 with 50% methane. According to Fig. 6a and b, more remarkable recovery is favored by higher injection pressure due to the increased CO2 dissolution in oil and, consequently, the decrease in the IFT, promoted by the increase in pressure, which also leads to the rise in the capillary number (Alotaibi and Nasr-El-Din 2009). The highest oil recoveries observed in this work are achieved considering a constant injection flow rate, as seen in Fig. 6c, when the injection gas is either 100% CO2 or CO2 with 25% methane. Comparing Figs. 5 and 6, it can be seen that, regardless of the methane content, the recovery curves tend to agree with the IFT curves, so the lower the IFT, the greater the recovery.

Fig. 6
figure 6

Field oil recovery over time, considering the three sets of simulations and the three different methane concentrations in the CO2 injection stream

Figure 6c shows that the values achieved by oil recovery considering pure CO2 (black curve) and CO2 with 25% methane (blue curve) are the highest and close to each other, even with a difference in the values of IFT. This occurs because the system with 100% CO2 injection achieved miscibility in 2013, which causes the black curve to drop to zero, although the IFT of the black curve generally presents higher values than the blue curve. This IFT drop brings the two oil recovery curves to such close values.

Regarding the effect of methane concentration on oil recovery, the greatest recovery tends to be achieved with 100% CO2 injection since methane decreases the CO2 solubility in oil. It agrees with the result of Fig. 6b and partially with that of Fig. 6c. However, Ghaffar (2016) observed that, under a condition of less injected pore volume, the injection of CO2 with 15% methane provides the greatest recovery, which partly agrees with the results of Fig. 6a and c. Comparing the results obtained in the present work, which considers recovery as a function of time, with the results of Ghaffar (2016), who believes it is a function of the injected pore volume, both are expressions of the same variable. Considering this and comparing the results of Ghaffar (2016) with those in Fig. 6b and c, it is noted that, at the beginning of the injection process (the first ten years), the greatest recovery is achieved by injecting CO2 + methane. However, as the injection progresses, the most significant recovery tends to be performed by injecting 100% CO2, although Fig. 6a shows a greater recovery for a CO2 + methane injection. In Fig. 6a, the slope of the curves for CO2 + methane injection decreases, while for pure CO2, it remains constant. Such behavior indicates that given enough time, oil recovery considering pure CO2 exceeds recovery for CO2 + methane, thus agreeing with what was observed for the other figures. Ghaffar (2016) does not explain this difference in recovery behavior. Nevertheless, based on the results observed in the present study, it can be concluded that the offset effect of methane concentration on the pressure and CO2 solubility is mainly responsible for this performance. This result also means that by increasing the injection time, the curve considering a 100% CO2 injection yields the highest recovery. Thus, pure CO2 injection seems more advantageous in the long term. Still, an optimal methane concentration in the CO2 injection stream maximizes the recovery in the first years of injection.

Conclusions

The present work performed an extensive analysis of the effect of the methane content in the CO2 injection stream on relevant variables of EOR processes, stressing the role of the interfacial tension and its relationship with the fluid flow through the reservoir. The behavior of IFT and other related properties of the gas–oil system was evaluated over time instead of considering only static systems typically found in the literature. Some of the unprecedented results include the opposite effects of methane concentration on the CO2 stream and the change in the impact of methane concentration on oil recovery over time. The simulations carried out under these conditions show that the effect of the methane content on the gas–oil IFT in a CO2 injection process is somewhat tricky. An offset was observed between the effects of increased methane content in the injection gas on many properties. For instance, an increase in the methane content leads to a higher internal reservoir pressure that causes a reduction in the IFT, and to a lower CO2 dissolution in oil that raises the IFT. The balance between these opposite effects can explain why the IFT presents a lower value either for 100% CO2 injection or a mixture of CO2 + methane injection. The simulations also indicate that higher oil recovery is favored by higher injection pressure in the case of CO2 injection at constant pressure, but the highest recovery factor was obtained for CO2 injection at a constant flow rate. The methane content effect on oil recovery varies over time. “In the long term, the highest recovery seems to be achieved by injecting CO2 with as least methane as possible.”

Nonetheless, an optimal methane concentration provides maximum recovery at the beginning of the injection process. The variation of oil recovery over time is also caused by the balance between these opposite effects due to increased injection gas methane content. Although a simple relationship between the methane concentration in the injection gas and the oil recovery factor was not obtained, it is possible to say that the lower the IFT, the greater the recovery. This result confirms that the interfacial tension is one of the key properties of the enhanced oil recovery process by CO2 injection because there is a remarkable agreement between the capillary number and IFT values. Consequently, it is possible to monitor the CO2 injection process along with the fluid flow through the reservoir by observing the behavior of properties such as IFT, phase densities, and internal pressure over time.