spheres_and_cylinders#

spheres_and_cylinders(network, pore_diameter='pore.diameter', throat_diameter='throat.diameter')[source]#

Finds throat length assuming pores are spheres and throats are cylinders.

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.

Returns:

lengths – A numpy ndarray containing throat length values

Return type:

ndarray