All posts by Markus Blatt

OPM Summit Trondheim August 30-31, 2022


The OPM summit will be held on August 30-31, 2022 at the Equinor Research Centre Rotvoll, Trondheim (Address:Arkitekt Ebbells veg 10, 7053 Ranheim).


The summit is open to everybody interested in OPM, it’s software and activities. Access to the facility where the summit is held is restricted. Interested participants need to contact the local organizer, Alf Birger Rustad (abir AT equinor DOT com), in advance. Seats at the dinner might be limited.


Tuesday 30. August

  • 9:00-9:20: Welcome (Alf Birger Rustad)
  • 9:20-9:50:  Recent OPM developments by TNO: LGR, grid-independent wells, and more (Cintia Machado & Paul Egberts)
  • 9:50-10:20: New in ResInsight (Magne Sjaastad)
  • 10:20-10:30: Coffee break
  • 10:30-11:00: An evaluation and comparison of GPU solver libraries and hardware for OPM acceleration. (Razvan Nane)
  • 11:00-11:30: GPU accelerated Sparse Approximate Inverse preconditioners for Flow (Jose Eduardo Filho)
  • 11:30-12:00: Impact of mesh partitioning on parallel OPM Flow performance (Andreas Thune)
  • Lunch 12:00-13:00
  • 13:00-13-30: History and thoughts and future of parallel flow (Markus Blatt)
  • 13:30-14-00: Improved assembly performance, lessons learned, dilemmas (Atgeirr Flø Rasmussen)
  • 14:00-14:30: Experiments in reservoir simulation using Julia (Olav Møyner)
  • 14:30-14:45 Coffee
  • 14:45-15:15 OPM + Reaktoro (David Landa Marban)
  • 15:15-15-45 Salt precipitation and water evaporation modelling in OPM (Paul Egberts)
  • 15:45-16:15 Pore scale modelling code (Thomas Ramstad)
  • 16:15-16:45 Experiences with OPM use in education (Carl Fredrik Berg)
  • 18:30 Dinner at Troll restaurant

Wednesday August 31, 2022

  • 9:00-9:30 OPM-user feedback from TNO reservoir engineers (Cíntia Machado)
  • 9:30-10:00 Qsummary (Torbjørn Skille)
  • 10:00-10:30 The CPR and CPRW preconditioners (Halvor Nilsen)
  • 10:30-10:45: Coffee break
  • 10:45-11:15: OPM Flow for H2 storage simulation (Svenn Tveit)
  • 11:15-11:45 ALUGrid integration and cell order. Parallel output, Damaris integration. (Elyes Ahmed)
  • 11:45-12:15 Fracturing and IFEM (Arne Morten Kvarving)
  • 12:15-13:15 Lunch
  • 13:15-13:45: OPM Flow for CO2 storage simulations (Tor Harald Sandve / Sarah Gasda)
  • 13:45-14:15: Towards compositional simulation in OPM (Trine Myklebust)
  • 14:15-14:45: Discussions, closing remarks

OPM Release 2022.04

Dear OPM community,

It is my pleasure to announce that the binary packages for the 2022.04 OPM release are now available for Ubuntu 20.04 LTS (code name Focal Fossa) and Ubuntu 22.04 LTS (code name Jammy Jellyfish). 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

To install the python bindings of OPM in addition, please use the command

sudo apt install python3-opm-simulators

This is also the first release that comes with official packages for Debian stable and (in about 5 days) for Debian testing. If you are using that distributions you can use the apt commands above to install the packages.

Please note that it will still take a few days to make the Redhat available.

