Python API#
The Python API documents the public modules, classes, and functions provided by pyopmspe11.
Package structure#
Main directories and files in the pyopmspe11 package.#
coreCoordinates the command-line workflow, validates command-line arguments, and dispatches deck generation, simulation, data processing, plotting, and comparison operations.
configDefines the shared configuration and runtime data structures used across the package.
utilsReads and validates TOML and legacy TXT configurations, generates geological models and OPM Flow input, runs simulations, and processes benchmark data.
reference_meshContains Gmsh source files used to define facies boundaries and generate corner-point grids with 11 or 18 geological levels.
templatesContains templates used to write OPM Flow decks and supporting input files.
visualizationCreates benchmark figures, spatial maps, performance plots, and comparisons between simulation results.
Use the Command-line reference for CLI syntax and validation rules, and the Configuration reference for supported TOML variables.