Conversion from Cartesian to Cylindrical Coordinates

Click For Summary

Homework Help Overview

The discussion revolves around the mathematical derivation of the Navier-Stokes equations from Cartesian to cylindrical coordinates, particularly focusing on the transformation of derivatives and the relationships between the two coordinate systems. Participants express confusion regarding the complexity of the derivation and seek clarity on specific mathematical expressions and identities involved in the process.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the application of the chain rule in transforming derivatives between coordinate systems. There are attempts to clarify the relationships between Cartesian and cylindrical coordinates, with specific focus on the derivatives of functions with respect to these coordinates. Questions arise regarding the completeness and correctness of certain expressions and the potential for simplification.

Discussion Status

Some participants have provided insights into the transformation process and the application of the chain rule, while others are exploring specific mathematical identities and seeking further clarification on the derivation steps. There is an ongoing examination of the assumptions made in the derivation and the implications of using different notations for derivatives.

Contextual Notes

Participants note the complexity of the derivation and express uncertainty about certain mathematical steps. There is mention of potential confusion between the use of partial derivatives and total derivatives, as well as the need for clarity on the mathematical identities that may simplify the expressions involved.

seaspecies
Messages
6
Reaction score
0
Hello.

I am interested in learning the mathematical derivation from Cartesian coordinates Navier-Stokes equation to cylindrical coordinates Navier-Stokes equation. These equations have similar forms to the basic heat and mass transfer differential governing equations. I’ve tried looking online and at a variety of fluid mechanics books and heat transfer books and they all simply skip the math and go straight into just stating the equations. It seems like it is too complicated that it is not worth saying. Or it might be so trivial that I might be missing something. Maybe it is not worth it but I am curious of how it is done.

I attached the part the I am most confused about as a jpeg. How do they equal?

[tex] \frac{\partial T^2}{\partial x^2}+\frac{\partial T^2}{\partial y^2}=\frac{1}{r}\frac{\partial}{\partial r}r\frac{\partial T}{\partial r}+\frac{1}{r^2}\frac{\partial T^2}{\partial\theta^2}<br /> [/tex]

Thanks. I am sorry if I had any errors I am new here.
 

Attachments

  • equation.JPG
    equation.JPG
    12.3 KB · Views: 1,391
Last edited:
Physics news on Phys.org
So I've attached how far I've gotten but I am not sure if there are any tricks because I'm stuck.

[tex] \frac{\partial }{\partial x}=\frac{\partial }{\partial r}\frac{\partial r}{\partial x}=\frac{\partial }{\partial r}cos\theta[/tex]

[tex] \frac{\partial }{\partial y}=\frac{\partial }{\partial r}\frac{\partial r}{\partial y}=\frac{\partial }{\partial r}sin\theta[/tex]

[tex] \frac{\partial T}{\partial x}=\frac{\partial r}{\partial x}\frac{\partial T}{\partial r} = cos\theta\frac{\partial T}{\partial r}[/tex]

[tex] \frac{\partial T}{\partial y}=\frac{\partial r}{\partial y}\frac{\partial T}{\partial r} = sin\theta\frac{\partial T}{\partial r}[/tex]

[tex] \frac{\partial T^2}{\partial x^2}+\frac{\partial T^2}{\partial y^2} = <br /> sin\theta \frac{\partial }{\partial r} (sin\theta \frac{\partial T}{\partial r}) + cos\theta \frac{\partial }{\partial r} (cos\theta\frac{\partial T}{\partial r}) =? \frac{1}{r}\frac{\partial }{\partial r}r\frac{\partial T}{\partial r}+\frac{1}{r^2}\frac{\partial T^2}{\partial \theta^2}[/tex]** Edited so that LaTex would work. (I just figured it out :smile: )
on a side note, I am not sure if this warrents a new topic, but I see my engineering colleagues interchange d and [tex]\partial[/tex]. I believe there is a difference mathamatically but what is it in particular and will it change the meaning the governing equations mathamatically?
 

Attachments

  • Equation2.JPG
    Equation2.JPG
    30.5 KB · Views: 4,485
Last edited:
Well, usually, the topic of coordinate transformations would be taught in courses of vector analysis.
It is not particularly complicated (it should be easily understood), but the arithmetic can be quite messy if we wish to keep the notation on an intuitively clear level. Do you have a vector analysis textbook?
 
Basically, changeing derivatives from one coordinate system to another is careful application of the chain rule.

