Finite difference scheme used in 'CURL' function?

1 回表示 (過去 30 日間)
Puja Jawahar
Puja Jawahar 2020 年 7 月 7 日
コメント済み: Puja Jawahar 2020 年 7 月 7 日
Which finite difference scheme does Matlab use while estimating vorticity using the CURL function?

採用された回答

Sindar
Sindar 2020 年 7 月 7 日
編集済み: Sindar 2020 年 7 月 7 日
You can actually see the full code using
edit curl
it looks like everything is based on gradient, which appears to use a 2-point difference.
(In fact, all the code for gradient is there too. So, you could set up alternate FD schemes. I'd suggest copying the code into something like gradient_4point, curl_4point)
  1 件のコメント
Puja Jawahar
Puja Jawahar 2020 年 7 月 7 日
Thanks a lot.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFluid Dynamics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by