MRST - MATLAB Reservoir Simulation Toolbox

In 2014, we developed a series of JOLTS that describe MRST through a collaboration with ICME at Stanford University. A JOLT is an online learning module that consist of a set of 3-10 min videos covering one specific topic. MRST has undergone several important changes after these videos were made, but most of the content is still valid.

JOLT 1: Introduction to MRST


The first JOLT explains what MRST is, shows how to download the software, and instructs you how to make your first flow solvers. The JOLT also contains an interview with Knut-Andreas Lie, in which he explains the background of MRST and why his research group chose to release it as free, open-source software.

How to download and getting started with MRST

This video shows you how to download and install MRST, gives an overview of the software, and shows a first example of an MRST flow simulator.

Single-phase flow solver: Cartesian grid

We go through, in full detail, all the steps necessary to set up a solve a single-phase flow problem on a simple Cartesian geometry. Through the discussion, you will be introduced to key data structures used to represent the reservoir geometry, petrophysical and fluid properties, and boundary conditions. We also introduce the basic two-point flux approximation solver from the incomp module and functionality for visualizing cell properties defined over a reservoir grid.

Single-phase flow solver: corner-point grids

We extend the simple single-phase solver developed for a Cartesian shoe-box geometry to a more advanced corner-point grid with multiple intersecting faults. The setup of the solver basically remains unchanged, but we need a bit more work to prescribe boundary conditions.

Interview by Margot Gerritsen

Professor Margot Gerritsen (Stanford) interviews Knut-Andreas Lie about MRST. In this interview, you will learn about how and why MRST was developed, why we chose to publish it as open source,  our underlying design and development philosophy, who are the users of the software, future development directions, etc.


JOLT 2: Grids and petrophysical data


The second JOLT introduces you to the kinds of grids that are used in reservoir simulation, outlines how grids are represented in MRST, and discusses how to use the software to generate structured and unstructured grids.

What is special about the grids used in reservoir simulation?

A brief introduction to how grids are used in reservoir simulation to describe sedimentary rocks.

How are grids represented in MRST?

We describe the basic data structure used to represent grids in MRST.

How do I generate structured grids in MRST?

We describe how you can use MRST to construct Cartesian and rectilinear grids for rectangular and non-rectangular domains and show how you can populate your grid with petrophysical properties.

How do I construct unstructured grids in MRST?

We describe how to construct unstructured grids consisting of simplices or general polyhedral cells.

What are corner-point grids?

We explain the basic concepts of corner-point grids, which are the predominant format used to represent the stratigraphy and structural architecture of real reservoirs.

How are corner-point grids represented?

We discuss how corner-point grids are represented in industry-standard input formats. To this end, we use a realistic model of a shallow-marine reservoir generated by the SAIGUP project.


Published December 11, 2015