Giter VIP home page Giter VIP logo

mrst-simulations's Introduction

MRST Simulations

My various reservoir simulations done in Matlab Reservoir Simulation Toolbox (MRST). Can be run in Octave.

  • 3D Hydrostatic (gravity) column of incompressible fluid > Script
  • 3D Single-phase incompressible fluid (water) simulation (ALL B.C.) > Script
  • 3D Single-phase compressible fluid (oil) simulation - constant viscosity over pressure (NO FLOW B.C.) > Script
  • 3D Single-phase compressible fluid (gas) simulation - pressure-dependent viscosity (NO FLOW B.C.) > Script
  • 3D Single-phase compressible fluid (polymer) simulation - Non-Newtonian fluid (with 2 numerical methods: cell-based, or face-based) (NO FLOW B.C.) > Script
  • 3D Single-phase compressible fluid simulation with thermal effect (NO FLOW B.C.) > Script
  • Two-phase incompressible and immiscible fluid
    • Simulation of waterflooding to an oil (dead oil) bank
      • 1D Buckley-Leverett simulation > Script
      • 2D Buckley-Leverett simulation > Script
      • Observation of viscous fingering > Script

These scripts are adapted from MRST tutorial codes, but I have modified it.

Note:

  • I added some Matlab functionalities used in the scripts that Octave currently doesn't have, such as deval. See in the ./modules/nuwara folder.
  • I experienced that plotyy (an Octave function) doesn't work properly. plotyy is used e.g. in Simulation 3 to 6 (above). To fix this, this is my way round (in the command line):
    • Add path: addpath 'C:\Octave\Octave-5.2.0\mingw64\share\octave\5.2.0\m\plot\draw'
    • Run: plotyy

Current Experimentation

  • MRST scripts are called from Google Colab
  • For the optimization-related scripts (e.g. computeLorenzSPE10.m), Python optimizers will be used > Porting Python and Octave in Google Colab
  • Utilizing GPU in Google Colab to run the MRST scripts, speeding up simulations

mrst-simulations's People

Contributors

yohanesnuwara avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.