Your
[tex]\frac{\partial }{\partial x}=\frac{\partial }{\partial r}\frac{\partial r}{\partial x}=\frac{\partial }{\partial r}cos\theta[/tex]
is only partially correct.
Since in polar coordinates, x depends on two variables, r and [itex]\theta[/itex],
[tex]\frac{\partial \phi}{\partial x}= \frac{\partial r}{\partial x}\frac{\partial \phi}{\partial r}+ \frac{\partial \theta}{\partial x} \frac{\partial \phi}{\partial \theta}[/tex]

[tex]r= \sqrt{x^2+ y^2}= \left(x^2+ y^2\right)^{\frac{1}{2}}[/itex] so <br /> [tex]\frac{\partial r}{\partial x}= \frac{1}{2}\left(x^2+ y^2\right)^{-\frac{1}{2}}\left(2x\right)= \frac{x}{\sqrt{x^2+ y^2}}= \frac{r cos(\theta)}{r}= cos(\theta)[/tex]<br /> <br /> Okay, now I see where you got your expression above- but it isn't complete.<br /> <br /> [tex]\theta= tan^{-1}\frac{y}{x}[/itex] <br /> so<br /> [tex]\frac{\partial \theta}{\partial x}= \frac{1}{1+ \frac{y^2}{x^2}}\left(-\frac{y}{x^2}\right)= \frac{-y}{x^2+ y^2}= \frac{-r sin(\theta)}{r^2}= -\frac{1}{r}sin(\theta)[/itex]<br /> <br /> That gives<br /> [tex]\frac{\partial \phi}{\partial x}= cos(\theta)\frac{\partial \phi}{\partial r}- \frac{1}{r}sin(\theta)\frac{\partial \phi}{\partial \theta}[/tex]<br /> <br /> Once again, it really just the chain rule, <b>carefully</b> applied.<br /> <br /> Now, make sure you have plenty of time and paper, take a deep breath, and do it again to find [itex]\frac{\partial^2 \phi}{\partial x^2}[/itex]![/tex][/tex][/tex]
 
Question

Hello. Thanks for the reply. I am wondering if this is mathematically viable:
Assuming:
[tex]\frac{\partial \phi}{\partial x}= \frac{\partial r}{\partial x}\frac{\partial \phi}{\partial r}+ \frac{\partial \theta}{\partial x} \frac{\partial \phi}{\partial \theta}[/tex] (1)

and

Assuming:
[tex]\frac{\partial}{\partial x}= \frac{\partial r}{\partial x}\frac{\partial}{\partial r}+ \frac{\partial \theta}{\partial x} \frac{\partial}{\partial \theta}[/tex] (2)

Would the following work?
[tex]\frac{\partial^2 \phi}{\partial x^2} = \frac{\partial}{\partial x}\frac{\partial \phi}{\partial x}[/tex] (3)

Plugging equation 1 and 2 into equation 3.[tex]\frac{\partial^2 \phi}{\partial x^2} = (\frac{\partial r}{\partial x}\frac{\partial}{\partial r}+ \frac{\partial \theta}{\partial x} \frac{\partial}{\partial \theta}) (\frac{\partial r}{\partial x}\frac{\partial \phi}{\partial r}+ \frac{\partial \theta}{\partial x} \frac{\partial \phi}{\partial \theta})[/tex]

[tex] \frac{\partial^2 \phi}{\partial x^2} = <br /> <br /> \frac{\partial r}{\partial x}\frac{\partial}{\partial r}<br /> \frac{\partial r}{\partial x}\frac{\partial \phi}{\partial r}<br /> +<br /> \frac{\partial r}{\partial x}\frac{\partial}{\partial r}<br /> \frac{\partial \theta}{\partial x} \frac{\partial \phi}{\partial \theta}<br /> +<br /> \frac{\partial \theta}{\partial x}\frac{\partial}{\partial \theta}<br /> \frac{\partial r}{\partial x}\frac{\partial \phi}{\partial r}<br /> +<br /> \frac{\partial \theta}{\partial x}\frac{\partial}{\partial \theta}<br /> \frac{\partial \theta}{\partial x} \frac{\partial \phi}{\partial \theta}<br /> [/tex]

