Finite difference scheme used in 'CURL' function?

1 visualización (últimos 30 días)
Puja Jawahar
Puja Jawahar el 7 de Jul. de 2020
Comentada: Puja Jawahar el 7 de Jul. de 2020
Which finite difference scheme does Matlab use while estimating vorticity using the CURL function?

Respuesta aceptada

Sindar
Sindar el 7 de Jul. de 2020
Editada: Sindar el 7 de Jul. de 2020
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)

Más respuestas (0)

Categorías

Más información sobre Fluid Dynamics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by