modeldp_thickEdgedOverall_DPMFLOW
Verification of function dp_thickEdgedOverall_DP AND dp_thickEdgedOverall_MFLOW
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | MIN | Modelica.Constants.eps | |
| Integer | n | size(A0_2_A1, 1) | Number of different ratios of cross sectional areas |
| SI.Area | A_0 | 1e-3 | Cross sectional area of vena contraction |
| SI.Area[n] | A_1 | {A_0/A0_2_A1[i] for i in 1:n} | Large cross sectional area of orifice |
| SI.Length | C_0 | sqrt(4*A_0/Modelica.Constants.pi)*Modelica.Constants.pi | Perimeter of vena contraction |
| SI.Length[n] | C_1 | sqrt(4*A_1/Modelica.Constants.pi)*Modelica.Constants.pi | Perimeter of large cross sectional area of orifice |
| Real[6] | A0_2_A1 | {0.02, 0.08, 0.20, 0.40, 0.70, 0.90} | Ratio of cross sectional areas |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Length | L | Length of thick edged orifice | |
| Real | l_bar | L/sqrt(4*A_0/Modelica.Constants.pi) | Relative length of orifice |
| SI.DynamicViscosity | eta | 1e-3 | Dynamic viscosity of fluid |
| SI.Density | rho | 1000 | 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.Orifice.dp_thickEdgedOverall_IN_con[n] | m_flow_IN_con | ||
| Modelica.Fluid.Dissipation.PressureLoss.Orifice.dp_thickEdgedOverall_IN_var[n] | m_flow_IN_var | ||
| Modelica.Fluid.Dissipation.PressureLoss.Orifice.dp_thickEdgedOverall_IN_con[n] | dp_IN_con | ||
| Modelica.Fluid.Dissipation.PressureLoss.Orifice.dp_thickEdgedOverall_IN_var[n] | dp_IN_var | ||
| Real[n] | DP_plot | {DP[i] for i in 1:n} | Pressure loss [Pa] |
| Real[n] | A_cross | {A_1[i] for i in 1:n} | |
| Real[n] | velocity | {input_mdot[1]/max(MIN, (rho*A_cross[i])) for i in 1:n} | |
| Real[n] | zeta_TOT | {2*DP[i]/max(MIN, (rho*(velocity[i]^2))) for i in 1:n} | |
| Modelica.Blocks.Sources.Ramp | input_DP |