dc.contributor.advisor | Lie, Knut Andreas | |
dc.contributor.advisor | Møyner, Olav | |
dc.contributor.author | Røssland, Andreas Amlien | |
dc.date.accessioned | 2019-09-11T11:19:30Z | |
dc.date.created | 2016-08-18 | |
dc.date.issued | 2016 | |
dc.identifier | ntnudaim:14091 | |
dc.identifier.uri | http://hdl.handle.net/11250/2616019 | |
dc.description.abstract | In this thesis I have developed a prototype for a software framework for the
simulation of flow in porous media,
based on the MATLAB Reservoir Simulation Toolkit (MRST).
The software -- Python Reservoir Simulation Toolkit -- is written in the Python
programming language.
First,
the equations for single-phase flow in porous media are developed and
discretized using the finite-volume method.
%TODO dsicertte?
The nonlinear systems of equations that arise are solved using Newton's method,
with Jacobian matrices found using automatic differentiation.
Automatic differentiation is a method for finding gradients and Jacobians of
programatically defined functions.
It is based on decomposing a function into elementary operations such as
addition and multiplication,
and then using the chain rule repeatedly.
Then, MATLAB and Python's capabilities are compared.
Software unit testing is introduced as a tool to ensure the correctness of PRST
functions compared to the equivalent MRST functions.
Unstructured grids are introduced
-- and several tools for visualizing unstructured grids are investigated.
After that, an example of how compilation and just-in-time compilation can be
used to improve Python performance is shown, using Cython and Numba.
Finally, a flow simulator example from MRST is converted to use PRST, and the
visualization capability and performance is compared. | en |
dc.language | eng | |
dc.publisher | NTNU | |
dc.subject | Fysikk og matematikk, Industriell matematikk | en |
dc.title | PRST - Python Reservoir Simulation Toolbox | en |
dc.type | Master thesis | en |
dc.source.pagenumber | 59 | |
dc.contributor.department | Norges teknisk-naturvitenskapelige universitet, Fakultet for informasjonsteknologi og elektroteknikk,Institutt for matematiske fag | nb_NO |
dc.date.embargoenddate | 10000-01-01 | |