If you are not using packages then you can install python bindings for the module opm-common via pip ( using

pip install opm

Please note that this will not install Python bindings for opm-simulators.

I would also like to use the opportunity to thank all the contributors for their effort in improving the simulator, especially David for testing updating the manual and preparing the release notes, Atgeirr and Bård for testing and Arne Morton for building the Ubuntu and Redhat packages.

Best Regards,
Markus Blatt, OPM-OP AS
Release manager for 2022.04

Release notes for 2022.04

The 2022-04 release consists of some new features and various improvements and bug fixes. Highlights for
this release include: implementation of the Salt Precipitation Model, several ACTIONX implementation
improvements – including support for the COMPSEGS, WELSEGS and WSGVALV keywords in an ACTIONX
block, improvements to the CO2STORE model to work with numerical aquifers and to account for thermal
effects, support for gas lift optimization for multi-lateral wells, the addition of various SUMMARY vectors,
plus various enhancements to the RESTART file to improve compatibility and robustness. Significant work has
also been conducted in fixing the number of reported bugs.

When building OPM Flow from source, the default is now be to compile a parallel binary if MPI is installed,
this was already the default for the binary packages that were previously distributed. Secondly, support for
building OPM Flow with the new current version of DUNE (2.8) has been added.

Some of the new features:

  • Improved version of Python version of the parser in opm-common
  • Several ACTIONX improvements
  • Added support for the CO2STORE model to use numerical aquifers
  • Enabled the CO2STORE model to account for thermal effects
  • Added support for the GRAVITY keyword in the PROPS section
  • Improvements on how the well potentials are calculated when the wells are under guide rate control
  • Improvements on how the well rates are calculated for when the wells are or not under group
    control control
  • Improve ESmry file output by not writing out empty elements
  • Improved how the summary keywords are handled for inter-region summary vectors in ESMRY file,
    to give a consistent naming convention
  • Several RESTART improvements (see pdf)
  • Added support for the WTMULT keyword in the SCHEDULE section
  • Implemented the Salt Precipitation Model (see pdf)
  • Added support for gas lift optimization for multi-segment wells
  • Added support for gas-water initialization for two-phase runs using PVDG and PVTW keywords in
    the PROPS section.
  • Added support for the WVFPEXP keyword in the SCHEDULE section
  • Added support for LIFTOPT(TSTEP) option that defines the frequency of the gas lift optimization
  • Water only and water only with thermal models can now be run with the flow binary
  • The VAPWAT keyword in the RUNSPEC section, that activates the vaporized water phase, is now
    active for this release for gas-water systems only.

For further details including a list of known issues and bug fixes please see the OPM Flow Release Notes from the manual

Official Debian/Ubuntu packages

Debian logo
Debian logo

With the upcoming releases Ubuntu 22.04 (due April 2022) and Debian bookworm (estimated release date March 2023) OPM will officially become part those Linux distributions. During the past year we worked hard to align the package building process with those Linux distributions.

We are grateful for the help that was provided by the Debian Developers during that work. Special thanks go to the Developers Anton Gladky and Nilesh Patras for sponsoring the upload of the prepared packages and Graham Inggs for helping with the transition to Ubuntu. Of course the great packaging effort done by Arne Morten before that for the Ubuntu PPA made our life a lot easier.

You can see the current status of the packages at Markus Debian QA page

OPM Meeting Feb. 4-5, 2020 in Eichstätt, Germany

We are pleased to invite you to participate in the 2020 OPM Meeting on February 4-5, 2020! This time the event will be hosted by Dr. Blatt – HPC-Simulation-Software & Services in Eichstätt, Germany.

For those arriving during the day, we will reserve tables to meetup in a restaurant/pub on Monday Feb 3. The next day will be full of talks (given by attendees) and end with a conference dinner in the evening. Wednesday will be more informal and developer centric with talks and discussion sessions and groups.

For more information (including schedule, travel information) and registration, please visit the registration page. Please register as early as possible to make planning more easy.

We hope to welcome all of you in Eichstätt next year.

OPM release 2019.10

We are happy to announce the 2019.10 release of OPM. Binary Packages for Ubuntu 16.04 and 18.04 as well as Redhat Enterprise Linux 6 and 7. For further information please read the installation instructions

The former module ewoms of OPM has been renamed to opm-models in this release. Some of its directories have been renamed to reflect this (ewoms/blackoil -> opm/models/blackoil, ewoms/common -> opm/models/utils, ewoms/disc -> opm/models/discretization, ewoms/io -> opm/models/io, ewoms->parallel -> opm/models/parallel, ewoms/linear -> opm/simulators/linalg).

Further changes/improvements included in this release are:

  • Renaming / Restructuring
    • The namespace Ewoms has been renamed to Opm.
    • Most files/header that were located in directory opm/autodiff in opm-simulators have been moved to opm/simulators/aquifers, opm/simulators/linalg, opm/simulators/utils, or opm/simulators/wells depending on their content.
  • Additions
    • Support for additional keywords: ROCKCOMP keyword (water induced rock compaction), COMPDAT, UDQ, UDA, GRUP, FILLEPS.
    • Support for GOR checking for WECON.
    • Improved support for WTEST.
    • Support for one phase simulations.
    • Experimental support for driftCompensation (off by default, enable using –ecl-enable-drift-compensation=true).
    • Experimental support for foam module (keywords FOAM; FOAMADS, FOAMFSC, FOAMMOB, FOAMOPTS, FOAMROCK, WFOAM).
    • Many unsupported keywords are now listed as missing features (those starting with A – M, R, T, V, W, Z).
    • Write well potentials to restart files if needed.
    • Support different edge weights when loadbalancing (uniform, transmissibilities, log of transmissibilities).
    • Improved support for multisegment wells (now enabled by default).
    • Many new regression tests.
    • Added an experimental linear solver subsystem (including complex CPR solvers) that is configurable during runtime (not parallel, needs DUNE>=2.6).
    • Use refactored well implementation from opm-common.
    • Output NNCs in an Eclipse compliant manner.
    • Output several diagnostics when parsing a deck.
  • Fixes
    • Made dune-fem version information available
    • Restart values are only read once (twice before).
    • Fixed several bugs concerning restart.
    • Ebos now logs to *.PRT and *DBG files
    • Abort runs without reading the deck if command line parameters are incorrect.
    • Use grid region mapping from opm-grid.
    • Fixed negative thp values from extrapolation using VFP tables.
    • Logging from well testing is now in *.PRT and *.LOG files
    • Serveral fixes to multisegement well model.
    • *.INIT and *.GRID files are also output on restart.
    • Do not update RESV for prediction producers.
    • Output FPRP instead of ovewriting FPR values.
    • Always write transmissibilities between vertical neighbours to
      TRANZ (even for NNCs).
    • Support upcoming DUNE 2.7

Special thanks goes to everybody in the community for testing and
especially to Arne Morten Kvarving for preparing the binary  packages and discovering all mistakes by the release manager (Markus Blatt) in no time.