modeldp_internalFlowOverall_DPMFLOW
Verification of function dp_internalFlowOverall_DP AND dp_internalFlowOverall_MFLOW
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | size(geometry, 1) | Number of different geometries |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Dissipation.Utilities.Types.Roughness | roughness | Modelica.Fluid.Dissipation.Utilities.Types.Roughness.Considered | Choice of considering surface roughness |
| SI.Length | K | 0 | Roughness (average height of surface asperities) |
| SI.Length | L | 1 | Length |
| Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow[5] | geometry | {TYP.Annular, TYP.Circular, TYP.Elliptical, TYP.Rectangular, TYP.Isosceles} | Choice of geometry for internal flow |
| SI.Diameter | d_ann | d_hyd | Small diameter |
| SI.Diameter | D_ann | 2*d_ann | Large diameter |
| SI.Diameter | d_cir | d_hyd | Internal diameter |
| SI.Length | a_ell | (3/4)*d_hyd | Half length of long base line |
| SI.Length | b_ell | 0.5*a_ell | Half length of short base line |
| SI.Length | a_rec | d_hyd | Horizontal length |
| SI.Length | b_rec | a_rec | Vertical length |
| SI.Length | a_tri | d_hyd*(1 + 2^0.5) | Length of base line |
| SI.Length | h_tri | 0.5*a_tri | Height to top angle perpendicular to base line |
| Real | beta | tan((a_tri)/2/h_tri) | Top angle |
| SI.DynamicViscosity | eta | 1e-3 | Dynamic viscosity of fluid |
| SI.Density | rho | 1000 | Density of fluid |
| SI.MassFlowRate[n] | input_mdot_1 | (Input) mass flow rate (for intended incompressible case) | |
| SI.Pressure[n] | input_dp_1 | ones(n)*input_DP.y | (Input) pressure loss (for intended compressible case) |
| SI.MassFlowRate[n] | M_FLOW_1 | (Output) mass flow rate (for intended compressible case) | |
| SI.Pressure[n] | DP_1 | {input_dp_1[i] for i in 1:n} | (Output) pressure loss (for intended incompressible case) |
| Modelica.Fluid.Dissipation.PressureLoss.Channel.dp_internalFlowOverall_IN_con[n] | m_flow_IN_con_1 | ||
| Modelica.Fluid.Dissipation.PressureLoss.Channel.dp_internalFlowOverall_IN_var[n] | m_flow_IN_var_1 | ||
| Modelica.Fluid.Dissipation.PressureLoss.Channel.dp_internalFlowOverall_IN_con[n] | dp_IN_con_1 | ||
| Modelica.Fluid.Dissipation.PressureLoss.Channel.dp_internalFlowOverall_IN_var[n] | dp_IN_var_1 | ||
| Modelica.Blocks.Sources.Ramp | input_DP |
Contents
| Name | Description |
|---|---|
| TYP |