modelBuoyancy_specifyFriction
Extends from BaseClasses.PartialResistancenew.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialResistancenew) | true | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| Visualization | |||
| Boolean | showName (from PartialResistancenew) | true | = false to hide component name |
| Initialization | |||
| SI.MassFlowRate | m_flow_start (from PartialResistancenew) | 0 | Initial mass flow rate |
| Advanced | |||
| SI.MassFlowRate | m_flow_smooth (from PartialResistancenew) | 0.001 | Smoothing tolerance around zero flow rate |
| SI.MassFlowRate | dp_smooth (from PartialResistancenew) | 0.001 | Smoothing tolerance around zero flow rate |
| SI.ReynoldsNumber | Re_lam (from PartialResistancenew) | 2300 | Laminar transition Reynolds number |
| SI.ReynoldsNumber | Re_turb (from PartialResistancenew) | 4000 | Turbulent transition Reynolds number |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.FluidPort_Flow | port_a (from PartialResistanceInterface) | ||
| Interfaces.FluidPort_Flow | port_b (from PartialResistanceInterface) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.ThermodynamicState | state (from PartialResistanceInterface) | ||
| Medium.ThermodynamicState | state_a (from PartialResistancenew) | ||
| Medium.ThermodynamicState | state_b (from PartialResistancenew) | ||
| SI.PressureDifference | dp (from PartialResistancenew) | ||
| SI.MassFlowRate | m_flow (from PartialResistancenew) | ||
| SI.Length | dimension | 1 | Characteristic dimension |
| SI.Length | length | 1 | Characteristic length |
| SI.Angle | angle | 0 | Inclination angle. -90 < x < 90 |
| SIadd.NonDim | f | 0.01 | Friction factor |
| SIadd.NonDim | K | 0 | Minor losses |
| SI.Acceleration | g_n | Modelica.Constants.g_n | Gravitational acceleration |
| SI.Length | dheight | length*sin(angle) | |
| SI.Density | d_delta | Medium.density(state_b) - Medium.density(state_a) |