-
Hello professor, I am new OpenPNM. My problem is to calculate the effective diffusivity of the porous structure, which comes from the 3d matrix. I have several types of pores and I need to assign the different diffusivity value to every location of pores specifically (isotropic diffusivity). I followed the example of calculating effective diffusivity (https://openpnm.org/examples/applications/effective_diffusivity_and_tortuosity.html). I also read the code of function "tortuosity_fd" in porespy. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @kyang0607, OpenPNM is well suited to doing calculations with different properties at different locations in the network. In fact, this was a main design principle, even though it is not used much. Once you have a network you first need to identify which throats will have special properties. Perhaps you do this based on size, like small vs large. The easiest way to do this is with labels. Once you have labelled the throats, you can then assign special properties using the @ notation as explained in that tutorial. Hope that helps. |
Beta Was this translation helpful? Give feedback.
Hi @kyang0607, OpenPNM is well suited to doing calculations with different properties at different locations in the network. In fact, this was a main design principle, even though it is not used much. Once you have a network you first need to identify which throats will have special properties. Perhaps you do this based on size, like small vs large. The easiest way to do this is with labels. Once you have labelled the throats, you can then assign special properties using the @ notation as explained in that tutorial. Hope that helps.