
modelPartialResistancenew
Extends from PartialResistanceInterface (Minimal two-port resistance interface (Medium + ports) shared by the old and new resistance base classes).
Parameters
| Type | Name | Default | Description |
| Assumptions |
| Boolean | allowFlowReversal | true | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| Visualization |
| Boolean | showName | true | = false to hide component name |
| Initialization |
| SI.MassFlowRate | m_flow_start | 0 | Initial mass flow rate |
| Advanced |
| SI.MassFlowRate | m_flow_smooth | 0.001 | Smoothing tolerance around zero flow rate |
| SI.MassFlowRate | dp_smooth | 0.001 | Smoothing tolerance around zero flow rate |
| SI.ReynoldsNumber | Re_lam | 2300 | Laminar transition Reynolds number |
| SI.ReynoldsNumber | Re_turb | 4000 | Turbulent transition Reynolds number |