Introduction

Produced water is a major waste product associated with oil and gas extraction. In general, more waste water is produced than oil with a water/oil volume ratio of ~ 31, and every day more than 100 million barrels of produced water1 are discharged into the environment2. Produced water contains a complex mixture of metals, salts, total dissolved solid, hydrocarbons, and chemical additives used during stimulation and extraction processes. The chemical composition of produced water varies depending on geographic locations, geochemistry of formations, extraction methods, and reservior types (conventional vs. unconventional)3. Many metals in produced water are toxic and cause a major environmental problem, especially naturally occurring radioactive materials including 232Th, 238U, 226Ra, 210Pb, and 137Cs4. Due to the complexity of metal partition between geological materials (kerogen and minerals) and fluids, it remains challenge to quantify the source of metals in produced water and develop a strategy to minimize the amount of toxic metals released into produced water.

Kerogen is the largest organic pool on earth. Kerogen is responsible for oil and gas generation, storage, and transport. Numerous molecular studies have focused on CO2, CH4, and water adsorption on kerogen5,6, the associated chemo-mechanical coupling (e.g., swelling)7,8, self-diffusion of gas in kerogen matrix9,10, and oil/gas flow through kerogen matrix or nanoscale slits11,12,13. However, molecular level understanding of metal adsorption onto kerogen remains elusive. Kerogen is known to concentrate heavy metals due to its high affinity for metal adsorption and complexation14. For example, Mo is found to be trapped in sulfur-rich organic matter15. As, Cd, Cr, Co, Cu, Fe, Mn, Ni, Pb, and V are found in Niger delta kerogen16. Ni, Mo, Ti, and Cr are generally associated with organic matter (e.g., humic acid) in Australian deposits and New Albany Shale of Indiana17,18. Similarly, in engineered materials19, such as zeolitic imidazolate framework (ZIF-8)20 and zinc imidazole salicylaldoxime supramolecule (ZIOS)21, chemical bonding of metals (e.g., Cu, Zn) with O and N atoms is explored for capturing metals from aqueous solutions. In addition, drilling and completing fluids in oil and gas industry may contain metal compounds, e.g., cesium formate22, barite (BaSO4) with trace Zn, Cu, Hg, Fe, Cd, and Cr metals23. These compounds may interact with kerogen during an operation.

The association of metals with kerogen can be categorized into two groups: (1) metals/metal clusters deeply embedded in kerogen structures and (2) metals adsorbed on kerogen surfaces (or pore surfaces). In this work, we will focus on the latter, because they are more liable to release upon a change in solution chemistry and therefore, to a larger extent, affect the dissolved metal concentrations in produced water. Unfortunately, the adsorption of metal ions onto porous kerogen surfaces is poorly characterized. Such adsorption is facilitated by the significant presence of aqueous solution in kerogen nanopores24. The imbibition of aqueous solution into porous kerogen structure depends on kerogen hydrophobicity25 and kerogen can be a hydrophilic material26,27. Kerogen maturation reduces H/C and O/C ratios over time and therefore increases the hydrophobicity of the material28,29. It is thus of interest to study a possible effect of kerogen maturity on metal adsorption in oil/gas reservoirs.

To curtail the amount of water used in hydraulic fracturing and the amount of water produced in an operation, as well as to use the same stimulation process for subsurface carbon sequestration, supercritical CO2 (scCO2) has been proposed as a fracking fluid or an enhanced oil/gas recovery agent. Upon injection, scCO2 adsorbs onto kerogen structures and displaces CH4 and oil30. The adsorbed scCO2 remains locked in nanoporous kerogen structures. Many studies have demonstrated that injected scCO2 may cause dramatic changes in wettability of kerogen26,31. In this communication, we will investigate how the scCO2 injected would affect metal adsorption on kerogen surfaces. We will conduct molecular dynamics simulations for the metal adsorption on overmature and top of the oil window kerogen (type IID and IIB, respectively)32 in the presence or absence of scCO2. We will show that injection of scCO2 may greatly enhance the release of adsorbed metals from kerogen surface. The work presented below will provide the first assessment of the impact of scCO2 on the ion adsorption on kerogen and highlight the importance of kerogen-metal interactions in controlling the quality of produced water and the efficiency of potential in-situ extraction of critical metals from shale or other organic carbon-rich formations such as coal. Different from the current research theme related to kerogen, which focuses mainly on oil/gas adsorption and transport, the work presented will emphasize metal-kerogen interactions under an influence of scCO2.

