Compute isochoric specific heat capacity inside the two-phase region
function cv2Phase extends Modelica.Icons.Function; input PhaseBoundaryProperties liq "Properties on the boiling curve"; input PhaseBoundaryProperties vap "Properties on the condensation curve"; input SI.MassFraction x "Vapour mass fraction"; input SI.Temperature T "Temperature"; input SI.Pressure p "Properties"; output SI.SpecificHeatCapacity cv "Isochoric specific heat capacity"; end cv2Phase;