Skip to main content

velocity_from_flow_rate

Function velocity_from_flow_rate 

Source
pub fn velocity_from_flow_rate(flow_rate: f64, area: f64) -> Option<f64>
Expand description

Computes velocity from volumetric flow rate and area.

Formula: v = Q / A

Returns None when area is less than or equal to zero, when flow_rate is not finite, or when the computed result is not finite.