Method

Simulation snapshots provided in Fig. 1 illustrate the model setup for simulating Cu2+, Cs+, Cl, and OH adsorption onto a porous kerogen surface in the presence or absence of scCO2. Cu2+ and Cs+ ions were selected to represent common metal cations found in produced water4. Overmature and top of the oil window kerogen structural models (type IID and IIB, respectively)32 were used in our simulations. The chemical formulas for kerogen IIB and IID are C234H263O14N5S2 and C175H102O9N4S2, respectively. The kerogen surfaces in Fig. 1 were constructed in our previous work14. There are –OH functional groups in kerogen. However, for simplicity, no protonation/deprotonation would be allowed in the simulation (i.e., the kerogen surfaces remained to be charge neutral). No information is available on surface protonation/deprotonation of kerogen. The point of zero charge of other alike natural carbon materials such as algae and coal charcoals were found to be close to neutral pH33. Therefore, the assumption of no surface protonation/deprotonation may be a reasobale approximation of an actual system. The composition, number of molecules, and simulation box size for all simulations are reported in Table 1. Water molecules were initially placed near the surfaces and ions were randomly distributed in water. For the systems without scCO2 (Fig. 1A), simulations were conducted in the NVT (constant number of atoms, volume, and temperature) ensemble, with a vacuum volume in the simulation box. CO2 molecules were then filled in the vacuum volume to create the systems with scCO2 (Fig. 1B) to study the effect of scCO2 on ion adsorption. With the presence of scCO2, the simulations were run in the NPT (constant number of atoms, pressure, and temperature) ensemble with a 200 atm pressure imposed in the z dimension. The temperature was set at 300 K for all simulations. The temperature and pressure were controlled using the Nose–Hoover thermostat34,35. All systems were simulated until an equilibrium condition reaches (e.g., the number of ions adsorbed on a surface is constant). Accordingly, the simulations without CO2 were run for 35 ns, while the simulations with CO2 were run for 60 ns to 90 ns.

Figure 1
figure 1

Simulation snapshots illustrating IID-CuCl2 (A) and IID-CuCl2-CO2 (B) model systems (see Table 1). Color codes: kerogen—silver, water—red, Cu2+—blue, Cl—cyan, and CO2—green. Simulation box size and number of molecules simulated for each system are reported in Table 1. Some water and CO2 molecules can adsorb deeply inside the kerogen porous structure. However, no ion is observed inside the structure due to small pore size.

Table 1 Simulation box size and number of molecules in each simulation system. In the IID-Cu(OH)Cl-CO2 system, kerogen type IID is simulated with Cu2+, OH, Cl, CO2, and H2O. In the IIB-CsCl system, kerogen type IIB is simulated with Cs+, Cl, and H2O.

Water molecules were simulated using a flexible SPC water model36. Cu2+ ion parameters were taken from Babu and Lim37, which accurately reproduce hydration energies. Cs+ and Cl ions were described using Smith and Dang models38,39. Lennard–Jones (LJ) parameters for OH ions are similar to those of a SPC water model, and O charge is − 1.41e and H charge is 0.41e40,41. CO2 molecules were modeled using the TRaPPE force field42. The rigidity of a CO2 molecule was maintained by using the algorithm proposed by Kamberaj43. The CVFF force field44 was used for kerogen (a LAMMPS45 data file containing all force field parameters for the kerogen molecule IID can be found in our previous paper30). The pairwise LJ potential energy was expressed as: \(V_{LJ} = 4\varepsilon \left[ {\left( {\frac{\sigma }{r}} \right)^{12} - \left( {\frac{\sigma }{r}} \right)^{6} } \right],\) where r is the distance between two atoms, ε and σ are the depth of the potential energy well and the distance at which the LJ potential is zero, respectively. LJ interactions among atoms were calculated using the Lorentz-Berthelot mixing rules \(\varepsilon_{ij} = \sqrt {\varepsilon_{ii} \varepsilon_{jj} }\) and \(\sigma_{ij} = (\sigma_{ii} + \sigma_{jj} )/2\). Short range interactions were calculated using a cut-off distance of 10 Å. Long range electrostatic interactions were computed using the PPPM (particle–particle-particle-mesh) solver46. All simulations were conducted using the LAMMPS code45.

Results

Metal adsorption on kerogen surfaces

