• norsk
    • English
  • English 
    • norsk
    • English
  • Login
View Item 
  •   Home
  • Fakultet for informasjonsteknologi og elektroteknikk (IE)
  • Institutt for matematiske fag
  • View Item
  •   Home
  • Fakultet for informasjonsteknologi og elektroteknikk (IE)
  • Institutt for matematiske fag
  • View Item
JavaScript is disabled for your browser. Some features of this site may not work without it.

PRST - Python Reservoir Simulation Toolbox

Røssland, Andreas Amlien
Master thesis
View/Open
14091_FULLTEXT.pdf (Locked)
14091_COVER.pdf (Locked)
URI
http://hdl.handle.net/11250/2616019
Date
2016
Metadata
Show full item record
Collections
  • Institutt for matematiske fag [1390]
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.
Publisher
NTNU

Contact Us | Send Feedback

Privacy policy
DSpace software copyright © 2002-2019  DuraSpace

Service from  Unit
 

 

Browse

ArchiveCommunities & CollectionsBy Issue DateAuthorsTitlesSubjectsDocument TypesJournalsThis CollectionBy Issue DateAuthorsTitlesSubjectsDocument TypesJournals

My Account

Login

Statistics

View Usage Statistics

Contact Us | Send Feedback

Privacy policy
DSpace software copyright © 2002-2019  DuraSpace

Service from  Unit