modelNozzle
Model for dynamic pressure difference
Extends from ThermofluidStream.Interfaces.SISOFlow.
Information
Implementation of a nozzle taking gas dynamic effects into account.
By default, the density is assumed to be constant across the component. This assumption can be reverted by setting assumeConstantDensity = false and hence the outlet velocity is computed by the outlet density. Beware that this will lead to a non-linear equation system in the component.
By definition, the sign of the velocity matches the sign of the mass-flow rate at the inlet.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | assumeConstantDensity | true | = true, if incompressibility is assumed (use '= false' for Ma > 0.3) |
| Boolean | dA_in | displayParameters and displayInletArea and not area_in_FromInput | Display inlet area |
| Boolean | dA_out | displayParameters and displayOutletArea and not area_out_FromInput | Display outlet area |
| Boolean | displayA | dA_in or dA_out | Display inlet area or display outlet area |
| String | AreaString | if dA_in and dA_out then "A_in=%A_in, A_out=%A_out" elseif dA_in and not dA_out then "A_in = %A_in" elseif not dA_in and dA_out then "A_out = %A_out" else "" | |
| String | compressibilityString | if assumeConstantDensity then "incompressible" else "compressible" | |
| String | displayPos1 | if displayCompressibilityApproach then compressibilityString elseif displayA then AreaString elseif displayInertance then "L = %L_value" else "" | |
| String | displayPos2 | if displayCompressibilityApproach and displayA then AreaString elseif displayInertance and not displayPos1 == "L = %L" then "L = %L_value" else "" | |
| String | displayPos3 | if displayCompressibilityApproach and displayA and displayInertance then "L = %L_value" else "" | |
| Nozzle / Diffusor definition | |||
| Boolean | area_in_FromInput | false | = true, if input connector for inlet cross section area is enabled |
| SI.Area | A_in | 1 | Inlet cross-sectional area |
| Boolean | area_out_FromInput | false | = true, if input connector for outlet cross section area is enabled |
| SI.Area | A_out | 1 | Outlet cross-sectional area |
| Advanced | |||
| ThermofluidStream.Utilities.Units.Inertance | L_value | dropOfCommons.L | Inertance |
| Layout › Display parameters | |||
| Boolean | displayCompressibilityApproach | true | = true, if assumeConstantDensity is displayed |
| Boolean | displayInletArea | true | = true, if inlet area A_in is displayed |
| Boolean | displayOutletArea | true | = true, if outlet area A_out is displayed |
| Boolean | displayInertance | false | =true, if inertance L is displayed |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | A_in_var | Inlet cross-sectional area input connector [m2] | |
| Modelica.Blocks.Interfaces.RealInput | A_out_var | Outlet cross-sectional area input connector [m2] |