pyopmnearwell#

A flexible framework for generating and running near-well OPM Flow models.

pyopmnearwell creates model-specific decks and property tables for CO2, hydrogen, enhanced-oil-recovery, foam, salt-precipitation, and related near-well studies.

Get started

Understand the models, templates, grids, and workflows.

Introduction
Install

Install pyopmnearwell, OPM Flow, and visualization tools.

Installation
Configure a model

Define geometry, rock, saturation, and injection settings.

Configuration reference
Explore examples

Run water, cyclic CO2, machine-learning, and publication workflows.

Examples

Quick installation#

pip install git+https://github.com/cssr-tools/pyopmnearwell.git

Quick start#

pyopmnearwell -i examples/h2o.toml -o hello_world
pyopmnearwell -i examples/co2.toml -o co2
pyopmnearwell --help

What can pyopmnearwell do?#

Generate near-well grids

Create radial, cake, core, Cartesian, tensor, coordinate, and corner-point grids.

Configure physical models

Generate CO2 storage, CO2 EOR, foam, hydrogen storage, and salt-precipitation decks.

Write model tables

Generate saturation, geology, boundary multiplier, and porosity-permeability include files.

Run reproducible studies

Execute OPM Flow workflows and generate datasets for scientific and machine-learning studies.