squares_and_rectangles#

squares_and_rectangles(network, pore_diameter='pore.diameter', throat_diameter='throat.diameter', pore_aspect=[1, 1], throat_aspect=[1, 1])[source]#

Computes hydraulic size factors for conduits 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.

pore_aspectlist

Aspect ratio of the pores

throat_aspectlist

Aspect ratio of the throats

Notes

This model should only be used for true 2D networks, i.e. with planar symmetry.