modelCurvedBend

Pressure drop due to curved bend using Modelica.Fluid.Dissipation.PressureLoss.Bend

Extends from Interfaces.SISOFlowBend (Duplicate of SISOFlow (rotated outlet by 90°)).

Information

This curved pipe bend model computes the pressure loss of the fluid depending on the massflow or the massflow depending on a given pressure difference, some medium properties and the geometry of the pipe bend.

Note that the results may differ from actual values. Due to complex flow behavior in pipe bends, widely applicable formulas are approximations only. If the pressure drop coefficient of a real component is known, it is recommended to calibrate the model to this value using the roughness parameter.

The model is usable for both incompressible and compressible calculation up to at least Ma 0.3 at pipe outlet and one phase medium. The best performance is achieved when using steady state or slowly changing boundary conditions. Numerical stability is best by given mass flow rate and one given pressure boundary. When using two pressure boundaries deviations due to inertia have to be accepted. The Model is not valid for hydraulic shock calculation (sudden change of pressure or mass flow rate).

This component is an adaptation of CurvedBend by Modelica to make it compatible with ThermofludiStream library.

The pipe bend component is using the partial model SISOFlowBend implementing the common flow balances. For the calculation of pressure loss the function dp_curvedOverall_DP by Modelica is implemented. The input records dp_curvedOverall_IN_con & dp_curvedOverall_IN_var are overwritten with the input parameters defining the pipe bend geometry and fluid properties. For more information on the underlying pressure loss function, click here. To improve the accuracy when compressible media are used, center state fluid properties (mean dynamic viscosity & mean density) are defined and refered to in the pressure loss function.

The following 3 figures, resistance coefficient charts representing the pressure loss model under common conditions are shown. (Currently not yet availble)

[P. Jordan; HTWG Konstanz; 10/23]

HTWG Konstanz

Parameters

TypeNameDefaultDescription
StringinstanceName (from DropOfCommonsPlus)getInstanceName()Instance name
BooleanassumeConstantMaterialPropertiestrue= true, if constant density and dynamic viscosity is assumed (use '= false' e.g. for Ma > 0.3)
Layout
BooleandisplayInstanceName (from DropOfCommonsPlus)dropOfCommons.displayInstanceNames= true, if instance name is displayed
BooleandisplayParameters (from DropOfCommonsPlus)dropOfCommons.displayParameters= true, if displaying parameters is enabled
Advanced
ThermofluidStream.Utilities.Units.InertanceL (from SISOFlowBend)dropOfCommons.LInertance
StateSelectm_flowStateSelect (from SISOFlowBend)StateSelect.defaultState selection for mass flow rate
Booleanclip_p_out (from SISOFlowBend)= false, if dr_corr=0 (correction of inertial pressure difference)
Medium.AbsolutePressurep_min (from SISOFlowBend)dropOfCommons.p_minMinimum steady-state output pressure
StateSelectdpStateSelectStateSelect.defaultState select for dp
ThermofluidStream.Utilities.Units.InertanceL_valuedropOfCommons.LInertance
BooleancomputeLtrueCompute L from r and l
Medium.Densityrho_mindropOfCommons.rho_minMinimal density
Initialization › Mass flow rate
InitializationMethodsinitM_flow (from SISOFlowBend)ThermofluidStream.Utilities.Types.InitializationMethods.noneInitialization method for mass flow rate
SI.MassFlowRatem_flow_0 (from SISOFlowBend)0Initial value for mass flow rate
ThermofluidStream.Utilities.Units.MassFlowAccelerationm_acceleration_0 (from SISOFlowBend)0Initial value for derivative of mass flow rate
Geometry
SI.LengthdDiameter
SI.AngledeltaBending angle (5° - 180°)
SI.LengthRRadius of curvature
Roughness
ThermofluidStream.Processes.Internal.MaterialmaterialThermofluidStream.Processes.Internal.Material.otherMaterial of pipe
SI.LengthksRoughness of pipe
Initialization › dp
ThermofluidStream.Utilities.Types.InitializationMethodsinitdpThermofluidStream.Utilities.Types.InitializationMethods.noneInitialization method for dp
Initialization › Pressure difference
SI.Pressuredp_00Initial value for dp
ThermofluidStream.Utilities.Units.MassFlowAccelerationdp_acceleraton_00Initial value for der(dp)

Connectors

TypeNameDefaultDescription
ThermofluidStream.Interfaces.Inletinlet (from SISOFlowBend)
ThermofluidStream.Interfaces.Outletoutlet (from SISOFlowBend)

Components

TypeNameDefaultDescription
SI.MassFlowRatem_flow (from SISOFlowBend)inlet.m_flowMass flow rate
SI.Pressuredr_corr (from SISOFlowBend)Correction of inertial pressure difference
SI.Pressuredp (from SISOFlowBend)Pressure difference
Medium.DensityrhoMean density
Medium.DynamicViscositymuMean dynamic viscosity