All posts by Markus Blatt

Flow manual for the 2023.10 release available

We are happy to announce that finally finished and published the manual for OPM Flow for the latest release: OPM Flow 2023-10.

The release notes are also available separately: OPM Flow release notes 2023.10.

This version along with older versions of the manual are available on the manual page.

This time this took a bit longer than usual. David Baxendale was responsible for the Manual and delivered great work from 2017 until 2023. He passed away last summer after a sudden and severe illness. Our thoughts are still with his wife and son. To honor him we dedicated the 2023-10 release of OPM-flow to him.

In September 2023, Matthew Goodfield took over the editing work of the manual. He was personally recommended by David and we are very thankful for that. Together with his colleagues from especially OPM-OP and NORCE (e.g. Håkon Hægland) we were able to split the manual into multiple libreoffice files stored as plain xml. Those are now available to the public under an open license in the opm-reference-manual github repository.

New OPM Release 2023.10 available


Dear OPM community,

It is my pleasure to announce that the 2023.10 OPM release is now ready. Thanks to all contributors for your improvements to the software and documentation, and to users for alerting us to bugs and problems.

We dedicate this OPM 2023.10 release to our colleague and friend David Baxendale. David passed away in late June 2023 after a short severe illness. Our thoughts are with his wife and son. The OPM community is very thankful for all his contributions to OPM and the fruitful discussions with him about issues with and advancements of the simulator.

David started contributing to OPM in 2016 as OPMUSER on github and continued his good work until his very last days. We owe the OPM Reference manual to him. He started this heroic effort in 2017 and it now consists of thousands of pages. We, his colleagues and friends, are and will be surely missing him with his reservoir engineering expertise and know-how, his enthusiasm, and humor.

The 2023.10 release consists of some new features and various improvements and bug fixes. Our main target was to support more keywords used for relevant fields and reducing the differences between OPM flow and the commercial simulator. These improvements include

  • Added support for temperature (THERMAL) plus salt precipitation (PRECSALT) modeling in gas-water-brine (GAS-WATER-BRINE) systems
  • Added support for modelling dissolved gas in water (DISGASW) and vaporized water in the gas phase (VAPWAT) in the thermal-gas-water simulator
  • Support for modeling FOAM combined with SOLVENT
  • partial support for WAGHYSTR keyword (Water-Alternating-Gas hystersis)
  • Improvements to many user-facing error messages.
  • More graceful exits for problems in parallel runs.
  • Temperature is output if requested via RPTRST
  • Added support for WBP, WBP4, WBP5 and WBP9 in the SUMMARY section to output well block averaged pressures for open completions
  • Added support for initializing constant flux aquifers from a restart
  • Added support for WBP, WBP4, WBP5 and WBP9 in the SUMMARY section to output well block averaged pressures for open completions
  • Faster two-point flux-approximation introduced in the last release is now also used for linearizing gas-oil cases with energy (with diffusion) and gas-oil diffusion

Full release notes will be available with the updated manual soon. In the meantime you can take a look at our preliminary release notes. Please note that they are just a draft version right now.

Binary packages for the 2023.10 OPM release are available for RHEL 7, as well as for Ubuntu 22.04 LTS (code name Jammy Jellyfish) and 20.04 LTS (code name Focal Fossa). 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

You can install python bindings for opm via pip ( using:

pip install opm

Please note that the new release of our OPM Reference manual still needs some time. We hope to publish it soon. In the meantime we hope that the installation instruction on the website or in the old manual will help you together with the above instructions.

Best Regards,

Markus Blatt

Release manager for 2023.10

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

Wednesday August 31, 2022

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.