capeTwoPhaseProperty returns a two-phase mixture property. The result may be a scalar, vector or matrix. Matrix values are represented by a vector of elements.
For the unit of measure of a two-phase property, use capePropertyUnit.
Syntax:
=capeTwoPhaseProperty(propName, phaseName1, phaseName2, T, P, moleFractions1, moleFractions2)
Arguments:
propName | Name of the property. For a list of available two-phase properties, click the Two-phase Properties button on the control sheet. Temperature derivatives are indicated with .Dtemperature, pressure derivatives are indicated with .Dpressure, unconstrained mole fraction derivatives are indicated with .DmolFraction and mole number derivatives for one mole of substance are indicated with .Dmoles |
phaseName1 | First phase for which to calculate the property. For a list of defined phases, click the Phases button on the control sheet. |
phaseName2 | Second phase for which to calculate the property. |
T | Temperature at which to calculate the property |
P | Pressure at which to calculate the property |
moleFractions1 | Composition of the first phase for which to calculate the property; number of values must correspond to the number of compounds. Composition must be normalized. |
moleFractions2 | Composition of the second phase for which to calculate the property. |
Example:
=capeTwoPhaseProperty("surfaceTension", "vapor", "liquid", 293.15, 101325.0, G3:G8, H3:H8)
This function can be inserted by clicking the Two-phase Property button on the Unit Operation ribbon.