MRST is an extension of MATLAB, a widely used platform for scientific programming. It 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 65 add-on modules.
Highlights
- Both industry-standard model generation (ECLIPSE input, corner-point grids) and a variety of routines for constructing unstructured grids, including fractured media (DFM, EDFM, dual-porosity)
- Simulators for black-oil, compositional, EOR, CO2, geomechanics, geothermal, etc. All fully differentiable, based on automatic differentiation. Efficient and extensively validated.
- Sensitivities and integrated optimization via adjoints. Ensemble modelling.
- Various discretization methods: MPFA, mixed FEM, mimetic finite differences, NTPFA, VEM, WENO, etc. Fully implicit, adaptive implicit (AIM), sequential fully implicit, IMPES, etc.
- Standard and multisegment wells, surface facilities
The software is thorougly documented, including 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. There is also an active user forum, with new posts almost every day, and we maintain a list of scientific literature that has used the software.
Two textbooks:
- 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