#NEWLINE# def sphere( geometry , pore_diameter = 'pore.diameter' , **kwargs ) : #NEWLINE# #INDENT# '\n    Calculate pore volume from diameter assuming a spherical pore body\n\n    Parameters\n    ----------\n    geometry : OpenPNM Geometry Object\n        The Geometry object which this model is associated with. This controls\n        the length of the calculated array, and also provides access to other\n        necessary geometric properties.\n\n    pore_diameter : string\n        The dictionary key to the pore diameter values\n\n    ' #NEWLINE# diams = geometry [ kwargs ] #NEWLINE# value = ( ( _sp . pi / 6 ) * ( diams ** 3 ) ) #NEWLINE# return value