Introduction

During the injection of gas into the porous medium saturated with oil, the movement can change from immiscible to almost miscible with increasing gas pressure. Finally, it becomes miscible by increasing the gas pressure from the minimum miscibility pressure (MMP: the pressure at which gas and oil create miscibility through the flow)1,2,3. In immiscible conditions, the fingering of gas increases due to the unfavorable viscosity ratio, and as a result, the oil recovery decreases. Under near-miscible conditions, microfluidic experiments have shown that a potential mechanism for recovering oil trapped behind the gas front is the cross-flow of oil and gas or diffusion4. Under miscible conditions, gas and oil can develop miscibility at first contact or multi-contact, and the movement becomes a single-phase flow5,6. Sweeping efficiency is low in all cases but improves with increasing miscibility7.

There are several experimental methods for MMP measurement, such as Slim Tube Test (STT), rising bubble apparatus (RBA), and vanishing interfacial tension (VIT) technique8. Among these, the Slim Tube Test (STT) has been widely used9,10 and has been accepted as the standard method of calculating the MMP11. Laboratory methods for determining MMP are costly and time-consuming (such as the Slim Tube Test) or cannot predict MMP systems with condensing/evaporative propulsion (such as rising bubble apparatus and multiple contact tests). However, they can generate useful phase behavior data to develop and validate MMP computational methods12.

Computational methods for MMP estimation have been developed over the years to use cubic equations of state for MMP estimation13. The basic assumption of all computational methods is that the phase behavior can be accurately described with a suitable cubic equation of state14. To accurately estimate the MMP, this assumption must be valid, especially near the critical region. There are three main computational methods: combined simulation of the slim tube, computational analysis with Method of Characteristic (MOC), and multiple mixing cell models. In the following, these methods are presented along with their advantages and disadvantages.

The Slim Tube simulation repeats the Slim Tube Tests (STT) in a computational simulator15. A combined simulator solves a one-dimensional flow equation using a cubic equation set of states for oil and gas (often without the term dispersion). The methodology and interpretation of the results are the same as the experimental methods. Therefore, the oil recovery curve in terms of pressure in 1.2 volumes of injected gas pores is considered. The breakpoint in 90% recycling can then be used as a criterion for MMP. Slim tube simulation is significantly cheaper and faster than actual experiments. However, for a reliable MMP estimate, the oil and gas-phase behavior must be well described using the state equation, which is especially true in the near-critical region. Slim tube simulation also has its drawbacks. First, it is slower and more time-consuming than other computational methods. Adjustment and calibration time is significantly longer than other computational methods. In addition, several simulations with different numbers of network blocks are required to estimate the MMP reliably9. In addition, MMP estimation using simulation can be affected by numerical dispersion because the slim tube simulation is based on the finite difference method9,16. Dispersion leads to loss of mixability, as it causes the composition path to enter the two-phase region. One way to minimize this effect is to use many network blocks. A more effective option is to run simulations for variable grid block sizes and then extrapolate oil recovery to infinite block sizes. This extrapolation is performed using the recovery plot in terms of 1/(Δx)217 or 1/Δx18. Total variation diminishing schemes (TVD) can be used in the simulation to minimize the dispersion effect. A TVD scheme reduces adhesion and thus the dispersion effect19.

MMP estimation using the method of characteristic (MOC) refers to an algorithm obtained by solving one-dimensional fluid flow equations without dispersion20. MOC is a mathematical method for solving hyperbolic partial differential equations, such as one-dimensional fluid flow equations. The term MOC refers to an algorithm for estimating MMP based on a displacement analytical solution using the Method of Characteristic. The following is a review of the MOC method, its development, and its disadvantages.

Monroe et al.21 first examined the analytical theory for four-component systems and showed a third principal tie line in the movement path, called the cross tie line (Fig. 1).

Figure 1
figure 1

Evaluation of (a) composition paths and (b) saturation profiles for live and dead-oil displacements19.

