sphere#

sphere(network, pore_diameter='pore.diameter')[source]#

Calculate pore volume from diameter assuming a spherical pore body

Parameters:

network (OpenPNM Network object) –

pore_diameterstr

Name of the dictionary key on network containing the ndarray of pore diameter values.

Returns:

volumes – Numpy ndarray containing pore volume values

Return type:

ndarray