modelFlowResistance

Flow resistance model

Extends from Interfaces.SISOFlow.

Information

Implementation of a flow resistance pipe with different selectable flow resistance functions (laminar, laminar-turbulent, linear-quadratic).

The pressure drop can be displayed with the coloring (displayColor in the DropOfCommons). The parameter dp_ref_color can be adjusted depending on expected pressure drop and intensity of coloring. Coloring ranges from 0 to 100 % red, with 100 % red at dp = dp_ref_color.

dp_ref_color needs to be defined according to the use case.

Parameters

TypeNameDefaultDescription
SI.LengthD_h4*areaCross/perimeterHydraulic diameter
SI.Lengthperimeterif shape == ShapeOfResistance.circular then 2*pi*r elseif shape == ShapeOfResistance.rectangle then 2*a + 2*b else perimeterInputPerimeter
SI.AreaareaCrossif shape == ShapeOfResistance.circular then pi*r*r elseif shape == ShapeOfResistance.rectangle then a*b else areaCrossInputCross-sectional area
SI.AreaareaHydraulicpi*D_h*D_h*1/4Hydraulic cross-sectional area
Geometry
SI.LengthlLength
ShapeOfResistanceshapeThermofluidStream.Processes.Internal.ShapeOfResistance.circularCross section shape
SI.Radiusr0Radius
SI.Lengtha0Rectangle width
SI.Lengthb0Rectangle height
SI.AreaareaCrossInput0Cross-sectional area
SI.LengthperimeterInput0Wetted perimeter
Advanced › Inertance
BooleancomputeLtrue= true, if inertance L is computed from the geometry
Utilities.Units.InertanceL_valuedropOfCommons.LInertance
Advanced
Medium.Densityrho_mindropOfCommons.rho_minMinimal inlet density
Layout › Visuals
SI.Pressuredp_ref_color1e5Reference pressure drop value for the intensity of coloring
Layout › Display variables
BooleanshowPressureDroptrue= true, if pressure drop is displayed
ThermofluidStream.Types.PressureUnitpressureDropUnitThermofluidStream.Types.PressureUnit.PaUnit used for displaying the pressure drop
IntegerpressureDropSignificantDigits1Number of significant digits used to display the pressure drop

Components

TypeNameDefaultDescription
RealphiNormalized pressure for coloring the flow resistance

Contents

NameDescription
pLoss