Matlab's curl function and its limitation? -


Iam starting from matlab still learning it. Recently I have been asked to calculate the curls of three velocity components and give details of its contour w.r.t peripheral angle with the x-x and radius with the y-axis. The figure of U, V and W is already counted by me:

u = V * cos (beta) * cos (alpha); V = V * Cos (beta) * Sin (alpha);

Similarly

P> w = V * sin (alpha)

Someone has commented recently that the matte To enable Lab's curl functionality, mine, V and W data must be in the Cartesian coordination. I assure by assuring that although my initial data is in the spherical coordinates (V, alpha, beta), but using the coordinate conversion on U, V and W, and converting my data into cartesian coordination.

He further said, "Not only should you be U, V, W should be Cartesian but its relative data should be X, Y, Z, Cartesian coordinates"

I do not get it Anybody can say that what he was trying to say or if I can use the curl functionality in matlab

I am serious about helping you and answering

u , v , W each grid space For defines the force from x , y , z . However, it says that x , y , z

should be monotonic, but need to Not evenly given place

This can be a problem for spherical coordinates, when the cartesis are replaced. I feel that for any coordination, we will work eonotic (but not all), but the spherical coordinates do not apply to it. What you can do to change the coordinates, but make sure that the grid It is eonotic, I mean, you should make sure that the grade spacing in the Cartesian coordinates is kept mononautic rather than.

Then the answer is more clearly x , y , z , with at least 1 coordinate at that time Should not be less, which is growing, but changing the force of each point to its analogous cartonian value can be the value of round coordination.

I would like to advise you to use the formal definition of spherical coordinates, which is the alpha from z to xy -plane angle Defines as alpha = 0 is z -xis). I will also suggest you to use more general coordination names. r , phi and theta .

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -