EN2090 Engineering Mathematics 2 Divergence & Curl: Prof. Adrian Porch Dr. Yue Zhou
EN2090 Engineering Mathematics 2 Divergence & Curl: Prof. Adrian Porch Dr. Yue Zhou
[email protected]
1
Aims of this week
❖ Divergence
• Understand the basic concept of divergence
• Understand divergence theorem and the physical interpretation
• Assess divergence of a vector field from its field lines
• Calculate the divergence of a vector field
❖ Curl
uniform F, = F •S non-uniform F, S
= F • dS
surface integral
The flux
S F • dS is simply the total number of field lines crossing S.
S,
so there must be an excess of sources of field F in V.
V • D dV = S D • dS
But Gauss’ law (itself derived from Coulomb’s law, the basis of all
electrostatics) states that the flux of D through any closed surface S
equals the free charge Q enclosed within the surface, i.e.
D • dS = Q
S
1 1
0.5 0.5
0 0
0.5 0.5
1 1
M N M N
If the above plots represent D, at the point where • D 0 there is a
free +charge. At all points where • D = 0 there is no free charge.
11
2.12 Calculating the divergence of a vector field
We always have the formula for • F to rely on, illustrated below.
Worked example 2.5
(a) Calculate • F at the point (2,−3, 1) when F = (x 2 y, y 3 + xz 2 , 2 xyz ).
(a) Derive a formula for • F if F = − and = 4 sin x cos 3z .
Fx Fy Fz
(a) • F = + + = 2 xy + 3 y 2 + 2 xy = y (4 x + 3 y ) = 3
x y z
2 2 2
(b) Note • = , , • , , = 2 + 2 + 2 2
x y z x y z x y z
The scalar field 2 is called the Laplacian of ; for this example
2 2 2
= 2 + 2 + 2 = −4 sin x cos 3z − 36 sin x cos 3z = −40
2
x y z
The equation 2 = 0 is called Laplace’s equation and is very
important in Engineering; it is solved to find temperature
distributions, electric potential distributions, etc., etc.
12
2.13 The curl of a vector field
In Cartesian co-ordinates, we define the curl of the vector field F as
the determinant
aˆ x aˆ y aˆ z
curl F F =
x y z
Fx Fy Fz
Fz Fy Fx Fz Fy Fx
= − aˆ x + − aˆ y + − aˆ z
y z z x x y
Fz Fy
i.e. x component of F is − , etc. for y and z
y z
components
Thus, the curl of a vector field is also a vector field.
aˆ r r aˆ aˆ z
1
curl F F =
r r z
Fr rF Fz
1 Fz F Fr Fz 1 (rF ) 1 Fr
= − aˆ r + − aˆ + − aˆ z
r z z r r r r
1 Fz F
i.e. the radial component of F is − , etc.
r z
L F • d = S ( F ) • dS
We’ll won’t prove Stokes’ law for this module, although the proof is
fairly straightforward.
The sense of circulation of the line integral
S around the loop L and the surface normal to S are
loop L related by the right hand rule, as shown opposite.
15
2.15 Application of Stokes’ Theorem to the magnetic field H
H • d = ( H ) • dS
L S
But Ampère’s law (which itself is derived from the Biot-Savart law,
the basis of all magnetostatics) states that
H • d = I J • dS
L S
where J is the current density through S. Hence we conclude that
( H ) • dS = J • dS → H = J
S S
0.5 0.5
0 0
0.5 0.5
1 1
M N M N
If RH plot represents H, at the point where H 0 there is a
current density J into the page; at points with H = 0 then J = 0 .
18
2.17 Calculating the curl of a vector field
Worked example 2.7
( )
Calculate the curl of F = 3xy, − 2 xz, 5 y 2 . Demonstrate that
• ( F ) = 0 for this vector field and prove this result generally.
aˆ x aˆ y aˆ z
F = = (10 y + 2 x, 0, − 2 z − 3 x )
x y z
3 xy − 2 xz 5 y 2
L F • d = 0
Such conservative vector fields are generated from
the gradient of a scalar field, i.e. F = f .
But using Stokes’ theorem L F • d = S ( F ) • dS → F = 0
•D = D • dS = dV
S
•B = 0 B • dS = 0
S
B
E = −
t
L
E • d = −
t S
B • dS
D D
James Clerk Maxwell H = J +
t
H • d = J +
• dS
t
(1831 - 1879) L S
21
Maxwell’s four equations form the basis for the whole of
electromagnetism, and present the most complete theoretical
description of any of the four fundamental forces of nature.
2.20 Laplace’s Equation
Let F = f be some conservative vector field. Its divergence is
f f f 2 f 2 f 2 f
• f = , , • , , = 2 + 2 + 2 2 f
x y z x y z x y z
(see worked example 2.5)
The heat flux between the plates is along the x-axis only, so T is a
function of x only and Laplace’s equation simplifies to
23
T T T d T
2 2 2 2
T = 2 + 2 + 2 = 2 =0
2
x y z dx
d 2T dT
Integrating 2
= 0 twice → = c1 → T ( x ) = c1 x + c2
dx dx
We find the constants of integration c1 , c2 by applying the boundary
conditions T (0 ) = T1 , T (d ) = T0 → c1 = (T0 − T1 ) / d , c2 = T1
x
Hence the temperature profile is T ( x ) = −(T1 − T0 ) + T1
d
dT T1 − T0
The heat flux is q = − = − c1 = (Fourier’s eqn. in 1D)
dx d
The 1D thermal map, lines of heat flux and thermal profile for this
example of 1D heat conduction are plotted below.
24
25
Worked example 2.9
A hot cylindrical wire (radius a) is held at temperature T1 and is
surrounded by a cold cylindrical sheath (inner radius b) held at T0 ,
separated by a material of thermal conductivity . Assuming steady-
state heat flux, derive an equation for temperature as a function of
position r between the wire and sheath and the heat flux in this space.
The heat flux is radial for a r b , so T is a function of r only and
1 T 1 2
T 2
T 1 d dT
T=
2
r + 2 2 + 2 = r =0
r r r r z r dr dr
Integrating twice
d dT dT
r =0 → r = c1 → T (r ) = c1 ln r + c2
dr dr dr
We find the constants of integration c1 , c2 by applying the boundary
conditions T (a ) = T1 , T (b ) = T0 →
T1 = c1 ln a + c2 , T0 = c1 ln b + c2
26
EEE students should compare these profiles to those obtained for the
electric potential and electric potential E in a coaxial cable. This
should come as no great surprise since E = − and 2 = 0 in
the space between the cable’s conductors.
28
You will find out more in the EN2076 lectures and simulate the
electric field and electric potential in the associated COMSOL labs.