cuboid

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

Calculate throat volume assuing a square cross-section

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

At present this models does NOT account for the volume reprsented by the intersection of the throat with a spherical pore body.