m_flow
instead of
the velocity v
to express inertial forces.
See also Pipes.BaseClasses.CharacteristicNumbers.ReynoldsNumber.Re = |m_flow|*diameter/A/μ with m_flow = v*ρ*A
function ReynoldsNumber_m_flow extends Modelica.Icons.Function; input SI.MassFlowRate m_flow "Mass flow rate"; input SI.DynamicViscosity mu "Dynamic viscosity"; input SI.Length D "Characteristic dimension (hydraulic diameter of pipes or orifices)"; input SI.Area A = Modelica.Constants.pi / 4 * D * D "Cross sectional area of fluid flow"; output SI.ReynoldsNumber Re "Reynolds number"; end ReynoldsNumber_m_flow;