1 Introduction

Acid gas—the mixture of the fundamental greenhouse gas CO2 and the anaerobically produced H2S—has always been problematic in natural gas and oil fields. Hitherto, a lot of these fields and reservoirs with high acid gas content were left unexplored but rising usage of fossil fuels [1] means a higher percentage of sour fields are now being given more attention [2, 3]. Prominent examples include the Tengiz and the notorious Kashagan fields in Kazakhstan, both with up to 17% H2S and holding the distinction of being the two largest hydrocarbon reserves discovered in some decades. Additionally, two in five unproduced gas reserves are deemed as sour [4], a designation that requires only 4 ppm H2S. As demand for natural gas has steadily increased [5] despite the slight blip caused by the pandemic in 2020 [6], it has become progressively imperative to reconsider these acid gas fields. They will be in play for the foreseeable future because;

  • Natural gas is a lower CO2 emitter compared to other fossil fuels [7, 8]

  • Green and other ‘clean’ hydrogens and emerging new energy sources have not fully broken through yet,

  • The relatively slower advances in the overall clean and renewable energy technologies compared to wholesale demand for energy growth [9],

  • And the urgency of secure energy [10] especially in poorer countries [11].

Because of the effects of global warming—due to the aforementioned rise in fossil fuel utilisation, with the year 2022 coinciding with the highest CO2 emissions from fossil fuel on record at 36.6 billion tonnes [12]—reducing greenhouse gases has become paramount, with methods including looping [13,14,15] and other reduction technologies to convert CO2 [16]. Storage of CO2 in geological receptacles has been identified as the chief management strategy in the effort to combat climate change [17]. The separation of these acid gases from hydrocarbons is essential as both CO2 and H2S are corrosive [18] to equipment, and toxic to humanity and the environment [19] and in the workplace [20] especially in the aqueous form [5]. They also reduce the heating value of natural gas [6]. In addition, the separation of the acid gases is imperative to reach safety [21], sale and transportation benchmarks [22]. Several mechanisms to separate the CO2, H2S or the acid gas from hydrocarbons are available [23] but research into more efficient means to remove acid gas from some industrial processes still ranks very highly [24]. The five most important separation techniques are through absorption [24], adsorption, distillation, membrane separation processes [25] and through the use of hydrates [26]. Some factors that affect the separation technique selection of choice include the amount of acid gas content in natural gas, viscosity, density and economics [27]. In natural gas separation, absorption is by far the most common method deployed, and selectively absorbing the H2S or CO2 usually uses an aqueous amine or a variant in an acid gas removal unit (AGRU). Ionic liquids with high selectivity for either the H2S or CO2 are also employed in some absorption processes [28], sometimes together with alkanolamines because they are chemically and thermally steady, acid gases dissolve well in them and they are inexpensive as well [29]. Membrane-based separation is proposed as being energy efficient compared to amines though there is a threshold of the individual acid gases’ concentration to make the separation effective [30]. Zeolites and other physical adsorbents such as activated carbon (charcoal) and metal oxides are used for low percentage H2S removal [28]. Cryogenic distillation is another such means for separation and has been presented as an alternative to adsorption– and absorption–based products due to less energy and tread required for the large scale removal of undesirable fluids [6]. Metal–organic frameworks (MOFs) are also employed in selective separation [31, 32]. A scheme incorporating both absorption and the hydrate-based separation for high acid gas content has been found to comparatively reduce operating cost [33]. Qayyum et al. [1] provided a systematic listing of various techniques for separating acid gases and other contaminants from natural gas. After separation, the Claus process [34] and its variants like the direct catalytic oxidation [35] can be used to convert the separated H2S into elemental sulphur. The Claus process has always been the traditional option, though it is becoming increasingly unviable economically [36], is generally not adequate as a separation technique in high component CO2 acid gas mix for sulphur production [37], and the use of direct selective oxidation is on the ascendancy [5]. Because of the global push to achieve net-zero by 2050 whereby the emissions of both anthropological and greenhouse gases from natural processes into the atmosphere is basically cancelled out by the greenhouse gases — mainly carbon or carbon equivalent units — removed from the atmosphere, the question arises as to how the captured CO2 and by extension the H2S can be utilised or environmentally disposed of. Typically, CO2 has been used in enhanced oil recovery as a tertiary recovery effort but an increased sour concentration may sometimes render that unfeasible due to a lack of facilities and equipment to accommodate and control the more toxic and corrosive H2S during the acid gas flooding phase to effectively and efficiently displace some of the residual hydrocarbons [38]. An efficient and increasingly cost-effective means is to permanently store the separated and captured acid gas into geological formations [36, 39] including depleted oil and gas reservoirs and saline aquifers, and also gas hydrate reservoirs and formations [40, 41]. The storage and/or utilisation of captured carbon is seen to be among the best measures to realising net-zero/carbon neutrality and mitigating the effects of climate change [42]. Add to that the presence of high-volume H2S and it even lends further credence to store both acid gases together to economically save on costs. Before any geological storage (geosequestration) can take place, an analysis of the security and safety of the injected acid gas must be performed to minimise leakage [43] and ensure long-term containment of the stored gas. Any such analysis involves a wide range of both physical and thermodynamical properties from both fluid–fluid and fluid–fluid-rock interactions, primarily the interfacial tension and contact angles. A knowledge of interfacial properties and phase behaviour is essential in the design of the systems [44] for injection and sequestration. Ideally, the best way to procure these physicochemical properties is directly from formation source or through experiments. But at higher temperatures and pressures, it becomes nearly impossible to perform these experiments or obtain these properties [45], hence an alternate but rigorous and reliable means is required to obtain these parameters. Molecular dynamics (MD) simulation has been proven to be one such theoretical option [46] for collecting and collating data about reservoirs, formations and their characteristics, where data cannot be easily acquired from source, lab tests and experiments [47]. Also, for the interfacial concept which is extensively used in this work, MD presents microscale details that experiments are not capable of affording even under conventional settings [48, 49].

