Configuration file

Note

The configuration files allow to set the integrated studies (generation of regional and site models, in addition to set the different boundary projection approaches). To use expreccs in any given two OPM Flow geological models to dynamically project pressures, this can be achieve without a configuration file, but setting the parameters via command lines (see the Overview or run pycopm -h for the definition of the argument options, as well as the example in Via OPM Flow decks).

We consider the configuration file (input.txt) available in the examples folder. The parameters are chosen to show the functionality and capabilities of the expreccs framework regarding generation of corner-point grids (cpg), heterogeinities (e.g., different rock properties, faults), adding wells, and defining schedules for the operations. See the example1.txt for a simpler configuration file.

The first input parameter in the configuration file is:

1"""Set the full path to the flow executable and flags"""
2flow --enable-opm-rst-file=true --enable-tuning=true

If flow is not in your path, then write the full path to the executable (e.g., /Users/dmar/expreccs/build/opm-simulators/bin/flow). We also add in the same line as many flags as required (see the OPM Flow documentation here).

Note

If you have installed flow with MPI support, then you can run the simulations in parallel by adding mpirun -np N flow … where N is the number of cpus.

Simulation results

Since the configuration file’s name is input.txt, then it can be run by the following command:

expreccs

the following is a screenshot using ResInsight to visualize the pressure and gas saturation at the end of the simulation:

_images/confile.png

Then the approach is to project the fluxes/presures on the site boundaries from the regional simulations instead of using free flow as in this example.

See the examples section for further examples of configuration files and argument options for expreccs.