Skip to content

Isentropic Compressible Orifice

fullflow.IsentropicCompressibleOrifice

Isentropic compressible orifice model for ideal-gas flow.

IsentropicCompressibleOrifice computes mass flow through an orifice using ideal-gas isentropic flow relations. The component automatically switches between unchoked and choked flow based on the downstream-to-upstream pressure ratio.

Parameters

Name Type Description
namestr

Component name

networkNetwork

Network that owns this component

upstream_total_pressureState

Upstream total pressure

upstream_total_temperatureState

Upstream total temperature

downstream_pressureState

Downstream static pressure

discharge_coefficientfloat

Discharge coefficient

cross_sectional_areafloat

Flow area

specific_gas_constantfloat

Specific gas constant

specific_heat_ratioState

Specific heat ratio

Outputs

Name Type Description
mass_flowState, optional

Computed mass flow rate

total_enthalpyState, optional

Upstream total enthalpy