|
| gamma = conditions.freestream.isentropic_expansion_factor |
|
| Cp = conditions.freestream.specific_heat_at_constant_pressure |
|
| Po = conditions.freestream.pressure |
|
| Pto = conditions.freestream.stagnation_pressure |
|
| Tto = conditions.freestream.stagnation_temperature |
|
| R = conditions.freestream.gas_specific_constant |
|
| Mo = conditions.freestream.mach_number |
|
| Tt_in = self.inputs.stagnation_temperature |
|
| Pt_in = self.inputs.stagnation_pressure |
|
| pid = self.pressure_ratio |
|
| etapold = self.polytropic_efficiency |
|
| Pt_out = Pt_in*pid |
|
| Tt_out = Tt_in*pid**((gamma-1)/(gamma)*etapold) |
|
| ht_out = Cp*Tt_out |
|
| Mach = np.sqrt((((Pt_out/Po)**((gamma-1)/gamma))-1)*2/(gamma-1)) |
|
float | i_low = Mach < 1.0 |
|
float | i_high = 1.0 |
|
float | P_out = 1.0 *Mach/Mach |
|
| T_out = Tt_out/(1+(gamma-1)/2*Mach*Mach) |
|
| h_out = Cp*T_out |
|
| u_out = np.sqrt(2*(ht_out-h_out)) |
|
float | rho_out = P_out/(R*T_out) |
|
tuple | area_ratio = (fm_id(Mo,gamma)/fm_id(Mach,gamma)*(1/(Pt_out/Pto))*(np.sqrt(Tt_out/Tto))) |
|
| stagnation_temperature |
|
| stagnation_pressure |
|
| stagnation_enthalpy |
|
| mach_number |
|
| static_temperature |
|
| density |
|
| static_enthalpy |
|
| velocity |
|
| static_pressure |
|
| area_ratio |
|
This is a nozzle component intended for use in expansion.
Calling this class calls the compute function.
Assumptions:
Pressure ratio and efficiency do not change with varying conditions.
Subsonic or choked output.
Source:
https://web.stanford.edu/~cantwell/AA283_Course_Material/AA283_Course_Notes/