Figure 2A reports the number of Cu2+ and Cl ions and water molecules as a function of distance to the closest kerogen atoms. These data are obtained for the IID-CuCl2 and IIB-CuCl2 systems (Table 1). Because the kerogen surface is very rough31, the profile of the number of each species from the closest kerogen atoms (instead of the density profile) is the appropriate selection to quantify the adsorption. The results indicate that Cu2+ ions prefer to adsorb as outer sphere complexes (the first Cu2+ peak locates at ~ 4.5 Å away from kerogen atoms, between the first and second water peaks, and the second Cu2+ peak locates at ~ 7.1 Å away from kerogen atoms, beyond the second water peak). The adsorption of Cu2+ ions depends on the interactions of Cu2+ ions with water molecules and with kerogen surfaces. Because the kerogen surface is charge neutral, we expect weak interactions of Cu2+ ions with surface atoms (dominated by C and H atoms). Therefore, Cu2+ adsorption is mainly controlled by its high hydration energy (− 480.4 kcal/mol47) that makes it difficult to strip water molecules from the hydration shell to form an inner sphere complex, thus different from its inner-sphere adsorption on silica and alumina surfaces (inner spheres)48,49.

Figure 2
figure 2

Number of ions (Cu2+ and Cl) and water molecules as a function of the distance to the closest kerogen atoms (A). Comparison of Cu2+ and Cs+ adsorption between kerogen IID (B) and IIB (C) surfaces. Comparison of Cu2+ ion adsorption for the systems with and without OH ions, i.e., for IID-CuCl2 (red) and IID-Cu(OH)Cl (green) systems (D). Comparison of OH and Cl ion adsorption on kerogen IID obtained for IID-Cu(OH)Cl system (E). Cu2+–Cl and Cu2+–OH paring calculated from IID-Cu(OH)Cl system (F).

The results in Fig. 2A also suggest that some Cl ions adsorb closer to kerogen atoms, i.e., as inner sphere complexes (Fig. 3A), as indicated by the first Cl peak locating at 3.75 Å away from kerogen atoms, closer than that for Cu2+ ions, which is consistent with the lower hydration energy of Cl (− 81.2 kcal/mol)47. However, the majortiy of Cl ions adsorb still as outer-sphere complexes as the predominant Cl peak locates at 6.2 Å away from the kerogen surface. The results in Fig. 2A also indicate that there is not any significant difference in the ion adsorption between kerogen IIB and kerogen IID. Compared with kerogen IID, kerogen IIB is less matured and has more funtional groups (e.g., higher O/C, S/C, and N/C ratios)32. Note that these ratios are generally small (e.g., 0.1 for O/C)28, and thus the atoms that an adsorbed ion can “see” on the kerogen surface are mainly C and H. This may be the reason why we do not observe a significant effect of kerogen maturity on ion physical adsorption.

Figure 3
figure 3

Simulation snapshots demonstrating the inner sphere complexes of Cl (A) and Cs+ (B) on kerogen IID surface. See Fig. 1 for the color codes.

In Fig. 2B, C, we compare Cu2+ and Cs+ adsorption on kerogen IID and IIB surfaces. The results for Cs+ ions are obtained for the IID-CsCl and IIB-CsCl systems (Table 1). We observe a low intensity Cs+ peak at 3.75 Å away from the kerogen atoms, suggesting inner sphere adsorption (see a snapshot in Fig. 3B). The Cs+ hydration energy is about − 60 kcal/mol47, much smaller than that of Cu2+ (− 480.4 kcal/mol), thus making it easier to strip water molecules to form inner sphere complexes. However, since Cs+ ions weakly interact with the neutral kerogen surface, the majority of Cs+ ions prefer to locate at the same position of the second water layer on both kerogen IIB and IID. In contrast, Cu2+ ions prefer to avoid the dense water layers and adsorb between the first and the second water layers, or beyond the second water layer.

In Fig. 2D we compare Cu2+ adsorption onto kerogen IID surface from solutions with or without OH ions for the IID-CuCl2 and IID-Cu(OH)Cl systems (Table 1). The results indicate that the first Cu2+ peak observed for IID-CuCl2 system (red lines) diminishes due to the presence of OH ions (green lines). Because of very limited amount of OH ions found near the kerogen surface, compared to Cl ions (Fig. 2E), and because of Cu2+–OH ions paring (Fig. 2F, i.e., more Cu2+ ions pair with OH ions than with Cl ions), the adsorption of Cu2+ ions can be considered as the adsorption of Cu2+–OH pairs. These complexes affect the amount of Cu2+ ions accumulate near the surfaces (e.g., the first Cu2+ peak), but do not affect Cu2+ accumulation far away from the surface (second Cu2+ peak).

