modelPartialPressureLoss
Extends from RestrictionInterface.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Initialization › Fluid | |||
| SI.AbsolutePressure | p_init (from PartialFluidComponent) | environment.p_ambient | Initial temperature of the component |
| Advanced | |||
| Boolean | from_dp | true | = true, use m_flow = f(dp) else dp = f(m_flow) |
| Boolean | use_Re | false | = true, if turbulent region is defined by Re, otherwise by dp_small or m_flow_small |
| SI.AbsolutePressure | dp_small | 1 | Turbulent flow if |dp| >= dp_small |
| SI.MassFlowRate | m_flow_small | 0.01 | Turbulent flow if |m_flow| >= m_flow_small |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| OpenHydraulics.Interfaces.FluidPort | port_a (from HorizontalTwoPort) | ||
| OpenHydraulics.Interfaces.FluidPort | port_b (from HorizontalTwoPort) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| OpenHydraulics.Fluids.BaseClasses.PartialFluid | oil (from PartialFluidComponent) | This model must be defined in each circuit; the type must be a subtype of PartialFluid | |
| SI.VolumeFlowRate | q_flow_a (from HorizontalTwoPort) | port_a.m_flow/oil.density(p_a) | |
| SI.VolumeFlowRate | q_flow_b (from HorizontalTwoPort) | port_b.m_flow/oil.density(p_b) | |
| SI.Pressure | dp (from HorizontalTwoPort) | port_a.p - port_b.p | Pressure drop (negative for pumps) |
| SI.AbsolutePressure | p_a (from HorizontalTwoPort) | Oil properties at the inlet | |
| SI.AbsolutePressure | p_b (from HorizontalTwoPort) | Oil properties at the inlet | |
| SI.ReynoldsNumber | Re | 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.Density | d_a | oil.density(p_a) | Density at port a |
| SI.Density | d_b | oil.density(p_b) | Density at port b |