Diffuser1_CL
Diffuser model with a specified efficiency.
Inputs:
h_in: inlet enthalpy (J/kg, kJ/kg, or Btu/lbm)
P_in: inlet pressure (bar, atm, Pa, kPa, MPa)
Vel_in: inlet velocity (m/s, ft/s)
Vel_out: outlet velocity (m/s, ft/s)
F$: fluid string identifier
eta: efficiency of diffuser
Outputs:
h_out: outlet enthalpy (J/kg, kJ/kg, or Btu/lbm)
P_out: outlet pressure (bar, atm, Pa, kPa, MPa)
C_P: pressure recovery coefficient (-); defined as the actual pressure rise to the ideal pressure rise that would be obtained in an isentropic diffuser with infinite area ratio
Example:
$Load Component Library
$UnitSystem SI Mass J K Pa
$VarInfo h_in units=J/kg
$VarInfo h_out units=J/kg
$VarInfo P_out units=Pa
F$='Air'
T_in=300 [K]
P_in=1e5 [Pa]
h_in=enthalpy(F$,T=T_in)
Vel_in=200 [m/s]
Vel_out=50 [m/s]
eta=0.7
Call diffuser1_cl(h_in, P_in, Vel_in, Vel_out, F$, eta: h_out, P_out, C_P)
{Solution:
h_out = 319180 [J/kg]
P_out = 116494 [Pa]
C_P = 0.6529}