cylinder

openpnm.models.geometry.throat_volume.cylinder(target, throat_length='throat.length', throat_diameter='throat.diameter')[source]

Calculate throat volume assuing a cylindrical shape

Parameters
  • target (OpenPNM Base object) – Object with which this model is associated. This controls the length of the calculated array, and also provides access to other necessary properties.

  • throat_length (str) – Name of the dictionary key on target where the array containing throat length values is stored

  • throat_diameter (str) – Name of the dictionary key on target where the array containing pore diameter values is stored

Returns

volumes – A numpy ndarray containing throat volume values

Return type

ndarray

Notes

This models does not account for the volume reprsented by the intersection of the throat with a spherical pore body. Use the lens or pendular_ring models in addition to this one to account for this volume.