Non-Circular Pipe
Lossy model of a non-circular pipe
Description
Equations
Variables
Connections
Parameters
The Non-Circular Pipe component models a pipe with losses. The pressure drop is computed with the Darcy equation, with the friction factor determined using the Haaland approximation for turbulent flow. When the Reynolds number is greater than the maximum value for laminar flow but less than the minimum value for turbulent flow, the friction factor is determined using linear interpolation.
Re=q⁢Dha⁢ν
fL=KsRefT=fColebrook⁡ReT,εDh
mode={posturbulentReT<RenegturbulentReT<−ReposmixedReL<RenegmixedReL<−Relaminarotherwise
p=pA−pB=12⁢L⁢ρ⁢ν2Dh3⁢Re⁢{fColebrook⁡Re,εDh⁢Remode=posturbulent∨mode=negturbulentfL+fT−fLReT−ReL⁢Re−ReL⁢Remode=posmixed∨mode=negmixedKsotherwise
q=qA=−qB=Re⁢A⁢νDh
fColebrook=Re,εD→1.8⁢log106.9Re+εD3.71.11−2
Name
Units
Modelica ID
fL
Friction factor with laminar flow
fT
Friction factor with turbulent flow
mode
Integer indicating type of flow
p
Pa
Pressure across component
q
m3s
Flow rate through component
Re
Reynolds number
portA
Upstream hydraulic port
portB
Downstream hydraulic port
Default
A
Dh2
m2
Cross-sectional area
Dh
0.01
m
Hydraulic diameter
Ks
56
Shape-factor for cross section
L
5
Length of pipe
ε
1.5·10−5
Height of inner surface roughness
epsilon
ReL
2·103
Reynolds number at transition to laminar flow
ReT
4·103
Reynolds number at transition to turbulent flow
See Also
Hydraulics Library
Restrictions
Download Help Document