modelPipeLoss
Extends from TRANSFORM.Fluid.FittingsAndResistances.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 |
|---|---|---|---|
| TRANSFORM.Fluid.Interfaces.FluidPort_Flow | port_a (from PartialResistancenew) | Fluid connector a (positive design flow direction is from port_a to port_b) | |
| TRANSFORM.Fluid.Interfaces.FluidPort_Flow | port_b (from PartialResistancenew) | Fluid connector b (positive design flow direction is from port_a to port_b) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.ThermodynamicState | state_a (from PartialResistancenew) | ||
| Medium.ThermodynamicState | state_b (from PartialResistancenew) | ||
| Medium.ThermodynamicState | state (from PartialResistancenew) | ||
| SI.PressureDifference | dp (from PartialResistancenew) | ||
| SI.MassFlowRate | m_flow (from PartialResistancenew) | ||
| Geometry | geometry | ||
| SI.Acceleration | g_n | Modelica.Constants.g_n | Gravitational acceleration |
| Units.NonDim | K_ab | 0 | Minor loss coefficient. Flow in direction a -> b |
| Units.NonDim | K_ba | 0 | Minor loss coefficient. Flow in direction b -> a |
| Units.NonDim[2] | CFs | {1.0, 1.0} | Frictional loss correction factors: {Laminar, Turbulent} |
| SI.ReynoldsNumber | Re | Reynolds number | |
| Units.NonDim | K | Minor loss coefficient | |
| SI.Velocity | v_a | Velocity at port_a | |
| SI.Velocity | v_b | Velocity at port_a | |
| Real | fRe2_lam | ||
| Real | fRe2_turb | ||
| Real | fRe2 | ||
| SI.PressureDifference | dp_K | ||
| SI.PressureDifference | dp_f | ||
| SI.PressureDifference | dp_g |
Contents
| Name | Description |
|---|---|