Tutorial#
Learn pyopmspe11 by creating and modifying an SPE11B case. Start by generating an OPM Flow deck, then run the simulation, write benchmark data, create standard figures, change the physical model and grid, and compare results.
Before starting, complete the Installation. OPM Flow is required from Lesson 2 onward; see OPM Flow.
Tip
Lessons 1 through 4 can be run as one workflow with -m all:
pyopmspe11 -i my_spe11b.toml -o my_spe11b -m all -g all -r 50,1,15 -t 5 -w 1
Reproduce the tutorial#
Run the complete tutorial from the repository root:
. ./tests/scripts/docs_tutorial.sh
Copy an example configuration and generate OPM Flow input files.
Configure the Flow command and run the simulation.
Write dense, sparse, performance, and spatial-performance CSV files.
Generate the standard figures from the benchmark CSV files.
Compare immiscible, isothermal, convective, and complete models.
Change the grid type, dimensions, and refinement.
Compare completed runs and continue to advanced workflows.