Re: Calculating circulation around a latitude circle
"ashwin .D" <[email protected]> Fri, 10 Sep 2021 21:12:31 +0530
| Newsgroups | gmane.comp.python.scientific.user |
|---|---|
| Message-ID | <CAH0LXy63OKcg_=0Ca1ApNTe41Ya=WkRT5qQVBLDjhnW+O9sGfA@mail.gmail.com> |
https://stackoverflow.com/questions/33857555/integrating-a-vector-field-a-numpy-array-using-scipy-integrate This SO Q & A is doing something similar to what I am wanting to do. My question still stands whether I need to interpolate my Vx, Vy using Scipy and then use integrate.odeint ? I have a 2d array of velocity components Vx(x,y) and Vy(x,y) where x and y are longitude and latitude. In my case around the latitude circle the latitude does not change. On Tue, Sep 7, 2021 at 3:24 PM ashwin .D <[email protected]> wrote: > Hello, > It probably is a very trivial question but I think (and hope) > that there is no harm in asking for a clarification. I have grid > coordinates and their associated velocities arranged along a latitude > circle(https://en.wikipedia.org/wiki/Circle_of_latitude_ . I am wanting > to calculate the circulation around that latitude circle. I have seen this > example - > http://www.joshtheengineer.com/2019/04/01/compute-circulation-of-a-vector-field-in-matlab-and-python/ > and the associated video - https://www.youtube.com/watch?v=b8EnhiSjL3o . > But I think my case is a trivial case of what is being explained in those > links. A straightforward application of Stokes integral in my case as shown > below > > Numerical integration of (u_i d (lambda) + v . (d theta)). In my case > d.theta is zero since there is no change of latitude along a latitude > circle . Am I right on those assumptions ? Or do I need to interpolate my > grid coordinates to an ellipse as shown in that example ? > > Thanks and regards, > Ashwin. > > > _______________________________________________ SciPy-User mailing list [email protected] https://mail.python.org/mailman/listinfo/scipy-user