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

TypeNameDefaultDescription
BooleanassumeConstantDensitytrue= true, if incompressibility is assumed (use '= false' for Ma > 0.3)
BooleandA_indisplayParameters and displayInletArea and not area_in_FromInputDisplay inlet area
BooleandA_outdisplayParameters and displayOutletArea and not area_out_FromInputDisplay outlet area
BooleandisplayAdA_in or dA_outDisplay inlet area or display outlet area
StringAreaStringif 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 ""
StringcompressibilityStringif assumeConstantDensity then "incompressible" else "compressible"
StringdisplayPos1if displayCompressibilityApproach then compressibilityString elseif displayA then AreaString elseif displayInertance then "L = %L_value" else ""
StringdisplayPos2if displayCompressibilityApproach and displayA then AreaString elseif displayInertance and not displayPos1 == "L = %L" then "L = %L_value" else ""
StringdisplayPos3if displayCompressibilityApproach and displayA and displayInertance then "L = %L_value" else ""
Nozzle / Diffusor definition
Booleanarea_in_FromInputfalse= true, if input connector for inlet cross section area is enabled
SI.AreaA_in1Inlet cross-sectional area
Booleanarea_out_FromInputfalse= true, if input connector for outlet cross section area is enabled
SI.AreaA_out1Outlet cross-sectional area
Advanced
ThermofluidStream.Utilities.Units.InertanceL_valuedropOfCommons.LInertance
Layout › Display parameters
BooleandisplayCompressibilityApproachtrue= true, if assumeConstantDensity is displayed
BooleandisplayInletAreatrue= true, if inlet area A_in is displayed
BooleandisplayOutletAreatrue= true, if outlet area A_out is displayed
BooleandisplayInertancefalse=true, if inertance L is displayed

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputA_in_varInlet cross-sectional area input connector [m2]
Modelica.Blocks.Interfaces.RealInputA_out_varOutlet cross-sectional area input connector [m2]