-
Install Microsoft Visual C++ 14.0
-
Download the Laguerre Tessellation Tool: https://github.com/wackywendell/tess
-
Download the Droplet Contact Numbers and Probabilities scripts (DCNumPro_XYZ.py) and the conda environment suitable for your operating system (DCNumPro_windows.yml for Windows or DCNumPro_linux.yml for Linux): https://git.rwth-aachen.de/avt-fvt/public/contact-numbers-and-probabilities
-
Put the DCNumPro_XYZ.py and DCNumPro_windows.yml (or DCNumPro_linux.yml) files into the main folder of the Laguerre Tessellation Tool (tess-master)
-
Open the DCNumPro_main.py script with an code editor and install the environment DCNumPro.yml (or DCNumPro_linux.yml):
- conda env create -f DCNumPro_windows.yml or
- conda env create -f DCNumPro_linux.yml
-
Install the Laguerre Tessellation Tool: python setup.py build_ext -i
-
Set configuration parameters in DCNumPro_config.py and run the DCNumPro_main.py script.
...
- Script description and content:
- DCNumPro_main.py --> This is the main script to execute DCNumPro.
- DCNumPro_config.py --> In this script configurations for the DCNumPro_main.py script are set.
- DCNumPro_DSD.py --> This script contains all functions related to droplet size distribution (DSD).
- DCNumPro_RLP.py --> This script contains all functions related to the random loose packing (RLP).
- DCNumPro_grow.py --> This script contains all functions related to the droplet grow algorithm.
- DCNumPro_ContProb.py --> This script contains all functions to determine contact numbers and probabilities.
- DCNumPro_plot.py --> This script contains all functions for plotting.
- DCNumPro_excel.py --> This script contains all functions to export the results to excel.
- Troubleshooting
a) If you have problems with conda not finding the packages when creating the environment, try to add conda channels:
- conda config --append channels conda-forge
- conda config --append channels anaconda
b) If you have problems with creating the environment using the .YML file, try manual creation:
conda create -n DCNumPro python=3.10 xlwt numpy pandas sympy scipy cycler matplotlib sphinx sphinx_rtd_theme cython tqdm