Coder Social home page Coder Social logo

transportability's Introduction

DOI

Overview

This project provides all python scripts to reproduce the results of the paper "A Probabilistic Formulation of the Diffusion Coefficient in Porous Media as Function of Porosity" by Alraune Zech and Matthijs de Winter

It provides the class implementation of the upscaling workflows, both numerical and theoretical upscaling. It further provides simulation results of upscaling workflows presented in the manuscript and python scripts to reproduce all figures based on the input and upscaling data.

Structure

The project is organized as follows:

  • README.md - description of the project
  • LICENSE - the default license is MIT
  • data/ - folder containing data:
    • FCC_2-1_por_ta_data_d2_r2.csv - observational data from at resolution r = 2
    • remaining filesa are results of upscaling workflows
  • results/ - folder containing plots and a folder with example data for upscaling workflow
  • src/ - folder containing the Python scripts of the project:
    • 00_run_upscaling.py - run an upscaling workflow
    • 01_pdf_porosity.py - reproducing Figure 1 of the manuscript
    • 02_Scatter_TA_Data.py - reproducing Figure 2 of the manuscript
    • 03_Normality_Histogram.py - reproducing Figure 3 of the manuscript
    • 04_stats_TA.py - reproducing Figure 4 of the manuscript
    • 05_Scatter_TA_eff_2D.py - reproducing Figure 6a of the manuscript
    • 06_pdf_marginal_TA_por.py - reproducing Figure 6b+c of the manuscript
    • 07_ens_stats_evolution.py - reproducing Figure 7 of the manuscript
    • 08_cloud_TA_pdf.py - reproducing Figure 8 of the manuscript
    • Distributions.py - containg classes for specifying porosity distribution and a class for analysing connected transport ability data distributed over a range of porosity values
    • TA_Simulation.py - containing class for numerical upscaling work flow to generate ensemble of networks consisting and calcuting network properties and the class on calculating the transport ability through the network flow simulation
    • TA_Upscaling.py - containing class which combines numerical and theoretical upscaling

Python environment

To make the example reproducible, we provide the following files:

  • requirements.txt - requirements for pip to install all needed packages

Contact

You can contact us via [email protected].

License

MIT © 2021

transportability's People

Contributors

alraunez avatar

Stargazers

胡金帅 avatar shawen avatar huangqianhong avatar Benjamin avatar Sebastian Müller avatar

Watchers

 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.