2D Vorticity with any stencil

版本 1.0.0 (2.2 KB) 作者: Fernando Zigunov
Computes curl() with arbitrary number of points in the stencil
250.0 次下载
更新时间 2019/5/21

查看许可证

curl(X,Y,U,V) in Matlab will give you the angular velocity or vorticity of a 2D vector field (U,V) with a 3-point stencil. This implementation will compute the curl of a **UNIFORM*** grid with a 'npts' point stencil (only supports central differences). Since it uses convolution to accomplish that, the corners and edges of the grid will be incorrect.

Using for PIV post-processing, where noise can be an issue when computing derivatives.

Shoutout to Greg von Winckel for providing the stencil generator code (https://www.mathworks.com/matlabcentral/fileexchange/5269-finite-difference-weights)!

引用格式

Fernando Zigunov (2024). 2D Vorticity with any stencil (https://www.mathworks.com/matlabcentral/fileexchange/71612-2d-vorticity-with-any-stencil), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2019a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0