#NEWLINE# def cuboid( geometry , throat_length = 'throat.length' , throat_diameter = 'throat.diameter' , **kwargs ) : #NEWLINE# #INDENT# '\n    Calculate throat volume assuing a square cross-section\n\n    Parameters\n    ----------\n    geometry : OpenPNM Geometry object\n        The Geometry object which this model is associated.  This is needed\n        to access the other relevant geometrical properties for this\n        calculation.\n\n    throat_length and throat_diameter : strings\n        The dictionary keys containing the arrays with the throat diameter and\n        length values.\n\n    Notes\n    -----\n    At present this models does NOT account for the volume reprsented by the\n    intersection of the throat with a spherical pore body.\n    ' #NEWLINE# leng = geometry [ throat_length ] #NEWLINE# diam = diam [ throat_diameter ] #NEWLINE# value = ( leng * ( diam ** 2 ) ) #NEWLINE# return value