Orr et al.22 and Johns et al.23 confirmed the presence of a cross-tie line for condenser/evaporator drives and provided a simple geometric structure for finding the main tie-lines. They showed that the MMP occurs at a pressure at which each of the three key tie lines first intersects the critical point (length becomes zero). In addition, Johns et al. showed that the crossing tie-line controls the development of miscibility in condensing/evaporating drives. Assuming a pure condensing drive or a pure evaporating drive, the estimated MMP is less than the predicted MMP.

Wang and Orr24 presented their multi-component approach by calculating the MMP of injected gases with more than one component. Using the Newton–Raphson design in hybrid space, they found the crossing points of the key tie lines. Jessen et al.25 improved the speed of the Wang and Orr method by incorporating Fugacity equations into Newton–Raphson. In some cases, MMP can be calculated by mixing cells. The mixing cell method involves one or more virtual PVT cells in which phase equilibrium calculations are performed. The main idea in single and multiple mixing cell methods is to mix (analytically) gas and oil in repeated contacts and thus create new equilibrium compounds.

In short, computational methods have drawbacks despite their ease of use. Slim tube simulation is slower than other computational methods, and its results can be affected by dispersion. Also, this laboratory method cannot measure the MMP between asphaltene oil and gas. The MOC-based tie line approach can converge to the wrong tie line and is prone to break. Mixing cell methods are not yet well developed. All of them are simple slim tube simulations and therefore prone to dispersion. Therefore, due to the cost and time-consuming nature of laboratory methods and the inconsistency between the values obtained with the existing relationships, the use of equations of state and thermodynamic relationships is a suitable and efficient option for predicting MMP values. The problem-solving algorithm, type of equations of state, injection gas composition, and their binary interaction are effective parameters in MMP calculations.

There are various models in different scientific sources to investigate the MMP with the equation of state. However, only a few researchers have studied the effect of gas injection into a reservoir using cubic equations of state11,22,23. Composite reservoir simulations based on equations of state used almost cubic equations of state such as Soave–Redlich–Kwong (SRK) and Peng-Robinson equations. Therefore, a logical option is to develop a modeling method based on these equations of state to predict the effect of gas injection on EOR.

Other capabilities of EoS in this field can be mentioned as estimation of MMP in porous media and estimation of MMP considering asphaltene deposition. The basis for calculating the MMP using the modified equations of state is to calculate the IFT. In this theory, the following concept is used: where the IFT of two phases tends to zero, it approaches the pseudo-mixed conditions, and where the IFT becomes zero, the two phases will merge26. Recent studies have shown that the porous medium alters IFT25. Therefore, changes in the MMP must also be considered if porosity conditions are applied.

In this research, the MMP of oil and gas is estimated using the modified Peng-Robinson equation. As mentioned in section "Methodology", this equation has been modified to consider the petrophysical conditions of the reservoir and the effect of the porous medium on the IFT and MMP. Therefore, parameters such as reservoir heterogeneity, the effect of fracture, and change of injected gas composition in different petrophysical conditions on the values of IFT and the MMP are investigated for the first time. At the moment, there is no laboratory method that gives the IFT in porous media. Therefore, the main goal of this study is to estimate the IFT in the porous medium. These parameters are investigated and analyzed in the modified state equation using the proposed new algorithm.

Methodology

In this study, the Peng-Robinson equation of state has been utilized to calculate the vapor–liquid equilibrium27, and the improved Young–Laplace equation is considered to improve the capillary effect28 as follows:

$$p=\frac{RT}{v-b}-\frac{a\alpha }{v\left(v+b\right)+b(v-b)}$$
(1)
$$a={a}_{c}\alpha \left({T}_{r},\omega \right)$$
(1-a)
$${a}_{c}=0.45724\frac{{R}^{2}{T}_{c}^{2}}{{P}_{c}}$$
(1-b)
$$b=0.07780\frac{R{T}_{c}}{{P}_{c}}$$
(1-c)

