Replies: 1 comment
-
It's because you're assigning a numpy array to 'pore.seed', then passing 'pore.seed' in as the model. Openpnn is treating the numpy array as a function, but it's not a function. Judging by your code above it looks like you just want to assign im1 to 'pore.seed' then you can drop the add_model call and just go straight to the 'pore.diameter' model. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, Professor. I asked you a question on the problem of functional expression of porosity #2369 the other day. But when I was running, I made the following mistakes.

I wonder if my code is wrong. By the way, if I calculate the porosity and permeability in two dimensions, it doesn't matter whether Lz is equal to 1 in the cubic network, does it?
Beta Was this translation helpful? Give feedback.
All reactions