Black-oil model¶
The hydrogen-brine black-oil formulation follows
[AMRN24]. It represents two phases and two
pseudo-components: an aqueous phase dominated by the heavy brine
component, and a gas phase dominated by the light hydrogen component.
The historical MRST oil phase label denotes brine here, not petroleum.
Unlike the Compositional model, this formulation uses tabulated phase properties and mutual-solubility ratios rather than solving a multicomponent EOS flash during flow. It is suitable for the supplied hydrogen-brine Hydrogen storage in saline aquifers and Anticlinal hydrogen storage workflows, but does not resolve a changing H2/CO2/CH4 gas mixture.
PVT variables and surface conditions¶
The formulation assumes surface reference conditions at which the aqueous and gas components can be represented separately. Let \(\rho_b^s,\rho_h^s\) be their surface mass densities. The inverse formation-volume factors \(b_l,b_g\), solution ratio \(R_s\) and vaporization ratio \(R_v\) give the reservoir phase densities:
\(R_s\) is the volume of liberated surface gas per volume of remaining surface brine when reservoir liquid is brought to surface conditions. \(R_v\) is the condensed surface-liquid volume per surface-gas volume from the reservoir gas. Both are volume ratios using the same reference conditions as the component densities.
The corresponding component mass fractions are
Brine mass fractions follow from \(w_{b,\alpha}=1-w_{h,\alpha}\). Setting \(R_s=R_v=0\) gives the immiscible limit. The enabled dissolution/vaporization options and interpolation of undersaturated properties must match the supplied tables.
Component balances¶
Using surface-equivalent component volumes, the brine and hydrogen balances are
Here \(\phi=\phi_0 m_\phi\) can include a pressure-dependent pore-volume multiplier \(m_\phi\). The sources \(q_b^s,q_h^s\) are surface volume per bulk reservoir volume per second. Multiplication by the respective surface density converts each equation to a component mass balance. Sources are positive for injection; this choice is equivalent to moving a positive sink term from the left side of the paper’s balance to the right.
The liquid and gas velocities obey
with
We use the gas-minus-liquid capillary-pressure convention on these pages. A paper, deck or fluid function using liquid-minus-gas pressure needs the corresponding sign conversion. Relative permeability, capillary pressure, rock regions, initial state and boundary/well controls complete the problem.
The selected aquifer case enables hydrogen dissolution and disables vaporized water, so \(R_v=0\) there. Dissolved hydrogen moves with liquid and remains part of the total hydrogen inventory. During pressure decline it can exsolve; dissolution is not an irreversible reaction. MRST handles the appropriate saturated/undersaturated states and phase appearance/disappearance.
Molecular diffusion¶
The paper also considers component diffusion. A phase-wise Fickian description uses
The effective coefficient includes the selected pore-space/tortuosity factors. To add such a mass flux to a surface-volume balance, divide it by the corresponding component surface density:
The selected 2D aquifer gallery disables diffusion. Its PVT dissolution therefore must not be interpreted as evidence that molecular diffusion is active. The corrected compositional diffusion implementation is described separately in Compositional model.
From phase behavior to flow tables¶
The practical route is to evaluate gas-liquid partitioning with the selected property model, combine it with component density/viscosity data, and generate matching black-oil tables. Phase behavior and fluid properties explains the thermodynamic closure; Thermodynamics and PVT tabulation provides the runnable tabulation example.
The available ePC-SAFT values are bundled reference data, not a live solver shipped with H2sim. This distinction matters when reproducing the paper’s property comparisons.
Implementation and examples¶
modelForSimple2DAquifer:
GenericBlackOilModel, aqueous/oil-slot mapping, dissolution and gravity.Hydrogen storage in saline aquifers: layered aquifer, operating schedule, inventories and surface-equivalent dissolved-hydrogen metric.
Anticlinal hydrogen storage: anticlinal storage and dissolution options.
Discretization and coupling: finite-volume residuals, upwinding, Newton iterations and well controls.