Helhmholtz theorem, how to implement it in Matlab?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi, I am working on modeling a system, and one of the initial conditions for this system is given in terms of the divergence of a vector field, and so looking at Helmholtz theorem I can in principle calculate the vector field, as the curl I am pretty confident can be made 0 as it is a constant of motion, but now when I want to implement the theorem I ran into some problems. The vector I am looking for can be written as
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148612/image.gif)
where phi equals
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148613/image.gif)
Now I have to calculate the integral in matlab for phi, where I know what div(V) is, but when in comes to implementing it in matlab I get stuck,as in particular I am looking at the 2D case, and div(V) will be a matrix, and can't seem to figure out how to perform 2D integration in matlab. Any help will be appreciated.
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Performance and Memory dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!