modeldp_pressureLossCoefficient_DPMFLOW
Verification of function dp_pressureLossCoefficient_DP and dp_pressureLossCoefficient_MFLOW
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | 3 | Number of grid points |
| SI.Area | A_cross | Modelica.Constants.pi*0.1^2/4 | Circular cross sectional area |
| Modelica.Fluid.Dissipation.Utilities.Types.PressureLossCoefficient[n] | zeta_TOT | {0.01, 0.1, 1} | Pressure loss coefficient |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Density | rho | 1.2 | Density of fluid |
| SI.MassFlowRate[n] | input_mdot | (Input) mass flow rate (for intended incompressible case) | |
| SI.Pressure[n] | input_dp | ones(n)*input_DP.y | (Input) pressure loss (for intended compressible case) |
| SI.MassFlowRate[n] | M_FLOW | (Output) mass flow rate (for intended compressible case) | |
| SI.Pressure[n] | DP | {input_dp[i] for i in 1:n} | (Output) pressure loss (for intended incompressible case) |
| Modelica.Fluid.Dissipation.PressureLoss.General.dp_pressureLossCoefficient_IN_con[n] | m_flow_IN_con | ||
| Modelica.Fluid.Dissipation.PressureLoss.General.dp_pressureLossCoefficient_IN_var[n] | m_flow_IN_var | ||
| Modelica.Fluid.Dissipation.PressureLoss.General.dp_pressureLossCoefficient_IN_con[n] | dp_IN_con | ||
| Modelica.Fluid.Dissipation.PressureLoss.General.dp_pressureLossCoefficient_IN_var[n] | dp_IN_var | ||
| Real[n] | DP_plot | {DP[i] for i in 1:n} | Pressure loss [Pa] |
| Modelica.Blocks.Sources.Ramp | input_DP |