MRST - MATLAB Reservoir Simulation Toolbox
A free open-source community code for rapid prototyping of new methods for modelling and simulation of flow in porous media. Has a large user community from all over the world.
How do rock properties, geological structures and external loads influence subsurface stress and deformation? We develop numerical methods and simulation tools for geomechanical analysis, from mechanical modelling on complex geometries to simulations that also account for fluid flow and temperature changes.
We work with industrial partners and research organisations to:
Contact our Applied Computational Science research group to discuss a geomechanical problem, improvements to an existing model or the development of new simulation tools.
Geological models often contain irregular layers, faults and substantial variations in material properties. These features place demands on both the computational grid and the methods used to calculate displacements and stresses. Our expertise includes elasticity and poroelasticity, with particular emphasis on methods for corner-point and general polyhedral grids.
We work with virtual element methods (VEM) and finite volume methods, including Multi-Point Stress Approximation (MPSA) and Two-Point Stress Approximation (TPSA). A central objective is to perform mechanical calculations directly on grids that represent the geology, reducing the need to reconstruct the model on a separate mechanical mesh.
Our work covers discretisation, implementation and assessment of accuracy, stability and computational cost. This includes investigating how methods handle faults, pinch-outs and challenging cell geometries.
A geomechanical model requires information about both material properties and the loads acting on the formation. In practice, observations are often sparse and unevenly distributed. We develop methods for fitting models to such data and investigating which parameter values and stress conditions are consistent with the measurements.
This includes automatic calibration of mechanical properties and regional stress conditions. The work provides a basis for assessing model assumptions and understanding how limited data affect the calculations.
Production and injection change pore pressure and temperature, which can alter stresses and deform the surrounding rock. Mechanical changes can, in turn, affect pore volume and fluid flow. We develop coupled models that describe these interactions.
Our work includes fully implicit and sequential solution methods for geomechanics and multiphase flow. The choice of method depends on the strength of the coupling, the required accuracy and the size of the simulation model.
Thermal effects are particularly relevant when cold fluids are injected into hot formations, for example in CO₂ storage and geothermal operations. We investigate how these temperature changes affect mechanical conditions in the reservoir and surrounding rock.
For applications requiring many simulations, we have also developed methods based on precomputed mechanical response functions. These can reduce computational cost by reusing response calculations within the assumptions of the chosen model.
Our methods are used to investigate compaction and subsidence during reservoir production, pressure- and temperature-induced stress changes during injection, and the mechanical effects of fluid storage in porous formations. The calculations can support assessments of injectivity, caprock integrity and conditions that may lead to fracturing or fault reactivation.
We adapt models to the problem and the available data, whether the task calls for a standalone mechanical analysis or a coupled simulation of flow, heat and deformation.
An important part of our work is making numerical methods available in open-source software. We develop and test geomechanical models in the MATLAB Reservoir Simulation Toolbox (MRST) and work on geomechanics coupled to the OPM Flow reservoir simulator.
Open implementations make it easier to examine numerical methods, compare results and develop solutions with partners. They also provide a foundation for reproducible calculations and training.
A free open-source community code for rapid prototyping of new methods for modelling and simulation of flow in porous media. Has a large user community from all over the world.
The Open Porous Media (OPM) initiative provides open-source software for simulation, upscaling and visualization of porous media processes, in particular subsurface reservoirs.