| Simscape™ | ![]() |
Hydraulic Elements
The Resistive Tube block models hydraulic pipelines with circular and noncircular cross sections and accounts for resistive property only. In other words, the block is developed with the basic assumption of the steady state fluid momentum conditions. Neither fluid compressibility nor fluid inertia is considered in the model, meaning that features such as water hammer cannot be investigated. If necessary, you can add fluid compressibility, fluid inertia, and other effects to your model using other blocks, thus producing a more comprehensive model.
The end effects are also not considered, assuming that the flow is fully developed along the entire pipe length. To account for local resistances, such as bends, fittings, inlet and outlet losses, and so on, all the resistances are converted into their equivalent lengths, and then the total length of all the resistances is added to the pipe geometrical length.
Pressure loss due to friction is computed with the Darcy equation, in which losses are proportional to the flow regime-dependable friction factor and the square of the flow rate. The friction factor in turbulent regime is determined with the Haaland approximation (see [1]). The friction factor during transition from laminar to turbulent regimes is determined with the linear interpolation between extreme points of the regimes. As a result of these assumptions, the tube is simulated according to the following equations:
![]()

![]()
where
| p | Pressure loss along the pipe due to friction |
| q | Flow rate through the pipe |
| Re | Reynolds number |
| ReL | Maximum Reynolds number at laminar flow |
| ReT | Minimum Reynolds number at turbulent flow |
| Ks | Shape factor that characterizes the pipe cross section |
| fL | Friction factor at laminar border |
| fT | Friction factor at turbulent border |
| A | Pipe cross-sectional area |
| DH | Pipe hydraulic diameter |
| L | Pipe geometrical length |
| Leq | Aggregate equivalent length of local resistances |
| r | Height of the roughness on the pipe internal surface |
| ν | Fluid kinematic viscosity |
The block positive direction is from port A to port B. This means that
the flow rate is positive if it flows from A to B, and the pressure loss is
determined as
.
The model is based on the following assumptions:
Flow is assumed to be fully developed along the pipe length.
Fluid inertia, fluid compressibility, and wall compliance are not taken into account.


The parameter can have one of two values: Circular or Noncircular. For a circular tube, you need to specify its internal diameter. For a noncircular tube, you need to specify its hydraulic diameter and tube cross-sectional area. The default value of the parameter is Circular.
Tube internal diameter. The parameter is used if Tube cross section type is set to Circular. The default value is 0.01 m.
Tube cross-sectional area. The parameter is used if Tube cross section type is set to Noncircular. The default value is 1e-4 m^2.
Hydraulic diameter of the tube cross section. The parameter is used if Tube cross section type is set to Noncircular. The default value is 0.0112 m.
The parameter is used for computing friction factor at laminar flow and depends of the shape of the tube cross section. For a tube with noncircular cross section, you must set the factor to an appropriate value, for example, 56 for a square, 96 for concentric annulus, 62 for rectangle (2:1), and so on (see [1]). The default value is 64, which corresponds to a tube with a circular cross section.
Tube geometrical length. The default value is 5 m.
This parameter represents total equivalent length of all local resistances associated with the tube. You can account for the pressure loss caused by local resistances, such as bends, fittings, armature, inlet/outlet losses, and so on, by adding to the pipe geometrical length an aggregate equivalent length of all the local resistances. The default value is 1 m.
Roughness height on the tube internal surface. The parameter is typically provided in data sheets or manufacturer's catalogs. The default value is 1.5e-5 m, which corresponds to drawn tubing.
Specifies the Reynolds number at which the laminar flow regime is assumed to start converting into turbulent. Mathematically, this is the maximum Reynolds number at fully developed laminar flow. The default value is 2000.
Specifies the Reynolds number at which the turbulent flow regime is assumed to be fully developed. Mathematically, this is the minimum Reynolds number at turbulent flow. The default value is 4000.
The parameter is determined by the type of working fluid selected for the system under design. Use the Hydraulic Fluid block or the Custom Hydraulic Fluid block to specify the fluid properties.
The parameter is determined by the type of working fluid selected for the system under design. Use the Hydraulic Fluid block or the Custom Hydraulic Fluid block to specify the fluid properties.
The block has the following ports:
Hydraulic conserving port associated with the tube inlet.
Hydraulic conserving port associated with the tube outlet.
[1] White, F.M., Viscous Fluid Flow, McGraw-Hill, 1991
![]() | Radiative Heat Transfer | Resistor | ![]() |
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |