def corr_fog_mt(sher, nuss, pran, schm, rh, t_interface, t, p): """ fog correction for the mass transfer H.J.H. Brouwers, Effect of fog formation on turbulent vapor condensation with noncondensable gases, J. Heat Transf. 118 (1) (1996) 243–245, doi: 10.1115/1.2824052 Args: sher: Sherwood number nuss: sensible Nusselt number pran: Prandtl number schm: Schmidt number rh: relative humidity t_interface: temperature at the condensate interface [celsius] t: temperature in the bulk flow [celsius] p: fluid pressure [Pa] Returns: corrections factor for fog formation """ p_v = rh * fpa.temperature2saturation_vapour_pressure(t) c_p = fpa.moist_air_heat_capacity(t, p, p_v) x_vbs, x_vb = fpa.__moles_fraction_mixture__(p_v, p, t) x_vis, x_vi = fpa.__moles_fraction_mixture__(p_v, p, t_interface) lmbda = fpw.enthalpy_evaporation(t) # c_p_alt = c_p_mixture(x_vb, t) # lmbda_mol = lmbda * fpa.MOLES_MASS_VAPOUR return (1. + (lmbda / c_p * pran / schm * (x_vb - x_vi) / (t - t_interface) * sher / nuss) ** -1) / \ (1. + (lmbda / c_p * pran / schm * saturation_line_slope(t_interface, p)) ** -1)
def corr_suction_ht(sher, nuss, pran, schm, rh, t_interface, t, p): """ suction correction for the heat transfer H.J.H. Brouwers, Effect of fog formation on turbulent vapor condensation with noncondensable gases, J. Heat Transf. 118 (1) (1996) 243–245, doi: 10.1115/1.2824052 Args: sher: Sherwood number nuss: sensible Nusselt number pran: Prandtl number schm: Schmidt number rh: relative humidity t_interface: temperature at the condensate interface [celsius] t: temperature in the bulk flow [celsius] p: fluid pressure [Pa] Returns: corrections factor for suction """ p_v = rh * fpa.temperature2saturation_vapour_pressure(t) c_p = fpa.moist_air_heat_capacity(t, p, p_v) c_pv = fpw.heat_capacity(t) x_vbs, x_vb = fpa.__moles_fraction_mixture__(p_v, p, t) x_vis, x_vi = fpa.__moles_fraction_mixture__(p_v, p, t_interface) r_t = c_pv / c_p * (sher * pran) / (schm * nuss) * np.log( (1 - x_vb) / (1 - x_vi)) return -1 * r_t / (np.exp(-r_t) - 1)
def jakob(t_bulk, t_interface, t_in, pressure, rel_hum): """ Jakob number/ ratio of sensible to latent heat Args: t_bulk: mean bulk temperature [celsius] t_interface: temperature at the condensate interface [celsius] t_in: inlet temperature [celsius] pressure: fluid pressure at the inlet [Pa] rel_hum: relative humidity at the inlet """ return fpa.moist_air_heat_capacity(t_bulk, pressure, rel_hum * fpa.temperature2saturation_vapour_pressure(t_in)) * \ (t_bulk - t_interface) / fpw.enthalpy_evaporation(t_bulk)