Table of Contents
A Python library for interpreting core flooding experiments using Dynamic Mode Decomposition (DMD)
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
This project provides the source code of the figures in the publication Spurin et al. Dynamic Mode Decomposition for Analyzing Dynamics in Multi-phase Flow in Porous Media ... paper
- Readme based on Best Readme Template
- Jupyter notebooks generated from .py files with jupytext
Read the paper to get some background info. Then install your favorite Python distribution of you don't already have one (we used Anaconda), install required libraries, download the code and run the examples.
The code and examples can be run from most modern Python distributions such as Anaconda. You may want to choose a distribution that has matplotlib
, numpy
and other standard packages pre-installed. There are a few extra libraries to install:
- pandas (using internally pandas data frames, but also to import/expert data)
- pydmd (the package for DMD analysi)
- Clone the repo
git clone https://github.com/cspurin/dmd.git
- Install additioal Python libraries
pandaslmfitconda install pandas
pip install pydmd
We include 2 examples from the paper Spurin et al. Dynamic Mode Decomposition for Analyzing Dynamics in Multi-phase Flow in Porous Media ...
- Fig. 03-05
DMD_steady-state_Darcy-scale.py
- Fig. xxx
xxx.py
The .py
files are also available as .ipynb
Jupyter notebooks (generated with jupytext). Respective markdown tags are included in the .py files to generate the formatting e.g. headers in the Jupyter notebooks.
- Add Changelog
- Add more examples from previous papers
- steady-state experiments
- matching real data
It would be great if you could contribute to this project. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
Distributed under the MIT License. See LICENSE.txt
for more information.
Catherine Spurin - LinkedIn - cspurin@stanford.edu
Steffen Berg - LinkedIn - steffen.berg@shell.com
Project Link: https://github.com/cspurin/dmd/
We would like to acknowledge
- James E. McClure
- Ryan T. Armstrong
- C. Spurin et al., Spurin et al. Dynamic Mode Decomposition for Analyzing Dynamics in Multi-phase Flow in Porous Media ... to be submitted