standard#

standard(target, mol_weight='pore.molecular_weight', density='pore.density')[source]#

Calculates the molar density from the molecular weight and mass density

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.

  • mol_weight (str) – The dictionary key containing the molecular weight in kg/mol

  • density (str) – The dictionary key containing the density in kg/m3

Returns

value – A numpy ndrray containing molar density values [mol/m3]

Return type

ndarray