pyopmnearwell.utils.runs module#

Run OPM Flow simulations generated by pyopmnearwell.

The module builds the Flow command from the shared configuration and executes it in the configured simulation-output directory.

simulations(dic)[source]#

Run OPM Flow for a generated pyopmnearwell deck.

Missing foutp and mode values are initialized before the simulator command is assembled and executed.

Parameters:

dic (dict) -- Shared configuration containing flow, fol, fprep, foutp, runname, and optional runtime values.

Raises:

subprocess.CalledProcessError -- If OPM Flow exits with a nonzero status.