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.SinglePhase.LaminarTurbulent_MSLDetailed.dp_IN_con | IN_con | ||
| TRANSFORM.Fluid.ClosureRelations.PressureLoss.Functions.TubesAndConduits.SinglePhase.LaminarTurbulent_MSLDetailed.dp_IN_var | IN_var | ||
| Media.BaseProperties1Phase | 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.PressureDifference[nFM] | dps_fg_c | ||
| SI.PressureDifference[nFM] | dps_fg | ||
| SI.MassFlowRate[nFM] | m_flows_c | ||
| SI.MassFlowRate[nFM] | m_flows |
Contents
| Name | Description |
|---|---|