modeldp_edgedOverall_DPMFLOW

Verification of function dp_edgedOverall_DP AND dp_edged_Overall_MFLOW

Extends from Modelica.Icons.Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
RealMINModelica.Constants.eps
Integernsize(delta, 1)Number of different angles of turning of bend
SI.AreaA_crossModelica.Constants.pi*d_hyd^2/4Circular cross sectional area of bend
SI.Angle[4]delta{30, 45, 90, 180}*Modelica.Constants.pi/180Angle of turning
SI.Diameterd_hyd0.1Hydraulic diameter
SI.LengthK2e-5Roughness (average height of surface asperities)

Components

TypeNameDefaultDescription
SI.DynamicViscosityeta1e-3Dynamic viscosity of fluid
SI.Densityrho1000Density of fluid
SI.MassFlowRate[n]input_mdot(Input) mass flow rate (for intended incompressible case)
SI.Pressure[n]input_dpones(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.Bend.dp_edgedOverall_IN_con[n]m_flow_IN_con
Modelica.Fluid.Dissipation.PressureLoss.Bend.dp_edgedOverall_IN_var[n]m_flow_IN_var
Modelica.Fluid.Dissipation.PressureLoss.Bend.dp_edgedOverall_IN_con[n]dp_IN_con
Modelica.Fluid.Dissipation.PressureLoss.Bend.dp_edgedOverall_IN_var[n]dp_IN_var
Real[n]DP_plot{DP[i] for i in 1:n}Pressure loss [Pa]
SI.Velocity[n]velocity{input_mdot[i]/(rho*A_cross) for i in 1:n}Mean velocity
SI.ReynoldsNumber[n]Re{rho*velocity[i]*d_hyd/eta for i in 1:n}
Real[n]zeta_TOT{2*abs(DP_plot[i])/(max(rho*(velocity[i])^2, 1e-5)) for i in 1:n}Pressure loss coefficients
Modelica.Blocks.Sources.Rampinput_DP