Skip to main content

compute_vorticity

Function compute_vorticity 

Source
pub fn compute_vorticity(grid: &MacGrid) -> Vec<[f64; 3]>
Expand description

Compute curl (vorticity) of the velocity field at cell centers.

Returns a flat buffer of 3-vectors (ωx, ωy, ωz).