functionFittingPhi

Calculates the dimension factor phi based in the fitting type

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

Information

Define dimension factor φ for different types of fittings.

Inputs

TypeNameDefaultDescription
SI.VelocityvFlow velocity
SI.DiameterD_iPipe diameter of inlet (LHS)
SI.DiameterD_oPipe diameter of outlet (RHS)
SI.LengthLFitting length
Modelica.Units.NonSI.Angle_degtheta90Angle of the tapered reduction/expansion
SI.DensityrhoDensity
SI.DynamicViscositymuDynamic viscosity of water
SI.Heightp_epsPipe roughness height
Types.Fittingfit_typeType of pipe fitting

Outputs

TypeNameDefaultDescription
Realphi