where, \({P}_{c}\) is the critical pressure \(; {T}_{c}\) is the critical temperature; \(\alpha \left({T}_{r},\omega \right)\) is an alpha function that depends on the reduced temperature \({T}_{r}\) and the central factor \(\omega\). The Fugacity equations for the mixture are addressed as follows:

$$ln{\varphi }_{i}^{V}=-ln\left[{Z}_{V}-{B}_{V}\right]+\frac{{b}_{i}}{b}\left({Z}_{V}-1\right)+\frac{{A}_{V}}{2\surd 2{B}_{V}}\left[\frac{1}{a}\left(2\surd {a}_{i}\sum_{j=1}^{nc}{Z}_{j}\surd {a}_{i}\left(1-{\delta }_{ij}\right)\right)-\frac{{b}_{i}}{b}\right]ln\left[\frac{{Z}_{V}+{B}_{V}\left(1+\surd 2\right)}{{Z}_{V}+{B}_{V}\left(1-\surd 2\right)}\right]$$
(2)
$$ln{\varphi }_{i}^{L}=-ln\left[{Z}_{L}-{B}_{L}\right]+\frac{{b}_{i}}{b}\left({Z}_{L}-1\right)+\frac{{A}_{L}}{2\surd 2{B}_{L}}\left[\frac{1}{a}\left(2\surd {a}_{i}\sum_{j=1}^{nc}{Z}_{j}\surd {a}_{i}\left(1-{\delta }_{ij}\right)\right)-\frac{{b}_{i}}{b}\right]ln\left[\frac{{Z}_{L}+{B}_{L}\left(1+\surd 2\right)}{{Z}_{L}+{B}_{L}\left(1-\surd 2\right)}\right]$$
(3)

where the coefficients \(A\) and \(B\) for the liquid and vapor phases are defined as follows.

$${A}_{V}=\frac{a{P}^{V}}{{\left(RT\right)}^{2}}$$
(2-a)
$${B}_{V}=\frac{b{P}^{V}}{RT}$$
(2-b)
$${A}_{L}=\frac{a{P}^{L}}{{\left(RT\right)}^{2}}$$
(3-a)
$${B}_{L}=\frac{b{P}^{L}}{RT}$$
(3-b)

The Van der Waals mixing rule is applied to calculate the parameters a and b of the mixture.

$$a=\sum_{i}\sum_{j}{x}_{i}{x}_{j}{\left({a}_{i}{a}_{j}\right)}^{0.5}\left(1-{\delta }_{ij}\right)$$
(4)
$$b=\sum_{i=1}^{n}{x}_{i}{b}_{i}$$
(5)

where \({\delta }_{ij}\) is a binary interaction parameter other than \(i\) and \(j\). Also \({\delta }_{ij}={\delta }_{ji}\) and \({0=\delta }_{ii}={\delta }_{jj}\).

Calculation of modified temperature and critical pressure

In nanopores, changing the critical properties of confined fluids is an inevitable problem29. The relative critical pressure and temperature changes can be calculated using the following equation based on the modified absorption Peng-Robinson equation30.

$$\Delta {T}_{c}=\frac{{T}_{c}-{T}_{cm}}{{T}_{c}}=0.679{\left({\sigma }_{LJ}/{R}_{P}\right)}^{0.7878}$$
(6)
$$\Delta {P}_{c}=\frac{{P}_{c}-{P}_{cm}}{P}=1.3588{\left({\sigma }_{LJ}/{R}_{P}\right)}^{0.7878}-0.4616{\left({\sigma }_{LJ}/{R}_{P}\right)}^{1.3588}$$
(7)
$${\sigma }_{LJ}=0.244\surd \frac{{T}_{c}}{{P}_{c}}$$
(8)

Here, \(\Delta {T}_{c}\) and \(\Delta {P}_{c}\) are the modified temperature and pressure due to confinement, respectively. Tc and \({T}_{cm}\) are the critical temperatures of bulk and nanopores, respectively, and \({P}_{c}\) and \({P}_{cm}\) are the critical pressures of bulk and nanopores, respectively. \({\sigma }_{LJ}\) is a Leonard-Jones size parameter.