Fluid–fluid and fluid–fluid-rock are the broad factors that affect acid gas geosequestration. This work focuses on the fluid–fluid interactions between the injected acid gas (CO2 and H2S) and the formation water in a depleted oil and gas reservoir. Though most reservoirs have higher CO2 to H2S ratios, and acid gas mixtures usually have a higher mole or volume concentration of CO2 during injection, there are lots of instances where a higher H2S concentration is injected. Machel [50] details one such example where an 85% H2S to 15% CO2 may be injected and could go as high as 95%. Research has shown that in a high mole percentage CO2 acid gas mixture, the CO2 is the controlling agent [51] during geosequestration. This work investigates the effects a higher mole percentage H2S has on the acid gas mixture and the formation water during geosequestration through some fluid–fluid physicochemical parameters. And with issues being faced by pioneering projects such as Sleipner and Snøhvit [52] wherein the former has injected fluids becoming buoyant, escaping from formation fluids and drifting to just underneath the cap rock and the latter’s injection period severely curtailed, this work could potentially aid in a better understanding of molecular interactions during and in the aftermath of geosequestration.

2 Computational models and methods

At isothermal conditions of 77 °C and with pressures ranging from 0.5 to 15.6 MPa, MD simulations were carried out using the Large-scale Atomic/Molecular Massively Parallel Simulator (LAMMPS) MD engine [53]. Table 1 shows the model parameters used in this work (Fig. 1).

Table 1 Force field parameters employed for: water (TIP4P/2005), CO2 (EPM2) and H2S (OPLS and NERD)
Fig. 1
figure 1

