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.
The project is organized as follows:
README.md
- description of the projectLICENSE
- the default license is MITdata/
- 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 workflowsrc/
- folder containing the Python scripts of the project:00_run_upscaling.py
- run an upscaling workflow01_pdf_porosity.py
- reproducing Figure 1 of the manuscript02_Scatter_TA_Data.py
- reproducing Figure 2 of the manuscript03_Normality_Histogram.py
- reproducing Figure 3 of the manuscript04_stats_TA.py
- reproducing Figure 4 of the manuscript05_Scatter_TA_eff_2D.py
- reproducing Figure 6a of the manuscript06_pdf_marginal_TA_por.py
- reproducing Figure 6b+c of the manuscript07_ens_stats_evolution.py
- reproducing Figure 7 of the manuscript08_cloud_TA_pdf.py
- reproducing Figure 8 of the manuscriptDistributions.py
- containg classes for specifying porosity distribution and a class for analysing connected transport ability data distributed over a range of porosity valuesTA_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 simulationTA_Upscaling.py
- containing class which combines numerical and theoretical upscaling
To make the example reproducible, we provide the following files:
requirements.txt
- requirements for pip to install all needed packages
You can contact us via [email protected].
MIT © 2021