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:
- The MRST website
- An Introduction to Reservoir Simulation Using MATLAB/GNU Octave: User Guide for the MATLAB Reservoir Simulation Toolbox (MRST), Cambridge University Press, 2019
- Advanced Modeling with the MATLAB Reservoir Simulation Toolbox, Cambridge University Press, 2021