All posts by Tor Harald Sandve

SPE11 CSP in OPM Flow

The SPE11 CSP targeting CO2 storage simulations was recently released ( ).

If you are interested in simulating the CSP using OPM Flow you can check out the open framework created by David Landa-Marbán. The framework can be used to setup and run Flow based on the description given in the SPE11 CSP.

Preliminary simulation results for the  B case.


Dear OPM Users,

It is my pleasure to announce that the binary packages for the 2021.04 OPM release are now available for RHEL 7 and 8, as well as for Ubuntu 20.04 LTS (code name Focal Fossa) and Ubuntu 18.04 LTS (code name Bionic Beaver).  The Ubuntu packages may be downloaded from the OPM Project’s Personal Package Archive (ppa:opm/ppa).  If you have not already included this in your package sources, you can do so with the commands

sudo apt-add-repository ppa:opm/ppa
sudo apt-get update

Then you can install the simulator and its prerequisites using the command

sudo apt install libopm-simulators-bin

Alternatively, you can install opm via pip ( using

pip install opm

I would also like to use the opportunity to thank all the contributors for their effort in improving the simulator.

Best Regards,

Tor Harald Sandve


Release notes 2021.04

The current release consists of some new features and various improvements and bug fixes. 

Highlights from the 2021.04 release is support for numerical aquifers, gas lift optimization, network models and support for diffusive flow.  

New features:

  • Gas lift optimization. With gas lift optimization enabled the simulator can allocate gas lift to wells and groups.
  • Numerical aquifers. Numerical aquifers allow for flexible and efficient inclusion of pressure support from adjacent aquifers.
  • Support for wells split between several process domains. This potentially gives better parallel grid partitioning. The well split is only implemented for standard wells.
  • Network option. Allows for cross well/group coupling through tubing head pressure.
  • Diffusion. Diffusive effects can optionally be included in the simulation.
  • WELPI-based scaling of a well’s connection transmissibility factors.
  • Three-point vertical scaling of relative permeability functions (keywords KRGR, KRORG, KRORW, and KRWR).
  • Support for well and group names with more than eight (8) characters in summary output.
  • Expanded possible actions in ACTIONX, including WELPI and UDQ updates.
  • Support for IMPORT keyword in GRID section.

Improvements and fixes:

  • Various fixes for thermal simulations
  • Fixes in the GCONINJE implementation
  • Support for aquifers in MPI runs
  • Fixes in the boundary setup when using the OPM specific BC keyword. 
  • Correct inclusion of the group efficiency for the top group level 
  • Improved convergence of the multi-segmented well equations. 
  • Various MPI related fixes. Avoiding dead-locks etc.

OPM release 2018.04

Dear OPM community,

I am happy to announce the 2018.04 release. Packages for Ubuntu 16.04 and Red-Hat Enterprise Linux 6 and 7 is prepared. New in this release is that also the Red-Hat packages are shipped with mpi support.

In addition to various minor bug-fixes and a reorganization of the code, the release contains new functionality for the Flow simulator like DRSDT support, experimental CPR preconditioning and enhanced output capability. Note that number of modules are reduced to simplify the build process and the code maintenance. The new module organization is shown here.

OPM Meeting 18-19th of October in Bergen


The workshop is free and open to everyone who is interested. Please register before 1st of October using the following link.


DAY 1 Wednesday October 18

Place: Scandic Ørnen.

10:00 – 10:15    Coffee

10:15 – 10:30    Welcome (Tor Harald Sandve, IRIS)

10:30 – 11:00    OPM: current status and overview (Alf Birger Rustad, Statoil)

11:00 – 11:30    Flow-MPI (Markus Blatt, HPC simulation software and services)

11:30 – 12:00    Salt precipitation modeling in OPM. (Paul Egberts, TNO)

12:00 – 12:30    Robust tuning to improve runtime and accuracy of Flow simulations (Rohith Nair, TNO)

 12:30 – 13:30   Lunch

13:30 – 14:00    Comparison of Linear Reconstruction for Second Order Finite Volume Schemes on Polyhedral Grids (Anna Kvashchuk, IRIS)

14:00 – 14:30    Well modeling in OPM: recent development (Kai Bao, Sintef)

14:30 – 15:00    PorePy: A Python Simulation Tool for Fractured and Deformable Porous Media (Eirik Keilegavlen, UiB)

15:00 – 15:30    Performance in Exa-Dune: Finding a tradeoff between efficiency and framework generality” (Steffen Müthing, Uni. Heidelberg)

15:30 – 16:00    Coffee

16:00 – 16:30   Recent developments in the Matlab Reservoir Simulation Toolbox: Implicit schemes for compositional flow and hybrid schemes for CO2 storage (Olav Møyner, Sintef)

16:30 – 17:00   Nonlinear solvers for OPM Flow (Atgeirr Rasmussen, Sintef)

17:00 – 17:45  Python wrappers for Eclipse and OPM-Parser (Joakim Hove, Statoil)

We have reserved tables at the hotel restaurant for dinner at 19:00

DAY 2, Thursday October 19

Place: IRIS office.  Høyteknologibygget.  (8th floor)

09:00 – 09:15    Coffee

09:15 – 09:45    CO2-EOR simulations in OPM (Tor Harald Sandve, IRIS)  

09:45 – 10:15    Impact of convection on CO2-hydrocarbon mixing in EOR reservoirs (Sarah Gasda, UNI-CIPR)

10:15 – 10:45    Past experience and future needs in simulation of CO2 storage and CO2 EOR (Alv-Arne Grimstad, Sintef)

10:45 – 11:00    Coffee

11:00 – 12:30    Group / plenum discussions.  

12:30 – 13:30    Lunch

13:30 – 15:00    How to make your own simulator in OPM Ewoms?  Tutorials and examples. (Andreas Lauser, Poware software solutions) / SIMCO2EOR project meeting.