Selected parameters as functions of time. a, c and e shows the instantaneous time evolution of selected parameters (temperature, IFT and potential energy for a 30 mol% CO2/70 mol% H2S–OPLS system with 1964 water molecules at 15.6 MPa. b, d, f display the time averages of the selected parameters respectively. MD is built on the premise of the ergodic hypothesis, whereby the ensemble average is equivalent to the time average, assuming the time average is calculated during an equilibrium state. In the time average, it is demonstrable that ~ 2–3 ns is where equilibrium starts but for our purposes, a higher threshold of 5 ns was imposed

Water was modelled with TIP4P/2005 [54] because it encapsulates water’s phase properties and interfacial properties better than most, and due to its interfacial liquid–vapour parametrisation, CO2 by the EPM2 [55] was similarly used in this work. Because of uncertainty especially after saturation pressures are reached, two different H2S models are used, the NERD [56] and the OPLS [57]. All molecular models comprise three Lennard–Jones sites, with the exception of the TIP4P/2005 model, which contains an auxiliary fourth site, located/bonded at the oxygen atom which allows the model to better capture experimental properties. All models used are also rigid molecules, which have been shown to work reasonably well for low molar weight molecules [58] such as are used in this work. Initially, a \({\text{40*40*40{AA}}}^{3}\) box was constructed for both the acid gas and water respectively in the \(Np_{N} AT\) ensemble, with the tacit allowance for only movement (expansion or contraction) in the z- dimension, with all other ensemble parameters kept constant (number of molecules, normal pressure, x- and y- dimensions, and system temperature). This \({\text{Np}}_{{\text{N}}} {\text{AT}}\) simulation was conducted for 2 ns with the first 0.5 ns used as equilibration and the 1.5 ns after for production steps. Once average z- lengths for both acid gas and water were acquired from the \(Np_{N} AT\) ensemble simulation, both water and acid gas were coalesced together with the water slab in the middle sandwiched between two clusters of acid gas Fig. 2(a), with the modified z- length the sum of the new water and twice the new acid gas z- lengths.

Fig. 2
figure 2

Snapshots of before and after simulation boxes. above shows a before and after simulation captured at 77 °C and 15.6 MPa with 1964 water molecules in the centre shoehorned between two slabs of high H2S acid gas mixture each containing 189 CO2 molecules and 441 H2S molecules. The after shows a smattering of acid gas being absorbed into the water stream while the water’s coverage area also widens

This composite, which is a box of size \({{40*40*({\text {Modified z -}} )\text{\AA}}}^{3}\) was then run in the \(NVT\) ensemble for 20 ns, the first 5 ns for equilibration and the final 15 ns for production from which analysis is undertaken Fig. 2(b). In all three dimensions, periodic boundary conditions were employed to remove artifacts. Both \({\text{Np}}_{{\text{N}}} {\text{AT}}\), and \({\text{NVT}}\) (constant number of particles, volume and temperature) used a timestep of 1.0 fs and the Newtonian equations of motion were integrated using the Velocity Verlet algorithm. The dispersive Lennard–Jones (LJ) 12–6 and the electrostatic long-range Coulombics were modelled with the combined equation;

$$\phi_{{{\text{ij}}}} \,\,(r_{{{\text{ij}}}} ) = 4\varepsilon_{{{\text{ij}}}} \left[ {\left( {\frac{{\sigma_{{{\text{ij}}}} }}{{r_{{{\text{ij}}}} }}} \right)^{12} - \left( {\frac{{\sigma_{{{\text{ij}}}} }}{{r_{{{\text{ij}}}} }}} \right)^{6} } \right] + \frac{{q_{{\text{i}}} q_{{\text{j}}} }}{{4\pi \varepsilon_{0} r_{{{\text{ij}}}} }}$$
(1)

where \(\varepsilon_{ij}\) represents the interaction energy depth between the pair particles i and j, \(\sigma_{{{\text{ij}}}}\) is the distance between the particle pair i and j when their LJ potential energy is zero, \({\text{r}}_{{{\text{ij}}}}\) is the interacting distance between the pair particles i and j, q is the point charge and \(\varepsilon_{0}\) is the vacuum permittivity. Nonbonded interactions’ cutoff distance was set for both LJ and long-range coulombics at 12Å. The Nose–Hoover thermostat [59, 60] was used to constrain temperatures at the isothermic 77 °C (350 K) and barostat for each of the individual pressures as well. The LJ parameters for nonbonded pairwise unlike atomic interactions were rendered using the Lorentz-Berthelot mixing rules [61]. Long-range electrostatic interactions for the \({\text{Np}}_{{\text{N}}} {\text{AT}}\) ensemble were modelled with Ewald summations [62] whereas the particle–particle-particle-mesh (PPPM) [63], a slightly less accurate but computationally an economical method was used for the longer \(NVT\) ensemble runs. Both Ewald sums and PPPM had a relative error of 10–5 kcal/mol. All bonds and angles with the exception of the 180° O–C–O angle were constrained with the SHAKE algorithm [64]. A high angle-breaking constant was applied to the O–C–O angle instead to avoid errors introduced by the SHAKE algorithm on straight line angles [65].

3 Results and discussion

3.1 Acid gas simulation process controls

These metrics serve to reassure that the simulations are being performed in the right manner. The pure acid gas simulations were rendered in the \(Np_{{\text{N}}} AT\) ensemble at a constant temperature (77 °C) and over fourteen pressures ranging from 0.5 to 15.6 MPa. They were then compared to NIST experimental and state-of-the-art equations [66]. Fig. 3(a) and (b) show the convergence of the total pressure and z-directional pressures respectively to the NIST baselines. It is evident that the lower pressures have very low standard deviations, or very little fluctuations from the pressure ideal. As pressures increase, and especially after both H2S and CO2 change phase, the pressure oscillations increase. This is more so for the higher H2S acid gas mixtures, especially the NERD model. Conversely, the temperature reaches convergence easily at the higher pressures Fig. 3(c), (d) is not a simulation control but a measure of the average size of the fluctuating z-dimension and its impact on the simulation dynamics. Crucially, all size lengths are within an error bar of each other before phase change occurs. Then, after phase change, in a like-for-like model, higher CO2 to higher H2S acid gas mixture comparison (70 mol% CO2/30 mol% H2S–NERD model compared to 30 mol% CO2/70 mol% H2S–NERD and 70 mol% CO2/30 mol% H2S–OPLS model compared to 30 mol% CO2/70 mol%HS–OPLS), the higher CO2 acid gas mixture has a greater length, hence volume. This is due to the force field parametrisation issue alluded to in a prior section of this work, which is magnified especially after components reach saturation pressures.

Fig. 3
figure 3

Process controls. above shows initial simulations of the acid gas conducted in the \(Np_{{\text{N}}} AT\) ensemble. a system pressure. b normal pressure. c system temperature and d length of z, \(L_{z}\). At 77 °C, H2S changes phase from gas to liquid at 6.01 MPa and CO2 changes from a gas to a supercritical fluid at 7.38 MPa

3.2 IFT

The simulation interfacial tension, \(\gamma\), was calculated from the Kirkwood-Buff equation [67] as both a function of z- length and simulation time thus;

$$\gamma (L_{{\text{z}}} ,t) = \frac{1}{n}\int_{0}^{{L_{{\text{z}}} }} {\left( {p_{{{\text{zz}}}} (z) - \frac{{p_{{{\text{xx}}}} (z) + p_{{{\text{yy}}}} (z)}}{2}} \right)} dz$$
(2)

For which \(p_{{{\text{xx}}}} (z)\), \(p_{{{\text{yy}}}} (z)\) and \(p_{{{\text{zz}}}} (z)\) represent the pressure components in the stated dimensions and all are functionally dependent on the z- dimension, n is the number interfaces—two—and \(L_{z}\) is the length of the z- dimension. These calculations were carried out from the \(NVT\) ensemble which incorporated both water and the acid gas mixture. At low pressures, both injected fluids are gases but as pressures increase, phases change and the injected fluids become denser. This increase in density serves to reduce the IFT as an increase in the concentration of the injected fluid results in a decrease in the IFT [68]. This has been attributed to the increased interface roughness resulting from increased fluid mobility due to the increased mass concentration of the injected fluids resulting in a more profound impact at the interface of injected fluids [69], which is in agreement with le Chatelier’s principle. Comparing the two simulated 70 mol% CO2/30 mol%H2S models to the experimental 70 mol% CO2/30 mol% H2S values [70] as shown in Fig. 4, it is clear that both simulated models diverge from the experimental data, especially after both H2S and CO2 change phase. This usually is due to parametrisation not taking into account certain atomic/molecular properties [71] or because as parametrisation usually is done for an atom or molecule in a vacuum, the combination of different molecules in a binary or ternary mixtures usually exposes the shortcomings in the individual potential parameters. The employment of rigid models could also have a limiting effect due to the fused momentum of atoms and/or molecules, and this is more noteworthy once molecules reach saturation pressures and results diverge from experimental values as shown in this work. But they are still preferred to flexible models, which while not passing over the atomic/molecular geometrical flexibility, could increase computational processing up to four times [72] and have also been classified as being more trouble than they’re worth [73]. Perhaps MD biggest drawback may be its inability to incorporate quantum and electronic effects into molecular interactions but it is still reasonably appropriate when applied to simple fluids and physical systems such as used in this work. Cut-off lengths may also influence other pressure-derived quantities [74]. However, using a like-for-like model comparison, both 30 mol% CO2/70 mol% H2S simulated values estimate lower IFTs than the 70 mol% CO2/30 mol% HS. The lower IFT values indicate that the higher H2S acid gas mixture is more amenable to being miscible with the formation fluids than the higher CO2 acid gas mixture [75]. In other words, the higher the H2S content, the more hydrophilic the acid gas mixture becomes since H2S is only slightly more polar than CO2, which is nonpolar, and the more polar a surface is, the more hydrophilic it is [76]. It also is possible for hydrophobic surfaces to have a reduced IFT when their polarity increases [77]. This lowered IFT in high H2S acid gas mixture is also in agreement with the literature [70].

Fig. 4
figure 4

Comparative interfacial tensions. above shows interfacial tension calculated at 77 °C from the \(NVT\) ensemble for the different model combinations and compared to experimental values, for which only the higher CO2 acid mixture data are available. At 77 °C, H2S changes phase from gas to liquid at 6.01 MPa and CO2 changes from a gas to a supercritical fluid at 7.38 MPa

3.3 Density profiles, interfacial thickness

The Gibbs adsorption isotherm is used, which in spite of its shortcomings for certain fluids [78], still figures prominently in interfacial research. Two density profiles were calculated. The first Fig. 5) involved fitting the water density profile to the hyperbolic tangent function [79];

