Helhmholtz theorem, how to implement it in Matlab?

1 vue (au cours des 30 derniers jours)
Francisco
Francisco le 3 Sep 2012
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
where phi equals
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.

Réponses (0)

Catégories

En savoir plus sur Programming 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!

Translated by