functionm_flow_of_dp_fric

Calculate mass flow rate as a function of pressure drop

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
dp_IN_conIN_conInput record for function dp_overall_MFLOW
dp_IN_varIN_varInput record for function dp_overall_MFLOW
SI.Pressuredp_fricPressure loss due to friction (dp = port_a.p - port_b.p)
SI.ReynoldsNumberRe1Boundary between laminar regime and transition
SI.ReynoldsNumberRe2Boundary between transition and turbulent regime
RealDeltaRelative IN_con.roughness

Outputs

TypeNameDefaultDescription
SI.MassFlowRatem_flow
Realdm_flow_ddp_fricDerivative of mass flow rate with dp_fric

Contents

NameDescription
interpolateInRegion2_withDerivativeprotectedInterpolation in log-log space using a cubic Hermite polynomial, where x=log10(lambda2), y=log10(Re)