$$\rho \left( z \right) = \frac{{\rho_{l} + \rho_{v} }}{2} - \frac{{\rho_{l} - \rho_{v} }}{2}\tanh \left[ {\frac{{2\left( {z - z_{0} } \right)}}{\delta }} \right]$$
(3)
Fig. 5
figure 5

Centre-of-mass density profiles. above shows density profiles calculated from the \(NVT\) ensemble using the hyperbolic tangent function for the formation water at 77 °C and compared to simulated water/vacuum system using the centre-of-mass slant

For which the \(\rho_{{\text{l}}}\) and \(\rho_{{\text{v}}}\) are the liquid and vapour phase densities respectively, the interfacial thickness of the Gibbs adsorption isotherm is represented by \(\delta\) and Gibbs dividing plane which is normal to the interface is \(z_{0}\). Density distributions were calculated by splitting the z- dimension into small, \(1{\text{\AA}}\) bins. Pure water and its vacuum were simulated and compared to both cases of higher CO2 and higher H2S acid gas mixtures. In all the five pressure instances, from 0.5 to 15.6 MPa, the water/vacuum simulation showed a much higher density, especially at the higher pressures. The lesser water density in the non-[water/vacuum] simulations is due to the absorption of some of the water into the acid gas stream. Figure 6 shows a much closer look at the profiles. At 0.5 MPa, the two higher H2S acid gas mixtures have the smallest water coverage widths. The 4.8 MPa does not show any difference between all simulated mixtures. From 6.2 MPa onwards—when phase changes kick in—it is clear that the simulated water has the lowest interfacial thickness, but that the 30 mol% CO2/70 mol% H2S–OPLS model exhibits a wider thickness which indicates a much larger acid gas coverage at the water interface, hence more interactivity with the formation fluids.

