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 24 articles )

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

1 2 next

  1. Lee, Chak Shing; Hamon, François P.; Castelletto, Nicola; Vassilevski, Panayot S.; White, Joshua A.: An aggregation-based nonlinear multigrid solver for two-phase flow and transport in porous media (2022)
  2. Rasmussen, Atgeirr Flø; Sandve, Tor Harald; Bao, Kai; Lauser, Andreas; Hove, Joakim; Skaflestad, Bård; Klöfkorn, Robert; Blatt, Markus; Rustad, Alf Birger; Sævareid, Ove; Lie, Knut-Andreas; Thune, Andreas: The open porous media flow reservoir simulator (2021)
  3. Fortaleza, Eugênio Libório Feitosa; Neto, Emanuel Pereira Barroso; Miranda, Marco Emílio Rodrigues: Production optimization using a modified net present value (2020)
  4. Klemetsdal, Øystein S.; Møyner, Olav; Lie, Knut-Andreas: Accelerating multiscale simulation of complex geomodels by use of dynamically adapted basis functions (2020)
  5. Lie, Knut-Andreas; Mykkeltvedt, Trine S.; Møyner, Olav: A fully implicit WENO scheme on stratigraphic and unstructured polyhedral grids (2020)
  6. Møyner, Olav; Andersen, Odd; Nilsen, Halvor M.: Multi-model hybrid compositional simulator with application to segregated flow (2020)
  7. Møyner, O.; Moncorgé, A.: Nonlinear domain decomposition scheme for sequential fully implicit formulation of compositional multiphase flow (2020)
  8. Møyner, Olav; Nilsen, Halvor Møll: Multiresolution coupled vertical equilibrium model for fast flexible simulation of CO(_2) storage (2019)
  9. Schneider, Martin; Flemisch, B.; Helmig, R.; Terekhov, K.; Tchelepi, H.: Monotone nonlinear finite-volume method for challenging grids (2018)
  10. Trehan, Sumeet; Durlofsky, Louis J.: Machine-learning-based modeling of coarse-scale error, with application to uncertainty quantification (2018)
  11. Allen, Rebecca; Nilsen, Halvor Møll; Andersen, Odd; Lie, Knut-Andreas: On obtaining optimal well rates and placement for CO(_2) storage (2017)
  12. Bao, Kai; Lie, Knut-Andreas; Møyner, Olav; Liu, Ming: Fully implicit simulation of polymer flooding with MRST (2017)
  13. 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)
  14. Khor, Cheng Seong; Elkamel, Ali; Shah, Nilay: Optimization methods for petroleum fields development and production systems: a review (2017)
  15. Mykkeltvedt, Trine S.; Raynaud, Xavier; Lie, Knut-Andreas: Fully implicit higher-order schemes applied to polymer flooding (2017)
  16. 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)
  17. 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)
  18. Zhang, Wenjuan; Al Kobaisi, Mohammed: A simplified enhanced MPFA formulation for the elliptic equation on general grids (2017)
  19. Krogstad, Stein; Raynaud, Xavier; Nilsen, Halvor Møll: Reservoir management optimization using well-specific upscaling and control switching (2016)
  20. 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)

1 2 next