Abstract
Nowadays, as the oil reservoirs reaching their half-life, using enhanced oil recovery methods is more necessary and more common. Simulations are the synthetic process of real systems. In this study, simulation of water and surfactant injection into a porous media containing oil (two-phase) was performed using the computational fluid dynamics method on the image of a real micro-model. Also, the selected anionic surfactant is sodium dodecyl sulfate, which is more effective in sand reservoirs. The effect of using surfactant depends on its concentration. This dependence on concentration in using injection compounds is referred to as critical micelle concentration (CMC). In this study, an injection concentration (inlet boundary) of 1000 ppm was considered as a concentration less than the CMC point (2365 ppm). This range of surfactant concentrations after 4.5 ms increased the porous media recovery factor by 2.21%. Surfactant injection results showed the wettability alteration and IFT finally increases the recovery factor in comparison with water injection. Also, in wide channels, saturation front, and narrow channels, the concentration front has a great effect on the main flowing.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
Introduction
Understanding the phenomenon of transportation in porous media is the challenge of field development (Valvatne and Blunt 2004). Early studies of the two-phase flow continue from the early nineteenth century. In 1805, Young and other researchers improved surface tension theory (Blunt 2001). Craig conducted detailed studies on water flooding and oil displacement (Craig 1971). Hadia et al. (2007) and then Santosh et al. (2008) performed a lot of experimental tests and numerical solutions on a laboratory scale to analyze that which mechanisms affect water displacement. Using numerical simulations is useful for confirming some experimental observations and does not have the technical limitations of laboratories. In recent years, various types of fluid flow simulation methods have been proposed in porous media: pore network modeling (PNM), lattice Boltzmann method (LBM), volume of fluid (VOF) method, front tracking method (FTM), level-set method (LSM) and phase-field method (PFM) (Blunt 2001; Succi 2001; Hirt and Nichols 1981; Unverdi and Tryggvason 1992; Smereka and Sethian 2003; Badalassi et al. 2003). Using interface capturing methods (LSM, PFM) has become very popular because of the accuracy of computations in complex pore geometries and topological changes without the use of approximation in the using model (Yue et al. 2004; Sussman et al. 1999). It is very helpful to use pore-scale modeling (PSM) to understand two-phase phenomena. PSM can be used for a wide range such as capillary pressure and relative permeability and macro-scale flow simulation (Valvatne and Blunt 2004; Ramstad et al. 2009). The pore-scale simulation was performed by Ramstad et al. and Hatiboglu in 2D and 3D heterogeneous porous media with surface tension effect (Ramstad et al. 2009; Hatiboglu and Babadagli 2007). The first idea for PFM was presented in 1979 when van der Waals used his model for a system of liquid–gas by the mean of a density function that its changing interface was constant. The convective Cahn–Hilliard equation (1958) was implemented in 1999 by Jacqmin in 2D and 3D (Jacqmin 1999). The approach used by PFM is the physical relationship between the phases that the system's free energy contains. In other words, PFM includes both current and ensures that the overall energy of the system is kept to a minimum. (Zhou et al. 2010). PFM computes 2-phase flow on a fixed Eulerian grid, the entire domain state is represented by an indicator function supposing different constant values for every phase. Also, there are variations in the interfacial region, and these values, in reality, undergo rapid but smooth (Smereka and Sethian 2003). The pros and cons of PFM have been investigated more by some researchers (Smereka and Sethian 2003; Feng et al. 2005). In recent years, a variety of software has been developed to solve the PFM Cahn–Hilliard equation to simulate the two-phase Navier–Stokes flows (Liu and Shen 2003; Chiu and Lin 2011; Bogdanov et al. 2010). In some studies, some researchers looked at the Influence of contact angle on flow patterns and fluid saturation (Martys et al. 1991; Akhlaghi Amiri and Hamouda 2014). Surfactants are usually organic compounds that have hydrophobic and hydrophilic groups. Therefore, they are usually soluble in water and organic solvents. These fluids greatly reduce interfacial tension between fluids when they spread on the surface of a liquid (Kathel and Mohanty 2013). Also, interfacial tension forces affect the level between solid and liquid and cause a change in the wettability of the solid surface of the porous media (Rostami 2019). The importance of using surfactants in chemical flooding has been extensively studied, which can be described as influencing factors in the success of this flooding as follows: temperature, optimal salinity, branched surfactants, zeta potential, pH, and pressure (very low) (Chegenizadeh and Saeedi 2017; Hara et al. 1999). On the other hand, determining the concentration range for industrial and economic purposes is very effective in chemical injection. Because the surfactants in the injection must retain their properties and be economically viable. The concentration of a surfactant as a solvent in the solvent phase reaches such a level that the surfactant molecules aggregate (micelle formation) is called CMC. It is at this time that adsorption occurs and interfacial tension (IFT) or surface tension (SFT) reach their minimum amounts (Schramm 2000). Therefore, before using real micromodels, a model was created a need to use simulation to study the predictions and behaviors that a model was created may encounter from flooding in a real micromodel. In this study, the analysis of oil displacement by water and surfactant at the pore scale is presented by using existing Finite Element Methods in COMSOL Multiphysics 5.3a and its purpose is to compare oil produced from synthetic micromodel. To create a physical model that can be accessed by COMSOL software, a model was created the need to process the image with the MATLAB software and then Rhino to convert the original image into an accessible file. The original image is of a porous media of Kansas sandstone (http://www.kgs.ku.edu/Publications/Oil/primer03.html).
Simulation and comparison of a two-phase experimental model
Maaref et al. investigated two-phase flow and the effect of wettability, heterogeneity, and viscosity in experimental and simulated porous media. In one part of their study, they considered a basis model (Case 1) and compared experimental and simulation results for waterflooding. (Maaref et al. 2017). To recover their study, the rock and fluids properties and solution conditions are in Tables 1, 2 and 3.
The results obtained from this simulation are plotted as a mask on the results of their study in Fig. 1a, and the situation of phases at the breakthrough time (tD = 1) is shown in Fig. 1b.
This investigation showed that the simulation shows a deviation which can be due to selecting the unsuitable threshold for a binary image, removing some edge details to reduce the lines and smooth them, or choosing coarse mesh to speed up the solution.
BSE images
Of the finite element simulation requirements is the pore geometry of the image sample, which, as will be explained in this section, is obtained in two steps. First, a BSE image is selected for the sample, and then, using a scale conversion, the BSE image is used as a physical geometry for the numerical solution output. Image processing methods are used to connect these two stages (Gunde et al. 2010).
Image processing in order to build a physical model
At this stage, image processing is performed on a sand section. In this study, after performing image thresholding, image morphology operators such as erosion operator, removal of small objects, and then expansion are used which will improve binary image (Gonzalez and Woods 2002). After making changes to the binary image, the intensity of the changes was not sufficient, so with the help of rhino software a model was created to smooth the edges of the image. The porous media created in CAD format (.dxf) is ready to be imported into COMSOL software, (Fig. 2).
Numerical simulation
The equations governing two-phase flow in physical geometry that are solved directly are presented in this section.
Geometry and fluids of porous media
After importing the porous media file into COMSOL software, the porosity and dimensions can be measured. The porosity and dimensions of the micromodel are shown in Table 4.
The water's generally known properties can be seen in Table 5. The properties of SDS should also be calculated according to the concentration and a function for it should be determined in different concentrations. Kushner et al. (1952) studies showed that the density and viscosity of water-soluble SDS anionic surfactant varied at different concentrations (Kushner et al. 1952). Qi et al. (2014) also illustrated that IFT and contact angle depend on surfactant concentration and oil composition (Qi et al. 2014). Although there is a different range from the CMC point of this surfactant at different temperatures, we know that at 25 °C the CMC is about 8.2 mM (2365 ppm) (Tadros 2005; Mukerjee and Mysels 1972). In this study, a model was developed to inject fluid into the model at the inlet boundary with a concentration of 1000 ppm (3.4677 mol/m3), because the concentration in the elements does not change suddenly and increases over time. The general properties of the oil, water, and SDS are presented in Table 5. The SDS properties are presented as a function of concentration through Eqs. 1 to 4.
Governing equations
The fluid flow and Interfacial tension equations are presented in this section to provide a mathematical model governing the porous media.
Fluid flow equation
The fluid flow equation to continuity for incompressible fluid is as follows (Panton 2004),
Newtonian and incompressible fluids are assumed: dynamic fluid viscosity (μ), fluid density (ρ), fluids apparent velocity (v), fluid pressure (p), gravitational acceleration (g), and interfacial tension force term (Fst).
Interfacial tension and phase field method
Two approaches of LSM and PFM can be used to calculate and display the interfacial tension force. In this paper, the PFM method is used (Akhlaghi Amiri and Hamouda 2013). Assuming that the convection equation of Cahn–Hillard is a time-independent form of the energy minimization concept, then:
Here G is the chemical potential of the system and M is the diffusion coefficient called mobility. Mobility can be expressed as:
Here Mc is the characteristic mobility and εPF is a capillary width scaled according to PFM interface thickness. The chemical potential is calculated from:
where λ is the mixing energy density. So, by coupling Eqs. 5, 6 a model was created get an immiscible two-phase flow problem:
where Fst, PF is:
Initial and Boundary conditions
Initial and Boundary conditions used for the equations are discussed here. In the beginning, the initial fluid in the porous media is oil, and gradually the injected fluids enter from the left (Fig. 3a). The oil is transported in porous media and exits through the right boundaries. In this study, the flow is considered horizontally and a model was created does not have gravitational forces. The walls are initially oil-wet and gradually will lose this property in contact with the surfactant SDS aqueous solution. Achieving a stable numerical simulation with wetted wall conditions is determined. These values are presented in Table 5 and Eq. 4. The inlet boundary condition for the pressure is 30 psi and the outlet boundary condition initial fluid pressure in the porous media is 14.69 psi. By these boundary conditions, the laminar flow is established and the Reynolds number remains below 1. The water saturation boundary condition for injection is 1 and the initial value in the porous media is 0, also Vf is injection volume fraction which is gradually distributed in porous media.
For water injection, the applied conditions are:
And for the surfactant injection, the above equations are considered with these conditions:
Solution technique
To perform and advancing in simulations a software based on the finite element method (COMSOL Multiphysics (5.3a) by COMSOL Inc.) is used. The computed physical model is divided into several elements consisting of a 2-dimensional mesh, as depicted in Fig. 3b. The mesh contains 312,493 elements (coarse mesh). The FEM solver uses the MUMPS (Multifrontal Massively Parallel Sparse Direct Solver) linear system solver to calculate the values of pressure, velocity, and phase-field function for the nodes around each element. It then calculates these values using the shape function for each element. To select the tolerance threshold, the relative tolerance of 0.01 was selected. The time-stepping method uses the generalized alpha method to estimate each time step. SDS and Waterflooding start at 0 ms and the simulation would run for 4.5 ms. According to the complex meshing in the physical model and the conditions placed at the boundaries; The simulator took about 2–6 h to solve the convergent problem. Therefore, due to the computational constraints of the problem, both fluid displacement simulations were performed for 4.5 ms.
Results and discussion
Two-phase fluid flow in a porous media is an important type of fluid flow that occurs during production from a hydrocarbon reservoir, injecting fluid into a reservoir during extraction processes, or storing hydrocarbons in an existing reservoir. In this section, a model was created wants to investigate and compare the behavior of water injection fluid flow and SDS surfactant with a final concentration of 1000 ppm. First, a model was created to calculate the volume of oil in the micromodel using COMSOL, which is 1.055 mm2. Then, at each time step, by applying the average volume fluid fraction operator on the surface of the porous media, the percentage of oil saturation is obtained at any time. By multiplying the oil saturation by the initial volume, the amount of residual oil volume is calculated, which can simply be used to calculate the volume of oil produced at any given time. Another purpose is to visualize the displacement of injected fluid and how the oil is trapped in the pores.
Water flooding
Figure 4 shows how water flows against oil in a porous media for 16 selected times, in the range of 4.5 ms. Also, in this figure, a model was created to see the fluid flow in the time steps 0.75–4.5 ms. The black area is oil and the blue area is the injection fluid (water). The green line contour represents the 10% saturation and the yellow line contour represents the 90% saturation with injected fluid (water). The velocity vector, which contains the direction of the fluid flow, is visible with red arrows.
Surfactant flooding
When a model was created want to inject fluids that create new rheological properties by changing the concentration, a model has created the need to define two mass diffusivity coefficients (Dc) for injecting fluid into oil and oil into injecting fluid. These values are heavily dependent on the composition of the oil, the concentration of surfactant, and the diameter of the channels (roughly in nanoscale) that this mass transfer takes place in. However, in this section, the diameter of the channels is not in nanoscale and a model was created to assume that the oil does not diffuse into the oil and the diffusion coefficient water-soluble surfactant is a constant number with a value of 4.58 × 10–11 m2/s (Jarvet et al. 2007). In Fig. 5, a model was created that can see the fluid flow in the time steps 0.75–4.5 ms. The black area is oil and the blue area is the injection fluid (SDS). The green line contour represents the 10% saturation and the yellow line contour represents the 90% saturation with injected fluid (SDS). The velocity vector, which contains the direction of the fluid flow, is visible with red arrows. Figure 6 shows the recovery factor by percentage at all simulation times for water (blue) and surfactant (green).
As it was mentioned before, the porous media is naturally oil-wet before simulation began. As it can be seen in Fig. 7 a, c water injection did not change the wettability of the porous media walls. Instead, injection of surfactant has caused wettability alteration (Fig. 7b, d). Figure 7 also shows a comparison of the two channels in the amount of trapped oil.
The phenomenon a model was created may encounter during simulation is a sudden and rapid change of wettability on the walls. This phenomenon occurs in wide channels and causes the oil to form droplet in them and the injected fluid continues its way out by bypassing it. As it can be seen in Fig. 8. a., water injection does not keep the droplets in place. But Fig. 8b shows the oil droplet in the same porous media.
If in surfactant injection, a model was created showing the frontal advance 50% saturation (0.5 volume fraction) with blue color and the frontal advance 50% concentration (500 ppm) with red color, it can be seen that the saturation front causes fluid to flow in wide channels and the concentration front in narrow channels. As shown in Fig. 9a, both fronts are flowing at the same speed at the start of the injection. Over time and with the progression of the fluid in wide channels, the saturation front exceeds the concentration front (Fig. 9b) and finds its path (Fig. 9c). The concentration front when reaches a position where it should select a path (Fig. 9d). The concentration front by advancing into the narrow channels, causes the fluid to flow in this narrow channel and also opens the way for the saturation front (Fig. 9e) and finally overtakes the saturation front (Fig. 9f).
Conclusion
Simulation of water and surfactant injection into a porous media containing oil was performed using the computational fluid dynamics method on the image of a real micromodel. Although at the first view, the model showed high recovery from surfactant flooding, after converting the average residual oil to the produced oil and converting the produced oil to recovery factor, it was observed that the recovery factor obtained by water injection is 55.49% and the same value for surfactant injection is 57.70%. Therefore, using the surfactant leads to an increase of 2.21% in the model recovery factor after 4.5 ms. It can also be concluded that the injection of surfactant by itself does not have a significant effect on increasing efficiency and should be accompanied by fluid before or after injection. On the other hand, trapping oil in wide canals is a challenge that comes with surfactant injection and more studies should be done in this field.
References
Akhlaghi Amiri HA, Hamouda AA (2013) Evaluation of level set and phase field methods in modeling two phase flow with viscosity contrast through dual permeability porous medium. Int J Multiph Flow 52:22–34
Akhlaghi Amiri HA, Hamouda AA (2014) Pore-scale modeling of non-isothermal two phase flow in 2D porous media: influences of viscosity, capillarity, wettability and heterogeneity. Int J Multiph Flow 61:14–27
Badalassi VE, Cenicerob HD, Banerjee S (2003) Computation of multiphase systems with phase field models. J Comput Phys 190:371–397
Blunt MJ (2001) Flow in porous media, pore-network models and multiphase flow. Curr Opin Colloid Interface Sci 6:197–207
Bogdanov I, Jardel S, Turki A, Kamp A (2010) Pore scale phase field model of two-phase flow in porous medium. In: Annual COMSOL Conference, Paris, France
Chegenizadeh N, Saeedi A (2017) Most common surfactants employed in chemical enhanced oil recovery. Department of Petroleum Engineering, Curtin University, 26 Dick Perry Avenue, 6151 Kensington 3(2): 197–211
Chiu PH, Lin YT (2011) A conservative phase field method for solving incompressible two-phase flows. J Comput Phys 230:185–204
Craig FF (1971) The reservoir engineering aspects of water flooding, vol 2. American Institute of Minerals, Metallurgy and Petroleum Engineers Inc, New York, p 202e13
Feng JJ, Liu C, Shen J, Yue P (2005) An energetic variational formulation with phase field methods for interfacial dynamics of complex fluids: advantages and challenges. In: Maria-Carme T, Eugene M (eds) Modeling of soft matter, the IMA volumes in mathematics and its applications, vol 141. Springer, New York, pp 1–26
Gonzalez RC, Woods RE (2002) Digital image processing, 3rd edn. Prentice Hall, New Jersey, pp 711–759
Gunde AC, Bera B, Mitra SK (2010) Investigation of water and CO2 (carbon dioxide) flooding using micro-CT (micro-computed tomography) images of Berea sandstone core using finite element simulations. Energy 35:5209–5216
Hadia N, Chaudhury L, Mitra SK, Vinjamur M, Singh R (2007) Experimental investigation of horizontal wells in water flooding. J Pet Sci Eng 56:303e10
Hara K, Kuwabara H, Kajimoto O, Bhattacharyya K (1999) Effect of pressure on the critical micelle concentration of neutral surfactant using fluorescence probe method. J Photochem Photobiol A 124:159–162
Hatiboglu CH, Babadagli T (2007) Lattice-Boltzmann simulation of solvent diffusion into oil saturated porous media. Phys Rev 76:066309
Hirt CW, Nichols BD (1981) Volume of fluid (VOF) method for the dynamics of free boundaries. J Comput Phys 39:201–225
Jacqmin D (1999) Calculation of two-phase Navier-Stokes flows using phase field modeling. J Comput Phys 155:96–127
Jarvet J, Danielsson J, Damberg P, Oleszczuk M, Gräslund A (2007) Positioning of the Alzheimer Aβ(1–40) peptide in SDS micelles using NMR and paramagnetic probes. J Biomol NMR 39(1):63–72
Kathel P, Mohanty KK (2013) EOR in tight oil reservoirs through wettability alteration. SPE annual technical conference and exhibition, Society of Petroleum Engineers, New Orleans, Louisiana, USA
Kushner LM, Duncan BC, Hoffman JI (1952) A viscometric study of the micelles of sodium dodecyl sulfate in dilute solutions. J Res Natl Bur Stand 49(2):85
Liu C, Shen J (2003) A phase field model for the mixture of two incompressible fluids and its approximation by a Fourier-spectral method. Phys D 179:211–228
Maaref S, Rokhforouz MR, Ayatollahi S (2017) Numerical investigation of two phase flow in micromodel porous media: effects of wettability, heterogeneity, and viscosity. Can J Chem Eng 95:1213–1223
Martys N, Cieplak M, Robbins M (1991) Critical phenomena in fluid invasion of porous media. Phys Rev Lett 66:1058–1061
Mukerjee P, Mysels K (1972) Critical micelle concentrations of aqueous surfactant systems. Natl Bur Stand 36:227
Panton RL (2004) Incompressible flow, 3rd edn. Wiley, New York
Qi Z, Wang Y, Xu X (2014) Effects of interfacial tension reduction and wettability alteration on oil recovery by surfactant imbibition. Adv Mater Res 868:664–668
Ramstad T, Oren P, Bakke S (2009) Simulation of two-phase flow in reservoir rocks using a lattice Boltzmann method. Soc Pet Eng J 15:917–927
Rostami P (2019) The effect of nanoparticles on wettability alteration for enhanced oil recovery: micromodel experimental studies and CFD simulation
Santhosh V, Mitra SK, Vinjamur M (2008) Flow visualization of waterflooding with horizontal and vertical wells. Pet Sci Technol 26(15):1835–1851
Schramm LL (2000) Surfactants: fundamentals and applications in the petroleum industry, 621 pages
Smereka P, Sethian JA (2003) Level set methods for fluid interfaces. Annu Rev Fluid Mech 35:341–372
Succi S (2001) The lattice boltzmann equation for fluid dynamics and beyond. Clarendon Press, Oxford
Sussman M, Almgren AS, Bell JB, Colella P, Howell LH, Welcome ML (1999) An adaptive level set approach for incompressible two-phase flows. J Comput Phys 148:81–124
Tadros TF (2005) Applied surfactants principles and applications. Wiley, New York, pp 39–51
Unverdi SO, Tryggvason G (1992) A front tracking method for viscous, incompressible, multiphase flows. J Comput Phys 100:25–37
Valvatne PH, Blunt MJ (2004) Predictive pore-scale modeling of two-phase flow in mixed wet media. Water Resour Res 40:W07406
Yue P, Feng JJ, Liu C, Shen J (2004) A diffuse interface method for simulating two-phase flows of complex fluids. J Fluid Mech 515:293–317
Zhou C, Yue P, Feng JJ, Ollivier-Gooch CF, Hu HH (2010) 3D phase-field simulations of interfacial dynamics in Newtonian and viscoelastic fluids. J Comput Phys 229:498–511
Funding
In our work, no external funding was used.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
On behalf of all the co-authors, the corresponding author states that there is no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Sajadi, S.M., Jamshidi, S. & Kamalipoor, M. Simulation of two-phase flow by injecting water and surfactant into porous media containing oil and investigation of trapped oil areas. J Petrol Explor Prod Technol 11, 1353–1362 (2021). https://doi.org/10.1007/s13202-020-01084-z
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s13202-020-01084-z