Fig. 6
figure 6

Right-of-centre-mass density profiles. shows an in-depth look from the right-of-centre-mass at the density profiles calculated from the \(NVT\) ensemble for the formation water at 77 °C and compared to simulated water/vacuum system using the centre-of-mass approach

As other studies have shown, the wider the interfacial coverage area, the lower the IFT [51]. Figure 7 also demonstrates that the 30 mol% CO2/70 mol% H2S–OPLS has a much higher interactivity with the formation fluids than the other models/simulations.

Fig. 7
figure 7

Interfacial thicknesses for the water/acid gas interface. above shows an overview of calculated interfacial thicknesses from the \(NVT\) ensemble for the water/acid gas interface at 77 °C compared to simulated water/vacuum system. At 77 °C, H2S changes phase from gas to liquid at 6.01 MPa and CO2 changes from a gas to a supercritical fluid at 7.38 MPa

A look at the raw, unfitted density profiles for both water and the acid gas Fig. 8) shows that the model densities are all very similar except for the highest pressure, 15.6 MPa. The 30 mol% Co2/70 mol% H2S–NERD shows a much denser acid gas compared to all other simulations. The lack of a genuine progression in the 30 mol% Co2/70 mol% H2S–NERD density from earlier, lower pressure simulations all the way to the 15.6 MPa makes the sudden spike at 15.6 MPa look like an outlier.

