Skip to main content

continuity_area

Function continuity_area 

Source
pub fn continuity_area(
    area_a: f64,
    velocity_a: f64,
    velocity_b: f64,
) -> Option<f64>
Expand description

Computes downstream area from continuity for incompressible flow.

Formula: A2 = A1 * v1 / v2

Returns None when area_a is negative, when velocity_b is zero, when any input is not finite, when the computed area is negative, or when the computed area is not finite.