How to install OpenPNM? #1809
Answered
by
jgostick
ma-sadeghi
asked this question in
Q&A
-
I wonder how we can install OpenPNM... |
Beta Was this translation helpful? Give feedback.
Answered by
jgostick
Dec 9, 2020
Replies: 1 comment 2 replies
-
The standard |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ma-sadeghi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The standard
pip install openpnm
works, but as of version 2.6 we strongly recommonend that you useconda install -c conda-forge openpnm
. The latter approach will also install the pardiso solver which is substantially faster than the default solver that comes with scipy. In fact thespsolve
method in scipy is so slow that if your network has more than 10,000 pores, OpenPNM will raise an error and prevent you from running. It's just slow slow that you'll think the code has hung up.