Fig. 8
figure 8

Raw, unfitted density profiles calculated from the \(NVT\) ensemble for the water, acid gas, and acid gas constituents (CO2 and H2S) using the centre-of-mass outlook

3.4 Density

A density analysis was also carried out to better understand the effects of the individual molecules—water, CO2 and H2S—involved. Figure 9(a) shows the \(Np_{N} AT\) simulation of the acid gas. All four simulations are within an error bar of each other at low pressures until after 7.5 MPa, at which point both injected fluids would have changed phase. The 30 mol% CO2/70 mol% H2S–NERD model strongly diverges and increases steeply in density, much further removed from the other three. In a like-for-like model comparison, it is important to note that the higher H2S acid gas OPLS model (30 mol% CO2/70 mol% H2S–OPLS) has a higher density after 7.5 MPa compared to the higher CO2 acid gas OPLS model (70 mol% CO2/30 mol%H2S–OPLS). Because acid gas geosequestration is usually carried out at temperatures and pressures aligned with the compressed gas’s transportation conditions [80], the higher density has crucial implications especially in supercritical conditions for which we make observations from the simulations. Figure 9(b) shows the four NVT simulations of the water-acid gas combination against water. The higher H2S acid gas mixture NERD model displays a higher density compared to all others once again. As alluded to earlier, this looks more like an outlier especially when compared to the experimental values and can be pinned as a model parametrisation issue. But the most important takeaway is that both higher H2S acid gas mixture models are denser than their higher CO2 acid gas mixture counterparts. A breakdown of the individual contributions of the acid gas constituent components in Figure. 9(c) and (d) is revealing, demonstrating the predominance of the 30 mol% CO2/70 mol% H2S–NERD model and its effects on the overall simulation. Figure. 9(e) is a validation simulation for the TIP4P/2005 water used in this work and Figure 9(f) shows the water level after \({\text{NVT}}\) simulation. The main observation here is that the higher H2S acid gas mixture models have the lowest water densities. This is due to a predisposition towards more interactivity between the water and the higher H2S acid gas mixture molecules, as shown by the wider interfacial thickness and coverage area in Fig. 7 and their tendency towards being more miscible/being absorbed into the water stream.

Fig. 9
figure 9

