Metadata-Version: 2.4
Name: subsurfix
Version: 0.2.1
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering
Requires-Dist: numpy>=1.26.4
Requires-Dist: pyarrow>=25.0.0
Requires-Dist: pyproj>=3.8.0
Requires-Dist: shapely>=2.1.2
Requires-Dist: pyshp>=3.1.6
Requires-Dist: openpyxl>=3.1.5
Requires-Dist: python-calamine>=0.4.0
Requires-Dist: flopy>=3.9.1
Requires-Dist: pyvista>=0.44
Requires-Dist: imageio>=2.31
Requires-Dist: omf>=1.0.1,<2
License-File: LICENSE
License-File: NOTICE
Summary: Automated workflows for subsurface geological analysis to reservoir modeling, with a Rust core and a Python interface.
Keywords: geostatistics,stratigraphic modeling,property modeling,reservoir simulation,geomodeling
Author: Larry Syu-Heng Lai
License-Expression: AGPL-3.0-or-later
Requires-Python: >=3.12
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/GeoLarryLai/SubsurfiX
Project-URL: Issues, https://github.com/GeoLarryLai/SubsurfiX/issues
Project-URL: Repository, https://github.com/GeoLarryLai/SubsurfiX

# SubsurfiX

**SubsurfiX** is developed to automate workflows for subsurface analysis, including machine-learning (ML) assisted stratigraphic model building, 3D property modeling, and flow and heat simulations for injection–production purposes.

## Capabilities

- **Grids and properties:** regular and faulted corner-point grids (GRDECL), filled by kriging, sequential Gaussian or indicator simulation, or machine learning, with P10/P50/P90 cases.
- **Flow and heat, finite-volume method (FVM):** two in-package FVM solvers, an open-DARTS-inspired fully implicit solver with operator-based linearization (FIM-OBL) for water, water–oil, oil–gas and CO₂–brine with heat, and a MODFLOW-inspired control-volume finite-difference Rust translation for single-fluid pressure and heat. An optional external check runs the USGS MODFLOW 6 program.
- **Flow and heat, finite-element method (FEM), experimental:** an OpenGeoSys-style continuous Galerkin solver for coupled water flow and heat on unfaulted grids. Multiphase flow and faulted models remain FVM-only.
- **CO₂ vertical-equilibrium model** (after MRST) and data exchange with Leapfrog (OMF) and OpenGeoSys (`.vtu`).

## Status and documentation

SubsurfiX is under active development, and many functions are still experimental and not fully validated. Please use with caution.

Requires Python 3.12 or newer. Installation details, executed example notebooks, figures and release history are on [GitHub](https://github.com/GeoLarryLai/SubsurfiX).

## Citation

Lai, L.S.-H. (2026) SubsurfiX. *Zenodo*, [https://doi.org/10.5281/zenodo.23832007](https://doi.org/10.5281/zenodo.23832007).

License: **AGPL-3.0-or-later**. You are free to use, modify, and share it; anyone distributing modified code or running a modified version as a network service must share its source under the same license.

Method and data credits are in NOTICE.

