1. Introduction
Low-salinity waterflooding (LSWF) has emerged as a promising and cost-effective method to enhance oil recovery (EOR) in carbonate reservoirs [
1,
2,
3]. LSWF involves injecting water with a lower salinity and distinct ionic composition compared to connate water [
3]. This study specifically focuses on carbonated low-salinity waterflooding (CLSWF), where dissolved
impacts geochemical processes through pH modulation and carbonate dissolution, driving wettability alteration mechanisms [
3,
4,
5,
6,
7]. The modification of salinity and specific ions is often termed “smart water” [
8,
9], with CLSWF emerging as a promising method to reduce interfacial tension and mobilize residual oil through targeted ion-specific interactions [
2,
3]. However, current CLSWF design methodologies remain constrained by trial-and-error approaches due to a critical gap: the absence of predictive tools integrating thermodynamic equilibrium speciation with multiphase flow dynamics [
10].
To bridge this gap, this study develops an integrated equilibrium-transport framework coupling geochemical surface complexation modeling (SCM) with multiphase compositional dynamics to quantify wettability alteration during CLSWF [
5,
9,
11]. The framework is designed to overcome the limitations of existing methods by providing predictive capabilities for optimal ion thresholds under specific reservoir conditions [
10].
The core objectives of this research are twofold [
12]: to quantify the sensitivity of relative permeability and oil recovery to key divalent ions, specifically, magnesium (
), sulfate (
), and calcium (
), in carbonate reservoirs; and to elucidate the mechanistic role of oil–calcite surface complexes in wettability alteration.
While various EOR mechanisms exist (e.g., chemical flooding), this work focuses exclusively on ion-triggered wettability alteration during CLSWF. For instance, recent pore-scale studies on viscoelastic polymer flooding [
13] demonstrate that elasticity enhances oil displacement in water-wet systems but inhibits it in oil-wet environments due to antagonistic stress–wettability interactions. However, such methods operate through fundamentally different mechanisms and are not considered here.
Our methodology integrates compositional phase and geochemical modeling through a system of conservation laws [
5,
12]. A key component of our approach is the utilization of PHREEQC Version 3.8.7 (a geochemical speciation and reactive transport program) to perform equilibrium calculations and implement the SCM [
14,
15,
16,
17,
18]. Within this model, the Total Bond Product (TBP) emerges as a important wettability indicator [
15,
18]. The TBP quantifies the cumulative strength of ionic bridges, such as
-carboxylate and
-sulfate bonds, at oil–calcite interfaces [
17,
19]. Unlike conventional metrics, the TBP directly correlates surface complexation thermodynamics with macroscopic displacement efficiency, enabling the predictive optimization of injection strategies [
15]. Its derivation from PHREEQC-calculated equilibrium species provides a direct mechanistic link between brine chemistry and oil recovery [
15,
20,
21].
The integrated transport model utilizes the TBP as an interpolation parameter for Corey-type relative permeability functions [
12,
15,
19,
21,
22], resolved via COMSOL Multiphysics Version 6.2 for multiphase flow simulations [
5,
12,
23]. The coupling between PHREEQC and COMSOL follows a sequential explicit workflow, where geochemical equilibrium calculations are pre-processed and their outputs (e.g., TBP) are used as spatially dependent functions in the COMSOL transport solver [
12]. This unified framework for integrating geochemistry and compositional modeling allows for the exploration of various scenarios and streamlines mathematical complexity using Gibbs’ phase rule [
24,
25].
Our numerical experiments and core flooding simulations, conducted at reservoir conditions of
C and 220 bar and validated against experimental calcite systems, yielded significant insights into wettability alteration mechanisms. First, we observed that magnesium (
) and sulfate (
) concentrations critically modulate the Total Bond Product (TBP), substantially reducing oil–rock adhesion under controlled low-salinity conditions. This ionic modulation is further enhanced by synergistic effects between
(50–200 mmol/kgw) and
(>500 mmol/kgw), which effectively disrupt
-mediated oil adhesion through competitive mineral surface binding [
4,
5,
12,
26,
27].
Second, crude oil composition and pH emerged as pivotal factors influencing wettability dynamics. Acidic crude oils (TAN > 1 mg KOH/g) exhibited TBP values approximately 2.5 times higher than those of sweet crudes, primarily due to enhanced carboxylate–calcite bridging. Furthermore, pH elevation above 7.5 significantly amplified wettability shifts by promoting deprotonated
interactions at oil–calcite interfaces [
16,
17,
18,
28].
Third, by correlating TBP with fractional flow dynamics, we demonstrated that ion-specific adjustments outperform bulk salinity reduction for injection strategy optimization. Our coupled numerical simulations accurately reproduced experimental saturation and recovery profiles, enabling the prediction of up to 14.7% recovery gains through targeted brine chemistry modifications. Field trial data further confirmed significant recovery improvements (8–15% OOIP) from optimized
concentrations [
4,
12,
21,
26,
27,
29].
This predictive framework, rooted in TBP-driven geochemical modeling coupled with multiphase flow simulations, empowers operators to maximize recovery while minimizing water-treatment expenses and mitigating formation damage [
12,
29]. The results underscore the need to design injection strategies that prioritize optimal
and
ratios, especially in reservoirs containing acidic crudes [
12,
29]. This approach provides a structured method for evaluating enhanced oil recovery (EOR) strategies in heterogeneous carbonate reservoirs by translating pore-scale ionic interactions into field-relevant metrics [
12].
This paper is structured as follows:
Section 2 develops the physical-chemical model for carbonate reservoirs, including aqueous/sorbed species interactions and Gibbs phase rule analysis.
Section 3 formulates the governing equations for multiphase flow, ion transport, and mass conservation.
Section 4 details the geochemical modeling framework using PHREEQC, incorporating TAN/TBN correlations and surface complexation reactions.
Section 5 introduces the fractional flow model with Corey-type permeability interpolation, linking it to the TBP. In
Section 6, a summary of integration processes of geochemical and multiphase modeling is presented.
Section 7 systematically evaluates wettability alteration mechanisms through parametric studies of pH,
,
, and
synergies.
Section 8 quantifies ionic bridging effects via TBP-driven analysis under variable salinity regimes. In
Section 9 is a comparison of TBP-based and experimental wettability metrics.
Section 10 assesses the integrated geochemical flow model against coreflood experiments using COMSOL simulations.
Section 11 reconciles injected vs. equilibrium salinity through thermodynamic activity principles.
Section 12 present conclusions. Finally, in the appendix, coefficient derivations, tables, and supporting figures are presented.
2. Physical-Chemical Model
We extend our analysis to model aqueous and sorbed species in a carbonate reservoir system. The aqueous phase includes ions (
,
,
,
,
,
,
, and
) and water (
), while sorbed species encompass oil–calcite complexes (e.g.,
,
,
,
) [
17]. These interactions form the basis of the Surface Complexes-Chloride Ionic Carbon Dioxide-Oil-Water (SC-CLICDOW) model, which integrates equilibrium thermodynamics, ion transport, and wettability dynamics [
30]. To evaluate this framework, we conduct core flooding experiments with pH-matched, low-salinity carbonated water, targeting enhanced oil recovery (EOR) through salinity reduction and divalent cation (
,
, and
) modulation.
The reservoir is modeled as a 1D porous medium saturated with oleic and aqueous phases. Initial and injected fluids contain NaCl,
, and key ions. Carbon dioxide partitions between oleic and aqueous phases and decane remains only in the oleic phase. Rapid equilibrium assumptions apply to aqueous-oleic
exchange and geochemical reactions, simplifying the ion transport analysis. Darcy’s law governs incompressible flow at
and
, suppressing gas phase formation. We neglect salinity-dependent viscosity [
26].
The assumption of salinity-independent viscosity is justified by two main factors. First, at reservoir conditions, particularly at high temperatures around
, the viscosity contrast between injected low-salinity brines and formation high-salinity brines becomes negligible (see e.g., [
26]). Second, in carbonate reservoirs, oil recovery is primarily governed by geochemical wettability alterations caused by ionic interactions, such as the exchange between
and
, rather than by fractional flow changes resulting from minor viscosity contrasts [
31].
The analysis suggests that carbonated low-salinity waterflooding increases dissolved
levels, contributing to calcite dissolution and higher aqueous
,
, and
concentrations. This ionic shift correlates with reduced oil–rock adhesion through changes in Total Bond Product (TBP)-associated wettability, assessed using high-/low-salinity relative permeability curves. The synergy between
solubility and controlled divalent cation availability amplifies oil mobilization, consistently with EOR mechanisms reported in [
29].
2.1. Component Distribution by Phase
The compositional system is divided into an aqueous and an oleic phase. The distribution of chemical components between these phases is based on their physicochemical properties. Most ions (e.g., , , ) are exclusively aqueous, while hydrocarbons (e.g., decane) are confined to the oleic phase. The components are detailed in next section.
2.2. Chemical Equilibrium Analysis: Gibbs Rule
Utilizing the methodologies outlined in [
14,
32], we employed PHREEQC to simulate the equilibrium of water, solid calcium carbonate (
), sodium chloride (NaCl), and sulfate species. Our analysis identifies 25 distinct chemical species (
) in the system. The aqueous phase includes
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
. The oleic phase includes
. Here,
denotes the alkane, which resides exclusively in the oleic phase. Most other species are confined to the aqueous phase, with the exception of calcium carbonate (
), which partitions between the solid phase (
) and the aqueous phase (
). Carbon dioxide (
) is the only species that distributes between both the aqueous and oleic phases, while its gaseous form is suppressed due to the high reservoir pressure (
).
The system includes 15 sorbed species (): , , , , , , , , , , , , , , .
These species participate in 27 chemical reactions (
). The
values at
C are listed in
Table A1 Appendix B, along with their thermodynamic references in column five.
Gibbs Phase Rule Application
The extended Gibbs phase rule [
24] determines the number of independent variables (degrees of freedom,
) required to define the thermodynamic state of a system, defined as
where
: number of aqueous species (e.g.,
,
,
),
: number of sorbed species (e.g.,
,
),
: total chemical reactions (5 oil, 6 calcite, 16 aqueous),
: number of constraints (charge balance + fixed sorption sites),
: number of phases (solid, aqueous, oleic).
Substituting values into Equation (
1), we obtain
. The system exhibits 6 degrees of freedom (
). By fixing temperature (
T) and pressure (
P), the number of degrees of freedom reduce to 4. To evaluate the influence of ionic composition on wettability, we focus on four critical variables: hydrogen ion concentration (
), chloride (
), magnesium (
), and sulfate ions (
). In our numerical experiments, chloride and sodium initial ion concentrations are equal (
), a simplification justified by charge balance in low-salinity brines [
32].
Our methodology builds on [
5], which are developed in the context of systems governed by aqueous and mineral equilibrium reactions. This approach decouples mass balance equations from chemical speciation, allowing conservative transport to be solved numerically, while chemistry is reconstructed before. The framework is valid in saturated zones, where the absence of a
-rich gas phase eliminates gas–liquid partitioning effects.
Reactive transport in multiphase flow requires solving the mass balance for all chemical species, including water, across phases. We consider only reactions, mineral precipitation-dissolution, and gas dissolution, all at thermodynamic equilibrium. Porosity changes due to precipitation-dissolution are included, affecting properties like permeability.
Equilibrium is well justified in our core-flood experiments (0.1–1 ft/day), as the estimated Damköhler number (
) indicates that reaction kinetics far outpace transport rates. Thus, assuming local chemical equilibrium under these conditions is appropriate [
33]. However, kinetic effects near the wellbore might still be important, so they should be studied more closely in future work.
The assumption of negligible viscosity contrast (<15%) between low-salinity injection brines and connate brines is chemically justified within the specific salinity range of this study (2300–210,000 ppm [Cl
−]) [
26]. While viscosity variations become significant at extreme salinities (>210,000 ppm), as demonstrated by [
34], our work operates exclusively within lower ranges where rheological contrasts remain minor.
3. System of Equations
In this section, we summarize the system used to describe the dynamics of chemical variables, water, and oil saturation (details of the derivation can be found in [
12]). Combining hydrogen and oxygen, we derive six conservation laws from total carbon, hydrogen, oxygen, magnesium, calcium, chloride, and decane. Moreover, we assume (1) all reactions occur in equilibrium, and (2) the chemical system can be determined based on the state variables of the multiphase flow model (namely, liquid and gas pressure, and temperature).
Based on the generalized Gibbs rule [
25], we recognize 6 degrees of freedom, characterized by quantities such as water saturation, Darcy velocity (
u),
, and the ionic concentrations of chlorine, sulfate, and magnesium. These quantities form the basis for building the six conservation laws.
The mass balance equations, neglecting diffusion and capillarity effects, can be written as
where
and
denote the fractional flow for water and oil. The parameter
is the porosity.
The coefficients
,
, and
denote the molar concentrations of component
i in the aqueous
w, oleic
o, and solid phases, respectively, expressed
. They are defined as
for the aqueous phase,
for the oleic phase, and
for the solid phase, where
,
, and
represent the molar densities (
) of each phase and
,
, and
are the corresponding molar fractions of the component in that phase. The molar fractions are computed as
where
and
denote the total molar concentrations in the aqueous and oleic phases, respectively, expressed
. The parameter
represents the molality of aqueous species
i in mmol/kg of water, while
denotes the molality of oleic species
j in mmol/kg of oil. Finally,
corresponds to the solid-phase molar density, expressed
.
From a dimensional standpoint, the units of can be expressed as , which reduces to under the assumption that the solution mass is approximately equal to the water mass. In the governing equations, flux terms of the form have dimensions /s, while accumulation terms of the form have dimensions .
3.1. Component Distribution by Phase
The six conserved components are assigned to the aqueous and oleic phases based on their physicochemical affinities. Partitioning of components are constrained thermodynamically. For example, decane (alkane “A”) resides exclusively in the oleic phase due to hydrophobicity, while ions like
remain aqueous. CO
2 partitions between phases. The conservation laws (
2)–(
7) track six basis species, each assigned to one or more phases according to thermodynamic constraints and the assumptions in the SC-CLICDOW model.
The SC-CLICDOW model tracks six basis components, each associated with specific phases, physical meanings, and mass variables (aqueous), (oleic), and (solid). Component 1, denoted by C(4) (total inorganic carbon), includes for aqueous carbonate species ((aq), , , , , , ) and for dissolved in the oleic phase, allowing carbon dioxide to partition between both phases. Component 2, denoted by C(−4) (organic carbon), has for the n-decane () and other non-volatile alkanes confined to the oleic phase due to their hydrophobic nature. Component 3, denoted by Cl (chloride), uses for in the aqueous phase, with negligible solubility in the oleic phase under simulated conditions. Component 4, denoted by O–H (hydrogen–oxygen balance), includes and for hydrogen and oxygen in water and organic molecules, and for these elements in hydroxylated calcite sites; it is a constructed component representing O(−2) − H(1) with water removed from the balance. Component 5, denoted by Mg (total magnesium), has for free in the aqueous phase, for complexed with oil carboxylates (Oilw, ), and for adsorbed on calcite (Calw, ). Finally, Component 6, denoted by Ca (total calcium), has for free in the aqueous phase, for complexed with oil carboxylates (Oilw, ), and for adsorbed on calcite (Calw, ).
The phase confinement of the six SC-CLICDOW components follows directly from their polarity, solubility, and charge distribution. Components 1, 3, 4, 5, and 6 are ionic or highly polar species (e.g., carbonate, chloride, magnesium, and calcium ions, as well as the constructed hydrogen–oxygen balance component) that remain exclusively in the aqueous phase. Their strong hydration energy, minimal affinity for nonpolar environments, and the requirement to preserve charge neutrality prevent any significant partitioning into the oleic phase under the simulated conditions. In contrast, Component 2, representing n-decane and related non-volatile alkanes, is a nonpolar hydrocarbon characterized by extreme hydrophobicity, an aqueous solubility on the order of mol/L, and the absence of appreciable ionization; consequently, it resides entirely in the oleic phase.
The source terms in Equations (
2)–(
7) are zero because (i) chemical reactions are at local equilibrium (Damköhler number
), (ii) mass exchange is embedded in the coefficients
,
,
via PHREEQC-calculated speciation, and (iii) the system satisfies mass conservation under steady thermodynamic equilibrium.
3.2. Analytical Determination
The coefficients
,
, and
(
) in the system (
2)–(
7) are based on the ion concentrations of the relevant chemical complexes. Analytical formulas for these coefficients are determined using the Eureqa program (see [
12]) through formulas given in the equations above.
Initial and boundary conditions follow a Riemann problem formulation (
Section 10), with fixed salinity and pH at the injection boundary (
) and reservoir equilibrium.
To ensure numerical stability in COMSOL Multiphysics simulations of Equations (
2)–(
7), we validated Eureqa-derived functions against PHREEQC data and selected smooth-differentiable formulations for robust Jacobian matrix calculations. This preserves thermodynamic consistency while enabling efficient integration of geochemical coefficients (
,
,
) into flow dynamics.
4. Geochemical Modeling
Surface complexation modeling is a technique used to describe the interactions between mineral surfaces and ions in a solution. This method involves defining surface reactions and their corresponding equilibrium constants to simulate adsorption processes. PHREEQC performs this modeling by utilizing the surface reactions along with chemical composition of the solution to predict ion adsorption on mineral surfaces (see e.g., in [
15]). The log K values at
C were obtained from standard thermodynamic databases [
35,
36], validated for reservoir conditions in recent studies [
15]. These values were calculated using the HKF model [
37]. Additionally, for calcite equilibrium constants, the validations reported by [
16] were considered (See
Table A1 in
Appendix B).
This study investigates the interactions between acidic and sweet crude oil, carbonate minerals, and brine under high-pressure and high-temperature conditions. The simulations were performed using PHREEQC to evaluate surface complexation reactions, mineral equilibria, and aqueous speciation.
The modeling includes surface complexation definitions for oil, water, and carbonate interfaces, taking into account reactions of carboxyl (-COOH) and amine (-NH) groups present in crude oil, as well as calcium hydroxide and carbonate sites on calcite. Additionally, equilibrium reactions for calcite, anhydrite, magnesite, and (g) are simulated. The solution composition includes key ions, with temperature set at and pressure at P = 220 bar. pH control is implemented, ensuring dynamic adjustments via HCl dissolution. The key computed results include saturation indices (SI) for magnesite, calcite, and (g), along with relevant chemical species concentrations.
The saturation indices of calcite and carbon dioxide are controlled to avoid solid precipitation and gas formation. The surface charge distribution and electrostatic interactions between crude oil and carbonate surfaces are analyzed under thermodynamic chemical equilibrium. Additionally, we compute total dissolved solids (TDS), ionic strength, and the formation of complexes between crude oil functional groups and mineral surfaces.
A common approach to estimating wettability utilizes the TBP, which quantifies the amount of fluid bound to the rock surface due to adsorption and surface complexation. The relationship between the Bond Product and wettability can be explained through the interaction between capillary forces and interfacial tension in a fluid system [
38]. High Bond Product values indicate that gravitational forces are relatively small compared to capillary forces, suggesting that the system is more susceptible to the influence of wettability. In this context, a high Bond Product is associated with oil-wet conditions, as the capillary forces favoring oil immobilization are weaker compared to those favoring water immobilization. By analyzing the outputs from PHREEQC simulations, we calculate the TBP to assess wettability in subsurface environments.
The input parameters for PHREEQC in our numerical experiments are guided by the methodology in [
19].
The Total Acid Number (TAN) measures the acidity of crude oil, reflecting the amount of acidic compounds, such as naphthenic acids and oxidation products. This parameter is expressed in milligrams of potassium hydroxide (mg KOH) required to neutralize the acids present in one gram of crude oil. High TAN values, higher than 1 mg KOH/g, are associated with acidic crudes.
The Total Base Number (TBN) quantifies the alkalinity of crude oil, representing its capacity to neutralize acids. TBN is critical in oils treated with basic additives, such as detergents and dispersants, which enhance their anti-corrosive properties. Typical high TBN values (5–10 mg
) are observed in treated oils.
Table A2 in
Appendix C summarizes the typical ranges of TAN and TBN for different crude oil types.
To determine the density of active sites on oil, we employ the Total Acid Number (TAN) and the Total Base Number (TBN), following the methodology outlined in [
18]. The site density for acidic groups (
) and basic groups (
) are calculated as follows:
We take the molecular weight of potassium hydroxide (
) by 56.1 g/mol. The specific surface area of the oil,
in
/g, is assumed to match that of its associated carbonate minerals in aqueous solutions, as detailed in [
16].
The input datasets utilized in our study correspond to formation water with varying ion concentrations of
,
,
,
, and
. These datasets serve as the basis for specifying the coefficients in the system (
2)–(
7). We consider the chloride and magnesium ion concentrations (
) to range from 40 to 3600 mmol/kgw.
The pH of the solution varies between 2.7 and 9, while the carbon concentration remains unchanged. A summarized representation of the input data is provided in
Table 1 and
Table 2. These tables present the initial conditions of the injected ion compositions of water, systematically varying sodium (
), magnesium (
), and chloride (
) concentrations, maintaining constant in the first experiment the injected values for ion concentration of calcium (
), carbon (C), and sulfate (
). In the second experiment, magnesium (
) and calcium (
) are kept at fixed values and sulfate (
) varies. The selected values span both lower and higher concentration ranges to ensure comprehensive coverage of different geochemical conditions. This approach allows for an evaluation of how these ion variations influence the system behavior under high temperature and pH conditions.
The total dissolved inorganic carbon (DIC) concentration of 75 mmol/kgw in the injected carbonated water comprises three primary species: aqueous carbon dioxide (
), bicarbonate (
), and carbonate (
). The selected total DIC concentration aligns with experimental carbonated waterflooding studies in carbonates, where 50
/
to 100
/
effectively balances
solubility and mineral reactivity without inducing excessive anhydrite dissolution [
9].
Building upon existing knowledge of acid–base interactions in crude oil/brine systems, this work extends the current understanding by demonstrating the significance of TAN/TBN-driven surface charge asymmetry in modulating wettability. Specifically, we reveal how carboxylate abundance in acidic oils (TAN higher than 1 mg KOH/g) amplifies Ca2+-mediated ionic bridging at calcite surfaces, while TBN governs amine–calcite dipole interactions that stabilize oil wetness in sweet crudes. This TAN/TBN duality, quantified via PHREEQC-calculated TBP, provides a predictive framework for customizing injection brine chemistry based on crude oil composition.
4.1. Typical Values of TAN and TBN
Crude oil acidity and alkalinity are characterized by two key parameters: Total Base Number (TBN) and Total Acid Number (TAN). TBN reflects the ability of the oil to neutralize acids, indicating the presence of basic compounds like amines; low TBN values, typical of acidic oils, signal reduced neutralization capacity, while high TBN values are common in sweet oils, often treated to reduce corrosion risks. TAN directly measures acidic components, such as naphthenic acids, with high values associated with more acidic oils and increased corrosion risks. These parameters are essential for modeling oil–mineral interactions and assessing wettability, influencing surface charge dynamics and film stability on mineral surfaces (see details in [
16]). In
Table A3 in
Appendix C, typical values for sweet and acidic crude oils are presented to assess their influence on TBP and the corresponding wettability behavior.
The interaction between TAN and TBN values significantly influences the wettability of mineral surfaces in reservoirs. Crudes with a high Total Acid Number (TAN) tend to form acidic films on surfaces, increasing oleophilicity. Conversely, high-TBN crudes neutralize acidic interactions, promoting water-wet conditions.
4.2. Model Limitations and Mitigation Strategies
While surface complexation modeling in PHREEQC provides a mechanistic framework to quantify wettability via TBP, its accuracy depends critically on three factors: (1) the representativeness of assumed surface reactions, (2) the validity of equilibrium constants at reservoir conditions, and (3) the homogeneity of calcite–oil interfaces. We address these limitations as follows.
First, we assume that thermodynamic constants for oil–calcite interactions (e.g.,
in rows (1)–(27),
Table A1 in
Appendix B) are obtained from experimental studies on analogous carboxylate/amine–calcite systems [
16,
17], with sensitivity analyses confirming the TBP variability remains below 10% across plausible
ranges.
Second, transient ion-exchange effects (e.g., slow
replacement) are neglected, assuming instantaneous geochemical equilibrium. While this hypothesis is common in reactive transport modeling [
33,
39], it may overestimate the rate of wettability alteration in systems with kinetically controlled surface reactions.
Third, experimental cores (e.g., from [
26]) contain trace anhydrite (lower than
), which is neglected in the SCM to simplify calcite–oil interactions. We assume that this neglect introduces minor deviations between modeled and experimental TBP values.
These hypotheses enable tractable integration of SCM with flow simulations but may underestimate wettability hysteresis in highly heterogeneous carbonates. Future work should incorporate kinetic reaction modules using reactive transport codes. Moreover, for carbonates with significant anhydrite or clay content (higher than ), explicit mineral reactions should be incorporated.
The TBP model assumes homogeneous mineral surfaces, neglecting pore-scale heterogeneity (e.g., clay patches). Future work should incorporate stochastic descriptions of surface site reactivity.
8. Quantitative Analysis of Ionic Synergies
This section evaluates changes in the normalized interpolation parameter
(Equation (
12)) under systematic variations in the concentrations of magnesium (
), chloride (
), and sulfate (
). Using TBP values derived from PHREEQC, the parameter
is calculated to assess wettability transitions between high-salinity (
, oil-wet) and low-salinity (
, water-wet) regimes. The analysis suggests ion concentration levels linked to reduced TBP-driven oil–rock adhesion, which may improve oil recovery outcomes. Numerical simulations focus on acidic oil, where carboxylate-calcite interactions dominate wettability behavior. The parameter
serves as a direct indicator of surface affinity: Values approaching one reflect strong oil adhesion, while values near zero signify water-wet conditions favorable for displacement efficiency.
Table A6 and
Table A7 in
Appendix D present the parameter
for varying
(0.02–6.80 mol/kgw) and
(0.02–0.12 mol/kgw) concentrations, revealing key trends across salinity regimes.
Under low-salinity conditions ([Cl
−] = 0.06 mol/kgw;
Table A6), the interplay between Mg
2+ and
shifts due to ionic strength effects, which enhance the thermodynamic activity of divalent ions and promote Mg
2+-
pairing, as demonstrated in carbonate systems by [
4]. This behavior aligns with the double-layer expansion mechanisms described for low-salinity waterflooding in [
31]. When
concentrations are lower than 0.04 mol/kgw, the normalized TBP parameter
decreases monotonically as [Mg
2+] increases. For example,
drops from 0.92 to 0.29 when [Mg
2+] increases from 0.02 to 6.80 mol/kgw, indicating that Mg
2+ could displaces Ca
2+-carboxylate surface complexes, promoting water-wet conditions [
17]. Conversely, at higher
concentrations, higher than 0.06 mol/kgw, the
response becomes non-monotonic. At moderate [Mg
2+] (0.36 mol/kgw),
increases to 0.87, probably due to competitive adsorption between Mg
2+ and
on calcite surfaces, which stabilizes Ca
2+-carboxylate linkages [
9]. However, at higher [Mg
2+] levels, lower than 2.00 mol/kgw,
decreases again, reaching 0.30. This trend is consistent with geochemical modeling by [
4], where Mg
2+-
ion pairing (MgSO
40) reduces Mg
2+ activity, freeing
to displace Ca
2+-carboxylate bonds. In acidic oils, TAN higher than 1 mg KOH/g, abundant carboxylate groups amplify this effect, as shown experimentally in [
28].
This non-monotonic trend could be attributed to ion-specific interactions that evolve with [Mg
2+]. At intermediate Mg
2+ levels (e.g., 0.36 mol/kgw), adsorption of
is suppressed due to preferential Mg
2+ binding at positively charged calcite sites (Cal_sCaOH
2+), which limits the disruption of oil–carboxylate (–COO
−) linkages [
9]. As a result, oil-wet conditions persist. At higher Mg
2+ concentrations, higher than 2.00 mol/kgw, two key effects arise: (i) A reversal of the calcite surface charge reduces its affinity for carboxylates [
17], and (ii) the formation of neutral MgSO
40 ion pairs increases, freeing
to compete for surface sites and displace Ca
2+-carboxylate complexes [
4]. This dual mechanism leads to a decrease in
and promotes wettability reversal toward more water-wet states. Similar trends have been observed experimentally in carbonate systems, where initial Mg
2+ enrichment maintained oil wetness, but higher concentrations enhanced water wetness via sulfate mobilization and electrostatic screening [
31,
45].
Similarly, a complementary trend is observed when
concentration is varied while maintaining a fixed initial
concentration in the injected water. This experimental design specifically targets the role of sulfate in modulating
availability through
precipitation. Increasing [
] elevates thermodynamic driving force for solid-phase formation (e.g., epsomite or Mg-carbonate-sulfate complexes), thereby reducing effective [
] at the metal–solution interface. Consequently, sulfate indirectly influences corrosion by reducing the protective effect of dissolved
, which helps stabilize protective hydroxide layers and inhibit cathodic reactions. This mechanism directly explains our observation that at low Mg
2+ concentrations, lower than 0.36 mol/kgw, increasing
results in a decline in
(e.g., from 0.94 to 0.45 as
increases from 0.02 to 0.06 mol/kgw), highlighting the role of
in replacing Ca
2+-carboxylate surface complexes in the absence of significant Mg
2+ competition [
9]. Conversely, at elevated Mg
2+ levels, higher than 2.00 mol/kgw, increasing
leads to a modest increase in
(e.g., from 0.30 to 0.36 as
rises from 0.02 to 0.12 mol/kgw), suggesting a synergistic interaction between Mg
2+ and
in which excess
facilitates partial restoration of oil wetness through the formation of ternary surface complexes.
Under high-salinity conditions ([Cl
−] = 0.39 mol/kgw), Mg
2+ and
behavior is influenced by increased ionic strength (
Table A7). When
concentrations are low (0.02–0.04 mol/kgw), the parameter
exhibits a monotonic decrease from 0.90 to 0.28 as Mg
2+ concentration increases, indicating the efficient disruption of Ca
2+-carboxylate bridges by Mg
2+. However, at higher
levels, higher than 0.06 mol/kgw, the
trend becomes non-monotonic, with a local maximum observed at [Mg
2+] = 0.16 mol/kgw. This behavior possibly arises from competitive adsorption between Mg
2+ and
, followed by the formation of neutral ion pairs that mitigate further surface displacement effects.
When is varied at fixed Mg2+ levels, distinct regimes emerge. At low Mg2+ concentrations, lower than 0.36 mol/kgw, variations in produce minimal changes in ( lower than 0.05), attributed to the dominance of electrostatic charge screening that limits surface activity. Conversely, at elevated Mg2+ levels, higher than 2.00 mol/kgw), the effect of increasing remains marginal, with only a slight decrease in (), as Mg2+ continues to dominate surface interactions through direct competition and pairing effects.
A direct comparison of
Table A6 and
Table A7 shows that salinity changes not only the magnitude but also the stability of
responses across varying ion concentrations. For Mg
2+ concentrations below 0.36 mol/kgw,
exhibits notably different sensitivities to
under low and high salinity—highlighting that at low salinity, even small additions of sulfate can significantly reduce
, whereas at high salinity, the effect is more gradual and muted. Conversely, for Mg
2+ concentrations above 2.5 mol/kgw,
values under low salinity become less responsive to both Mg
2+ and
variations, suggesting a plateauing behavior possibly associated with surface saturation or charge compensation mechanisms. Under high salinity, however, this stabilization is less pronounced, with
still showing appreciable variation, particularly when both Mg
2+ and
are simultaneously increased—revealing that ionic activity effects persist even at elevated concentrations.
Although elevated [Mg2+] levels, higher than 5.00 mol/kgw, can strongly enhance water wetness, our simulations using PHREEQC revealed that such concentrations, when combined with high levels, may induce undesirable geochemical effects—most notably, the dissolution of anhydrite () in carbonate formations. These findings underscore a critical practical insight: Achieving a balanced brine composition is essential.
While chloride (
) does not directly participate in surface complexation reactions or contribute to the TBP, it plays a critical role in modulating ionic strength (I), which governs the thermodynamic activity of potential-determining ions (e.g.,
,
). As a non-complexing spectator ion,
influences the Debye length through its contribution to
I. PHREEQC simulations confirm that reducing
lowers I (e.g., I =
at
vs. I =
at
). This decrease amplifies the activity of divalent ions (
,
), enhancing their ability to reduce
-carboxylate bonds [
31]. Thus, although
is inert in bonding, its concentration governs the efficacy of wettability-altering ions, as demonstrated in low-salinity waterflooding studies [
32].
9. TBP-Based and Experimental Wettability Metrics
The TBP-derived wettability trends align with established experimental metrics, including contact angle measurements, adhesion forces, and oil recovery factors. This section contextualizes the simulated TBP behavior within the broader experimental understanding of carbonate wettability alteration.
Table 15 synthesizes three key correlations between TBP trends and experimental wettability metrics observed across multiple studies. These relationships provide mechanistic validation for the role of TBP as a predictive indicator of ionic bridging effects.
As show in
Figure A2, at low salinity,
lower than 0.1 mol/kgw, the TBP reduction with elevated
mirrors contact angle increases (i.e., more water-wet conditions) observed in [
9]. For example, a TBP decline from
to
(68% reduction) corresponds to a contact angle shift from
to
in chalk cores flooded with Mg-enriched brine [
26]. Similarly, the pH-dependent TBP rise for acidic oils (
Table 6) aligns with atomic force microscopy (AFM) measurements by [
17], where adhesion forces decreased by 55% as pH increased from 3 to 8 due to carboxylate deprotonation.
The antagonistic effect of
on TBP at low
(
Figure A1) is consistent with the 12–13% incremental oil recovery reported by [
26] in calcitic cores flooded with sulfate-enriched brines (higher than
). Conversely, the limited TBP response to
under high salinity,
higher than 1.7 mol/kgw, matches the diminished recovery gains (4–6%) observed in high-TDS formations [
31], highlighting the role of ionic strength in screening sulfate–calcite interactions.
While absolute TBP values depend on site-specific parameters (e.g.,
), the relative trends—such as the 2.2× higher TBP for acidic vs. sweet crudes (
Table 4)—agree with interfacial tension (IFT) reductions measured by [
18]. This consistency supports the utility of the TBP as a scalable proxy for wettability shifts, albeit requiring calibration against local rock/fluid properties for quantitative predictions.
The TBP correlates with experimental wettability metrics: Values lower than
correspond to contact angles higher than
(water-wet conditions), consistent with interfacial tension reductions reported in [
28]. Atomic force microscopy (AFM) measurements further validate this trend, showing a 55% decrease in adhesion forces as TBP declines from
to
[
28].
10. Numerical Simulations with COMSOL
In this section, we present simulations to solve the system (
2)–(
7) using the COMSOL Multiphysics
® model. Our computational setup includes a reliable system with up-to-date hardware: an Intel Core i5-12600K (32 GB RAM). Each simulation session demands approximately three hours of computational processing. Our methodology draws inspiration from and builds upon prior work, particularly studies such as [
23], where similar approaches were successfully implemented.
The simulations focused on four primary dynamic variables, pH, water saturation (Sw), chloride concentration ([
]), and magnesium concentration ([
]), while maintaining sulfate ([
]) and Darcy velocity (u) constant based on the parametric analysis in
Section 7.3. This approach isolates the predominant wettability-altering mechanisms identified in previous sections while ensuring computational tractability.
To assess the integrated geochemical-compositional model developed here, numerical simulations were performed with COMSOL Multiphysics for solving the system of conservation laws:
where the coefficient functions
,
, and
depend on the normalized concentrations of magnesium and chloride, as well as on the pH level. Equations for coefficients can be found in
Appendix A.
The displacement process is modeled as a Riemann–Goursat problem ([
46]) with piecewise constant initial conditions:
where
J and
I represent injected and initial states, respectively. This formulation models the defined chemical and saturation fronts within the 1D domain, determined by the interaction between ion transport and fractional flow dynamics.
The PHREEQC–COMSOL coupling follows a sequential explicit workflow. In the preprocessing stage, geochemical equilibrium calculations are first performed in PHREEQC to determine surface complexation concentrations, such as Oil_wCOOCa+ and Cal_sSO4−, as well as interpolated parameters such as TBP.
These outputs are stored in the form of lookup tables. During the transport simulation, the precomputed parameters are imported into COMSOL as spatially dependent functions. The conservation laws (Equations (
18)–(
21)) are then discretized using the finite element method and solved in their weak formulation, with the geochemical coefficients incorporated as static inputs. This one-way coupling approach decouples equilibrium chemistry from transient flow, significantly reducing computational cost while preserving thermodynamic consistency. Convergence is handled exclusively within the COMSOL transport solver.
10.1. Experimental Validation Setup
Laboratory investigations have consistently demonstrated the importance of ion-specific adjustments for enhancing oil recovery in carbonate reservoirs, particularly those with high calcite content [
9,
26,
27]. Modifying magnesium (
) and sulfate (
) concentrations in injection brine has proven effective in improving recovery without the need for significant reductions in overall salinity [
34].
Experimental studies indicate that effective concentrations typically range from 0.04 to 0.10 mol/kgw, while concentrations range from 0.05 to 0.15 mol/kgw, with an optimal molar ratio between 0.3 and 0.7. Under these conditions, oil recovery improvements are commonly observed in the range of 8% to 15% of the original oil in place (OOIP). The primary mechanisms driving this enhancement include competitive ion displacement, where replaces in carboxylate bridges on the rock surface, surface charge reversal due to adsorption, and synergistic ion-pairing interactions that stabilize the electrical double layer and promote water-wet conditions.
These numerical experimental results can be used to evaluate numerical models attempting to replicate the observed effects of ion-specific adjustments in high-salinity environments.
The first simulation series aimed to reproduce core flooding data from [
26], where cores are flooded with carbonated low-salinity brine. Initial and injected brine compositions (Table 3 in [
26]) were replicated in COMSOL, with connate water (FWOS) representing the reservoir’s high-salinity state and injected water (d100FWOS) simulating low-salinity conditions. Magnesium ([
]) and sulfate ([
]) concentrations were adjusted to match the experimental design, while Darcy velocity (u) remained fixed to suppress viscous fingering effects.
We adopt the values of oil saturation
and initial water saturation
, indicative of lower salt concentrations ([
22]). Initial and injected state for data in [
26] correspond to
Here magnesium, chloride and sulfate are given in mol/kgw. We choose the interpolation parameter
in (
12) as 0.35 from initial ion concentrations.
Using the saturation profile values shown in
Figure 1 along with the corresponding interpolation parameter
, we calculate the oil recovery in place using the procedure described in [
22].
Figure 1 compares simulated water saturation profiles for high-salinity (
), low-salinity (
), and TBP-interpolated (
) cases. Oil recovery factors (
Figure 2) align with experimental data, with TBP-driven simulations showing a 14.7% increase in recovery relative to high-salinity flooding, within the range reported by [
26].
10.2. Relevant Simulation Examples
In this section, we perform the sensitivity analysis of our integrated geochemical model to the key parameters, i.e., the interpolation parameter , the residual oil recovery , and the initial and injection conditions of the system of equations studied here.
We study scenarios under changes these parameters and evaluate their impact on oil recovery in place (OOIP) between high- and low-salinity regimes.
We aim to evaluate the decline in salt concentrations at the injection site under varying concentrations of injected magnesium in the formation water, encompassing both low and high concentrations. Our analysis unfolds by presenting solutions derived from simulations conducted across three pertinent scenarios. Beyond merely computing the velocities of the water saturation and saline front, we delve into predicting the pH behavior.
We adopt the values of oil saturation
and initial water saturation
, indicative of lower salt concentrations [
22].
We consider the following scenario:
The first scenario illustrates a reservoir environment where the salinity of the water decreases from 4 mol/kgw to 0.06 mol/kgw. At the outset, magnesium concentration is medium with a modest increase of 35% respect to 2.37 mol/kgw.
Figure 3 shows water saturation, magnesium, chloride, and pH profiles derived from the Riemann problem solution, plotted against the characteristic velocity coordinate (
). The solution structure features a minor rarefaction wave, a trailing shock, a contact-type rarefaction, and a terminal shock propagating at
m/s—closely synchronized with the salt and magnesium fronts. This configuration mirrors the wave hierarchy reported by [
21] for analogous
J-
I systems, though attained here through an integrative computational framework that harmonizes geochemical and hydrodynamic couplings. The characteristic pH decline from initial to final conditions (from 7.1 to 5.8 in our case) aligns with experimental trends observed by [
47], while the coupled salinity–pH front dynamics reflect their established role in wettability variability ([
44]). Our approach preserves these complex interfacial phenomena without requiring intricate wave tracking or additional constitutive assumptions.
Figure 4 displays the water saturation (
) profiles for several values of
ranging from 0 (water wet) to 1 (oil wet). At 2 pore volumes injected (PVI), the oil recovery difference between high-salinity (
) and low-salinity (
) cases reaches approximately 14% in OOIP, consistent with trends observed in [
26,
34].
Intermediate values reveal a smooth transition, with a 20% change in (e.g., from 0.4 to 0.6) resulting in approximately 3% variation in OOIP. This indicates that the model accounts for the influence of wettability on displacement efficiency.
To evaluate the effect of ion-specific interactions, we consider a case where the injected magnesium concentration is increased to 4.2 mol/kgw, compared to an initial concentration of 2.37 mol/kgw. This modification results in an additional 3% OOIP at 1.5 PVI, consistent with mechanisms described in
Section 7.4, where
disrupts
-carboxylate bonding.
These results emphasize that recovery is sensitive not only to bulk salinity but also to the ionic composition of the brine, particularly in the presence of divalent cations.
Changes in residual oil saturation (
) significantly affect recovery predictions. A 20% decrease in
(e.g., from 0.30 to 0.24) leads to approximately 3% increase in OOIP. This underlines the necessity of the accurate experimental determination of endpoint saturations, especially in mixed-wet systems where pore-scale wettability heterogeneity can dominate [
31].
The sensitivity analysis reveals two primary mechanisms that govern improvements in oil recovery. First, modifying the composition of the injected brine can influence wettability by altering the interpolation parameter through the adjustment of specific ion concentrations, such as [Mg and [SO, which, in turn, reduces the TBP. Second, the initial state of the system, captured through the resolution of the Riemann–Goursat problem, determines the configuration of shock and rarefaction waves. These wave dynamics play a crucial role in enhancing the transport of ions, thereby amplifying the effects of ionic contrasts on recovery. These mechanisms highlight the interplay between chemical and dynamic factors in controlling the effectiveness of low-salinity waterflooding.
From a practical standpoint, field-scale implementations should focus on ion-specific optimization—such as adjusting ratios—rather than relying solely on bulk salinity reduction. Calibration of the interpolation parameter through core-scale measurements, including two-phase displacement pressure (TBP) and contact angle, is also recommended. Transient simulations of the initial brine replacement process are necessary to account for dynamic wave interactions, contributing to the predictive accuracy of the model. This approach links numerical forecasts with physical mechanisms, providing a structured method for evaluating enhanced oil recovery (EOR) strategies in heterogeneous carbonate reservoirs.
10.3. Water Saturation Profiles
The water saturation profiles displayed in
Figure 1 and
Figure 4 are direct quantitative outcomes of our integrated geochemical–compositional multiphase transport model. While visually resembling classical Buckley–Leverett solutions, their morphology and dynamics are modulated by ion-specific geochemical effects.
This modulation occurs through the dimensionless interpolation parameter , derived from the Total Bond Product (TBP). The TBP quantifies ionic bridge strength at oil–calcite interfaces, correlating brine chemistry with wettability. In our model, interpolates Corey-type relative permeabilities between oil-wet () and water-wet () conditions.
The formulation of the Riemann–Goursat problem dictates the observed sharp propagation of water saturation and ion fronts (see
Figure 3). This integration directly impacts macroscopic displacement efficiency. A reduction in
shifts the inflection point of
toward higher water saturation, increasing
and, thereby, accelerating the front velocity, analogously to breakthrough in Buckley–Leverett theory [
48]. This behavior is consistent with variable-wettability models [
21], where transitions toward more water-wet conditions enhance displacement efficiency.
Figure 4 demonstrates that lower
values accelerate frontal advance, indicating more efficient displacement [
21,
48]. A 20% change in
(0.4 to 0.6) yields approximately 3% OOIP recovery variation. The TBP-interpolated case (
) shows a 14.7% increase in recovery compared to high-salinity flooding (
).
These features quantitatively show the capability of the model to capture ion-triggered wettability alteration and its substantial influence on enhanced oil recovery. The profiles are not artifacts but validated representations of underlying transport–reaction mechanisms.
11. Interpreting Salinity in the Context of Equilibrium Geochemistry
The interpretation of salinity effects in low-salinity waterflooding (LSWF) requires distinguishing between the injected salinity defined at surface conditions and the equilibrium salinity that governs interfacial interactions at reservoir conditions. While injected brines are designed with specific ionic compositions (e.g.,
,
), the subsurface system evolves dynamically through geochemical processes that reshape brine chemistry. These include the dissolution of calcite (
), competitive adsorption of potential-determining ions (
,
,
) at oil–rock interfaces, and mixing/dilution with connate brine. As demonstrated in
Section 7.3 and
Section 7.4, these processes collectively determine the effective ionic environment that dictates TBP and wettability alteration.
The apparent contradiction between injected and equilibrium salinity arises from the transient nature of brine–rock interactions. Surface complexation modeling (
Section 8) reveals that TBP depends not on the injected brine composition alone but on the thermodynamically equilibrated concentrations of key ions at mineral surfaces. For instance, injected
may become partially sequestered through anhydrite precipitation (
), while
competes with
for carboxylate binding sites. This dynamic equilibrium explains why coreflood experiments often report delayed wettability responses despite rapid brine injection [
31].
In terms of methodology, the model addresses these factors through mass balance equations that integrate ion transport with equilibrium speciation derived from PHREEQC. Initializing the system with connate water chemistry and imposing low-salinity injection as a boundary condition allows the geochemical state to evolve naturally. The resulting equilibrium concentrations of
,
, and
—not their injected values—are used to compute TBP via Equation (17). This approach aligns with experimental observations where wettability alteration correlates with post-equilibrium ionic activities rather than injected brine composition [
9,
26].
The reconciliation of injected and equilibrium salinity lies in recognizing that wettability alteration operates at the pore scale, where nanoscale surface reactions override bulk fluid properties. Field-scale implementations must, therefore, prioritize ion-specific optimization (e.g.,
ratios) over bulk salinity reduction, as demonstrated by the 12–15% recovery gains in Ghawar carbonates [
4]. By associating TBP with the equilibrated ionic environment, the model addresses the salinity paradox, offering a framework aligned with experimental observations and theoretical principles [
21].
This research offers a more refined analysis of the relationship between injected and equilibrium salinity by explicitly considering the dynamic interplay of geochemical reactions and multiphase flow. This allows for a more accurate prediction of optimal injection strategies, bridging the gap between pore-scale mechanisms and field-scale implementation. This shift from fixed brine design to dynamic geochemical equilibrium introduces a methodological adjustment for modeling wettability-driven recovery processes.
Mechanistic Validation
Our findings on wettability alteration mechanisms, as detailed in this work, show significant alignment with the established literature [
43]. While [
43] integrates calcite dissolution as one of the key mechanisms influencing wettability alteration, and our framework also considers its critical impact on geochemical environments, both approaches consistently emphasize ion-specific interactions (
,
) over bulk salinity reduction.
Furthermore, our work strongly corroborates the crucial role of pH elevation (specifically, greater than 7.5) in deprotonating carboxylic groups and its amplification in acidic crude oils (TAN higher than 1 mg KOH/g), factors that [
43] also acknowledges as important in generating further water-wet conditions. Our work explicitly demonstrates the
-mediated displacement of
from calcite surfaces, a mechanism that disrupts
-carboxylate bridging and aligns with the underlying understandings of ion exchange in [
43].
Experimental validation demonstrates that both our approach and that of [
43] successfully replicate core-flood recovery profiles, indicating consistency with experimental data. While our work reports oil recovery improvements commonly observed in the range of 8% to 15% of the OOIP, [
43] explicitly evidences oil adsorption even under same-polarity zeta potentials. Our ionic bridging paradigm, as it is based on a polarity-independent adhesion mechanism, offers implicit support for these observations. Furthermore, our framework extends these results by providing quantified optimal ion thresholds (
: 50–200 mmol/kgw;
: higher than 500 mmol/kgw) and dissolved
effects, furnishing complementary quantitative refinements to the mechanism of how wettability is affected by specific ions.