Phase equilibrium calculations by applying capillary pressure

$${f}_{i}^{L}\left(x,T,{P}^{L}\right)={f}_{i}^{V}\left(x,T,{P}^{V}\right)$$
(9)
$${x}_{i}{\varphi }_{i}^{L}\left(x,T,{P}^{L}\right){P}^{L}={y}_{i}{\varphi }_{i}^{V}\left(x,T,{P}^{V}\right){P}^{V}$$
(10)

The \({K}_{i}\) parameter is used in the Rachford-Rice method to obtain \({x}_{i}\) and \({y}_{i}\)31. The initial \({K}_{i}\) is also obtained from the Wilson equation32.

$${K}_{i}=\frac{{P}_{ci}}{P}exp\left[5.37\left(1+{\omega }_{i}\right)\left(1-\frac{{T}_{ci}}{P}\right)\right]$$
(11)
$${K}_{i}=\frac{{y}_{i}}{{x}_{i}}=\frac{{\varphi }_{i}^{L}{P}^{L}}{{\varphi }_{i}^{V}{P}^{V}}$$
(12)
$$\sum_{i=1}^{{N}_{c}}\frac{\left({K}_{i}-1\right){z}_{i}}{1+\alpha \left({K}_{i}-1\right)}=0$$
(13)

Capillary pressure is defined as the difference between \({P}^{L}\) and \({P}^{V}\).

$${P}^{V}-{P}^{L}={P}_{cap}$$
(14)
$${P}_{cap}=\frac{2\sigma cos\theta }{{R}_{p}}$$
(15)
$$\sigma =\frac{{\sigma }_{\infty }}{1+2\frac{\delta }{{R}_{e}}}$$
(16)

where, \({R}_{p}\) is the pore radius, \(\sigma\) denotes the IFT, \({\sigma }_{\infty }\) represents the flat IFT of the fluid, and \(\theta\) is the contact angle. \({\sigma }_{\infty }\) can also be calculated by the Macleod-Sugden equation33.

$${\sigma }_{\infty }={\left[\sum_{i=1}^{{N}_{c}}{X}_{i}\left({x}_{i}{\rho }^{L}\left(T\right)-{y}_{i}{\rho }^{V}\left(T\right)\right)\right]}^{4}$$
(17)

where, \({x}_{i}\) and \({y}_{i}\) are the molar fractions of the liquid and gas phases obtained from the flash calculations, \({\rho }^{L}\) and \({\rho }^{V}\) are the molar densities of the liquid and gas phases, and \({X}_{i}\) is the Parachor parameter, respectively.

The vapor–liquid-equilibrium (VLE or flash calculation) and IFT calculation algorithm considering the capillary pressure has been presented in Fig. 2. Enter the oil and gas inlet composition, temperature, pore size, and component properties in the first step. The second step calculates the changes in critical properties caused by being in a porous medium. Then a small initial value for the capillary pressure is guessed. Using the Rachford-Rice equation, the fugacity values and the molar fraction of the phases are calculated. The Wilson equation is used to initialize and update the Ki parameter. If the difference between the capillary pressure values of each stage and its previous stage is negligible, the calculations are completed, and the IFT value is reported. Otherwise, by updating the capillary pressure, the calculations will continue until the above conditions are reached.

Figure 2
figure 2

Flash and IFT calculation algorithm considering the capillary pressure.

To calculate the MMP at different pressures, the IFT values are calculated by the above algorithm, and the IFT is plotted in terms of pressure. The MMP occurs at a IFT close to zero.

Discussion and results

In this section, the validation of the results is first examined using comparisons with experimental (laboratory) results in the references and are then examined in three different categories of injection of CH4, CO2, and N2 gases into nC10 as a representative of n-alkanes.

Validation using IFT data of N2/nC7 system

