modelSinglePhase_Developed_2Region_NumStable
Single Phase | Fully Developed | 2 Region - Laminar & Turbulent | Numerically Stable Method
Extends from PartialSinglePhase.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Internal Interface | |||
| Integer | nFM (from PartialDistributedStaggeredFlow) | 1 | Number of discrete flow models |
| Internal Interface › Initialization | |||
| Dynamics | momentumDynamics (from PartialDistributedStaggeredFlow) | Dynamics.DynamicFreeInitial | Formulation of momentum balance |
| SI.PressureDifference | dps_start (from PartialDistributedStaggeredFlow) | Pressure changes {p[2]-p[1],...,p[n+1]-p[n]} | |
| SI.MassFlowRate | m_flows_start (from PartialDistributedStaggeredFlow) | Mass flow rates | |
| Internal Interface › Advanced | |||
| Boolean | allowFlowReversal (from PartialDistributedStaggeredFlow) | true | = true to allow flow reversal, false restricts to design direction (m_flows >= zeros(m)) |
| Advanced | |||
| SI.ReynoldsNumber | Re_lam (from PartialDistributedStaggeredFlow) | 2300 | Laminar transition Reynolds number |
| SI.ReynoldsNumber | Re_turb (from PartialDistributedStaggeredFlow) | 4000 | Turbulent transition Reynolds number |
| Boolean | from_dp (from PartialDistributedStaggeredFlow) | momentumDynamics >= Modelica.Fluid.Types.Dynamics.SteadyStateInitial | = true, use m_flow = f(dp), otherwise dp = f(m_flow) |
| SI.MassFlowRate | m_flow_small (from PartialDistributedStaggeredFlow) | 0.001 | Within regularization if |m_flows| < m_flow_small (may be wider for large discontinuities in static head) |
| SI.AbsolutePressure | dp_small (from PartialDistributedStaggeredFlow) | 1 | Within regularization if |dp| < dp_small (may be wider for large discontinuities in static head) |
| Boolean | use_I_flows (from PartialMomentumBalance) | momentumDynamics <> Dynamics.SteadyState | = true to consider differences in flow of momentum through boundaries |
| SI.Time[2] | taus (from PartialMomentumBalance) | {0.01, 0.01} | Time Constant for first order delay of {dps_K,dps_add} |
| Advanced › Nominal Conditions | |||
| SI.AbsolutePressure | dp_nominal | Nominal pressure loss (only for nominal models) | |
| SI.MassFlowRate | m_flow_nominal | 1e2*m_flow_small | Nominal mass flow rate |
| Boolean | use_d_nominal | false | = true, if d_nominal is used, otherwise computed from medium |
| SI.Density | d_nominal | Medium.density_phX(Medium.p_default, Medium.h_default, Medium.X_default) | Nominal density (e.g., rho_liquidWater = 995, rho_air = 1.2) |
| Boolean | use_mu_nominal | false | = true, if mu_nominal is used, otherwise computed from medium |
| SI.DynamicViscosity | mu_nominal | Medium.dynamicViscosity(Medium.setState_phX(Medium.p_default, Medium.h_default, Medium.X_default)) | Nominal dynamic viscosity (e.g., mu_liquidWater = 1e-3, mu_air = 1.8e-5) |
| Boolean | continuousFlowReversal | if use_d_nominal and use_mu_nominal then true else false | = true if the pressure loss is continuous around zero flow |