Selected examples and notebooks

Run the MATLAB commands locally and inspect their saved results in the notebooks. Start with a representative storage or validation case, then use the smaller workflow checks to explore chemistry settings.

Storage in saline aquifers

2D aquifer storage cycle

Hydrogen build-up, structural trapping, injection, and withdrawal in the existing aquifer model. Gravity, capillarity, and dissolved hydrogen.

2D hydrogen storage in an aquifer

Storage in depleted gas reservoirs

Five-cycle 2D storage with three reactions

The existing 2D case with residual methane, MET, ACE, and SRB. Compare bacterial and abiotic injection and withdrawal on the original grid.

2D compositional storage with three reactions

Thermodynamics

Phase partitioning and salting-out

Compare RK, SW, PR, and Henry–Setschenow calculations with supplied ePC-SAFT reference tables. Inspect the route to black-oil PVT tabulation.

Hydrogen–brine phase behavior

PHREEQC validation

Compositional PHREEQC full-cycle validation

A 20-cell, 250-day injection–storage–production comparison with a separate reference implementation. Compare H₂ consumption, dissolved hydrogen, pH, DIC, and the three metabolic pathways.

Complete-cycle PHREEQC validation
Full-cycle hydrogen consumption and dissolved-hydrogen evolution compared with the reference.

Complete-cycle PHREEQC validation. The source of the reference and the differences in chemistry splitting are described in the notebook.

Short chemistry walkthroughs

Mineral chemistry setup check

Four cells and two timesteps to check database loading, mineral inventories, pH, and saved output. A workflow check, not a spatial validation.

Mineral chemistry setup check
Multirate full-cycle comparison

A complete 250-day comparison with compositional PHREEQC: hydrogen consumption by reaction, pH, and dissolved inorganic carbon.

Separate flow and reaction timescales

Download the notebooks

Saved plots are embedded in the notebooks. The documentation build does not execute MATLAB or require a MATLAB notebook kernel.