Zolghadr et al.34, in an experimental study, investigated the effects of temperature, pressure, and paraffin groups on the miscibility of N2 in hydrocarbon liquids including nC7 using the IFT measurement method. These experiments were performed at five temperatures (313.15, 333.15, 353.15, 373.15, and 393.15 K) and a pressure range from 0.34 MPa to pressures close to miscibility. In this work, the laboratory data of the experiments related to the studies of Zolghadr et al.33 have been compared with the values obtained from the IFT modeling with the modified Peng-Robinson equation of state, and using the algorithm presented in this study at two temperatures of 313.15 and 393.5 K and presented in Fig. 3.

Figure 3
figure 3

(a) IFT plot of N2 and nC7 in terms of pressure at the temperature of 313.15 K. Experimental data34. (b) IFT plot of N2 and nC7 in terms of pressure at the temperature of 393.15 K. Experimental data34.

The results show that the IFT decreases with pressure increment to finally reach the MMP at the IFT values close to zero. As can be seen in Fig. 3a,b, the changes in IFT in terms of pressure are not entirely linear. The closer they are to higher pressures, the lower the slope of the IFT decreases. These changes are due to the nature of N2. In their laboratory studies, Kazemzadeh et al. obtained similar results regarding the IFT values of the N2-hydrocarbon system1. They presented the IFT plot in terms of pressure as a quadratic function. Figure 4 shows the IFT plot in terms of pressure for different states. The laboratory data shown in the plot are taken from the research work of Zolghadr et al.33. In these data, due to the nature of laboratory conditions, fluctuations in terms of pressure are observed, which is expected due to laboratory error. However, the other two plots, namely bulk and porous medium states, are extracted from the used model in this paper. The bulk case is when IFT is calculated in a system outside the porous medium. The porous state is also considered a porous medium with a porosity of 10% and a permeability of 10 mD. According to the results, it can be found that the IFT calculated at any given pressure is less in the porous medium than in bulk. Therefore, it is clear that the MMP calculated in the porous medium is less than the bulk medium, and both states have lower values than the results obtained by Zolghadr et al.33. Lower IFT and consequently the MMP in the porous medium are operationally essential. If the MMP of the two phases of oil and gas decreases in the porous medium, it indicates that the miscibility takes place at a lower pressure, and we will reach the mixing condition sooner. Therefore, in water-based enhanced recovery, it should be considered that the presented values of the MMP obtained by laboratory measurement of IFT can be lower than the case of the porous medium. Therefore, it is necessary to consider the effect of the porous environment using models such as the model presented in this study. Table 1 calculates the error of the results obtained from the IFT of the N2/nC7 system of the model (in the bulk state) with laboratory results at five different temperatures.

Figure 4
figure 4

IFT plot in terms of pressure related to the nC10 and CH4 system at 343.15 K. Experimental data35.

Table 1 The calculated error of IFT for the system of nC10–N2 at different temperatures in the bulk state.

The IFT error has been calculated from the following equation and has been presented in Table 1.

$$AARD\%=\frac{100}{N}{\sum }_{1}^{N}\left|\frac{{X}_{i}^{exp}-{X}_{i}^{Cal}}{{X}_{i}^{exp}}\right|$$
(17)

In the worst case, the measured error is less than 19.98%, which occurs at high temperatures (i.e. 393.15 K). Here, the model results in the bulk state were compared with the experimental results and showed a small error. However, the main feature of this model is to provide IFT and the MMP in the porous medium, which provides valuable results in this regard. The model presented in this study has the ability to calculate IFT at any temperature and pressure. IFT is measured in the laboratory in different pressure ranges, but at high pressures, due to the phenomenon of VIT (Vanishing Interfacial Tension), it cannot perform this measurement. To measure the MMP, the IFT data should be extrapolated in terms of pressure to reach zero IFT. One of the advantages of the presented model is that it can give the IFT at high pressures, which helps a lot in the accurate estimation of the MMP.

MMP in CH4 gas injection: IFT in nC10/CH4 system

