modelGenericPressureLoss

Extends from BaseClasses.PartialPressureLoss.

Parameters

TypeNameDefaultDescription
Sizing
SI.DiameterD_aDiameter at port_a
SI.DiameterD_bDiameter at port_b
Flow Behavior
Realzeta12Loss factor for flow of port_a -> port_b
Realzeta22Loss factor for flow of port_a -> port_b
SI.ReynoldsNumberRe_turbulent1000Loss factors suited for Re >= Re_turbulent
SI.DiameterD_ReD_aDiameter used to compute Re
BooleanzetaLaminarKnownfalse= true, if zeta = c0/Re in laminar region
Realc01zeta = c0/Re; dp = zeta*d_Re*v_Re^2/2, Re=v_Re*D_Re*d_Re/eta_Re)
Initialization › Fluid
SI.AbsolutePressurep_init (from PartialFluidComponent)environment.p_ambientInitial temperature of the component
Advanced
Booleanfrom_dp (from PartialPressureLoss)true= true, use m_flow = f(dp) else dp = f(m_flow)
Booleanuse_Re (from PartialPressureLoss)false= true, if turbulent region is defined by Re, otherwise by dp_small or m_flow_small
SI.AbsolutePressuredp_small (from PartialPressureLoss)1Turbulent flow if |dp| >= dp_small
SI.MassFlowRatem_flow_small (from PartialPressureLoss)0.01Turbulent flow if |m_flow| >= m_flow_small

Connectors

TypeNameDefaultDescription
OpenHydraulics.Interfaces.FluidPortport_a (from HorizontalTwoPort)
OpenHydraulics.Interfaces.FluidPortport_b (from HorizontalTwoPort)

Components

TypeNameDefaultDescription
OpenHydraulics.Fluids.BaseClasses.PartialFluidoil (from PartialFluidComponent)This model must be defined in each circuit; the type must be a subtype of PartialFluid
SI.VolumeFlowRateq_flow_a (from HorizontalTwoPort)port_a.m_flow/oil.density(p_a)
SI.VolumeFlowRateq_flow_b (from HorizontalTwoPort)port_b.m_flow/oil.density(p_b)
SI.Pressuredp (from HorizontalTwoPort)port_a.p - port_b.pPressure drop (negative for pumps)
SI.AbsolutePressurep_a (from HorizontalTwoPort)Oil properties at the inlet
SI.AbsolutePressurep_b (from HorizontalTwoPort)Oil properties at the inlet
SI.ReynoldsNumberRe (from PartialPressureLoss)ReynoldsNumber_m_flow(port_a.m_flow, (oil.dynamicViscosity(p_a) + oil.dynamicViscosity(p_b))/2, data.D_Re)Reynolds number at diameter D_Re
SI.Densityd_a (from PartialPressureLoss)oil.density(p_a)Density at port a
SI.Densityd_b (from PartialPressureLoss)oil.density(p_b)Density at port b