-
Hello and thank you for helping us get the best of openPNM, Thank you so much. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The error message means that some of the conductance values are "nan", like 0/0 or log(-1) or something like that. It's a bit tricky to know the exact cause without looking at your specific script. You can try to hunt it down by printing each object. The right column tells you how many valid values you have, and if you see something like 443/1000, it means there are 547 nans in that array on that object. For instance, one common case is that your pores are too big, and overlap each other, and the computation of throat length fails. The solution would be to use large lattice spacing, smaller pores, or a different model for conductance, like cones and cylinders which is tolerate to overlap. Anyway that is just an example of how this can be caused. |
Beta Was this translation helpful? Give feedback.
-
Cones and cylinders is often a better choice actually, but the differences are minor. The main benefit is that cones and cylnders do not have the geometrical contraints of non-overlapping. As usual, the best proof is just to ensure your model matches some known values for your materials. |
Beta Was this translation helpful? Give feedback.
Cones and cylinders is often a better choice actually, but the differences are minor. The main benefit is that cones and cylnders do not have the geometrical contraints of non-overlapping. As usual, the best proof is just to ensure your model matches some known values for your materials.