OpenPNM is an open-source pore network modeling package, written in Python. It is designed to be fully agnostic to the topology and dimensionality of network by using graph theory representations to describe the architecture. It is also designed to be customized, so users can write their own pore-scale physics models, geometric, and thermophysical properties models. It includes a large suite of percolation and transport algorithms as well, providing a fully featured package for a wide variety of pore-scale simulation tasks.
OpenPNM is based on the scipy-stack which is best obtained by installing the Anaconda distribution of Python. With this installed on your machine, OpenPNM can be installed very simply with:
C:\pip install openpnm