[tex] \frac{\partial^2 \phi}{\partial x^2} + \frac{\partial^2 \phi}{\partial y^2} = <br /> <br /> \frac{\partial r}{\partial x}\frac{\partial}{\partial r}<br /> \frac{\partial r}{\partial x}\frac{\partial \phi}{\partial r}<br /> +<br /> \frac{\partial r}{\partial x}\frac{\partial}{\partial r}<br /> \frac{\partial \theta}{\partial x} \frac{\partial \phi}{\partial \theta}<br /> +<br /> \frac{\partial \theta}{\partial x}\frac{\partial}{\partial \theta}<br /> \frac{\partial r}{\partial x}\frac{\partial \phi}{\partial r}<br /> +<br /> \frac{\partial \theta}{\partial x}\frac{\partial}{\partial \theta}<br /> \frac{\partial \theta}{\partial x} \frac{\partial \phi}{\partial \theta}<br /> <br /> +<br /> <br /> \frac{\partial r}{\partial y}\frac{\partial}{\partial r}<br /> \frac{\partial r}{\partial y}\frac{\partial \phi}{\partial r}<br /> +<br /> \frac{\partial r}{\partial y}\frac{\partial}{\partial r}<br /> \frac{\partial \theta}{\partial y} \frac{\partial \phi}{\partial \theta}<br /> +<br /> \frac{\partial \theta}{\partial y}\frac{\partial}{\partial \theta}<br /> \frac{\partial r}{\partial y}\frac{\partial \phi}{\partial r}<br /> +<br /> \frac{\partial \theta}{\partial y}\frac{\partial}{\partial \theta}<br /> \frac{\partial \theta}{\partial y} \frac{\partial \phi}{\partial \theta}[/tex]

The
[tex]\frac{\partial}{\partial \theta}\frac{\partial \phi}{\partial r}[/tex]
terms and its other combinations cancel out algebraically leaving only four terms

[tex] \frac{\partial^2 \phi}{\partial x^2} + \frac{\partial^2 \phi}{\partial y^2} = <br /> <br /> \frac{\partial r}{\partial x}\frac{\partial}{\partial r}<br /> \frac{\partial r}{\partial x}\frac{\partial \phi}{\partial r}<br /> +<br /> \frac{\partial \theta}{\partial x}\frac{\partial}{\partial \theta}<br /> \frac{\partial \theta}{\partial x} \frac{\partial \phi}{\partial \theta}<br /> <br /> +<br /> <br /> \frac{\partial r}{\partial y}\frac{\partial}{\partial r}<br /> \frac{\partial r}{\partial y}\frac{\partial \phi}{\partial r}<br /> +<br /> \frac{\partial \theta}{\partial y}\frac{\partial}{\partial \theta}<br /> \frac{\partial \theta}{\partial y} \frac{\partial \phi}{\partial \theta}[/tex]If this works, ultimately I get something like this which is so close but I can’t get rid of the sin and cos (4 of the 8 terms cancel out and 2 of the terms could be combined leaving only 3 terms left). Is there a mathamatical identity or any way to approach this?

[tex] sin\theta\frac{\partial}{\partial r} sin\theta\frac{\partial\phi}{\partial r} + cos\theta\frac{\partial}{\partial r} cos\theta\frac{\partial\phi}{\partial r} + \frac{1}{r^2}\frac{\partial^2 \phi}{\partial\theta^2}[/tex]

which should ultimately equal the following if everything turns out well?

[tex] \frac{1}{r}\frac{\partial }{\partial r}r\frac{\partial \phi}{\partial r}+\frac{1}{r^2}\frac{\partial \phi^2}{\partial \theta^2}[/tex]Appendix:
[tex]\frac{\partial r}{\partial x}= \frac{1}{2}\left(x^2+ y^2\right)^{-\frac{1}{2}}\left(2x\right)= \frac{x}{\sqrt{x^2+ y^2}}= \frac{r cos(\theta)}{r}= cos(\theta)[/tex]

[tex]\frac{\partial r}{\partial y}= \frac{1}{2}\left(x^2+ y^2\right)^{-\frac{1}{2}}\left(2y\right)= \frac{y}{\sqrt{x^2+ y^2}}= \frac{r sin(\theta)}{r}= sin(\theta)[/tex]
 
Last edited:
No.
Understand what the symbols mean, before spewing them out.
 
Dear Arildno, I am sorry for the confusion. I tried add more text and equations to show my logical flow. Thanks for your reply.

Dear HallsOfIvy, Thanks! It makes much more sense now. I am wonder if my method was what you meant by:
"Now, make sure you have plenty of time and paper, take a deep breath, and do it again"

If my last method would not work did you want me to take the following approach
[tex] \frac{\partial^2\phi}{\partial x^2}=\frac{\partial^2 r}{\partial x^2}\frac{\partial^2\phi}{\partial r^2}<br /> <br /> + \frac{\partial^2 \theta}{\partial x^2}\frac{\partial^2\phi}{\partial r^2}[/tex]

And compute all the second derivatives. But then my final answer won't have a
[tex] \frac{\partial }{\partial r}r\frac{\partial \phi}{\partial r}[/tex]

Thanks!
 
