How to make the shape of the pores more complex? #2415
Unanswered
Xiaozizhuo
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @Xiaozizhuo If you really want full control then you may want to consider writing your own functions. For instance, if you want the throats to be triangular, you could write: def cross_sectional_area(target, throat_diameter='throat.diameter'):
network = target.network
Dt = network[throat_diameter] # Compute area for all throats in network
A = <input desired formula here>
return A[network['throat.'+target.name] # only return values for throats of target, in case of multiple domains The formula you use may be something like this |
Beta Was this translation helpful? Give feedback.
3 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.
-
Hello dear professor jeff, in the framework of OpenPNM, can it be more complicated besides generating a simplified model of "the throat is a cylinder and the pores are a sphere"? For example, the pores are cuboid or the porous medium is composed of a large number of cylinders stacked like a GDL.
Beta Was this translation helpful? Give feedback.
All reactions