Numerical Modeling
Reservoir modeling is a valuable tool for the verification and validation of experimental results and for predictions at conditions beyond the scope of experimental work (Derkani et al. 2018). However, the number of LSWF modeling studies in carbonates is fewer than in sandstones, and most of the studies focused on understanding the mechanisms responsible for incremental oil recovery in carbonates through laboratory studies. In addition, modeling the geochemical reactions between the carbonate rock surface and the aqueous phases is not an easy task due to the complex nature of the crude oil/brine/rock interactions and heterogeneity in carbonates (Adegbite et al. 2018).
Jerauld et al. (2006, 2008) presented one of the first models on LSWF, which considered salt as an additional component lumped in the aqueous phase. Relative permeability, capillary pressure and aqueous phase density and viscosity were all modeled as functions of salinity. Residual oil saturation (Sorw) was assumed to be linearly dependent on salinity. The model equations for water and oil relative permeabilities (krw and krow) and capillary pressure (Pcow) are as follows:
$$\begin{array}{*{20}c} {k_{\text{rw}} = \theta k_{\text{rw}}^{\text{HS}} \left( {S^{*} } \right) + \left( {1 - \theta } \right)k_{\text{rw}}^{\text{LS}} \left( {S^{*} } \right)} \\ \end{array}$$
(1)
$$\begin{array}{*{20}c} {k_{\text{row}} = \theta k_{\text{row}}^{\text{HS}} \left( {S^{*} } \right) + \left( {1 - \theta } \right)k_{\text{row}}^{\text{LS}} \left( {S^{*} } \right)} \\ \end{array}$$
(2)
$$\begin{array}{*{20}c} {P_{\text{cow}} = \theta P_{\text{cow}}^{\text{HS}} \left( {S^{*} } \right) + \left( {1 - \theta } \right)P_{\text{cow}}^{\text{LS}} \left( {S^{*} } \right)} \\ \end{array}$$
(3)
where
$$\begin{array}{*{20}c} {\theta = {{\left( {S_{\text{orw}} - S_{\text{orw}}^{\text{LS}} } \right)} \mathord{\left/ {\vphantom {{\left( {S_{\text{orw}} - S_{\text{orw}}^{\text{LS}} } \right)} {\left( {S_{\text{orw}}^{\text{HS}} - S_{\text{orw}}^{\text{LS}} } \right)}}} \right. \kern-0pt} {\left( {S_{\text{orw}}^{\text{HS}} - S_{\text{orw}}^{\text{LS}} } \right)}}} \\ \end{array}$$
(4)
$$S* = {{\left( {S_{o} - S_{\text{orw}} } \right)} \mathord{\left/ {\vphantom {{\left( {S_{o} - S_{\text{orw}} } \right)} {\left( {1 - S_{\text{wr}} - S_{\text{orw}} } \right)}}} \right. \kern-0pt} {\left( {1 - S_{\text{wr}} - S_{\text{orw}} } \right)}}$$
(5)
θ is scaling factor, S* is the normalized oil saturation, HS and LS refer to high and low salinities, respectively, S denotes phase saturation, and subscript r refers to residual saturation.
Although the same scaling factor proposed by Jerauld et al. (2008) is currently used in most LSWF models, the need to use scaling parameters for handling relative permeability and capillary pressure of oil and water separately has been pointed out by Al-Shalabi et al. (2013). They used UTCHEM (an in-house simulator developed at the University of Texas at Austin) to simulate and history match coreflood experiments done on composite carbonate cores. It was observed that LSWF had negligible effect on the endpoint water relative permeability and Corey water exponent. The need for geochemical modeling of LSWF to investigate the change in surface charge and expansion of the electrical double layer was also highlighted.
Dang et al. (2015, 2016) developed a comprehensive ion exchange model that captures the geochemical reactions that occur during LSWF. The model was coupled with the compositional simulator GEM™ from CMG and was validated with the ion exchange model of PHREEQC and two coreflood experiments, for a North Sea reservoir and a heterogeneous Texas sandstone reservoir core. The geochemistry model was used to evaluate LSWF optimization through well placement, and the authors investigated the potential of a hybrid enhanced oil recovery process that involved combining LSWF and CO2 injection in a miscible water-alternating-gas process.
A geochemical model that uses the equivalent fraction of divalent cations (Ca2+ and Mg2+) was proposed by Awolayo and Sarma (2017). The model was used to history match several carbonate coreflood experiments. Based on the simulation results, they concluded that the interplay between surface charge alteration and mineral dissolution was the key to improved oil recovery at core scale.
Geochemistry
During LSWF, the initial thermodynamic equilibrium of a system is disrupted through geochemical reactions that occur at the rock/brine interface (Dang et al. 2015; Adegbite et al. 2018; Jahanbani and Torsæter 2018, 2019). The geochemical reactions can be divided into homogeneous and heterogeneous reactions. Homogeneous reactions occur among the aqueous phase components and are known as intra-aqueous reactions whereas the heterogeneous reactions occur between the aqueous components and mineral species, such as mineral dissolution/precipitation and ion exchange reactions (Computer Modelling Group Ltd. 2018). The two types of reactions are typically represented as chemical equilibrium reactions and rate-dependent reactions, respectively, because intra-aqueous reactions are relatively faster than mineral dissolution/precipitation reactions.
Intra-aqueous Reactions
According to Bethke (1996), equilibrium constants are used in modeling chemical equilibrium reactions. For a chemical reaction to be in thermodynamic equilibrium, the rate of forward and backward reactions must be equal, implying that the activity product of the reaction must be equal to its equilibrium constant. This concept gives rise to the following governing equations for chemical equilibrium reactions:
$$\begin{array}{*{20}c} {Q_{\alpha } - K_{{{\text{eq}},\alpha }} = 0,\alpha = 1, \ldots ,R_{\text{aq}} } \\ \end{array}$$
(6)
$$\begin{array}{*{20}c} {Q_{\alpha } = \mathop \prod \limits_{i = 1}^{{n_{aq} }} a_{i}^{{v_{i\alpha } }} } \\ \end{array}$$
(7)
where \(K_{{{\text{eq}},\alpha }}\) is the equilibrium constant for aqueous reaction \(\alpha\), \(R_{\text{aq}}\) is the number of aqueous phase reactions, \(Q_{\alpha }\) is the activity product and \(a_{i}\) and \(v_{i\alpha }\) are the activity and the stoichiometry coefficients of component i, respectively. The aqueous phase consists of both the components that only exist in the aqueous phase (\(n_{a}\)) and the gaseous components that are soluble in the aqueous phase (\(n_{c}\)). The total number of components in the aqueous phase, \(n_{\text{aq}}\), is the sum of the two. The aqueous species can also be divided into independent (primary) and dependent (secondary) aqueous species.
Tables of values of equilibrium constants for many reactions as a function of temperature have been presented by some authors (e.g., Kharaka et al. 1989; Delaney and Lundeen 1990). The relationship between the activity of component i (ai) and its molality (mi) is given by Eq. 8. The molality of a component is its moles per kilogram of water and is expressed in molal (m), thus:
$$a_{i} = \gamma_{i} m_{i} ,\quad i = 1, \ldots ,n_{\text{aq}}$$
(8)
where \(\gamma_{i}\) is the activity coefficient. The activity of an ideal solution is equal to its molality as \(\gamma_{i} = 1\). However, most solutions are non-ideal and a value other than one is required for \(\gamma_{i}\). Many models exist for calculating the activity coefficients of electrolytic solutions such as the Debye-Hückel equation, the Davies equation and the B-Dot model (Bethke 1996). An activity coefficient model describes the relation between a component’s activity coefficient and the ionic strength of the solution. The Davies and B-Dot models are variants of the Debye-Hückel equation developed by Debye and Hückel in 1923. In GEM™, computations of ionic activity coefficients are done using the B-Dot model. This is widely applied in many geochemical models, because it can accurately predict the activity coefficients of components over a wider range of temperatures (0–300 °C) and molalities (up to 3 m) compared to other models. The equations for the B-Dot model and ionic strength are, respectively:
$$\begin{array}{*{20}c} {\log \gamma_{i} = - \frac{{A_{\gamma } z_{i}^{2} \sqrt I }}{{1 + \dot{a}_{i} B_{\gamma \sqrt I } }} + \dot{B}} \\ \end{array}$$
(9)
$$I = \frac{1}{2}\sum\limits_{i = 1}^{{n_{\text{aq}} }} {m_{i} z_{i}^{2} }$$
(10)
where \(A_{{}}\), \(B_{{}}\) and \(\dot{B}\) are temperature-dependent coefficients, \(\dot{a}_{i}\) is the ion size parameter (constant), \(z_{i}\) is the valence number of component i and \(m_{i}\) is its molality.
Mineral Dissolution/Precipitation Reactions
Reactions involving minerals and aqueous species are slower than aqueous reactions and are modeled using kinetic rate laws (Bethke 1996). The expression for the rate law for mineral dissolution and precipitation is:
$$\begin{array}{*{20}c} {r_{\beta } = \widehat{{A_{\beta } }}k_{\beta } \left( {1 - \frac{{Q_{\beta } }}{{K_{{{\text{eq}},\beta }} }}} \right),\quad \beta = 1, \ldots R_{mn} } \\ \end{array}$$
(11)
where \(r_{{}}\) is the reaction rate, \(\widehat{{A_{\beta } }}\) is the reactive surface area of mineral reaction β, \(k_{{}}\) is the rate constant, \(K_{{{\text{eq}},\beta }}\) is the equilibrium constant, \(Q_{{}}\) is the activity product for mineral reaction β, and Rmn is the number of mineral reactions.\(Q_{{}}\) is similar to the activity product for aqueous chemical equilibrium reactions, and thus:
$$\begin{array}{*{20}c} {Q_{\beta } = \mathop \prod \limits_{i = 1}^{{n_{\text{aq}} }} a_{i}^{{v_{i\alpha } }} } \\ \end{array}$$
(12)
The activities of minerals are equal to unity and are, therefore, eluded in the above equation. The ratio \(\left( {Q_{\beta } /K_{{{\text{eq}},\beta }} } \right)\) in Eq. 11 is called the saturation index. Mineral dissolution occurs if log \(\left( {Q_{\beta } /K_{{{\text{eq}},\beta }} } \right) < 0\), while mineral precipitation occurs if log \(\left( {Q_{\beta } /K_{{{\text{eq}},\beta }} } \right) > 0\). If log \(\left( {Q_{\beta } /K_{{{\text{eq}},\beta }} } \right) = 0\), the mineral is in equilibrium with the aqueous phase and no reaction occurs \((r_{{}} = 0)\). Equation (applies to minerals only. The rate of formation/consumption of different aqueous species is obtained by multiplying by the respective stoichiometry coefficient (Nghiem et al. 2004):
$$\begin{array}{*{20}c} {r_{i\beta } = v_{i\beta } \cdot r} \\ \end{array}$$
(13)
Reaction rate constants are normally reported in the literature at a reference temperature, T0 (usually 298.15 K or 25 °C). The temperature of petroleum reservoirs is typically higher than T0. To calculate the rate constant at a different temperature T, Eq. 14 is used:
$$\begin{array}{*{20}c} {k_{\beta } = k_{0\beta } \exp \left[ { - \frac{{E_{a\beta } }}{R}\left( {\frac{1}{T} - \frac{1}{{T_{0} }}} \right)} \right]} \\ \end{array}$$
(14)
where \(E_{a\beta }\) and \(k_{0\beta }\) are the activation energy for reaction \(\beta\) (J/mol) and the rate constant for reaction \(\beta\) at the reference temperature, respectively, and R is the universal gas constant (8.314 J/mol-K). Both T and T0 are in Kelvin (K). The activation energy (\(E_{a}\)) of the chemical reactions that result in wettability modification during LSWF is very important because if the reaction rate is low, it would take a long time for any LSEs to be observed due to slower interactions between the rock and the injected brine. The activation energy is related to how strongly the polar oil components are bonded to the mineral surface, and the reactivity of the ions in the injected water. The bonding energy between polar components in oil and carbonates is generally higher than that between the oil and clays in sandstones (RezaeiDoust et al. 2009).
The equilibrium constants for aqueous and mineral reactions are calculated as a function of reservoir temperature, T, using:
$$\begin{array}{*{20}c} {\log \left( {K_{\text{eq}} } \right) = a_{0} + a_{1} T + a_{2} T^{2} + a_{3} T^{3} + a_{4} T^{4} } \\ \end{array}$$
(15)
The default values of \(a_{0}\), \(a_{1}\), \(a_{2}\), \(a_{3}\), \(a_{4}\) for different reactions are specified in GEM’s internal library and the reservoir temperature, T is 90.6 °C.
As mineral dissolution/precipitation occurs, the surface area available to reactions also changes, and so the reactive surface area is an important parameter when calculating the reaction rate (Nghiem et al. 2004; Computer Modelling Group Ltd. 2018). The reactive surface area \(\left( {\widehat{{A_{\beta } }}} \right)\) as minerals dissolve/precipitate is calculated as:
$$\widehat{{A_{\beta } }} = \widehat{{A_{\beta }^{0} }} \cdot \frac{{N_{\beta } }}{{N_{\beta }^{0} }}$$
(16)
where \(N_{{}}\) is the number of moles of mineral β per unit bulk volume. \(\widehat{{A_{\beta }^{0} }}\) and \(N_{\beta }^{0}\) are the initial parameters. In addition, both porosity and permeability of a porous medium would alter as a result of mineral dissolution/precipitation. Equations 17 and 18 are used for calculating porosity:
$$\begin{array}{*{20}c} {\widehat{{\phi^{*} }} = \phi^{*} - \mathop \sum \limits_{\beta = 1}^{{n_{m} }} \left( {\frac{{N_{\beta } }}{{\rho_{\beta } }} - \frac{{N_{\beta }^{0} }}{{\rho_{\beta } }}} \right)} \\ \end{array}$$
(17)
$$\begin{array}{*{20}c} {\phi = \widehat{{\phi^{*} }} \left[ {1 + c_{\phi } \left( {p - p^{*} } \right) } \right]} \\ \end{array}$$
(18)
where ϕ is the updated porosity, ϕ* is the reference porosity with no mineral dissolution/precipitation, \(\widehat{{\phi^{*} }}\) is the porosity with dissolution/precipitation, \(\rho_{{}}\) is the mineral’s molar density, \(c_{{}}\) is the rock compressibility, p and p* are the current and reference pressures, respectively. To calculate the permeability, the Kozeny–Carman equation is used:
$$\begin{array}{*{20}c} {\frac{k}{{k^{0} }} = \left( {\frac{\phi }{{\phi^{0} }}} \right)^{3} \cdot \left( {\frac{{1 - \phi^{0} }}{1 - \phi }} \right)^{2} } \\ \end{array}$$
(19)
where k0 is the initial permeability and \(\phi^{0}\) is the initial porosity.
Ion Exchange Reactions
When water is injected (with a different ionic composition compared to the formation water), multiple ion exchange and geochemical reactions occur between the ions in the aqueous phase and the rock surface. The exchange reactions are fast and homogeneous and are, therefore, modeled as chemical equilibrium reactions. The multiple ion exchange and geochemical reactions are key to the increase in oil recovery during LSWF though they differ with the rock type. Sulfate ions are adsorbed from the aqueous phase during LSWF onto carbonates, which reduce the surface charge allowing the adsorption of cations from the aqueous phase.
In this study, multi-component ion exchange and the resulting wettability alteration during LSWF are modeled using the exchange of divalent cations; Ca2+ and Mg2+. The ion exchange reactions are shown in Table 1. The X in the reactions represents the ion exchanger on the carbonate rock surface. During LSWF, Ca2+ and Mg2+ are taken up by the exchanger, while Na+ is released. The reverse process occurs during high-salinity waterflooding. Ion exchange reactions are characterized by equilibrium constants (Computer Modelling Group Ltd. 2018), and thus:
$$\begin{array}{*{20}c} {K_{\text{Na/Ca}} = \frac{{\left[ {a\left( {{\text{Ca}}^{2 + } } \right)} \right]^{1/2} a\left( {{\text{Na}} - X} \right)}}{{a\left( {{\text{Na}}^{ + } } \right)\left[ {a\left( {{\text{Ca}} - X_{2} } \right)} \right]^{1/2} }}} \\ \end{array}$$
(20)
$$\begin{array}{*{20}c} {K_{\text{Na/Mg}} = \frac{{\left[ {a\left( {{\text{Mg}}^{2 + } } \right)} \right]^{1/2} a\left( {{\text{Na}} - X} \right)}}{{a\left( {{\text{Na}}^{ + } } \right)\left[ {a\left( {{\text{Mg}} - X_{2} } \right)} \right]^{1/2} }}} \\ \end{array}$$
(21)
where a is the activity. It is difficult to evaluate the activity coefficients of Na − X, Ca − X2 and Mg − X2, and thus, selectivity coefficients are used instead of equilibrium constants according to the Thomas–Gaines convention (Appelo and Postma 2005). Rewriting Eqs. 20 and 21 in terms of the selectivity coefficients results in:
$$\begin{array}{*{20}c} {K_{\text{Na/Ca}}^{'} = \frac{{\zeta \left( {{\text{Na}} - X} \right)\left[ {m\left( {{\text{Ca}}^{2 + } } \right)} \right]^{0.5} }}{{\left[ {\zeta \left( {{\text{Ca}} - X_{2} } \right)} \right]^{0.5} m\left( {{\text{Na}}^{ + } } \right)}} \cdot \frac{{\left[ {\gamma \left( {{\text{Ca}}^{2 + } } \right)} \right]^{0.5} }}{{\gamma \left( {{\text{Na}}^{ + } } \right)}}} \\ \end{array}$$
(22)
$$\begin{array}{*{20}c} {K_{\text{Na/Mg}}^{'} = \frac{{\zeta \left( {{\text{Na}} - X} \right)\left[ {m\left( {{\text{Mg}}^{2 + } } \right)} \right]^{0.5} }}{{\left[ {\zeta \left( {{\text{Mg}} - X_{2} } \right)} \right]^{0.5} m\left( {{\text{Na}}^{ + } } \right)}} \cdot \frac{{\left[ {\gamma \left( {{\text{Mg}}^{2 + } } \right)} \right]^{0.5} }}{{\gamma \left( {{\text{Na}}^{ + } } \right)}}} \\ \end{array}$$
(23)
where \(\zeta \left[ {i - X_{a} } \right]\) (i = Na+, Ca2+ or Mg2+ and a is the valency) is the ion exchange equivalent fraction on the exchanger, m is the molality and γ is the activity coefficient. An important property of the exchanger is its cation exchanger capacity (CEC), which describes the number of ions that can be adsorbed on its surface. The moles of all components in GEM™ are expressed as moles per grid-block bulk volume, N. Thus, if V is the bulk volume of the rock, the total moles of the exchangeable components (Na − X, Mg − X2 and Ca − X2) would be VN(i−Xa). Equation (24) must, therefore, be satisfied for a given value of CEC in the grid block:
Table 1 List of aqueous, mineral and ion exchange reactions used in simulations $$\begin{array}{*{20}c} {{\text{VN}}_{{{\text{Na}} - X_{2} }} + 2{\text{VN}}_{{{\text{Ca}} - X_{2} }} + 2{\text{VN}}_{{{\text{Mg}} - X_{2} }} = V\phi \left( {\text{CEC}} \right)} \\ \end{array}$$
(24)
Table 1 shows all the intra-aqueous, mineral and ion exchange reactions used in the modeling of LSWF, while the various species used in the simulations are provided in Table 2. It should be noted that cation exchange was used to model the coreflood experiments, which is mostly attributed to the presence of clay or sandstones. However, Zhang et al. (2006, 2007) asserted that Ca2+ and Mg2+ are potential determining ions during LSWF and are also involved in the ion exchange process. During the modeling, it was observed that all the anion exchange occurred during seawater injection, and the exchange of cations (Ca2+ and Mg2+) was responsible for the incremental recovery during LSWF. As such, cation exchange was selected as the multi-component ion exchange mechanism for modeling the coreflood experiments.
Table 2 List of the aqueous, solid and exchange species used in coreflood simulations Relative Permeability and Capillary Pressure
Relative permeability is a very important parameter for history matching. The Brooks–Corey relative permeability correlation was used to obtain the relative permeability curves used in the modeling studies (Brooks and Corey 1964):
$$\begin{array}{*{20}c} {k_{\text{rw}} \left( {s_{w} } \right) = k_{\text{rw}}^{o} s_{\text{wn}}^{{n_{w} }} } \\ \end{array}$$
(25)
$$\begin{array}{*{20}c} {k_{\text{ro}} \left( {s_{w} } \right) = k_{\text{ro}}^{o} \left( {1 - s_{\text{wn}} } \right)^{{n_{o} }} } \\ \end{array}$$
(26)
$$\begin{array}{*{20}c} { s_{\text{wn}} = \frac{{s_{w} - s_{\text{wir}} }}{{1 - s_{\text{wir}} - s_{\text{or}} }}} \\ \end{array}$$
(27)
where \(k_{\text{ro}}^{o}\) and \(k_{\text{rw}}^{o}\) are the endpoint relative permeabilities, \(s_{\text{wn}}\) is the normalized water saturation, \(s_{\text{wir}}\) is the irreducible water saturation, \(s_{\text{or}}\) is the residual oil saturation. \(n_{o}\) and \(n_{w}\) are the power law parameters for oil and water, respectively, known as Corey exponents.
The effect of capillary pressure on the simulation results and history matching of coreflood data was considered for LSWF. Initially, a constant pressure and saturation are defined for all grid blocks. As the different fluids are injected, both the pressure and saturation change. The Skjaeveland et al. (2000) capillary pressure correlation was used to model capillary pressure effects on the history match results. The correlations are given in Eqs. 28 and 29 for oil-wet and mixed-wet conditions, respectively:
$$\begin{array}{*{20}c} {P_{c} = \frac{{c_{o} }}{{\left( {\frac{{S_{o} - S_{\text{or}} }}{{1 - S_{\text{or}} }}} \right)^{{a_{o} }} }}} \\ \end{array}$$
(28)
$$\begin{array}{*{20}c} {P_{c} = \frac{{c_{w} }}{{\left( {\frac{{S_{w} - S_{\text{wir}} }}{{1 - S_{\text{wir}} }}} \right)^{{a_{w} }} }} + \frac{{c_{o} }}{{\left( {\frac{{S_{o} - S_{\text{or}} }}{{1 - S_{\text{or}} }}} \right)^{{a_{o} }} }}} \\ \end{array}$$
(29)
where \(c_{w}\), \(c_{o}\), \(a_{w}\) and \(a_{o}\) are constants for water and oil, and \(c_{w}\) and \(c_{o}\) represent the entry pressures, whereas \(a_{w}\) and \(a_{o}\) account for the pore size distribution. Due to the lack of relative permeability measurements, the pressure drop at the end of each flood cycle was used to calculate the endpoint relative permeabilities.
Wettability Alteration Modeling
The change in wettability from more oil-wet to intermediate-wet conditions during LSWF is known as the reason for the observed increase in oil recovery from the coreflood experiments. Wettability alteration is modeled in terms of a change in the relative permeability where two separate relative permeability curves are defined: one for seawater (high salinity) and the other for low-salinity water. In the modeling study, multi-component ion exchange was assumed to be the main mechanism responsible for the change in wettability and is modeled using the ion exchange equivalent fraction of Mg2+ (\(\zeta \left[ {{\text{Mg}} - X_{2} } \right]\)) as the interpolant for the relative permeability curves. \(\zeta \left[ {{\text{Mg}} - X_{2} } \right]\) represents the amount of Mg2+ that is adsorbed on the carbonate surface during the process.
It is assumed that the adsorption of divalent cations such as Mg2+ and Ca2+ from the injected brine onto the carbonate surface (resulting from the adsorption of SO42− during seawater injection) causes the change in wettability from more oil-wet to less oil-wet during LSWF and, thus, increase in oil recovery. Zhang et al. (2006, 2007) reported that there is a high tendency for Mg2+ to substitute Ca2+ on the rock surface at high temperatures (usually 90–110 °C). Because the reservoir temperature is greater than 90 °C, the ion exchange equivalent fraction of Mg2+ was used as the interpolant. In the modeling studies, if \(\zeta \left[ {{\text{Mg}} - X_{2} } \right]\) is less than or equal to 0.33, oil-wet relative permeability curves are used whereas less oil-wet curves are used when \(\zeta \left[ {{\text{Mg}} - X_{2} } \right]\) is greater than or equal to 0.43. For \(\zeta \left[ {{\text{Mg}} - X_{2} } \right]\) values between 0.33 and 0.43, interpolation between the two curves is used. The relative permeability and capillary pressure curves are shown in Figures 1, 2 and 3. Corefloods 1 and 2 in the figures refer to coreflooding experiments done on four and three composite carbonate cores, respectively. A more detailed description of corefloods 1 and 2 is provided in the following the section.