Sets the basis to 'mole' or 'mass'. Affects all properties that have a molar or mass basis. Generally, these are fractions, phase fractions, all extensive properties and densities.
capeOpenSetBasis(basis)
basis: string; valid values are 'mole' (default) or 'mass'
None
» capeOpenPropUnit('fraction') ans = mole fraction » capeOpenPropUnit('phaseFraction') ans = mole fraction » capeOpenPropUnit('vaporFraction') ans = mole fraction » capeOpenPropUnit('density') ans = mol / m3 » capeOpenPropUnit('enthalpy') ans = J / mol » capeOpenSetBasis('mass') » capeOpenPropUnit('fraction') ans = mass fraction » capeOpenPropUnit('phaseFraction') ans = mass fraction » capeOpenPropUnit('vaporFraction') ans = mass fraction » capeOpenPropUnit('density') ans = kg / m3 » capeOpenPropUnit('enthalpy') ans = J / kg