Skip to content

Flow Rates - [source code]

Compute volumetric flow rates (m³/s) across a mesh, treating its vertices as velocity probes. Per face: average vertex velocities × face area × cos(angle to face normal).

Input

Name Nickname Description
Velocity U Velocity vectors, one per mesh vertex (e.g. probed pedestrian-height wind).
Mesh M Mesh whose faces the flow is integrated over.

Output

Name Nickname Description
Flow Rates Q Volumetric flow rate per face (m³/s).
Centers C Face centers.
Dir Average velocity vector per face.