getPropertyUnitOfMeasure can be used to get a textual description for the unit-of-measure of a specified property; useful for creating reports.
uom=getPropertyUnitOfMeasure(propName)
propName
String; name of the property. This can be any of the supported compound constants,
temperature dependent properties, pressure dependent properties,
single phase properties or two phase properties.
uom
String; textual description for unit of measure, or empty string.
» getPropertyUnitOfMeasure('criticalTemperature')
ans =
K
» getPropertyUnitOfMeasure('vaporPressure')
ans =
Pa
» getPropertyUnitOfMeasure('vaporPressure.Dtemperature')
ans =
Pa / K
» getPropertyUnitOfMeasure('enthalpy')
ans =
J / mol
» getPropertyUnitOfMeasure('enthalpy.Dmoles')
ans =
J / mol
» getPropertyUnitOfMeasure('surfaceTension')
ans =
N m
» getPropertyUnitOfMeasure('surfaceTension.Dmoles')
ans =
N m / mol