Last edited:
I'm sorry about my previous reply, here's how you migth do it:
We have the 2-D Laplacian:
[tex]\nabla^{2}\phi=\frac{\partial^{2}\phi}{\partial{x}^{2}}+\frac{\partial^{2}\phi}{\partial{y}^{2}},\nabla^{2}\equiv\nabla\cdot\nabla,\nabla=\vec{i}\frac{\partial}{\partial{x}}+\vec{j}\frac{\partial}{\partial{y}}[/tex]

If we write the gradient operator [itex]\nabla[/itex] in terms of 2-D polar coordinates, we have:
[tex]\nabla=\vec{i}_{r}\frac{\partial}{\partial{r}}+\vec{i}_{\theta}\frac{\partial}{r\partial\theta}[/itex]<br /> <br /> Notice that the unit vectors varies with the angle (but not with the radius!); we have:<br /> [tex]\frac{\partial\vec{i}_{r}}{\partial\theta}=\vec{i}_{\theta},\frac{\partial\vec{i}_{\theta}}{\partial\theta}=-\vec{i}_{r}[/tex]<br /> <br /> Now, perform the dot product [itex]\nabla\cdot\nabla[/itex]:<br /> [tex]\nabla^{2}\equiv\nabla\cdot\nabla=\vec{i}_{r}\cdot\frac{\partial}{\partial{r}}(\vec{i}_{r}\frac{\partial}{\partial{r}}+\vec{i}_{\theta}\frac{\partial}{r\partial\theta})+\frac{1}{r}\vec{i}_{\theta}\cdot\frac{\partial}{\partial\theta}(\vec{i}_{r}\frac{\partial}{\partial{r}}+\vec{i}_{\theta}\frac{\partial}{r\partial\theta})[/tex]<br /> <br /> By applying the product rules of differentiation, remembering that the unit vectors are constant with respect with r and that [itex]\vec{i}_{r}\cdot\vec{i}_{\theta}=0[/itex], we end up with:<br /> [tex]\nabla^{2}=\frac{\partial^{2}}{\partial{r}^{2}}+\frac{1}{r}\frac{\partial}{\partial{r}}+\frac{1}{r^{2}}\frac{\partial^{2}}{\partial\theta^{2}}=\frac{1}{r}\frac{\partial}{\partial{r}}(r\frac{\partial}{\partial{r}})+\frac{1}{r^{2}}}}\frac{\partial^{2}}{\partial\theta^{2}}[/tex]<br /> This is the desired repesentation of the Laplacian operator in polar coordinates.[/tex]
 
Last edited:
Dear arildno,

Thanks! It makes much more sense now. I had to look back onto my old texts but I've got it figured out. Yet I am alittle confused on the last part. I tried figuring it out but I could not figure out how to combine the two terms into one:

[tex] \frac{\partial^{2}}{\partial{r}^{2}}+\frac{1}{r}\frac{\partial}{\partial{r}}=\frac{1}{r}\frac{\partial}{\partial{r}}(r\frac{\partial}{\partial{r}})[/tex]

[tex]\nabla^{2}=\frac{\partial^{2}}{\partial{r}^{2}}+\frac{1}{r}\frac{\partial}{\partial{r}}+\frac{1}{r^{2}}\frac{\partial^{2}}{\partial\theta^{2}}=\frac{1}{r}\frac{\partial}{\partial{r}}(r\frac{\partial}{\partial{r}})+\frac{1}{r^{2}}}}\frac{\partial^{2}}{\partial\theta^{2}}[/tex]

Thanks
 
Last edited:
  • #10
Well:
[tex]\frac{\partial}{\partial{r}}(r\frac{\partial}{\partial{r}})=\frac{\partial{r}}{\partial{r}}\frac{\partial}{\partial{r}}+r\frac{\partial}{\partial{r}}(\frac{\partial}{\partial{r}})=\frac{\partial}{\partial{r}}+r\frac{\partial^{2}}{\partial{r}^{2}}[/tex]
 
  • #11
Thanks! It all makes sense now. It was so simple I didn't see it. Thanks again!
 
  • #12
My pleasure!
 
  • #13
Hi Sir...

what about this...i could not understand about ur conversion from cartisian to cylinrical coordinate, becoz it has a lot of mistakes, ...please tell me the true method...
 
  • #14
luckyyy said:
what about this...i could not understand about ur conversion from cartisian to cylinrical coordinate, becoz it has a lot of mistakes, ...please tell me the true method...

What do you mean? Please make your request more specific; state an exact question and the work you have done towards it.
 
  • #15
Luckyyy

i think, i did wrong something...but i am very interesting to solution of this, i spent many time to solve this but i could't...
 

Similar threads

Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
3
Views
1K
Replies
33
Views
5K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K