cuboid

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

Calcuate the throat perimeter assuming 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_diameter (str) – Name of the dictionary key on target where the array containing throat diameter values is stored

Returns

perimeters – A numpy ndarray containing throat perimeter values

Return type

ndarray