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 |
|---|---|---|
name | str | Component name |
network | Network | Network that owns this component |
upstream_ | State | Upstream total pressure |
upstream_ | State | Upstream total temperature |
downstream_ | State | Downstream static pressure |
discharge_ | float | Discharge coefficient |
cross_ | float | Flow area |
specific_ | float | Specific gas constant |
specific_ | State | Specific heat ratio |
Outputs
| Name | Type | Description |
|---|---|---|
mass_ | State, optional | Computed mass flow rate |
total_ | State, optional | Upstream total enthalpy |