SizingCalculator.CalculateSizeByFriction
Description:
Calculates the duct or pipe size based on the specified flow and friction.
Calculates the duct or pipe size based on the specified flow and friction.
public void CalculateSizeByFriction(
double flow,
double friction,
SizingOptions sizingOptions
)
-
DoubleflowThe flow rate.
-
DoublefrictionThe desired friction.
-
sizingOptionsThe sizing options containing other input sizing parameters (such as density, viscosity, roughness, etc.) and output sizes.
-
The input must be initialized correctly for sizing operation.
-
A non-optional argument was null
-
The given value for flow must be positive. -or- The given value for friction must be positive.
-
Failed to calculate the size to satisfy the friction constraint.