openpnm.models.geometry.pore_size.equivalent_diameter(target, pore_volume='pore.volume', pore_shape='sphere')[source]

Calculate the diameter of a sphere or edge-length of a cube with same volume as the pore.

  • 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.

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

  • pore_shape (str) – The shape of the pore body to assume when back-calculating from volume. Options are ‘sphere’ (default) or ‘cube’.


diameters – A number ndarray containing pore diameter values

Return type