Div, grad and curl in cylindrical polar coordinates

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
8 replies · 8K views
maggie56
Messages
26
Reaction score
0

Homework Statement



Hi,
i am trying to find the div, grad and curl in cylindrical polar coordinates for the scalar field
[tex]\ phi = U(R+a^2/R)cos(theta) + k*theta[/tex] for cylindrical polar coordinates (R,theta,z)
I have attempted all three and would really appreciate it if someone could tell me if the answers look ok as I am really not sure whether i have correctly followed the method
Thank you
Sorry i forgot to put that its the curl of the gradient and divergence of the gradient that I am finding. I guess i have a non zero answer for curl of gradient because U,a and k are constants so my answer would be zero for certain U,a,k.

Homework Equations



[tex]\ phi = U(R+a^2/R)cos(theta) + k*theta[/tex] U,a,k constants


The Attempt at a Solution



For gradient of phi [tex]\ U(1-a^2/R^2)cos(theta)[/tex] R'hat' - [tex]\[ U(1+a^2/R^2)sin(theta) + k/R][/tex]
theta'hat'

Curl of phi [tex]\ sin(theta)(2Ua^2/R^4 + U/R - a^2/R^3) - k/R^3[/tex] z'hat'



divergence of phi is zero
 
Last edited:
Physics news on Phys.org
The gradient is correct, but the curl and divergence aren't. You can't take the curl and divergence of a scalar field.
 
Sorry its the curl of the gradient and the divergence of the gradient.
i know that the curl of the gradient is always zero?
 
Right, the curl is 0. Mathematica gave me a different result for the divergence, though. (I think you swapped "curl" and "divergence" in the original post. Or maybe not. Either way, they're both incorrect.)
 
I have looked at the curl and divergence again. u is the gradient of phi.

u = [tex]\ U(1-a^2/R^2)cos(theta)[/tex] R'hat' - [tex]\[ U(1+a^2/R^2)sin(theta) + k/R][/tex] theta'hat'

so curl of u is
[tex]\ [U/R -a^2U/R^3 - 2a^2U/R^4)sin(theta) - k/R^3[/tex] z'hat'

divergence of u is 0

Do these answers look better? since U,a and k are constants i have an expression for the curl of the gradient but this could be zero for certain U,a and k.
 
No, the curl of the gradient is 0 for all U, a, and k, and the divergence is not identically 0.

Show your work.
 
my working
for the curl of the gradient

[tex]\ 1/R [ 0<b>R'hat'</b> + 0 <b>theta'hat'</b> + -2Ua^2/R^3 sin(theta) - k/R^2 + U(1-a^2/R^2 sin(theta) ][/tex]

= [tex]\ sin(theta)(-2Ua^2/R^4 + U/R - a^2/R^3) - k/R^3[/tex]
 
my matrix for the curl is

R'hat' Theta'hat' Z'hat on top line
d/dR d/dtheta d/dz on middle line
[tex]\ U(1-a^2/R^2)cos(theta)[/tex] [tex]\ -U(1+a^2/R^2)sin(theta)+k/R[/tex] 0 on bottom line

with a 1/R on the outside
the -U is in the middle column and zero is for z column