Skip to content

Choked Fanno Flow

fullflow.ChokedFannoFlow

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
namestr

Component name

networkNetwork

Network that owns this component

upstream_densityState

Upstream density

upstream_speed_of_soundState

Upstream speed of sound

specific_heat_ratioState

Specific heat ratio

friction_factorState

Darcy friction factor

lengthfloat

Tube length

inner_diameterfloat

Tube inner diameter

upstream_static_enthalpyState, optional

Upstream static enthalpy

regimestr, optional

Fanno branch to use

upstream_mach_numberState, optional

Upstream Mach number

Outputs

Name Type Description
mass_fluxState, optional

Computed mass flux

mass_flowState, optional

Computed mass flow rate

total_enthalpyState, optional

Upstream total enthalpy

downstream_mach_numberState or float, optional

Downstream Mach number

static_temperature_ratioState, optional

Downstream-to-upstream static temperature ratio

static_pressure_ratioState, optional

Downstream-to-upstream static pressure ratio

density_ratioState, optional

Downstream-to-upstream density ratio

velocity_ratioState, optional

Downstream-to-upstream velocity ratio

total_pressure_ratioState, optional

Downstream-to-upstream total pressure ratio

total_temperature_ratioState or float, optional

Downstream-to-upstream total temperature ratio

friction_factor_to_chokeState, optional

Friction factor required to choke for the current geometry

fL_over_D_to_chokeState, optional

Fanno friction length required to choke