Cumicheo et al.35 modeled the IFT in binary systems of CH4, CO2, N2, and alkanes to obtain the experimental data used from several papers with equations of state and mathematical models. In this research, experimental data of CH4, CO2, N2, and nC10 systems have been examined. The IFT values in both bulk and porous media are calculated using the Peng-Robinson equation and porous media equations.

Figure 4 shows the IFT plot in terms of pressure related to the nC10 and CH4 system at 343.15 °K.

Figure 4 represents an interesting result. This figure shows that the values of IFT of the CH4 and nC10 system in the porous medium are less than the bulk condition. However, the difference in values at higher pressures decreases, which means that as the pressure increases, the difference between the values of IFT in the bulk state and the porous medium will be negligible. So that in pseudo-miscible and miscible conditions, this difference can be ignored. The difference in the porous and bulk media results in these two cases can be due to the activation of vaporizing and condensing mechanisms. This means that a porous medium and increasing the contact surface of oil and gas at low pressures cause these two mechanisms to be more active simultaneously and reduce the IFT compared to the bulk state. But at high pressures, this effect is almost diminished.

Figure 5 has been plotted to compare the laboratory results and model results in the bulk state. According to Fig. 5, the model results and the laboratory results are in good agreement in this system.

Figure 5
figure 5

A comparative plot of laboratory35 and calculated values of IFT with the equation of state in the bulk state for nC10 and CH4 system at 343.2 K.

The first understood concept from this section is that this model will be able to accurately predict the IFT of the hydrocarbon and CH4 systems. Figure 5 shows that the results of the model are in good agreement with the laboratory results.

The equilibrium of the phase fluid in a dense porous medium is disturbed due to capillary pressure in nanopores containing organic matter. The phenomenon of mixing between gas and oil also changes during gas injection to improve oil recovery. Therefore, it is necessary to develop a general framework of theoretical models and algorithms to investigate the effect of pore proximity on the phase behavior and fineness of finite liquids in pores.

MMP in CO2 gas injection: IFT in nC10/ CO2 system

Figure 6 shows the IFT data in terms of pressure for the nC10 and CO2 systems at different pressures. This figure shows three sets of data, including laboratory data extracted from Cumicheo et al. and Lake34,35, IFT data in bulk medium, and IFT data in the porous medium.

Figure 6
figure 6

IFT plot of nC10and CO2 system at 343.55 K and different pressures. Experimental data35.

As shown in Fig. 6, the laboratory data differ slightly from the IFT data in the bulk medium. The data extracted from this model and the laboratory results in Fig. 7 have been presented to determine the differences.

Figure 7
figure 7

A comparative plot of laboratory35 and calculated IFT with the equation of state for nC10 and CO2 system at 343.55 K.

It is still observed that, like CH4 injection, the data on the porous medium are less than the bulk medium. The IFT reduction with increasing pressure in all three data sets is almost linear. This means that the IFT can be achieved by extending this straight line. The difference between the bulk data and the porous medium decreases with increasing pressure, but they still have a difference of about half a mN/m at a pressure of 9 MPa. The slope difference between the IFT data in the bulk and porous media causes the MMP to be affected. The slope of the IFT plot in terms of pressure in the porous medium is less than the slope of the plot in the bulk state. Therefore, despite this slope difference, because the values of IFT in the porous medium are lower at low pressures, the extension of these graphs causes the difference between the MMP in these two states is lower than what is felt in the measurement at initial pressures. In other words, it is observed that with each megapascal of system pressure, the IFT in the bulk medium decreases with a linear trend of 1.55 mN/m. While in porous media, this decrease is 1.34 mN/m. The MMP is 12.05 MPa in the bulk medium and 11.81 MPa in the porous medium. This is in the context that the difference in IFT at ambient pressure in both bulk and porous states is 2.79 mN/m.

MMP in N2 gas injection: IFT in nC10/ N2 system

The IFT data of the nC10 and N2 gas system at different pressures have been plotted in Fig. 8. According to this figure, the laboratory data35 study are slightly different from the data presented in this model. Figure 9 has been plotted to know the data deviation.

Figure 8
figure 8

