Pipe (TL)#
Block appearance in REPEAT VISION#
The block:
Describes the flow of fluid through a section of pipe;
Takes into account pressure losses during friction against the rough wall of the pipe and temperature change during the passage of liquid through the pipe.
Note
Optionally, the block can take into account fluid compression and inertia.
Pressure losses due to friction:
If the Reynolds number of the flow is less than the upper limit of the Reynolds number for the laminar flow, then the pressure losses are calculated by the formula (1):
where:
\( u\) – kinematic viscosity, [m\(^2\)/s];
\(\lambda\) – Darcy friction coefficient, which is equal to 64;
\(L\) – pipe length, [m];
\(D\) – pipe diameter, [m];
\(S\) – pipe cross-section area, [m\(^2\)];
\(\dot{m}\) – mass flow rate of liquid, [kg/s].
If the Reynolds number of the flow is greater than the lower limit of the Reynolds number for the turbulent flow, then the pressure losses are calculated by the formula (2):
\(f = \{-1.8 \ log_{10}[\frac{6.9}{Re} + (\frac{\varepsilon}{3.7D_h})^{1.11}] \}^{-2}\)
\( ho\) – fluid density, [kg/m\(^3\)];
\(S\) – pipe cross-section area, [m\(^2\)];
\(L\) – pipe length, [m];
\(D\) – pipe diameter, [m];
\(\dot{m}\) – mass flow rate of liquid, [kg/s];
\(Re\) – Reynolds number;
\(\varepsilon\) – pipe roughness;
\(D_h\) – pipe hydraulic diameter, [m].
If the Reynolds number corresponds to a transient process, then the resistance coefficient is linear interpolation between the boundary points of the turbulent and laminar flow mode.
Law of conservation of mass:
If the liquid is incompressible, then the flow rate at the inlet and outlet of the pipeline is the same.
If the compressibility mode is selected, then the pipeline section is divided into three parts - two pipes connected by a capacitive assembly. The law of conservation of mass in the capacitive assemble is determined by the ratio (3):
where:
\(\dot{m_A}\) – mass flow rate of liquid in the “left” pipe, [kg/s];
\(\dot{m_B}\) – mass flow rate of liquid in the “right” pipe, [kg/s];
\(α_n\) - isobaric thermal expansion coefficient of the liquid in the capacitive assembly, [1/К];
\(β_n\) - volumetric modulus of elasticity of the liquid in the capacitive assembly, [Pa];
\(p_n\) – pressure in the capacitive assembly, [Pa];
\( ho_n\) – density of liquid in the capacitive assembly, [kg/m\(^3\)];
\(V\) – pipe segment volume, [m\(^3\)].
Law of conservation of energy (4)
where:
\(Q\) - heat flux through the heat port, [W];
\(h_n\) - enthalpy of the medium in the capacitive assemble, [J];
\(c_{pn}\) - specific isobaric heat capacity of the liquid in the capacitive assembly, [J/(kg\(\cdot\)К)];
\(\phi_A\) - energy flow in the “left” pipe, [W];
\(\phi_B\) - energy flows in the “right” pipe, [W].
Law of conservation of momentum:
The total pressure differential between the pipe ends is determined by friction losses and difference in elevations (5):
where:
\(P_{fric}\) – friction pressure losses, [Pa];
\( ho\) – fluid density, [kg/m\(^3\)];
\(\Delta z\) – elevation difference, [m];
\(g\) – free fall acceleration, [m/s\(^2\)];
If fluid inertia is taken into account, then the full pressure differential is determined by the formula (6):
where:
\(L\) – pipe length, [m];
\(S\) – pipe cross-section area, [m\(^2\)].
Inclined Pipeline:
To model an inclined pipeline, use the Elevation gain from port A to port B property. The height difference reflects the difference in geometric heads at the start and end points of the pipeline, so a positive value indicates that the end point is lower than the start point, and a negative value indicates the opposite.
The table below shows various pipeline positions in space:
№ |
Pipeline Position |
Height Difference Value |
|---|---|---|
1 |
Horizontal pipeline |
Height difference is set to zero |
2 |
Vertical pipeline with descending flow (along the fluid movement direction) |
Height difference is set positive and equal in magnitude to the pipeline length |
3 |
Vertical pipeline with ascending flow |
Height difference is set negative and equal in magnitude to the pipeline length |
4 |
Inclined pipeline with descending flow |
Height difference is set positive and smaller in magnitude than the pipeline length |
5 |
Inclined pipeline with ascending flow |
Height difference is set negative and smaller in magnitude than the pipeline length |
1. Properties#
Property |
Default Value |
Description |
Units of measurement |
|---|---|---|---|
Off |
- |
- |
|
Fluid inertia, available when selecting |
Off |
- |
- |
Pipe length |
5 |
- |
m |
Pipe diameter |
0.1 |
- |
m |
0 |
- |
m |
|
Gravitational acceleration |
9.81 |
- |
м/с\(^2\) |
Internal surface absolute roughness |
15e-6 |
- |
m |
Laminar flow upper Reynolds number limit |
2000 |
- |
- |
Turbulent flow lower Reynolds number limit |
4000 |
- |
- |
Initial liquid temperature in the pipe |
20 |
- |
°С |
Initial liquid pressure |
0 |
- |
Pa |
Initial mass flow rate, available when selecting |
0 |
- |
kg/s |
2. Inputs and outputs#
Parameters |
Input/Output |
Description |
Units of measurement |
Port type |
|---|---|---|---|---|
Input |
Input |
- |
- |
Thermohydraulics |
Heat port |
Output |
- |
- |
Heat exchange |
Output |
Output |
- |
- |
Thermohydraulics |
In order to see the connection capabilities of the block, you need to go to page Description of block ports
See also
An example of using this block can be found in the tutorials of the library Thermohydraulics: