Adapted from the ThermoFlow library (H. Tummescheit)
Version 1.0
function cv2Phase input PhaseBoundaryProperties liq; input PhaseBoundaryProperties vap; input Real x "Vapor mass fraction"; input Units.SI.Temperature T; input Units.SI.AbsolutePressure p; output Units.SI.SpecificHeatCapacity cv; end cv2Phase;