Main Content

Pipe Bend (TL)

Pipe bend segment in a thermal liquid network

Since R2022a

  • Pipe Bend (TL) block icon

Libraries:
Simscape / Fluids / Isothermal Liquid / Pipes & Fittings

Description

The Pipe Bend (TL) block models a curved pipe in a thermal liquid network. You can define the pipe characteristics to calculate losses due to friction and pipe curvature and optionally model fluid compressibility.

Pipe Curvature Loss Coefficient

The coefficient for pressure losses due to geometry changes comprises an angle correction factor, Cangle, and a bend coefficient, Cbend:

Kloss=CangleCbend.

The block calculates Cangle as:

Cangle=0.0148θ3.9716105θ2,

where θ is the value of the Bend angle parameter, in degrees.

The block calculates Cbend from the tabulated ratio of the bend radius, r, to the pipe diameter, d, for 90° bends from data based on Crane [1]:

Diagram displaying 90° pipe bend

r/d11.523468101214162024
K20 fT14 fT12 fT12 fT14 fT17 fT24 fT30 fT34 fT38 fT42 fT50 fT58 fT

The block interpolates the friction factor, fT, for clean commercial steel from tabular data based on the pipe diameter [1]. This table contains the pipe friction data for clean commercial steel pipe with flow in the zone of complete turbulence.

Nominal size (mm)51015202532405072.5100125150225350609.5
Friction factor, fT.035.029.027.025.023.022.021.019.018.017.016.015.014.013.012

The correction factor is valid for a ratio of bend radius to diameter between 1 and 24. Beyond this range, the block employs nearest-neighbor extrapolation.

Losses Due to Friction in Laminar Flows

The pressure loss formulations are the same for the flow at ports A and B.

When the flow in the pipe is fully laminar, or below Re = 2000, the pressure loss over the bend is:

Δploss=μλ2ρId2AL2m˙port,

where:

  • μ is the fluid dynamic viscosity.

  • λ is the Darcy friction factor constant, which is 64 for laminar flow.

  • ρI is the internal fluid density.

  • d is the pipe diameter.

  • L is the bend length segment, the product of the Bend radius and the Bend angle: Lbend=rbendθ..

  • A is the pipe cross-sectional area, π4d2.

  • m˙port is the mass flow rate at the respective port.

Losses due to Friction in Turbulent Flows

When the flow is fully turbulent, or greater than Re = 4000, the pressure loss in the pipe is:

Δploss=(fDL2d+Kloss2)m˙port|m˙port|2ρIA2,

where fD is the Darcy friction factor. This is approximated by the empirical Haaland equation and is based on the Internal surface absolute roughness. The differential is taken over half of the pipe segment, between port A to an internal node, and between the internal node and port B.

Pressure Differential for Incompressible Fluids

When the flow is incompressible, the pressure loss over the bend is:

pApB=Δploss,AΔploss,B.

Pressure Differential for Compressible Fluids

When the flow is compressible, the pressure loss over the bend is calculated based on the internal fluid volume pressure, pI:

pApI=Δploss,A

pBpI=Δploss,B

Mass Conservation

For an incompressible fluid, the mass flow into the pipe equals the mass flow out of the pipe:

m˙A+m˙B=0.

For a flexible pipe with a compressible fluid, the pipe mass conservation equation is: This dependence is captured by the bulk modulus and thermal expansion coefficient of the thermal liquid:

m˙A+m˙B=ρIV˙+ρIV(p˙IβIαIT˙I),

where:

  • pI is the thermal liquid pressure at the internal node I.

  • T˙I is the rate of change of the thermal liquid temperature at the internal node I.

  • βI is the thermal liquid bulk modulus.

  • α is the liquid thermal expansion coefficient.

Energy Conservation

The energy conservation equation for the block is

Vd(ρu)dt=ϕA+ϕB,

where:

  • ϕA is the energy flow rate at port A.

  • ϕB is the energy flow rate at port B.

Examples

Ports

Conserving

expand all

Thermal liquid conserving port associated with one end of the pipe bend.

Thermal liquid conserving port associated with one end of the pipe bend.

Parameters

expand all

Diameter of the pipe.

Radius of the circle formed by the pipe bend.

Swept degree of the pipe bend.

Pipe wall absolute roughness. This parameter is used to determine the Darcy friction factor, which contributes to pressure loss in the pipe.

Whether to model any change in fluid mass due to fluid compressibility. When you select Fluid dynamic compressibility, mass changes due to varying fluid density in the segment are calculated. The fluid volume in the pipe remains constant. In the Isothermal Liquid library, all blocks calculate density as a function of pressure.

Liquid temperature at the beginning of the simulation.

Pipe pressure at the beginning of the simulation.

Dependencies

To enable this parameter, set select Fluid dynamic compressibility.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2022a