Metal adsorption on kerogen surface in scCO2

In Fig. 4A we report the results for IID-CuCl2-CO2 system (Table 1) to eluciate the effect of supercritical CO2 on ion adsorption. Note that CO2 molecules are initially added to the vacuum space in Fig. 1A. During the simulation CO2 molecules diffuse through water and adsorb onto kerogen structure (Figs. 1B, 4B). The results indicate that after CO2 is added, the first and second Cu2+ peaks for the system without CO2 (i.e., IID-CuCl2 system) diminish (red vs. green lines), suggesting that Cu2+ ions desorb from the kerogen atoms. When Cu2+ ions within 6 Å from the kerogen atoms (i.e., the first minimum on the red line, Fig. 4A) are considered, about 78% of the adsorbed cations desorbs from kerogen in the presence of scCO2. When Cu2+ ions within 8.2 Å from kerogen atoms (i.e., the second miniumum on the red line, Fig. 4A) are considered, about 60% of the cations desorbs after scCO2 is introduced. In other words, injection of scCO2 causes the adsorbed Cu2+ ions to desorb from kerogen surfaces. The adsorption of scCO2 on kerogen surface is indicated by a CO2 peak at 3 Å away from kerogen atoms (purple line, Fig. 4A). The purple profile for CO2 also demonstrates the formation of a monolayer of CO2 on a kerogen surface and a futher decrease in the number of CO2 away from the surface due to the limited CO2 solubility in water. When CO2 molecules accumulate near the surface, they partly replace water molecules, leading to the lower intensity water peak (blue line, Fig. 4A vs. blue line, Fig. 2A) and desorption of adsorbed ions (Fig. 4C-F).

Figure 4
figure 4

Number of Cu2+ as a function of distance from the closest kerogen IID surface atoms for the IID-CuCl2 (red line) and IID-IID-CuCl2-CO2 (green line) systems (A). Distributions of water and CO2 molecules are also shown for the IID-CuCl2-CO2 system. The simulation snapshot demonstrates the adsorption of CO2 (green) on kerogen (silver) in aqueous solution (water: red, Cu2+: blue, Cl: cyan) (B). Distribution of Cs+ (C) and Cl (D) ions on kerogen IID in the presence/absence of CO2. Distribution of Cu2+ (C) and OH (D) ions on kerogen IID in the presence/absence of CO2 for IID-Cu(OH)Cl-CO2 system.

The desorption of water from kerogen surface due to scCO2 adsorption was initially reported in our previous work31. The adsorbed layer of scCO2 between water and kerogen surfaces acting like a lubricant to facilitate water flow on the kerogen surfaces. The main reason for a CO2 molecule substitution for a H2O molecule to adsorb on the surface is because CO2 interacts with kerogen surface more strongly than H2O (− 6.2 kcal/mol for CO2 vs. − 4.7 kcal/mol for water)26. The adsorbtion of CO2 also causes the change in wettability of kerogen (i.e., increases hydrophobicity)26. These phenomena were computationally confirmed by other groups50. Note that increasing hydrophobicity of kerogen upon injection of scCO2 can enhance water exclusion, and therefore might futher increase water release (and hence heavy metals). Our current work provides the first assessment of the impact of scCO2 on the ion adsorption, which requires futher experimental investigation.

Conclusions

Using molecular dynamics simulations, we investigated ion adsorption on kerogen surface in the presence or absence of scCO2. Due to weak interactions of ions with neutral kerogen surfaces, the majority of Cu2+, Cs+, Cl, and OH ions adsorb as outer sphere complexes. Some Cs+ and Cl ions adsorb as inner sphere complexes. We also found that the presence of OH ions reduces the number of Cu2+ ions adsorbed due to ion paring. All ions were observed to be desorbed when scCO2 was introduced to the system. For the conditions simulated in this work, we observed that about 60% of Cu2+, 50% Cs+, and 55% Cl within ~ 8 Å from the kerogen atoms desorb when introducing scCO2 into the system. This process on one hand may impact the quality of produced water. On the other hand, it may enhance metal recovery if this process is used for in-situ critical metal extraction from shale or other organic carbon-rich formations such as coal. The work presented here can be extended and validated through adsorption and leaching experiments as well as by quantum-based calculations to further determine the kinetics and thermodynamics of metal adsorption onto kerogen under various scCO2 pressure, environmental temperature, and kerogen maturity.