Speaker
Description
Salt precipitation during CO2 storage in saline aquifers can plug the injection well and disrupt the storage process. Reactive transport modelling involving geochemistry in porous media, especially relevant to salt precipitation in CO2 storage processes in brine aquifers, is very proprietary and restricted to some commercial simulators. On the other hand, powerful open-source CFD (Computational Fluid Dynamics) simulators such as OpenFOAM are lacking a geochemistry modeller at the large (i.e., Darcy) scale. Although there is a package at the pore scale that couples flow transport in OpenFOAM with geochemistry in PHREEQC [1], a salt precipitation solver is still missing at both scales.
Through this research project, we have been working on developing an open-source solver in OpenFOAM that can cover the gap mentioned above. For this aim, we previously published a new OpenFOAM solver based on C++ (compositionalIGFoam) in InterPore 2024 [2] and released an update to this solver (idealCompositionalFoam) in InterPore 2025 [3]. These codes are able to account for the CO2 / water mutual solubility (CO2 dissolution in water and water evaporation in CO2) in CO2 storage processes in aquifers. In these codes, the impesFoam solver of the PorousMultiphaseFoam (PMF) package [4] in OpenFOAM was modified to account for the compositional interactions between liquid and gas phases . In this study, we have incorporated geochemistry (to clarify, salt precipitation) to the previous package. So, a 3-phase (gas / liquid / solid) 4-component (CO2 / H2O / Na+ / Cl-) model, called darcyCompositionalFoam, is developed.
The base code of this new package is not impesFoam, but it is coupledMatrixFoam [5]. This change of base code is to benefit from the advantages that this solver offers, as it accounts for fluid compressibility and also a solution for species transport equations. So unlike our previous codes, there is no need to develop a species transport equation in this solver. Additionally, because coupledMatrixFoam adopts a fully coupled approach between pressure and saturation, it is not bound to IMPES time-step limitations and can take up higher time-steps. Therefore, the runtime is reduced and speed is increased.
In this work, we further developed coupledMatrixFoam solver and incorporated a compositional model in this fluid transport modeller by adopting a segregated approach; This means that after each transport stage, an equilibration is conducted between all the 3 phases in the same timestep to incorporate a geochemistry module to the previous involved phenomena. A stability analysis is performed, and all the possible solid/liquid, liquid/gas and gas/liquid/solid equilibriums are investigated.
The validation of darcyCompositionalFoam was conducted against CMG-GEM commercial compositional simulator. The salt precipitation profile along a brine-saturated core model during CO2 injection was simulated and a great match was obtained (see Attachment). The contribution of this study is twofold; firstly, an open-source salt precipitation code with the precision of a commercial simulator is developed; and secondly, it pushes fluid flow modelling in porous media in OpenFOAM one step forward. Therefore, this work contributes to the advancement of knowledge in this field.
| References | [1] Maes J, Menke HP. GeoChemFoam: Direct modelling of multiphase reactive transport in real pore geometries with equilibrium reactions. Transport in Porous Media 2021;139(2):271–99. [2] Papi A, Jahanbakhsh A, Maroto-Valer MM. compositionalIGFoam, a new Darcy-scale compositional solver in OpenFOAM for CO2 / water interactions in CO2 storage processes in aquifers. InterPore 2024 - 16th Annual Meeting & Conference Courses. Qingdao, China; 2024:695–7. [3] Papi A, Jahanbakhsh A, Gabriel MM, Maroto-Valer MM. idealCompositionalFoam: An extension to the Darcy-scale compositional solver in OpenFOAM. InterPore 2025. USA; 2025. [4] Horgue P, Soulaine C, Franc J, Guibert R, Debenest G. An open-source toolbox for multiphase flow in porous media. Computer Physics Communications 2015;187:217–26. [5] Lange R, Magalhães GM, Rocha FF, Neto HR. coupledMatrixFoam: a foam-extend-based fully-implicit solver for heterogeneous porous media. arXiv preprint arXiv:250119076 2025. |
|---|---|
| Country | United Kingdom |
| Student Awards | I would like to submit this presentation into both awards |
| Acceptance of the Terms & Conditions | Click here to agree |








