sphere¶
- openpnm.models.geometry.pore_surface_area.sphere(target, pore_diameter='pore.diameter', throat_cross_sectional_area='throat.cross_sectional_area')[source]¶
Calculates internal surface area of pore bodies assuming they are spheres, then subtracts the areas of the neighboring throats
- 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.
pore_diameter (str) – Name of the dictionary key on
target
where the array containing pore diameter values is storedthroat_cross_sectional_area (str) – Name of the dictionary key on
target
where the array containing throat cross sectional area values is stored
- Returns
surface_areas – Numpy ndarry containing pore surface area values
- Return type
ndarray
Notes
This function subtracts the area of the neighboring throats in a crude way, by simply considering the throat cross-sectional area, thus not accounting for the actual curvature of the intersection.