Til hovedinnhold
Norsk English

MRST - MATLAB Reservoir Simulation Toolbox

The MATLAB Reservoir Simulation Toolbox (MRST) is a free open-source community code for rapid prototyping of new methods for modelling and simulation of flow in porous media.

Kontaktpersoner

MRST is built as an extension of MATLAB, a widely used platform for programming and numeric computing, and offers data structures and computational libraries developed especially for the simulation of flow in porous media. The software has a modular design and consists of a core library and around 60 add-on modules for:

  • advanced grid generation: Voronoi/PEBI, corner-point, multiblock, etc.
  • grid coarsening and aggregation-based partitioning
  • reading and processing industry-standard data formats (ECLIPSE input and output)
  • simple access to a variety of representative and standard test cases
  • single- and multiphase upscaling
  • multiscale and iterative multilevel solvers
  • automatic differentiation libraries for making fully differentiable simulators
  • consistent discretization methods: MPFA, mixed FEM, mimetic finite differences, NTPFA, VEM, etc
  • standard fluid modelling: incompressible models, black-oil models, EOR (polymer-surfactant), compositional
  • fracture modelling: DFM, EDFM, dual-porosity
  • geomechanics, geochemistry, geothermal, unsaturated media (Richards eq.)
  • standard and multisegment wells, surface facilities
  • adjoints, optimization routines, ensemble modelling
  • a wide variety of plotting routines and visualization GUIs

In addition, MRST has an extensive set of tutorial scripts that demonstrate how you can combine functionality from the core library and the add-on modules to build your own custom-made modelling and simulation tools.

In addition to being a unique prototyping tool, MRST also offers a fully differential framework for industry-standard simulation of black-oil and compositional flow physics. Good computational performance is obtained through the use of high-performing backends for linear assembly and numerical linear algebra written in compiled languages.

For more information, see:

Nøkkeltall

The software has a large user group from all over the world, both in industry and academia. This is evidenced by:

(Numbers last updated in May 2023)