Reservoir Simulation Functions
Run a reservoir model from the worksheet in OPM Flow: a long-form Deck range goes to the engine on this computer, and its summary series (wide or long), cell properties, end state, initial state, or the deck as Flow reads it spill back. A deck is a Deck range or a .DATA file. Build the Deck range from a few input tables (spec, grid, PVT, SCAL, wells, schedule) with the DECK functions, which run in Excel and start nothing.
16 functions
PO.SIM.OPM.CHECK
Checks a deck without running it: its name, units, grid, wells, report steps and SUMMARY series, and what is missing.
PO.SIM.OPM.SUMMARY
Runs the deck in OPM Flow and spills day and every series its SUMMARY section names, a row per report step, in the deck's units.
PO.SIM.OPM.VECTORS
Runs the deck in OPM Flow and spills its SUMMARY series long: vector | identifier | unit | day | value, a row per series per report step.
PO.SIM.OPM.GRID
Runs the deck in OPM Flow and spills grid properties long: property | i | j | k | unit | day | value, a row per property per cell per day.
PO.SIM.OPM.RUN
Runs the deck in OPM Flow to its last report step and spills the end state: cell pressures and well bottom-hole pressures, in the deck's units.
PO.SIM.OPM.STATE0
The deck's initial state from OPM Flow: cell pressures and well bottom-hole pressures before the first step, in the deck's units.
PO.SIM.OPM.DATA
The deck as the ECLIPSE text OPM Flow runs, one line per row; a .DATA file's INCLUDEs inlined.
PO.SIM.DECK.BUILD
Builds a long-form Deck from input tables: spec, grid, PVT, SCAL, wells and schedule. Spills the Deck the PO.SIM.OPM functions run.
PO.SIM.DECK.CHECK
Checks the input tables DECK.BUILD reads: each table's problems, or the built deck's as PO.SIM.OPM.CHECK finds them, or 'No problems found.'
PO.SIM.DECK.RUNSPEC
The RUNSPEC rows DECK.BUILD writes, but WELLDIMS, which comes with DECK.SCHEDULE. Oil water gas sizes its tables from PVT and SCAL.
PO.SIM.DECK.GRID
The GRID and SOLUTION rows DECK.BUILD writes. Oil water gas starts its pressure and water from PVT and SCAL, so it reads them.
PO.SIM.DECK.PROPS
The PROPS rows DECK.BUILD writes: the fluid and rock, and for oil water gas the PVT and SCAL tables.
PO.SIM.DECK.SUMMARY
The SUMMARY rows DECK.BUILD writes for the spec's family.
PO.SIM.DECK.SCHEDULE
The SCHEDULE rows DECK.BUILD writes from the wells and the schedule, and WELLDIMS.
PO.SIM.DECK.COMBINE
Joins two Deck fragments into one Deck. Refuses a key the two give different values, or fragments of different phases. Nest it for more.
PO.SIM.DECK.MAPGRID
Builds a single-phase corner-point Deck between a top and a base map given at the pillar nodes.