Different component densities. above shows densities for various constituent molecular components calculated at 77 °C over wide ranging pressures. a the \(Np_{N} AT\) ensemble simulation of only the acid gas. b a comparison of both higher CO2 and higher H2S acid gas mixtures to a higher CO2 experimental [70] acid gas mixture from the water/acid gas \(NVT\) ensemble simulation. c the effect of the constituent CO2 in both higher and lower CO2 acid gas mixtures from water/acid gas \(NVT\) ensemble simulation. d the effect of the constituent H2S in both higher and lower H2S acid gas mixtures from water/acid gas \(NVT\) ensemble simulation. e a validation run in the \({\text{Np}}_{{\text{N}}} {\text{AT}}\) ensemble for the TIP4P/2005 water model compared to experimental [70]. f the effects of the acid gas on water after \(NVT\) ensemble simulation. At 77 °C, H2S changes phase from gas to liquid at 6.01 MPa and CO2 changes from a gas to a supercritical fluid at 7.38 MPa

3.5 RDF

The radial distribution function (RDF) is practical for revealing insights into the structure of the sequestered fluids in the presence of formation water. It is calculated by the formula;

$$n_{{{\text{AB}}}} = \int_{r}^{r + dr} {4\pi \rho_{{\text{B}}} r^{2} g_{{{\text{AB}}}} \left( r \right)dr}$$
(4)

where \(n_{{{\text{AB}}}}\) represents the number of B entities packed around the target A entity in the distance \(dr\), \(g_{{{\text{AB}}}} \left( r \right)\) is the pair distribution function as a function of radial distance and the number density of entity B is \(\rho_{{\text{B}}}\).

The ability to form dipole–dipole interactions, including hydrogen bonding, can alter the polarity of a molecule [82] and this is what happens in this context. CO2, a nonpolar molecule, through the carbon atom’s interaction with the highly electronegative oxygen atom of water, is the dominant interaction during the acid gas injection/sequestration process as the other RDF functions have very little or no dipole–dipole interactions at all. In fact, the \({\text{O}}_{{{\text{H}}_{{2}} {\text{O}}}} \cdots {\text{H}}_{{{\text{H}}_{{2}} {\text{S}}}}\) interaction, represented by the pair function \(g_{{{\text{oh}}_{{\text{s}}} }}\) in Fig. 10(e) to (h) shows some hydrogen bonding tendencies especially in the short but demonstrably visible first peaks of the OPLS models, which then proceed to plateau in the second hydration shell. The NERD models have ostensibly lower peaks than the OPLS. Comparably lower/shorter peaks are produced by associated higher orbital/hydration shell energies. The \(g_{{{\text{o}}_{{\text{c}}} {\text{h}}}}\) function Fig. 10(i) to (l) of the \({\text{O}}_{{{\text{CO}}_{{2}} }} \cdots {\text{H}}_{{{\text{H}}_{{2}} {\text{O}}}}\) interaction is uniform all through and similarly, has hydrogen bonding length as the \({\text{O}}_{{{\text{H}}_{{2}} {\text{O}}}} \cdots {\text{C}}_{{{\text{CO}}_{{2}} }}\) but not as strong a first peak. \(g_{{{\text{o}}_{{\text{c}}} {\text{h}}_{{\text{s}}} }}\) of the \({\text{O}}_{{{\text{CO}}_{{2}} }} \cdots {\text{H}}_{{{\text{H}}_{{2}} {\text{S}}}}\) interaction Figure 10(m) to (p) shows a strong first peak associated with strong hydrogen bonding but the absence of a second hydration shell and the disintegration/deceleration to unity of the pair distribution function is prototypical real gas behaviour. The \({\text{S}}_{{{\text{H}}_{{2}} {\text{S}}}} \cdots {\text{LH}}_{{{\text{H}}_{{2}} {\text{O}}}}\) interactions are conveyed by the \(g_{{{\text{sh}}}}\) function Figure. 10(q) to (t). Both OPLS and NERD models resolve the interactions differently. Whereas the NERD model is shorter, flatter and broader at both first (~ 4 Å) and second (~ 6.7 Å) hydration shells, the OPLS model’s first peak is a shoulder (~ 2.5 Å). Devoid of this shoulder, both possess the hydrogen bonding tendencies we have come to associate with most of the interactions.

