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

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

1 2 next

  1. Fortaleza, Eugênio Libório Feitosa; Neto, Emanuel Pereira Barroso; Miranda, Marco Emílio Rodrigues: Production optimization using a modified net present value (2020)
  2. Klemetsdal, Øystein S.; Møyner, Olav; Lie, Knut-Andreas: Accelerating multiscale simulation of complex geomodels by use of dynamically adapted basis functions (2020)
  3. Lie, Knut-Andreas; Mykkeltvedt, Trine S.; Møyner, Olav: A fully implicit WENO scheme on stratigraphic and unstructured polyhedral grids (2020)
  4. Møyner, Olav; Andersen, Odd; Nilsen, Halvor M.: Multi-model hybrid compositional simulator with application to segregated flow (2020)
  5. Møyner, O.; Moncorgé, A.: Nonlinear domain decomposition scheme for sequential fully implicit formulation of compositional multiphase flow (2020)
  6. Møyner, Olav; Nilsen, Halvor Møll: Multiresolution coupled vertical equilibrium model for fast flexible simulation of CO(_2) storage (2019)
  7. Schneider, Martin; Flemisch, B.; Helmig, R.; Terekhov, K.; Tchelepi, H.: Monotone nonlinear finite-volume method for challenging grids (2018)
  8. Trehan, Sumeet; Durlofsky, Louis J.: Machine-learning-based modeling of coarse-scale error, with application to uncertainty quantification (2018)
  9. Allen, Rebecca; Nilsen, Halvor Møll; Andersen, Odd; Lie, Knut-Andreas: On obtaining optimal well rates and placement for CO(_2) storage (2017)
  10. Bao, Kai; Lie, Knut-Andreas; Møyner, Olav; Liu, Ming: Fully implicit simulation of polymer flooding with MRST (2017)
  11. 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)
  12. Khor, Cheng Seong; Elkamel, Ali; Shah, Nilay: Optimization methods for petroleum fields development and production systems: a review (2017)
  13. Mykkeltvedt, Trine S.; Raynaud, Xavier; Lie, Knut-Andreas: Fully implicit higher-order schemes applied to polymer flooding (2017)
  14. 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)
  15. 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)
  16. Zhang, Wenjuan; Al Kobaisi, Mohammed: A simplified enhanced MPFA formulation for the elliptic equation on general grids (2017)
  17. Krogstad, Stein; Raynaud, Xavier; Nilsen, Halvor Møll: Reservoir management optimization using well-specific upscaling and control switching (2016)
  18. 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)
  19. Møyner, Olav; Lie, Knut-Andreas: A multiscale restriction-smoothed basis method for high contrast porous media represented on unstructured grids (2016)
  20. Nilsen, Halvor Møll; Lie, Knut-Andreas; Andersen, Odd: Fully-implicit simulation of vertical-equilibrium models with hysteresis and capillary fringe (2016)

1 2 next