Vis enkel innførsel

dc.contributor.advisorLie, Knut Andreas
dc.contributor.advisorMøyner, Olav
dc.contributor.authorRøssland, Andreas Amlien
dc.date.accessioned2019-09-11T11:19:30Z
dc.date.created2016-08-18
dc.date.issued2016
dc.identifierntnudaim:14091
dc.identifier.urihttp://hdl.handle.net/11250/2616019
dc.description.abstractIn 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.languageeng
dc.publisherNTNU
dc.subjectFysikk og matematikk, Industriell matematikken
dc.titlePRST - Python Reservoir Simulation Toolboxen
dc.typeMaster thesisen
dc.source.pagenumber59
dc.contributor.departmentNorges teknisk-naturvitenskapelige universitet, Fakultet for informasjonsteknologi og elektroteknikk,Institutt for matematiske fagnb_NO
dc.date.embargoenddate10000-01-01


Tilhørende fil(er)

Thumbnail
Thumbnail

Denne innførselen finnes i følgende samling(er)

Vis enkel innførsel