Fig. 10
figure 10

The distribution for five different pair functions of pressures above shows the distribution for five different pair functions [\(g_{oc} (r)\), \(g_{{oh_{s} }} (r)\), \(g_{{o_{c} h}} (r)\), \(g_{{o_{c} h_{s} }} (r)\) and \(g_{sh} (r)\)] as functions of the five focal pressures at 77 °C. a to d show the \(g_{{{\text{oc}}}}\) function, which is a relationship between \(O_{{{\text{H}}_{{2}} {\text{O}}}} \cdots C_{{{\text{CO}}_{{2}} }}\). All four cases demonstrate very strong dipole–dipole interactions, akin to the main dipole–dipole force, hydrogen bonding, which is represented by a well-built first peak. The peaks get stronger with increasing pressures as lower gas levels associated with increasing pressure reduces the associated ‘noise’. Another measure of the strength of the hydrogen bonding is through the distance between the first and second hydration shells. Analyses of all the four \(g_{{{\text{oc}}}}\) lengths Fig. 11) show that they measure ~ 2.7 Å, which is right at the beginning of the typical hydrogen bond length range of 2.7–3.3 Å [81]

Fig. 11
figure 11

Strong dipole–dipole interactions, mimicking hydrogen bonding between oxygen of water and carbon of CO2. Above gives a closer look and measurement of the strong dipole–dipole forces prevalent among all four \(g_{{{\text{oc}}}} \,\,(r)\) pair distribution functions, which represent the interaction between \(O_{{H_{2} O}} \cdots C_{{CO_{2} }}\)

4 Conclusion

Acid gases—predominantly CO2 and H2S—are problematic in many industries especially in oil and gas. Due to their negative effects, it is imperative that they be separated from the hydrocarbons. After separation, the acid gas mixture, which for the most part contains more CO2 than H2S, is either utilised in processes such as enhanced oil recovery (EOR), or geologically stored (geosequestered). But as more sour reservoirs are discovered and explored, it becomes important to understand the effects a higher H2S acid gas mixture will have during the injection and geosequestration process into the depleted oil and gas reservoirs. However, due to reservoir and formation conditions not being ideal for obtaining data first-hand, there is the need to apply an alternative but reliable means to secure data from geosequestration process. To that end, we performed molecular dynamics simulations to investigate key fluid–fluid parameters such as interfacial tension, interfacial thickness, absorption and adsorption, density and radial distribution function. The analyses found that it is harder for pressures in the higher H2S acid gas mixture models to converge in the \(Np_{N} AT\) ensemble, and that the higher CO2 acid gas mixture has greater volume comparatively. Furthermore, while interfacial tensions diverged from experimental values especially at high pressures after phase change, in general, the higher H2S acid gas mixture has lower interfacial tension relatively, hence it is more hydrophilic compared to the higher CO2 acid gas mixture and ideally better suited to mix or be absorbed into the formation water stream. From the density and density profiles, the higher H2S acid gas mixture also shows a higher interactivity with the formation fluids as shown by wider water coverage width and greater interfacial thickness. While a breakdown of the constituent acid gases’ density reveals the outsize influence of H2S on the higher H2S acid gas mixture compared to CO2’s influence on the higher CO2 acid gas mixture, an examination of the radial distribution function demonstrates that the interaction between the oxygen of water and carbon is the strongest among all pairs and this is due to the strong electronegativity of the oxygen atom leading to strong dipole–dipole interactions very similar to hydrogen bonding between them. For benchmarking purposes, the OPLS H2S model appears to be a better fit for simulation purposes, showing IFTs closer to the experimental values, wider interfacial coverage area which results in a lower interactive density compared to the NERD model. In regard to the ongoing complications at both Sleipner and Snøhvit, this work sheds light on some of the subterranean fluid–fluid interactions and could potentially help in the management of acid gas injection operations in particular and fluid geosequestrations at large.