modelLaminarTurbulent_MSLDetailed
Parameters
| Type | Name | Default | Description |
| Integer | nFM | 11 | |
| SI.SpecificEnthalpy[nFM + 1] | hs_start | linspace(1e5, 3e6, nFM + 1) | |
| SI.Pressure[nFM + 1] | ps_start | linspace(1e5, 2e5, nFM + 1) | |
| SI.MassFlowRate[nFM] | m_flows_start | fill(1, nFM) | |
| SI.MassFlowRate | m_flow_small | 0.001 | |
| SI.PressureDifference | dp_small | 0.001 | |
| SI.Length[nFM + 1] | dimensions | fill(0.1, nFM + 1) | Characteristic dimensions (e.g. hydraulic diameter) |
| SI.Area[nFM + 1] | crossAreas | 0.25*pi*dimensions.^2 | Cross sectional area |
| SI.Length[nFM] | dlengths | fill(0.1, nFM) | Length of flow model |
| SI.Height | roughnesses | fill(2.5e-5, nFM + 1) | Average height of surface asperities |
| SI.Length | dheights | dlengths | Height(states[2:nFM+1]) - Height(states[1:nFM]) |
| SI.ReynoldsNumber | Re_turb | 4000 | |
| SI.Acceleration | g_n | 9.81 | |
Components
| Type | Name | Default | Description |
| Medium.ThermodynamicState[nFM + 1] | states_start | Medium.setState_ph(ps_start, hs_start) | |
| TRANSFORM.Fluid.ClosureRelations.PressureLoss.Functions.TubesAndConduits.TwoPhase.LaminarTurbulent_MSLDetailed.dp_IN_con | IN_con | | |
| TRANSFORM.Fluid.ClosureRelations.PressureLoss.Functions.TubesAndConduits.TwoPhase.LaminarTurbulent_MSLDetailed.dp_IN_var | IN_var | | |
| Media.BaseProperties2Phase | mediaProps | | Bulk fluid properties |
| SI.PressureDifference[nFM] | dps_start | {ps_start[i + 1] - ps_start[i] for i in 1:nFM} | |
| SI.DynamicViscosity[nFM] | mus_a | mediaProps[1:nFM].mu | |
| SI.DynamicViscosity[nFM] | mus_b | mediaProps[2:nFM + 1].mu | |
| SI.Density[nFM] | ds_a | mediaProps[1:nFM].d | |
| SI.Density[nFM] | ds_b | mediaProps[2:nFM + 1].d | |
| SI.Density[nFM] | ds_l_a | mediaProps[1:nFM].rho_lsat | |
| SI.Density[nFM] | ds_l_b | mediaProps[2:nFM + 1].rho_lsat | |
| SI.Density[nFM] | ds_v_a | mediaProps[1:nFM].rho_vsat | |
| SI.Density[nFM] | ds_v_b | mediaProps[2:nFM + 1].rho_vsat | |
| SI.DynamicViscosity[nFM] | mus_l_a | mediaProps[1:nFM].mu_lsat | |
| SI.DynamicViscosity[nFM] | mus_l_b | mediaProps[2:nFM + 1].mu_lsat | |
| SI.DynamicViscosity[nFM] | mus_v_a | mediaProps[1:nFM].mu_vsat | |
| SI.DynamicViscosity[nFM] | mus_v_b | mediaProps[2:nFM + 1].mu_vsat | |
| SIadd.NonDim[nFM] | x_abs_a | mediaProps[1:nFM].x_abs | |
| SIadd.NonDim[nFM] | x_abs_b | mediaProps[2:nFM + 1].x_abs | |
| SI.PressureDifference[nFM] | dps_fg_c | | |
| SI.PressureDifference[nFM] | dps_fg | | |
| SI.MassFlowRate[nFM] | m_flows_c | | |
| SI.MassFlowRate[nFM] | m_flows | | |
| Real[nFM] | phi2 | TRANSFORM.Fluid.ClosureRelations.PressureLoss.Functions.Utilities.TwoPhaseFrictionMultiplier(x_abs_a, mus_l_a, mus_v_a, ds_l_a, ds_v_a) | |
Contents
| Name | Description |
Medium | |