Curvilinear Co-Ordinates: Peter Symonds
Curvilinear Co-Ordinates: Peter Symonds
co-ordinates
Peter
Symonds
Curvilinear co-ordinates
Peter Symonds
University of Manchester
CHEN20041, 2016
Cylindrical co-ordinates
Curvilinear
co-ordinates
Peter
Symonds
Cylindrical co-ordinates
Curvilinear
co-ordinates
Peter
Symonds
Spherical co-ordinates
Curvilinear
co-ordinates
Peter
Symonds
Spherical co-ordinates
Curvilinear
co-ordinates
Peter
Symonds
(r, , )
r
Spherical co-ordinates
Curvilinear
co-ordinates
Peter
Symonds
Example
Curvilinear
co-ordinates
Peter
Symonds
Example
Example
Curvilinear
co-ordinates
Peter
Symonds
Example (cont)
Using the formulae from the previous slide, we have
q
Unit vectors
Curvilinear
co-ordinates
Peter
Symonds
~r = cos ~i + sin ~j
~j = sin ~r + cos ~
~ = sin ~i + cos ~j
y
2.0
`
j
1.5
r`
1.0
r
0.5
0.0
0.0
x
0.5
1.0
1.5
2.0
2.5
j
~r = x i+y
2
2
x +y
Since cos =
sin =
y
x 2 +y 2
x
x 2 +y 2
y i+x j
~=
2
2
x +y
~,
~ and ~k (sometimes we use ~z instead of ~k. We have the
following relations.
~i = cos ~
sin ~
~ = cos ~i + sin ~j
~j = sin ~
+ cos ~
~ = sin ~i + cos ~j
~k = ~k
~k = ~k
~ + cos ~
~j = sin sin ~r + cos sin
~k = cos ~r sin
~
~ = sin ~i + cos ~j
We can now define grad, div, curl and the Laplacian with
respect to the curvilinear co-ordinate systems.
~ a vector field.
Let f (r , ) be a scalar field and ~v = vr ~r + v
Then
1 f
f
~r +
~
r
r
1 (rvr ) v
div ~v =
+
r
r
grad f =
2 f =
2f
1 f
1 2f
+
+
r 2
r r
r 2 2
Cylindrical co-ordinates
Curvilinear
co-ordinates
Peter
Symonds
f
1 f
f
~z
~+
~+
1 (v ) 1 v vz
+
+
z
~z
~
~
1
curl ~v = / / /z
v
v
vz
div ~v =
2 f =
2f
1 f
1 2f
2f
+
+
+
2 2 2 z 2
Spherical co-ordinates
Curvilinear
co-ordinates
Peter
Symonds
~ + v
~ a
Let f (r , , ) be a scalar field and ~v = vr ~r + v
vector field. Then
1 f ~
1 f
f
~r +
+
~
r
r
r sin
1
(r 2 sin vr ) (r sin v ) (rv )
div ~v = 2
+
+
r sin
r
grad f =
~r
1
curl ~v = 2
/r
r sin
vr
2 f =
~
r
r sin ~
/
/
rv r sin v
2f
2 f
1 2f
cos f
1
2f
+
+
+
+
.
r 2 r r r 2 2 r 2 sin r 2 sin2 2
Example 1
Curvilinear
co-ordinates
Peter
Symonds
Example
Suppose f (x, y ) = x + y is a scalar field given in 2-dimensional
Cartesian coordinates. Note that grad f = ~i + ~j.
(a) Convert f to polar coordinates (r , ).
(b) Calculate grad f using the formula for grad in polar
coordinates.
(c) Convert the answer to part (b) back to Cartesian
coordinates and check it agrees with the answer given
above.
Example 1
Curvilinear
co-ordinates
Peter
Symonds
f
r
grad f
1 f
f
~r +
~.
r
r
f
1
= (cos + sin )~r + (r ( sin + cos ))~
r
= (cos + sin )~r + ( sin + cos )~
.
Example 1
Curvilinear
co-ordinates
Peter
Symonds
sin =
y ,
x 2 +y 2
and hence ~r =
~ ~
x i+y j
x 2 +y 2
y i+x j
and
~=
.
2
2
x +y
Example 1
Curvilinear
co-ordinates
Peter
Symonds
x
p
x2
y2
+ p
y
x2
y2
(x~
i + y~
j)
+
p
x2 + y2
y
p
x2
y2
+ p
x
x2
y2
(y~
i + x~
j)
.
p
x2 + y2
(x 2 + y 2 )(~i + ~j) ~ ~
= i + j,
x2 + y2
Example 2
Curvilinear
co-ordinates
Peter
Symonds
Example
An electric current I flowing in a thin wire along the z-axis in
the positive direction generates a magnetic field
~
~
~ = 0 I (y i + x j) .
B
2(x 2 + y 2 )
~ be the vector field
Let A
~ = 0 I log(x 2 + y 2 )~k.
A
4
~ to cylindrical co-ordinates. Then find curl A.
~
First convert A
~ by converting back to Cartesian
Show this is equal to B
co-ordinates.
Example 2
Curvilinear
co-ordinates
Peter
Symonds
Example (cont)
We have x = cos and y = sin , so in cylindrical
co-ordinates we have
~ =
A
=
0 I
log(2 cos2 + 2 sin2 )~k
4
0 I
log(2 )~k
4
Example 2
Curvilinear
co-ordinates
Peter
Symonds
Example (cont)
We now apply the cylindrical formula for curl.
~
curl A
~
~
~
z
1
/ / /z
A
A
Az
(A )
Az
~
Az
A ~
(A )
A ~
z
+
Az
Example 2
Curvilinear
co-ordinates
Peter
Symonds
Example (cont)
Using the chain rule, we have
Az
=
=
=
Therefore
~=
curl A
0 I
2
log( )
4
0 I 2
4 2
0 I
.
2
0 I
2
~=
0 I
~
.
2
Example 2
Curvilinear
co-ordinates
Peter
Symonds
Example (cont)
We now need to convert back to Cartesian co-ordinates. We
p
y ~i + x ~j
have
~=p
and = x 2 + y 2 , so
x2 + y2
~
~
~ = 0 I (y i + x j)
curl A
2
2
2(x + y )
~ as required.
which is equal to B,