SizingCalculator.CalculateSizeByVelocity
Description:
Calculates the duct or pipe size based on the specified flow and velocity.
Calculates the duct or pipe size based on the specified flow and velocity.
public void CalculateSizeByVelocity(
double flow,
double velocity,
SizingOptions sizingOptions
)
-
DoubleflowThe flow rate.
-
DoublevelocityThe desired velocity.
-
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 velocity must be positive.
-
Failed to calculate the size to satisfy the velocity constraint.