MRST-AD - an Open-Source Framework for Rapid Prototyping and Evaluation of Reservoir Simulation Problems. We present MRST–AD, a free, open-source framework written as part of the Matlab Reservoir Simulation Toolbox and designed to provide researchers with the means for rapid prototyping and experimentation for problems in reservoir simulation. The article outlines the design principles and programming techniques used and explains in detail the implementation of a full-featured, industry-standard black-oil model on unstructured grids. The resulting simulator has been thoroughly validated against a leading commercial simulator on benchmarks from the SPE Comparative Solution Projects, as well as on a real-field model (Voador, Brazil). We also show in detail how practitioners can easily extend the black-oil model with new constitutive relationships, or additional features such as polymer flooding, thermal and reactive effects, and immediately benefit from existing functionality such as constrained-pressure-residual (CPR) type preconditioning, sensitivities and adjoint-based gradients. Technically, MRST–AD combines three key features: (i) a highly vectorized scripting language that enables the user to work with high-level mathematical objects and continue to develop a program while it runs; (ii) a flexible grid structure that enables simple construction of discrete differential operators; and (iii) automatic differentiation that ensures that no analytical derivatives have to be programmed explicitly as long as the discrete flow equations and constitutive relationships are implemented as a sequence of algebraic operations. We have implemented a modular, efficient framework for implementing and comparing different physical models, discretizations, and solution strategies by combining imperative and object-oriented paradigms with functional programming. The toolbox also offers additional features such as upscaling and grid coarsening, consistent discretizations, multiscale solvers, flow diagnostics and interactive visualization.

References in zbMATH (referenced in 17 articles )

Showing results 1 to 17 of 17.
Sorted by year (citations)

  1. Møyner, Olav; Nilsen, Halvor Møll: Multiresolution coupled vertical equilibrium model for fast flexible simulation of CO(_2) storage (2019)
  2. Schneider, Martin; Flemisch, B.; Helmig, R.; Terekhov, K.; Tchelepi, H.: Monotone nonlinear finite-volume method for challenging grids (2018)
  3. Trehan, Sumeet; Durlofsky, Louis J.: Machine-learning-based modeling of coarse-scale error, with application to uncertainty quantification (2018)
  4. Allen, Rebecca; Nilsen, Halvor Møll; Andersen, Odd; Lie, Knut-Andreas: On obtaining optimal well rates and placement for CO(_2) storage (2017)
  5. Bao, Kai; Lie, Knut-Andreas; Møyner, Olav; Liu, Ming: Fully implicit simulation of polymer flooding with MRST (2017)
  6. Codas, Andrés; Hanssen, Kristian G.; Foss, Bjarne; Capolei, Andrea; Bagterp Jørgensen, John: Multiple shooting applied to robust reservoir control optimization including output constraints on coherent risk measures (2017)
  7. Khor, Cheng Seong; Elkamel, Ali; Shah, Nilay: Optimization methods for petroleum fields development and production systems: a review (2017)
  8. Mykkeltvedt, Trine S.; Raynaud, Xavier; Lie, Knut-Andreas: Fully implicit higher-order schemes applied to polymer flooding (2017)
  9. Nilsen, Halvor Møll; Larsen, Idar; Raynaud, Xavier: Combining the modified discrete element method with the virtual element method for fracturing of porous media (2017)
  10. Schneider, Martin; Agélas, Léo; Enchéry, Guillaume; Flemisch, Bernd: Convergence of nonlinear finite volume schemes for heterogeneous anisotropic diffusion on general meshes (2017)
  11. Zhang, Wenjuan; Al Kobaisi, Mohammed: A simplified enhanced MPFA formulation for the elliptic equation on general grids (2017)
  12. Krogstad, Stein; Raynaud, Xavier; Nilsen, Halvor Møll: Reservoir management optimization using well-specific upscaling and control switching (2016)
  13. Lie, Knut-Andreas; Nilsen, Halvor Møll; Andersen, Odd; Møyner, Olav: A simulation workflow for large-scale CO(_2) storage in the Norwegian North Sea (2016)
  14. Møyner, Olav; Lie, Knut-Andreas: A multiscale restriction-smoothed basis method for high contrast porous media represented on unstructured grids (2016)
  15. Nilsen, Halvor Møll; Lie, Knut-Andreas; Andersen, Odd: Robust simulation of sharp-interface models for fast estimation of CO(_2) trapping capacity in large-scale aquifer systems (2016)
  16. Nilsen, Halvor Møll; Lie, Knut-Andreas; Andersen, Odd: Fully-implicit simulation of vertical-equilibrium models with hysteresis and capillary fringe (2016)
  17. Shah, Swej; Møyner, Olav; Tene, Matei; Lie, Knut-Andreas; Hajibeygi, Hadi: The multiscale restriction smoothed basis method for fractured porous media (F-MSRSB) (2016)