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
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Velocity | v | Flow velocity | |
| SI.Diameter | D_i | Pipe diameter of inlet (LHS) | |
| SI.Diameter | D_o | Pipe diameter of outlet (RHS) | |
| SI.Length | L | Fitting length | |
| Modelica.Units.NonSI.Angle_deg | theta | 90 | Angle of the tapered reduction/expansion |
| SI.Density | rho | Density | |
| SI.DynamicViscosity | mu | Dynamic viscosity of water | |
| SI.Height | p_eps | Pipe roughness height | |
| Types.Fitting | fit_type | Type of pipe fitting |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | phi |