IFT plot of nC10 and N2 system at 343.2 K and different pressures.

Figure 9
figure 9

A comparative plot of laboratory35 and calculated IFT with the equation of state for nC10 and N2 system at 343.2 K.

According to Figs. 8 and 9, the experimental data and the data provided by the model at low pressures are almost consistent. However, the difference between the IFT of the laboratory and this model increases with increasing pressure. The maximum difference is about one mN/m. The difference in these values at high pressures can be affected by the measurement error in equilibrium in the high-pressure laboratory method.

Concerning the difference between bulk and porous medium plot, similar to CO2, CH4 and N2 gas, it is observed that the IFT in the porous medium is always less than in the bulk medium. As mentioned earlier, the reduction of IFT in terms of pressure in the N2 gas injection system and the nC10 is not linear. It decreases with the trend of a quadratic function. The decreasing trend of IFT in terms of pressure has been previously studied and confirmed in the studies of Doryani et al.36. The values of IFT error for nC10 systems in the presence of different gases of CH4, CO2, and N2 at different temperatures are shown in Table 2.

Table 2 Error calculated for CH4–nC10, CO2–nC10 and N2–nC10 systems at different temperatures.

The results show that the model for the two CH4/nC10 and CO2/nC10 systems is in good agreement with the experimental data. However, it does not predict the IFT of N2 in the presence of nC10. The error occurs at lower temperatures and higher pressures.

The effect of mean pore radius on IFT

The IFT plot in terms of pore radius has been presented in Fig. 10 to investigate the effect of pore radius on IFT in the nC10 and CO2 system at constant temperature and pressure. As shown in the figure, the plot has two slopes. At low values of Rp, with increasing pore radius, the IFT increases with a high slope. While entering the bulk region, the slope of changes decreases with increasing Rp value and is almost constant.

Figure 10
figure 10

IFT plot in terms of Rp for nC10/CO2 system at 323.35 K and 5 MPa pressure.

In other words, according to Fig. 10, it can be deduced that in very small pores, IFT is significantly reduced. However, if the pore diameter exceeds a certain threshold, the pore size does not affect the IFT. This is especially important in fractured reservoirs where the pore diameters vary greatly from matrix to fracture. In short, in a specific thermodynamic condition, it causes that the IFT is more in the fractures, and this quantity is less in the matrix. Therefore, the presence of IFT variation profile causes that in addition to vaporizing and condensing mechanisms, a phenomenon such as Marangoni also causes the fluid to move from the porous medium to the fracture or vice versa and control oil recovery.

Conclusion

According to the results obtained in the modeling, the following conclusions can be mentioned:

  • The proposed model can calculate the IFT between hydrocarbon gases, CO2, and n-alkanes in various thermodynamic conditions showing reasonable accuracy in bulk conditions. It can be an excellent alternative to time-consuming and costly laboratory methods. This model estimates the MMP in the injection of hydrocarbon gas and CO2 gas into n-alkanes.

  • One of the most important problems in industry is the inconsistency of the MMP calculated from the vanishing interfacial tension (VIT) technique and reality in the reservoir. This model will be able to apply the effect of the porous medium (mean pore radius) on the calculation of the MMP. By modifying the equation of state, the model will be able to provide the values of IFT in a porous medium (in a state equivalent to the mean pore radius) and calculate the MMP by extrapolating the IFT data in terms of pressure.

  • As the mean pore radius increases, the IFT increases with a significant slope. However, from a certain radius, the interstice size does not affect the values of IFT. This indicates that the MMP obtained in the bulk medium (using the VIT technique) in the laboratory for a fractured reservoir confirms the MMP and the IFT values in the fracture. To calculate the IFT in the matrix, it is necessary to plot the IFT values as a function of the mean pore diameter using modeling.

  • Heterogeneity of the reservoir causes the profile of IFT changes in it. The formation of this phenomenon causes a phenomenon such as Marangoni and causes the movement of fluid and affects the oil recovery by controlling the forward front of the fluid while increasing the mass transfer between the two fluids.