Calculates the dimension factor φ for square reduction/expansion.
Squared Reduction: |
Squared Expansion: |
function Square extends Modelica.Icons.Function; input SI.ReynoldsNumber N_Re "Reynolds number"; input SI.Height p_eps "Pipe roughness height"; input SI.Diameter D_i, D_o "Pipe diameters"; output Real phi "Dimension factor"; end Square;