Converting from spherical to cylindrical coordinates

In summary: Phi(r_1, \theta_1, \phi_1, r_2, \theta_2, \phi_2)## to convert to local polar coordinates ##r, \phi_3##In summary, the conversation discusses transforming coordinates from longitude and latitude to a cylindrical coordinate system in order to determine the symmetry of a hurricane. The goal is to find a function that can convert the coordinates to local polar coordinates to determine if the hurricane is axisymmetric.
  • #1
meteo student
72
0
I have the coordinates of a hurricane at a particular point defined on the surface of a sphere i.e. longitude and latitude. Now I want to transform these coordinates into a axisymmetric representation cylindrical coordinate i.e. radial and azimuth angle.

Is there a way to do the mathematical transformation without transforming from spherical to cartesian and from cartesian to cylindrical ?
 
Mathematics news on Phys.org
  • #2
Hi,
Not clear to me what you mean with the radius of your coordinate system. Are you aware that latitude is unambiguous, whereas distance to the Earth axis of rotation is not ? (I mean that ##R_{\rm earth} \cos( {\text {latitude}})## is symmetrical around 0)
 
  • #3
BvU - Thanks for your response. Very good question. So what I do know is that the center of the vortex(hurricane) is the center of the cylindrical coordinate system. So the radius to me is the distance from the center of the vortex to that grid point. I am talking of a coordinate system attached to a hurricane having it's origin at the center of the hurricane. Usually one identifies the center of the vortex to be that point with the maximum relative vorticity.
 
  • #4
Means you need at least two positions on the surface to determine length and direction of the difference vector...
and the origin of your local coordinate system is supposed to be fixed ?

:smile: and would (0,0) be a satisfactory answer to your original question
meteo student said:
I want to transform these coordinates
 
  • #5
Again really penetrating questions( I am really learning quickly). No because the hurricane moves with time the origin of my local coordinate system is not fixed.
 
  • #6
Center isn't fixed, can be accommodated. But you still need two points as input to your trasformation function as far as I can discern: vortex and grid point.

We had a comparable (slightly more general) thread recently - maybe you can find something useful there:
Aswin Jagadeesh A said:
Is there a way of subtracting two vectors in spherical coordinate system without first having to convert them to Cartesian or other forms?

Since I have already searched and found the difference between Two Vectors in Spherical Coordinates as,

$$|\vec{x}-\vec{x'}|=(\rho^{2}+\rho'^{2}-2\rho\rho'[\cos(\theta-\theta')+\sin\theta\sin\theta'(cos(\phi-\phi')-1))])^{\frac{1}{2}}$$

which I believe the radius of displaced vector. I still didn't get any way to find the theta (angle from positive z axis)and psi(angle from positive x axis).

For more information please refer this link. math.stackexchange.com/a/1365667/613522 This helped me with the cylindrical coordinate case. I Just want a similar solution in Spherical Coordinate system.
Please help.
 
  • #7
BvU said:
Center isn't fixed, can be accommodated. But you still need two points as input to your trasformation function as far as I can discern: vortex and grid point.

We had a comparable (slightly more general) thread recently - maybe you can find something useful there:
When you write "vortex and grid point" you mean the center of the vortex and grid point is that correct ? So that defines my radius vector in the local coordinate system. From which I can get the magnitude of the radius vector which is nothing but the local radius. Finally the longitude transforms as the azimuth angle unchanged in the local cylindrical coordinate system. Am I right ?
 
  • #8
meteo student said:
When you write "vortex and grid point" you mean the center of the vortex and grid point is that correct ?
I intend to adopt your notation, but needed clarification, since in post #1 there was no mention of a grid point. "that grid point " surfaced :smile: only in #3
meteo student said:
So the radius to me is the distance from the center of the vortex to that grid point. I am talking of a coordinate system attached to a hurricane having it's origin at the center of the hurricane. Usually one identifies the center of the vortex to be that point with the maximum relative vorticity.
And I think you are very wrong with
meteo student said:
Finally the longitude transforms as the azimuth angle unchanged in the local cylindrical coordinate system. Am I right ?
Could you post a sketch of what you mean ?
 
  • #9
