Contents - index


Shock_CL

 

 

Shock_CL provides a model of a normal shock.  This model finds the outlet conditions of the shock that are consistent with continuity, momentum and energy.  The fluid can be any ideal gas or real fluid within the EES database.  The model does not assume ideal gas behavior of the fluid.  

 

CALL Shock_CL(F$, P_in, h_in, Ma_in: P_out, h_out, Ma_out)

 

Inputs:

F$ Name of a gas in the EES database

P_in:  inlet pressure (bar, atm, Pa, kPa, MPa)

h_in:  inlet specific enthalpy (J/kg, kJ/kg, Btu/lbm)

Ma_in:  inlet Mach number

 

Outputs:

P_out: exit pressure  (bar, atm, Pa, kPa, MPa)

h_out:  outlet specific enthalpy (J/kg, kJ/kg, Btu/lbm)

Ma_out:  outlet Mach number

 

Example 1: 

$Load Component Library

$UnitSystem SI Mass kPa C kJ 

 

F$ = 'Air'

T_in = 400 [C]

P_in = 200 [kPa]

Ma_in = 1.23

h_in = Enthalpy(F$,T=T_in)

CALL Shock_CL(F$, P_in, h_in, Ma_in: P_out, h_out, Ma_out)

 

{Solution:

P_out = 319.6 [kPa]

h_out = 783.7 [kJ/kg]

Ma_out = 0.8234 [-]

}

 

Example 2: 

$Load Component Library

$UnitSystem SI Mass kPa C kJ 

 

F$ = 'R134a'

T_in = 120 [C]

P_in = 150 [kPa]

Ma_in = 2.3

h_in = Enthalpy(F$,T=T_in, P=P_in)

CALL Shock_CL(F$, P_in, h_in, Ma_in: P_out, h_out, Ma_out)

 

{Solution:

P_out = 821.7 [kPa]

h_out = 450.2 [kJ/kg]

Ma_out = 0.4633 [-]

}

 

Index