Chen's correlation for the computation of the heat transfer coefficient in two-phase flows.
function alpha_Chen_TubeFlow import TRANSFORM; input SI.Length D "Characteristic dimension (e.g., hydraulic diameter)"; input TRANSFORM.Units.MassFlux G "Mass flux"; input TRANSFORM.Units.NonDim x(min = 0.0, max = 1.0) "Absolute Steam quality"; input SI.Density rho_fsat "Saturated liquid density"; input SI.DynamicViscosity mu_fsat "Liquid dynamic viscosity"; input SI.ThermalConductivity lambda_fsat "Liquid thermal conductivity"; input SI.SpecificHeatCapacity cp_fsat "Liquid constant pressure heat capacity"; input SI.SurfaceTension sigma "Surface Tension"; input SI.Density rho_gsat "Vapour density"; input SI.DynamicViscosity mu_gsat "Vapour dynamic viscosity"; input SI.SpecificEnthalpy h_fg "Latent heat of vaporization"; input SI.TemperatureDifference Delta_Tsat "Saturation temperature difference (Twall-Tsat)"; input SI.PressureDifference Delta_psat "Saturation pressure difference (psat(Twall)-psat(Tsat))"; output SI.CoefficientOfHeatTransfer alpha "Two-phase total heat transfer coefficient"; output Real X_tt_inv "Inverse of the Martenelli Parameter"; output Real F "Correction factor for two-phase impact on liquid-phase convection"; output Real S "Nucleare boiling suppresion factor"; output Real Re_tp "Two-phase Reynolds number"; end alpha_Chen_TubeFlow;