Choked Fanno Flow
Choked Fanno flow model for ideal-gas duct flow.
ChokedFannoFlow computes the upstream state required for a constant-area adiabatic duct with friction to choke at the downstream end. The downstream state is treated as the Fanno star state.
Parameters
| Name | Type | Description |
|---|---|---|
name | str | Component name |
network | Network | Network that owns this component |
upstream_ | State | Upstream density |
upstream_ | State | Upstream speed of sound |
specific_ | State | Specific heat ratio |
friction_ | State | Darcy friction factor |
length | float | Tube length |
inner_ | float | Tube inner diameter |
upstream_ | State, optional | Upstream static enthalpy |
regime | str, optional | Fanno branch to use |
upstream_ | State, optional | Upstream Mach number |
Outputs
| Name | Type | Description |
|---|---|---|
mass_ | State, optional | Computed mass flux |
mass_ | State, optional | Computed mass flow rate |
total_ | State, optional | Upstream total enthalpy |
downstream_ | State or float, optional | Downstream Mach number |
static_ | State, optional | Downstream-to-upstream static temperature ratio |
static_ | State, optional | Downstream-to-upstream static pressure ratio |
density_ | State, optional | Downstream-to-upstream density ratio |
velocity_ | State, optional | Downstream-to-upstream velocity ratio |
total_ | State, optional | Downstream-to-upstream total pressure ratio |
total_ | State or float, optional | Downstream-to-upstream total temperature ratio |
friction_ | State, optional | Friction factor required to choke for the current geometry |
fL_ | State, optional | Fanno friction length required to choke |