Run OPM Flow#
Set the OPM Flow command in the TOML file, then generate and run the simulation.
Configure Flow#
Open my_spe11b.toml and check these variables:
flow = "flow --enable-opm-rst-file=true"
version = "release"
If Flow is not available on PATH, use its full path. For an MPI build, the
command can also include the launcher and process count:
flow = "mpirun -np 8 /path/to/flow --enable-opm-rst-file=true"
Run the simulation#
pyopmspe11 -i my_spe11b.toml -o my_spe11b -m flow
How it works#
flowSets the executable, optional MPI launcher, and OPM Flow arguments.
versionSelects compatibility with the supported stable release or the current master branch.
-m flowRuns OPM Flow.
Result#
With subfolders enabled, simulation output is written under:
my_spe11b/
└── deck
└── flow/
├── MY_SPE11B.DBG
├── MY_SPE11B.EGRID
├── MY_SPE11B.ESMRY
├── MY_SPE11B.INFOITER
├── MY_SPE11B.INFOSTEP
├── MY_SPE11B.INIT
├── MY_SPE11B.PRT
├── MY_SPE11B.SMSPEC
├── MY_SPE11B.UNRST
├── MY_SPE11B.UNSMRY
Use ResInsight or plopm to inspect the output.
Next#
Continue with Generate benchmark data. See OPM Flow for Flow installation and Output folder for generated files.