Yes apologies what I meant by grid point is the surface of a sphere.

And yes you are right I was wrong when I wrote that the longitude transforms unchanged. I am looking for the appropriate transformation equation from a global spherical coordinate to a local cylindrical coordinate system centered on the center of the vortex.
 
  • #10
one way to get through this problem and I would like some feedback on the approach I am taking right now - is to convert from a global spherical to a local spherical coordinate system and then convert the local spherical to local cylindrical.
 
  • #11
You don't really have a global spherical difference vector to convert -- or at least I don't think that is what you do. You have ##r_1, \theta_1, \phi_1## for the vortex and ##r_2, \theta_2, \phi_2## for the second point. With a possible simplification of staying on the surface: ##r_1 = r_2##. And you want a function ##\Phi(r_1, \theta_1, \phi_1, r_2, \theta_2, \phi_2)## to convert to local polar coordinates ##\rho, \phi_3## . Right so far ?
 
  • #12
BvU said:
You don't really have a global spherical difference vector to convert -- or at least I don't think that is what you do. You have ##r_1, \theta_1, \phi_1## for the vortex and ##r_2, \theta_2, \phi_2## for the second point. With a possible simplification of staying on the surface: ##r_1 = r_2##. And you want a function ##\Phi(r_1, \theta_1, \phi_1, r_2, \theta_2, \phi_2)## to convert to local polar coordinates ##\rho, \phi_3## . Right so far ?
BvU - One hundred per cent correct.
 
  • #13
So the motivation for doing this and it is a research level question - is given all the coordinates of a vortex(or a hurricane) - is the hurricane axisymmetric or not ? As a first step in answering that is to convert to a cylindrical coordinate system where it maybe possible to answer that question using some objective methodology.
 
  • #14
Make it a three-step processs:
  1. rotate the global coordinate system until the vortex is at ##\phi_1' = 0## . What happens to ##\phi_2, \theta_2## ? (Note: physics spherical)
  2. tilt until vortex is at ##\theta_1' = 0##. What happens to ##\ \phi_2', \theta_2'## ? (Note: not so easy!)
  3. convert second point ##\phi_2'', \theta_2''\ \ ## to ##\ \rho, \phi''##
 

1. What is the process of converting from spherical to cylindrical coordinates?

The process involves using mathematical equations and trigonometric functions to convert the coordinates from one system to another. It includes calculating the radius, angle, and height in the cylindrical coordinate system based on the given spherical coordinates.

2. What are the equations for converting from spherical to cylindrical coordinates?

The equations are as follows:
r = √(ρ^2 + z^2), where ρ is the radius in the xy-plane and z is the height or distance from the origin in the z-direction.
θ = tan^-1 (ρ/z), where θ is the angle in the xy-plane measured counterclockwise from the positive x-axis.
z = r cos(θ), where z is the height or distance from the origin in the z-direction.

3. What is the difference between spherical and cylindrical coordinates?

Spherical coordinates use a radius, angle, and inclination to locate a point in 3D space, while cylindrical coordinates use a radius, angle, and height. Spherical coordinates are more commonly used in physics and engineering, while cylindrical coordinates are often used in mathematics and computer science.

4. Can spherical coordinates be converted to cylindrical coordinates for any point in 3D space?

Yes, spherical coordinates can be converted to cylindrical coordinates for any point in 3D space as long as the equations are applied correctly and the values for ρ, θ, and φ are within the appropriate ranges.

5. Why are cylindrical coordinates useful in certain applications?

Cylindrical coordinates are useful because they simplify certain problems that involve cylindrical or symmetric shapes. They are also helpful in solving problems involving fluid flow, heat transfer, and electromagnetic fields, as these phenomena often exhibit symmetry in the cylindrical direction.

Similar threads

Replies
2
Views
999
  • Differential Equations
Replies
1
Views
369
  • General Math
Replies
4
Views
1K
Replies
1
Views
2K
Replies
6
Views
3K
  • Electromagnetism
Replies
4
Views
749
Replies
33
Views
3K
Replies
3
Views
415
Replies
8
Views
1K
  • General Math
Replies
1
Views
2K
Back
Top