squares_and_rectangles#
- squares_and_rectangles(network, pore_diameter='pore.diameter', throat_diameter='throat.diameter')[source]#
Calculates conduit lengths in the network assuming pores are squares and throats are rectangles.
- Parameters:
network (OpenPNM Network object)
- pore_diameterstr
Name of the dictionary key on
network
containing the ndarray of pore diameter values.- throat_diameterstr
Name of the dictionary key on
network
containing the ndarray of throat diameter values.
Notes
This model should only be used for true 2D networks, i.e. with planar symmetry.