Helhmholtz theorem, how to implement it in Matlab?
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!