Define dimension factor φ for Rounded Reduction. Rounded Expansion is the same as Squared Expansion.
Rounded Reduction: |
Rounded Expansion: |
function Rounded extends Modelica.Icons.Function; input SI.ReynoldsNumber N_Re "Reynolds number"; input SI.Height p_eps "Pipe roughness height, only for exansion"; input SI.Diameter D_i, D_o "Pipe diameters"; output Real phi "Dimension factor"; end Rounded;