modelBend

Test cases of generic pressure loss functions

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Switch to the diagram or equation layer to see the model of a Modelica.Fluid bend using Fluid.Dissipation pressure loss calculations .

This model executes pressure loss calculations out of the Fluid.Dissipation library for a bend of an incompressible and single-phase fluid flow considering surface roughness. Both the compressible case, where the mass flow rate (M_FLOW) is calculated in dependence of a known pressure loss (dp) and the incompressible case, where the pressure loss (DP) is calculated in dependence of a known mass flow rate (m_flow) are modelled.

Components

TypeNameDefaultDescription
Modelica.Fluid.Systemsystem
Modelica.Blocks.Sources.Sineinput_mflow
Modelica.Blocks.Sources.RealExpressioninput_p
Modelica.Fluid.Sources.Boundary_pTIN_p
Modelica.Fluid.Sources.FixedBoundaryOUT_dp
Modelica.Fluid.Sources.FixedBoundaryOUT_mflow
Modelica.Fluid.Sources.MassFlowSource_TIN_mflow
Modelica.Fluid.Fittings.Bends.CurvedBendfrom_dpCalculate mass flow rate from pressure loss
Modelica.Fluid.Fittings.Bends.CurvedBendfrom_mflowCalculate pressure loss from mass flow rate