porE: A Code for Deterministic and Systematic Analyses of Porosities
Preprints are manuscripts made publicly available before they have been submitted for formal peer review and publication. They might contain new research findings or data. Preprints can be a draft or final version of an author's research but must not have been accepted for publication at the time of submission.
We present porE, an open-source, general-purpose implementation to compute such properties and discuss
all results regarding their sensitivity to numerical parameters.
Our code combines the numerical efficiency of Fortran with the user-friendliness of Python.
Three different approaches to calculate porosities are implemented in porE, and
their advantages and drawbacks are discussed. In contrast to commonly used implementations,
our approaches are entirely deterministic and do not require any stochastic averaging.
In addition to the calculation of porosities, porE can calculate pore size distributions and offers the possibility to analyze pore windows.
The underlying approaches are outlined, and pore windows are discussed concerning their impact on the analyzed porosities.
Comparisons with reference values aim for a clear differentiation
between void and accessible porosities, which we provide for a small benchmark set consisting of 8 MOFs.
In addition, our approaches are used for a bigger benchmark set containing 370 MOFs,
where we determine linear relationships within our approaches as well as to reference values.
We show how these relationships can be used to derive corrections to a give porosity approach,
minimizing its mean error. As a highlight we show how complex workflows can be
designed with a few lines of Python code using porE.