Fluid Dynamics Notes
Fluid Dynamics Notes
Richard Porter
University of Bristol
2020
Course information
• Lecturer: Dr. Richard Porter, Room 1A.17, email [email protected]
• Course timetable: Weeks 1-11: Online lectures recorded on a live-streaming platform twitch.tv
on Monday 4-5, Tuesday 10-11 (odd weeks), Tue 1-2, Thu 4-5 (even weeks). Total of 30
recorded lectures.
• Problems Classes: Face to face problems classes to go through HW questions (and other
queries) in LT2.41 in Fry on Tuesday 10-11 (even weeks), Thu 4-5 (odd weeks). These
sessions will be live-streamed on twitch to the other half of the class.
• Assessment: 10% from 3 assessed homeworks on problem sheets 3,6,9 (exam questions from
last year’s paper) and 90% exam in January.
http://people.maths.bris.ac.uk/~marp/fluids3/
to include anonymous feedback, solutions, and past papers. Online videos may have to be
put on Blackboard.
Recommended texts
1. A.R. Paterson, A First Course in Fluid Dynamics, Cambridge University Press. (The rec-
ommended text to complement this course - costs ≈ £75 from Amazon; there are 6 copies
in Queen’s building Library and 3 copies in the Physics Library)
2. L.D. Landau and E.M. Lifshitz, Fluid Mechanics. Butterworth Heine- mann.
1
3. D.J. Acheson, Elementary Fluid Dynamics. Oxford University Press
2
1 Introduction & Kinematics
Fluid dynamics is an extremely important and practical area of applied mathematics which is
used, for example, in studying the weather, waves (e.g. on water, in air), aerodynamics of air-
craft/hydrodynamics of ships, blood flow, oil extraction, chemical reactions, sport...
It is an extraordinarily broad subject area which ranges from the study of very large scales (e.g.
formation of galaxies/stars/planets or the motion of magma inside planets) to very small scales
(cells in biology or swimming organisms). You only need to observe some everyday examples of
fluid motion to realise that fluids normally possess very complex behaviour (e.g. smoke rising from
a fire, breaking waves on a beach, the splash of a drop in a puddle).
It is quite remarkable then that all fluid motion is governed by the same physical laws (conservation
of mass and momentum – or Newton’s law) and that all these different complex behaviours are
solutions of the same fundamental equation (the Navier-Stokes equation).
What can we acheive in this course ? The reality is that the relatively basic tools of undergraduate
mathematics are insufficient to allow us to consider the complete range of fluid dynamics topics
nor to explain these complex fluid phenomena; in practice one often resorts to computational
methods (so-called CFD) to do this.
3
What we hope to show in this course is that by making some good assumptions and approximations
about real flows, the mathematical tools that you’ve learnt in Mechanics, PDEs, ODEs, MVC,
MCF can be applied to gain some insight and understanding of some fundamental properties of
fluid dynamics.
This includes, for example, how lift is generated by wings of an aircraft, how ground effect works
in racing cars, how a fluid flows over a wier or how a wind turbine can extract power from a
background flow.
You can find many fascinating short videos explaining in current research topics in fluid mechanics
here:
https://gfm.aps.org/meetings in the American Physical Society’s Gallery of Fluid Motion.
4
1.2 What is a fluid ?
A fluid is a material whose loose packing of molecules which have no structure. This includes both
liquid, gases (as well as plasma) but not solids. A gas is easy to compress, a liquid much less so.
Within this definition there is are important sub divisions or classifications of fluids. For e.g.
honey, water & saliva would appear to all be fluids, yet they appear to react to forces in different
ways.
In this course we shall consider only ideal fluids. These are fluids which have negligible1 viscosity
(a frictional resistence to sliding forces). This includes water, but not honey (which is viscous)
and saliva (which is visco-elastic).
Things that we observe or measure easily: e.g. velocity, pressure, density, forces ...
... But what exactly do we mean by measure and observe ?
molecular
fluctuations global variations
in density
local density
Size of
10 10
−9 −1
Sample
5
If the sample is too large we average out detail we want to capture.
Between these two limits we can assign the local average to a point at the centre, say, of δV in
space.
This sampling approach is the basis of the continuum hypothesis and leads to a broad area
of applied mathematics called continuum mechanics (e.g. traffic flow models in APDE2 are
formulated on this principle.)
I.e. we can define continuous functions of position r = (x, y, z) and time, t, to describe locally-
averaged quantities.
E.g.: density, ρ(r, t); velocity, u(r, t).
Note: Differentiation requires, for example, taking the limit as δV → 0, an infinitesimal volume,
tends to zero. In reality, makes no sense, but does according to the continuum model.
Note: The continuum hypothesis breaks down if one tries to use it to describe features at molecular
lengthscales. E.g. later on, singularities where the fluid speed is predicted to be infinite at a point
in space is simply a manifestation of continuum assumption.
We now consider what it means to observe a fluid flow. There are two (sensible) ways of doing
this.
6
The two are related (they have to be, right ?)
v(t) = u(r(t), t)
(Read as: “The velocity of a fluid particle following the path r(t) is the same as velocity observed
by a stationary observer positioned instantaneously at the point r(t)”)
Q: Can a steady flow be accelerating ?
A: Yes !
E.g. consider logs flowing along the centre of a narrowing section of river – take u = (kx, 0, 0) for
some constant k > 0.
Fixed observers at, say x = x1 , x2 , . . . , xN see logs passing the same points at the same speed.
Observers sitting on the logs pass the points x = x1 , x2 , . . . , xN at speeds kx1 , kx2 , . . . , kxN and
the see the logs accelerating.
Note: Since in this example ut = (0, 0, 0), we have illustrated that acceleration under the Eulerian
description isn’t just ∂u/∂t as you might expect.
Using a fixed coordinate system (Eulerian) rather than one which moves with the flow (often the
thing you are trying to find !) is far far easier in most practical problems, so most of the time we
stick to Eulerian. And we will sort out the acceleration issue later...
1.6 2D vs 3D
Defn: A flow is two-dimensional if it is independent of one of its components (in some fixed
frame of reference).
E.g. u = (u(x, y, t), v(x, y, t), 0).
This means there is no dependence of the flow on z and that there is no component of flow in the
ẑ direction.
Note: Whenever we write u = (u, v), 2D is to be assumed.
7
1.7.1 Particle Paths
Defn: Particle paths (pathlines) are curves r(t) in space followed by individual particles. In an
experiment, pathlines found by following tracer particles in the flow.
Release particle from r = a at t = t0 and then its path, denoted by r(t), is determined from earlier
considerations as the solution to:
dr
= u(r, t), with initial condition r(t0 ) = a = (a1 , a2 , a3 ) (1)
dt
Explicitly, writing r(t) = (x(t), y(t), z(t)) and u(r, t) = (u(x, y, z, t), v(x, y, z, t), w(x, y, z, t)), then
(1) is
dx
= u(x, y, z, t)
dt
dy
= v(x, y, z, t)
dt
dz
= w(x, y, z, t)
dt
with x(t0 ) = a1 , y(t0) = a2 , z(t0 ) = a3 .
Note: For some (simple) u these can be integrated using elementary methods, but in general not.
E.g. 1.1: Logs on a river: u = (kx, 0, 0) with r(0) = (1, 0, 0), say. So
dx
= kx ⇒ x(t) = ekt
dt
(and acceleration is manifest.)
E.g. 1.2: 2D flow, u = (t, 1/t, 0) (so u = t, v = 1/t, w = 0) with r(t0 ) = (0, 0, 0). Then
dx 1
= t, ⇒ x = t2 + c1
dt 2
dy
= 1/t ⇒ y = log t + c2
dt
dw
=0 ⇒ z = c3
dt
x= 12 t02 ( e 2y−1)
8
E.g. 1.3: 2D flow, u = (y, −x, 0) cos t with r(t0 ) = (1, 0, 0). Then
dx dy
= y cos t, (∗) = −x cos t,
dt dt
Soln ?
Method 1:
Divide one by the other to get
dy dy/dt −x
= =
dx dx/dt y
separate and integrate
Z Z
1 2
y dy = − x dx ⇒ 2
y + 12 x2 = C
e.g. t0=0
θ=1, t=3π/2
t=0,π,2π
x
θ=−1, t=π/2
1.7.2 Streamlines
Defn: A streamline of a flow u(r, t) at a given instant in time, t0 say, is a curve which is
everywhere parallel to u(r, t0 ).
9
dx
Let r = r(s) describe a curve in space3 (the streamline) defined by its arclength, s, along the
curve.
Then dr/ds is a vector parallel to that curve. and it follows that
dr dr
∝ u(r, t0 ) or = λ(s)u(r, t0 )
ds ds
for some (real) λ(s). Writing r(s) = (x(s), y(s), z(s)) and matching component-by-component
gives dx = λuds, dy = λvds, dz = λwds, or
dx dy dz
= = (= λds), t = t0 . (2)
u v w
Streamlines are found by solving these equations. For example, dy/dx = v/u and dx/dz = u/w
(and a third relation is implied by the solution to the other two).
Note: In general, streamlines vary with time. If the flow is steady streamlines of the flow are
fixed (the opposite is not always true.)
Streamlines can be visualised in an experiment by taking a short-time exposure of illuminated
particles in a flow.
dx
E.g. 1.4: u = (t, 1/t, 0). At t = t0 , = t0 dy, so that, integrating up, x = t20 y + const.
t0
y y
t0 =1 t0=2
x x
ARROWS IMPORTANT
dx dy dx y
E.g. 1.5: u = (y, −x, 0) cos t. At t = t0 , =− so that = − and then
y cos t0 x cos t0 dy x
integrating, x2 + y 2 = const.
3
Now r is used differently to the Eulerian and Lagrangian uses and measures the position of a point on a line
10
y y
t0< π/2 π/2 < t0< 3π/2
x x
1.7.3 Streaklines
Defn: A streakline is the locus, at a time t, of particles which have been released continuously
from a fixed point a during a time interval [τ, t].
In an experiment it corresponds to the line formed by the continuous release of a dye from a fixed
point over a particular period of time. It depends on the history of the fluid back in time to t = τ .
To find the streaklines, find the paths of fluid particles released from a position a at time t0 for
all τ < t0 < t. This gives the streakline in parametric form.
E.g. 1.6: u = (t, 1/t, 0) passing through (0, 0, 0) at t = t0 . Then from earlier, we found
E.g. At t = 1, the streakline (xs (t0 ), ys (t0 )) is defined by xs (t0 ) = 12 (1 − t20 ), ys (t0 ) = log(1/t0 )
and here it is possible to eliminate t0 so that xs = 12 (1 − e−2ys ) is the explicit equation of the
streakline. It runs from (0, 0, 0) (when t0 = 1) to ( 21 (1 − τ 2 ), log(1/τ ), 0) (when t0 = τ ) for some
τ in 0 < τ < 1.
y
e.g. t=1
t0= τ
t =1
0
1/2 x
E.g. 1.7: u = (y, −x, 0) cos t passing through (1, 0, 0) at t = t0 . From earlier particle paths are
given by x(t) = cos θ, y(t) = sin θ with θ = sin t0 − sin t.
E.g. Choose τ = 0, t = 12 π. Now θ = sin t0 − 1. The streakline is arc of a circle, r = 1, which runs
11
from −1 < θ < 0.
t= π/2
Note: For steady flows, streamlines, streaklines and particle paths all coincide.
12
Defn: Since D/Dt can be applied to the scalar components u, v, w of a velocity field u and thus
to u itself, the acceleration of a fluid particle is
Du ∂u
= + (u · ∇)u (4)
Dt ∂t
Defn: The term u · ∇ is called the advective term. It is the scalar operator u∂/∂x + v∂/∂y +
w∂/∂z (in Cartesians).
Note: The brackets in (u · ∇)u are important and u · (∇u) makes no sense. It is the parallel of
the vector operation (a · b)c which is nonsense if rewritten as a · (bc).
E.g. 1.8: Consider log problem from §1.5 where u = (kx, 0, 0). Then: (i)
∂u
=0
∂t
so the flow is steady; and (ii) the advective term is
∂
(u.∇)u = kx (kx, 0, 0).
∂x
Du
Hence the acceleration of the log is = (k 2 x, 0, 0).
Dt
Note: Recall from E.g. 1.1 that we computed a particle path to be x(t) = ekt . Thus, the
acceleration in the x-direction is d2 x/dt2 = k 2 ekt = k 2 x, which matches Du/Dt above.
Key points: The continuum hypothesis allows us to consider a flow, not by tracking individual
molecules but by describing its properties in terms of local averages.
There are two ways of observing the flow, in fixed and moving frames of reference. These are
connected. It is most usual to work in a fixed frame (Eulerian) of reference but an important
notion is that of rate of change moving with the fluid which gives rise to the Lagrangian derivative,
D/Dt = ∂/∂t + (u · ∇).
There are three ways of visualing a fluid: particle paths (the unique curve followed by single release
of a tracer into the flow), streamlines (families of curves which capture the instantaneous direction
of the flow everywhere) and streaklines (finite length curves formed by the continuous release of
tracer particles over an interval of time). These are identical for steady flows.
13
2 Continuity and some basic incompressible flows
Consider an arbitrary finite volume, V , which is fixed in a fixed frame of reference. V is bounded
by the surface S and n̂ represents a unit normal on S outward from V .
A fluid occupies the space of which V is a subset. The fluid has velocity u(r, t) and density ρ(r, t).
Fluid can flow in and out of V .
n n
u
dS
dx
V S
dS
In a short time δt the mass leaving a section, area δS, of the surface of V is δm = ρδxδS where
δx = u · n̂δt. So the rate at which mass is leaving V (the mass flux) through δS is ρu · n̂δS
Therefore the total flux of mass into V is
Z
− ρu · n̂dS
S
By the principle of the conservation of mass (fluid is neither created or destroyed in a closed
system):
“the rate of change of mass in V must equal the rate of change of mass into of V through S”
In other words
d
Z Z
ρ(r, t)dV = − ρu · n̂dS (5)
dt V S
Since V does not change with t and using the divergence theorem for the RHS we get
∂ρ
Z Z
dV = − ∇ · (ρu)dV
V ∂t V
or Z
∂ρ
+ ∇ · (ρu) dV = 0.
V ∂t
This is true for any fixed V , so it must be
∂ρ
+ ∇ · (ρu) = 0 (6)
∂t
14
at every point in the fluid.
(6) is called the mass conservation equation or the continuity equation.
2.2 Incompressibility
Defn: A fluid is said to be incompressible if the density of each fluid ‘particle’ is constant, (i.e.
Dρ
= 0).
Dt
∂ρ ∂ρ Dρ
0= + ∇ · (ρu) = + u · ∇ρ + ρ∇ · u = + ρ∇ · u
∂t ∂t Dt
Thus an incompressible fluid satisfies
∇·u=0 (7)
That is, the condition (7) implies and hence replaces (6) for an incompressible fluid.
Remark: No fluid is completely incompressible. Gases can compress easily, liquid much less so.
Because of the simplicity of (7) and the way it helps later calculations be made it is often useful
to make the approximation of incompressibility, even when considering gases4 .
Note: If ρ is constant the LHS of (5) is zero and conservation of mass can be invoked using
Z
u · n̂dS = 0 (8)
S
∂y ∂x
∇·u= + =0
∂x ∂y
∂x ∂(−y)
∇·u= + =1−1=0
∂x ∂y
15
2.3 Streamfunctions (for incompressible flows)
u= ∇×A (9)
We will consider this description of 2D flows in two different useful coordinate systems.
2.4.1 Cartesians
∂ψ ∂ψ
u(x, y, t) = , v(x, y, t) = − (10)
∂y ∂x
Remark: Why does this make sense ? Because incompressibility means that the flow component
in the x-direction has to be related to the component in the y-direction.
In addition ψ has a very useful physical interpretation. Let (x(s), y(s), 0) be a streamline with s
measuring arclength along a streamline as before. Then consider
dψ ∂ψ dx ∂ψ dy
= + = −vλ(s)u + uλ(s)v = 0
ds ∂x ds ∂y ds
16
ψ= constant
∂ψ
= y, ⇒ ψ(x, y) = 21 y 2 + f (x)
∂y
and
∂ψ
= −x, ⇒ ψ(x, y) = − 21 x2 + g(y)
∂x
for some arbitrary functions f, g. These can work together if
ψ(x, y) = 21 (y 2 − x2 )
Defn: Points in the flow where u = 0 are called stagnation points. For steady flows, streamlines
can only cross at stagnation points.
2.4.2 Polars
Consider A = ψ(r, θ, t)ẑ in polars (x = r cos θ, y = r sin θ). Then (look up definition of curl in
polar coordinates)
1 ∂ψ ∂ψ
∇×A= r̂ − θ̂
r ∂θ ∂r
It follows that if we write express the 2D flow in polars as u(r, θ, t) = ur r̂ + uθ θ̂ then the two
scalar components of the velocity in the radial and angular directions are given by
1 ∂ψ ∂ψ
ur (r, θ, t) = , uθ (r, θ, t) = − (11)
r ∂θ ∂r
1 ∂(rur ) 1 ∂uθ
∇·u= + =0
r ∂r r ∂θ
17
after using (11), confirming incompressibility (but we didn’t need to of course !)
In polars coordinates, (2) is replaced by dr/ur = rdθ/uθ and ψ(r, θ, t) = const define streamlines.5
E.g. 2.3: (Rotational flows.) Fluid rotates around the origin. So ur = 0 and uθ is independent
of θ, or:
1 ∂ψ
ur = 0 = , ⇒ ψ ≡ ψ(r)
r ∂θ
∂ψ
uθ = f (r) = −
∂r
This allows for a variety of flows all with the same streamlines. E.g. if ψ(r, θ) = −Ar then uθ = A
(the fluid exhibits solid body rotation); if ψ(r) = −A ln r then uθ = A/r (we will come to know
this as a point vortex or line vortex.)
E.g. 2.4: (A two-dimensional point source also known as a line source.) Fluid flows radially
from the origin. So uθ = 0 and ur is independent of θ, or:
1 ∂ψ
ur = f (r) =
r ∂θ
∂ψ
uθ = 0 = −
∂r
2nd eqn. implies ψ = ψ(θ) but, from 1st eqn. ∂ψ/∂θ must be independent of θ. So ψ = Aθ where
A constant. Then f (r) = A/r.
Defn: The source strength is the flux of fluid from the source point.
Since the flow is incompressible, the flux at the origin equals the flux through any closed boundary
surrounding the origin (this is just a restatement of (8)).
Most easily calculated by measuring the flux through a circle C, radius r centred at the origin:
Z 2π Z 2π Z 2π
A
Z
Source strength, m = u · n̂ ds = u · r̂ rdθ = ur r̂ · r̂ rdθ = rdθ = 2πA.
C 0 0 0 r
and A = m/2π (see line integrals in MVC). Confirms mass flow through a circle surrounding the
origin is independent of the radius of the circle.
5
The details of how to show this is a bit tricky. Start with describing the streamline by the curve r = r(s)r̂(s)
in polars where s is arclength. Then dr/ds = (dr/ds)r̂ + r(dθ/ds)θ̂ = λ(s)u = λ(s)(ur r̂ + uθ θ̂). This means
dr/ds = λur and dθ/ds = uθ /r and we can divide one by the other to determine a relation defining streamlines
in polars. We can also confirm, using the chain rule, that dψ/ds = (∂φ/∂r)(dr/ds) + (∂φ/∂θ)(dθ/ds) = 0 after
substituting for each term, from which we assert that ψ is constant along a streamline.
18
m mθ
Summary: The flow u = r̂ is generated by the streamfunction ψ(r, θ) = .
2πr 2π
m
Note: converting to Cartesians, ψ = tan−1 (y/x).
2π
(x,y) 0.5
θ
θ x -0.5
-1
-1 -0.5 0 0.5 1
x=a
Intuitive result: Nothing ! In some sense correct, but...
hm
m ′i m −1 y
−1 y
ψ = lim θ− θ = lim tan − tan
a→0 2π 2π a→0 2π x x−a
Combine this by noting that tan(A − B) = (tan A − tan B)/(1 + tan A tan B). Then
m −1 y/x − y/(x − a) m −1 −ay
ψ = lim tan = lim tan
a→0 2π 1 + y 2 /x(x − a) a→0 2π x2 + y 2 − ax
y
= −µ
2π(x + y 2)
2
using tan−1 A ≈ A when A → 0 and defining µ = lima→0 {ma} be the dipole strength s.t.
0 < µ < ∞.
r sin θ sin θ
Note: Converting to polars, ψ = −µ 2
= −µ .
2πr 2πr
Q: What is ψ for a vertical dipole ?
Again we will use simplified vector potentials now in two different 3D coordinate systems to
describe certain flows having some restrictive property – axisymmetry in this case.
19
(curl in cylindrical polars). So an incompressible flow u = ur r̂ + uθ θ̂ + uz ẑ satisfies
1 ∂Ψ 1 ∂Ψ
ur (r, z, t) = −
, uz (r, z, t) =
r ∂z r ∂r
are both independent of θ and uθ = 0 and the flow is said to be axisymmetric.
Can be shown streamlines determined by dr/ur = dz/uz or by Ψ = const on streamlines (actually
stream surfaces or stream tubes as 3D flow.)
Note: For 3D flows, Ψ is called the Stokes’ streamfunction.
z
U y
r
θ
x
φ r y
r θ
θ
x−axis x
Cylindrical polars Spherical Polars
Ψ(r, ϕ)
Coordinates (r, ϕ, θ) and with A = θ̂ then
r sin ϕ
1 ∂Ψ 1 ∂Ψ
∇×A= r̂ − ϕ̂
r 2 sin ϕ ∂ϕ r sin ϕ ∂r
from the definition of curl in spherical polars.
Matching to the axisymmetric flow u = ur (r, ϕ)r̂ + uϕ (r, ϕ)ϕ̂ with uθ = 0 we have
1 ∂Ψ 1 ∂Ψ
ur = , uϕ = −
r2 sin ϕ ∂ϕ r sin ϕ ∂r
20
Can show again that setting Ψ = const gives stream surfaces.
E.g. 2.7: (a 3D point source.) Clearly uθ = 0 and flow does not depend on azimuthal angle θ,
so can use streamfunction Ψ(r, ϕ) in spherical polars. Also
uϕ = 0, ⇒ Ψ ≡ Ψ(ϕ)
whilst
1 ∂Ψ
ur = f (r) =
r 2 sin ϕ ∂ϕ
means we must have Ψ = A − B cos ϕ, for A, B constants, and so f (r) = B/r 2 .
The source strength found from measuring flux through sphere surrounding origin:
Z π Z 2π
B 2
Z
Source strength, m = u · n̂ dS = r sin ϕdθdϕ = 4πB
S 0 0 r2
since u = ur r̂ = f (r)r̂ = (B/r 2 )r̂, and n̂ = r̂, dS = r 2 sin ϕdθdϕ, S = {0 < θ < 2π, 0 < ϕ < π}
(from 1st year Calculus & MVC).
Defining, for e.g., Ψ = 0 on ϕ = 0 to determine A we get
m
Ψ(ϕ) = (1 − cos ϕ)
4π
Note: We can convert this solution into cylindrical polars (r, θ, z) (where r means a different
thing now !) using geometry to get
m z
Ψ= 1− √ .
4π z2 + r2
Key points: One of the two main principles of fluid motion is conservation of mass; this leads
to the continuity equation linking changes in density to flow velocity.
If the flow is incompressible then ∇ · u = 0. For such flows we can always find a vector potential
A such that u = ∇ × A. This is only really useful for simplified flows, which are 2D flows and 3D
flows which are axisymmetric about the z-axis. In these cases it is possible to express the velocity
components of the flow in terms of a single ‘streamfunction’ – this is the key: two unknown
flow components plus the conditions of incompressibility are used together to express the flow in
terms of a single unknown. The bonus of this approach is that the flow can easily be visualised
by sketching lines on which the streamfunction is constant.
We have introduced some basic flows: streaming flows, rotational flows including point vortices
and 2D and 3D point sources and dipoles with extensive use of vector calculus in cylindrical and
spherical coordinates.
21
3 Flow dynamics for an incompressible inviscid fluid
Fluids move in response to the forces that are exerted on each fluid particle or ‘parcel’.6
These forces are of two types:
• Forces on parcel of fluid, volume δV , that are proportional to δV are known as body forces.
E.g. gravitational force on δV is −δmgẑ = −ρgδV ẑ.
• Forces that are transmitted across the surface element δS of a fluid parcel are called surface
forces. These require more thought.
When the fluid is a rest, the surface force must be in the direction of the normal, n̂ (the definition
of a fluid implies it would deform if a tangential force were applied.)
In this course, we consider fluids for which this statement remains true even if they are in motion.
Tangential components of forces on fluids when in motion are due to a molecular property of the
fluid called viscosity.
Defn: An fluid is said to be inviscid (or ideal) when surface forces act in the normal direction
only, even in motion.
That is for an inviscid fluid, the surface stress (defined as the force per unit area) on the surface
of a fluid parcel is in the direction n̂ normal to a surface element δS and hence the δFs = −pn̂δS =
is force exerted by exterior fluid on fluid inside δV .
The coefficient of proportionality, p(r, t), represents the force per unit area in normal direction and
is called the pressure. It is directed inwards (hence the minus sign) because fluids are normally
in a state of compression.
Q: Can p(r, t) also depends on n̂ ?
A: It can’t (proof is long and not important for this course).
That is to say pressure is isotropic: at a point in the fluid pressure is the same in all directions.
Key points: A fluid responds to forces. There are body forces which act on the bulk (think of
gravity). Surface forces act between one layer of a fluid and another. For an ideal fluid, there are
no tangential forces between layers (like friction) and forces are normal to surfaces (like reaction
forces). The force per unit area in the normal direction is called the pressure and this acts equally
in all directions at a point in the fluid.
22
Consider a fixed volume V with surface S. The momentum within V may change as a result of
(i) body forces (ii) surface forces, and (iii) fluid momentum transported out of V .
n
S n
ρu
dS
V
z ( u.n) δ t
dS
y
0 x
Z
Total momentum in V = ρudV
V
In time δt, the fluid momentum leaving a small section of surface δS is ρuδxδS where δx = (u·n̂)δt.
So rate of momentum transport of momentum (the momentum flux) is ρu(u · n̂)δS.
where f represents the body force density or force per unit volume (e.g. for gravity f = −ρgẑ).
In each i = 1, 2, 3 components,
∂
Z Z Z Z
(ρui )dV = − ρui (uj nj )dS − pni dS + fi dV.
V ∂t S S V
23
so that we have
∂ui ∂ui ∂p
ρ + ρuj =− + fi .
∂t ∂xj ∂xi
Finally, we can identify this in vector notation as
∂u
ρ + ρ(u · ∇)u = −∇p + f
∂t
or, using the material derivative, as
Du
ρ = −∇p + f. (13)
Dt
This is the momentum equation for the fluid more commonly known as Euler’s equation (due
to Euler 1756).
Remark: (13) contains 3 equations but has four unknowns (the 3 cpts of u and p.) Mass
conservation provides a 4th equation which closes the system.
Remark: Euler’s equation can be read as “mass times acceleration equals sum of forces”. Note
that pressure itself does not act to accelerate a fluid, but pressure gradients do.
Remark: The addition of viscosity leads to an additional term on the RHS of (13). The modified
equation is called Navier-Stokes equation.
E.g. 3.1: From E.g. 2.7 (point source in 3D), ur = m/4πr 2 , or
m
u= r̂
4πr 2
in spherical polars. Here, ∇ · u = 0 by construction of solution (but can confirm using divergence
in spherical polars:
1 ∂
∇ · u ≡ 2 (r 2 ur ) = 0 )
r ∂r
We also have ∂u/∂t = 0 whilst
ρm2
∂
ρ(u · ∇)u = ρ ur ur r̂ = − 2 5 r̂
∂r 8π r
To find a pressure field able to sustain this flow, equate to −∇p from Euler’s equation. It follows
that p = p(r) so that
∂p ρm2
−∇p = − r̂ = − 2 5 r̂
∂r 8π r
and it follows from equating components of r̂ both sides and integrating up that
ρm2
p = p0 −
32π 2 r 4
where p0 is the pressure at infinity.7
Q: Does this make sense ? The pressure increases with r which makes sense because the flow is
slowing down in the radial direction, so a force is holding it back.
7
this is a model problem, so we can do this. Often in practical problems we use infinity as an approximation
for ‘a long way away’
24
3.3 Hydrostatics
∇p = −ρgẑ (15)
∇(p + ρgz) = 0
This integrates to
p + ρgz = const (16)
I.e. pressure increases with depth (remember z points upwards).
For a lake, ρ = 1000kgm−3 and g = 10ms−2 so pressure increases by 10KPa for every metre below
the surface.
E.g. 3.4: If ρ = ρ(z) (as in the oceans, atmosphere), then (15) can be integrated to give
Z z
p(z) = p(z0 ) − g ρ(z ′ )dz ′
z0
S n Stationary
fluid, density ρ
V
Consider a static arrangement of a body of volume V with surface S immersed in fluid of density
ρ. The forces due to the fluid acting on that body are surface forces (i.e. −pn̂δS integrated over
S). Thus Z Z Z
Force on submerged body = − pn̂dS = − ∇pdV = ẑ ρg dV
S V V
using the divergence theorem and (15).
25
Therefore force on body of volume V due to the fluid is equal to the weight of fluid displaced.
Find the force required to hold back a body of fluid behind a lock gate.
patm
patm
H1 p(z)
1 z
p2(z) H2
Here n̂ = x̂ is the vector pointing out of the fluid into the gate. Thus the x-component is, say,
Z H1
F1 = F1 · x̂ = p1 (z) dz = patm H1 + 12 ρgH12
0
(the minus sign is because n̂ = −x̂ in the fluid to the right of the gate).
Thus the net horizontal force is
1
F1 + F2 = ρg(H12 − H22 )
2
8
we can prove/we will show later that pressure is continuous across fluid/fluid interfaces such as water/air.
26
Checks: If H1 > / = / < H2 then forces act in right way.
Q: What about torque ? (Problem sheet)
For steady flows, LHS of (12) is zero and if we also assume a conservative body force, f = −ρ∇Φ9
then Z Z Z
0 = − ρu(u · n̂)dS − pn̂dS − ρ∇Φ dV
S S V
S1
u = −Uẑ
S2
S3
n̂ = r̂ patm
S4 u = Ur r̂
n̂ = −ẑ
9
For gravity Φ = gz
10
One can regard the relationship of (17) to (13) in the same way as (8) is related to (6). Thus (17) balances
momentum flux through fixed surface in the same way that (8) balances mass flux through a fixed surface. The
advantage of using either of these is that you need only apply them on the bounding surface of the flow where you
have data rather than everywhere in the volume where the detail of the flow is not known or, perhaps, important.
27
Ignore the effects of gravity (you can make a technical argument that the timescales over which
such a flow evolves mean that gravity has a negligible effect on the dynamics, but as students –
just accept it.)
Take a control surface, S, around the flow cutting the flow far from the point of impingement.
Divide S into four segments: S = S1 ∪ S2 ∪ S3 ∪ S4 (see figure). Assume uniform outward flow
parallel to wall across S3 , u = Ur r̂ and uniform input flow across S1 , u = −Uẑ. So U is given and
Ur is something to be found.
Also assume pressure on all boundaries apart from wall S4 is patm (constant atmospheric). Then
(17) with Φ = 0 reads Z
ρu(u · n̂) + pn̂ dS = 0.
S
Now, here’s a neat trick that often helps in this type of problem:
Z Z Z Z
pn̂dS = (p − patm )n̂dS + patm n̂dS = − (p − patm )ẑ dS
S S S S4
Z Z
since patm n̂dS = ∇patm dV = 0 (corollary to divergence theorem) since patm is constant.
S V
Also, Z Z Z
2
ρu(u · n̂) dS = ρU ẑ dS + ρUr2 r̂ dS.
S S1 S3
11
since u · n̂ = 0 on the wall and the fluid surface
Thus we have Z Z Z
2
0=− (p − patm )ẑ dS + ρU ẑ dS + ρUr2 r̂ dS
S4 S1 S3
(u · ∇)u = ∇( 12 u · u) − u × ω
11
i.e. there is no flow across these surfaces so the component of u in the direction normal to the fixed surface is
zero.
28
where we have defined ω = ∇ × u (we shall come to know this as the vorticity).
Write |u|2 = u · u and use above in (13)
∂u
− u × ω = −∇(p/ρ + Φ + 12 |u|2 ) (18)
∂t
∂
and we have assumed f = −ρ∇Φ as in §3.4. The flow is steady, so = 0 and taking the dot
∂t
product with u on both sides gives
u · (u × ω) = 0 = u · ∇(p/ρ + Φ + 21 u2 )
dr
The definition of a streamline is = λ(s)u, so
ds
d dxi ∂
(p/ρ + Φ + 21 |u|2 ) = (p/ρ + Φ + 12 |u|2 ) = λu · ∇(p/ρ + Φ + 21 |u|2 ) = 0
ds ds ∂xi
Consequently,
Remark: Ignoring body forces, the Bernoulli equation says that pressure reduces when speed
increases. This explains how two pieces of paper attract when you blow between them, contrary
to basic intuition.
E.g. 3.6: (Jet against the wall) Follow a streamline along the surface of the flow from the
incoming jet to the outgoing jet. There is no gravity so Φ = 0 and p = patm at all points. So
Bernoulli gives us speed is constant and Ur = U.
Note: The solution to the jet problem is not yet complete as haven’t used conservation of mass.
What would this tell you ? How would you apply it ?
p0 /ρ + 21 02 = p/ρ + 21 |u|2
to give
ρm2
p = p0 −
32π 2 r 4
the same as the answer in E.g. 3.2
29
E.g. 3.8: A small rod is fixed vertically in a stream of constant speed U. How high does the
water rise up the rod ?
The flow is steady, so can use Bernoulli along a streamline. Choose the streamline on the surface
(i.e. p = patm ) of the stream which connects a point far upstream (set to z = 0) to a stagnation
point at the front of the rod, (z = h). Along this streamline p/ρ + gz + 12 |u|2 is constant. So
gives
h = U 2 /2g
(about 5cm for U = 1m/s)
A tank of uniform cross section A0 has a small hole, area Ae , at a height h above the base. The
height of the fluid above the hole is H. Find (i) the flow speed from the hole; (ii) the time for the
fluid to drain; and (iii) the distance travelled by the jet out of the hole.
patm area
Ao
H Uo area
Ae
Ue
z streamlines
h
Since the hole is small and the level of fluid in the tank falls very slowly reasonable approximation
is that the flow is steady at each instant in time.
Here gravity is in play, so Φ = gz. Set z = 0 at the bottom of the base (this is an arbitrary choice
and doesn’t affect the final answer).
30
or
gH = 12 (Ue2 − U02 ) (20)
One equation, but two unknowns (U0 and Ue ).
However, conservation of mass hasn’t yet been used ! Using (8) we can write
A0 U0 = Ae Ue (21)
since the fluxes across two boundaries must be equal.
Using (21) in (20) gives √
2gH
Ue = p
1 − (Ae /A0 )2
Since it has been assumed that Ae ≪ A0 ,
p
Ue ≈ 2gH.
(ii) If H = H(t) is the height of the fluid above the hole, then the velocity of this surface is dH/dt.
Since H(t) is measured upwards,
dH Ae
= −U0 = − Ue
dt A0
by (21). I.e.
dH p
≈ −(Ae /A0 ) 2gH.
dt
If initially H = H0 at t = 0 and H = 0 when t = td , the draining time is found by integrating up:
Z td Z 0
dH
(Ae /A0) dt = − √
0 H0 2gH
or p
td ≈ (A0 /Ae ) 2H0 /g
(iii) Distance
√ travelled by the jet. The flow speed is maximum when t = 0 and H = H0 . Here
Ue ≈ 2gH0.
As soon as fluid particles emerge from the hole they are at atmospheric pressure and the only
forces they are subject to are gravitational. Thus they obey the same equations as a projectile
fired horizontally with speed Ue .
p
It is a simple to calculate the time taken to hit the ground as t = 2h/g and the distance travelled
to be p p p
x = Ue t = 2gH0 2h/g = 2 H0 h
If we assume the filling height is fixed Hf = H0 + h then
q
x = 2 (Hf − h)h
and this is maximised when dx/dh = 0, which a simple calculation shows is when h = 12 Hf and
whence xmax = Hf .
Experiment: You can do an experiment with a water bottle to check these predictions !
31
3.5.2 Problem: Steady flow through a slowly diverging pipe
Find the pressure jump needed to drive a flow through a pipe of varying cross-section.
area
area A2
A1
U1 streamline U2
Mass conservation (equating mass fluxes at two ends of pipe using (8)
A1 U1 = A2 U2
If the flow is uniform and steady or at rest, then the body forces must balance pressure gradients.
When there are no body forces, this means the background pressure is constant; under gravity
the pressure gradient acts as a force against gravity and pressure increases with depth to support
the weight of the fluid above.
There are two alternative manifestations of Euler’s equation when the flow is steady: (i) the
momentum integral theorem expresses the balance of momentum flux within a closed surface; (ii)
Bernoulli’s equation also expresses conservation of momentum flux along individual streamlines
in the flow.
Without proof, we have asserted that pressure is continuous across interfaces between different
surfaces.
To solve a problem, one can use either Euler’s equation directly, the momentum integral theorem
or Bernoulli’s equation (but no more than one of these as this will duplicate information). To find
the complete solution to a problem one also needs to use conservation of mass as this principle is
not integrated into the momentum conservation equations.
32
4 Vorticity
Consider a short line segment in the fluid, with ends r and r + δr. At a small time δt later, the
two ends have been advected by the fluid to the points
Expanding the latter term using multivariable Taylor’s theorem (MVC), gives
Thus the two ends of the line segment have undergone rigid-body translation in the flow apart
from a term
δr · ∇u(r, t) ≡ δu, say
Note: The tensors eij = eji and Ωij = −Ωji are said to be symmetric and antisymmetric
(respectively).
ǫlmk ǫijk Ωij = ǫklm ǫkij Ωij = (δil δjm − δim δjl )Ωij = Ωlm − Ωml = 2Ωlm
Ωlm = − 12 ǫlmk ωk
33
or, to make it easier, relabel as
Ωij = − 21 ǫijk ωk
This means the contribution of the antisymmetric component to the local velocity anomaly is
and so
δw = 21 ω × δr
Defn: The vector ω = ∇ × u is called the vorticity and is a measure of the local rate of rotation
in the flow field described by u.
It turns out (details ommitted) that under a particular choice of right-angled axes (called the
principal axes of strain) that eij diagonalises so that eij = 0 if i 6= j.
Then the contribution of the symmetric part to the relative motion between the end points of the
line segment is
δv = δr · e, where e = (e11 , e22 , e33 )
This implies a stretching (when eii > 0) and compression (when eii < 0) along respective axes of
strain.
y y y
x x x
rotational componentw
Original shear flowu straining componentv
34
For this simple (linear) example we can write
0 k 0 0 k 0
1 1
u= k 0 0 + −k 0 0 r
2 2
0 0 0 0 0 0
• v = ( 21 ky, 21 kx, 0) is called a straining flow (see E.g. 2.3) and is irrotational: ∇ × v = 0.
E.g. 4.2: In E.g. 2.3 we considered a general rotating flow u = f (r)θ̂ (in cylindrical polars).
According to the definition of curl in cylindrical polars,
1 ∂
ω = ∇ × (f (r)θ̂) = (rf (r))ẑ
r ∂r
The rotation is attributed to a vorticity field in the flow. If the vorticity is zero through the flow
(apart from perhaps at isolated singularites – point vortices), it is said to be irrotational.
∂u
− u × ω = −∇(p/ρ + Φ + 12 |u|2 )
∂t
Taking the curl of this gives
∂ω
− ∇ × (u × ω) = 0
∂t
since ∇ × ∇f = 0. We can use a vector identity:
∂ω
+ (u · ∇)ω = (ω · ∇)u
∂t
35
or
Dω
= (ω · ∇)u (24)
Dt
This is called the vorticity equation.
E.g. 4.3: Consider a flow of the form u = (0, 0, (1 − x2 − y 2)f (t)) where f (t) is an arbitrary
function of time. Then (check)
ω = ∇ × u = (−2yf (t), 2xf (t), 0)
which means the RHS of (24) is
∂ ∂
−2yf (t) + 2xf (t) (0, 0, (1 − x2 − y 2)f (t)) = (0, 0, 4xy − 4yx)f 2 (t) = 0
∂x ∂y
Equating to the LHS
∂
(−2y, 2x, 0)f ′(t) + (1 − x2 − y 2 )f (t) (−2yf (t), 2xf (t), 0) = 0
∂z
means f ′ (t) = 0 and so f (t) = constant are only possible solutions.
4.2.1 Vorticity in 2D
In 2D flows, u = (u(x, y), v(x, y), 0) and so, by definition ω = (0, 0, ω(x, y)) ≡ ω(x, y)ẑ. It is then
clear that the term
∂
(ω · ∇)u = ω(x, y) u=0
∂z
and so
Dω
=0
Dt
That is, vorticity is conserved as it moves with the flow.
Note: If ω = 0 at time t = 0, then ω = 0 for all time; vorticity cannot be generated in a 2D flow.
where C(t) is a closed loop which moves with the fluid and dr is an infinitesimal line segment
along C(t).
36
Note: By Stokes’ theorem
Z Z Z
Γ= u · dr = (∇ × u) · n̂dS = ω · n̂dS
C(t) S(t) S(t)
Proof:
DΓ D Du
Z Z Z
= u · dr = · dr = −∇(p/ρ + Φ) · dr
Dt Dt C(t) C(t) Dt C(t)
where D/Dt has been taken under the integral since the path C(t) moves with the fluid.
Now, by Stokes’ theorem
DΓ
Z
=− ∇ × ∇(p/ρ + Φ) · n̂dS = 0
Dt S(t)
Note: Irrotational flows can have circulation if they have point sources of vorticity.
(following MVC for computing line integrals: parametrise C by r = Rr̂ = R(cos θ, sin θ), so
dr = (dr/dθ)dθ = R(− sin θ, cos θ)dθ = Rθ̂dθ.)
Therefore, a point vortex can be defined in terms of its circulation by u = (Γ/2πr)θ̂ (in an
analogous way to a point source being defined in terms of its source strength).
Consider the shear flow u = (ky, 0, 0). At time t = 0 let C0 denote the circle centred on the origin
of radius a.
(i) Calculate C(t), the locus of this circle as it moves with the flow.
37
(i) Consider a tracer particle placed at (x0 , y0) = (a cos θ, a sin θ) at t = 0. The curve C0 is formed
from points (x0 , y0 ) for 0 < θ < 2π. To get C(t) we consider tracking the tracer particles as the
flow evolves which means integrating the particle paths
dx
= ky, x(0) = a cos θ
dt
dy = 0,
y(0) = a sin θ
dt
which integrates to y(t) = a sin θ (a constant) first and then x = a cos θ + kat sin θ. So C(t) is the
curve r = (a cos θ + kat sin θ, a sin θ, 0) for 0 < θ < 2π.
Γ = −kπa2
(iii) Kelvin’s circulation theorem tells us that the value of Γ found in part (ii) is constant (and
our answer confirms this). Therefore it is the same as at t = 0 when C(t) = C0 a circle. For our
flow u = (ky, 0, 0) a simple calculation gives us ω = ∇ × u = −kẑ. So
Z Z
Γ= u · dr = ω · ẑdS
C0 S0
where S0 is the interior of the circle, radius a, centre (0, 0), lying in the x − y plane with normal
ẑ (by the right-hand thumb rule in MVC). Thus
Z
Γ = −k dS = −kπa2
S0
Key points: The vorticity equation is just version of Euler’s equation which tells us about
conservation of angular momentum, rather than translational momentum, in the flow. It provides
information about how vorticity is transported by the flow. For 2D flows, it tells us that vorticity is
conserved and so a flow with no initial vorticity will be free of vorticity for all time. More generally,
Kelvin’s circulation theorem tells us that a the circulation in the flow (related to vorticity) is
conserved as you move with the flow.
38
5 Irrotational flows: potential theory
u = ∇φ (26)
∇ · ∇φ ≡ ∇2 φ = 0 (27)
Before exploiting some of the added benefits of potential theory, let us return to consider how
some of our basic flows can be expressed in terms of a velocity potential.
φ = U1 x + U2 y + U3 z + const = U · r
Note: it is normal to ignore the additive constant on the velocity potential as it does not change
u which is defined by derivatives.
12
and it is unique – there is a straightforward proof of this, ommitted from the notes
39
5.2.2 A 2D point source
m
In E.g. 2.4 we found u = r̂ (in cylindrical polars) and the streamfunction was found to be
2πr
mθ
ψ= .
2π
Here
1 ∂φ
uθ = 0 = ⇒ φ = φ(r)
r ∂θ
m ∂φ m
ur = = ⇒ φ= ln r
2πr ∂r 2π
Γ
In E.g. 4.4 we found u = θ̂ so
2πr
∂φ
ur = 0 = ⇒ φ = φ(θ)
∂r
Γ 1 ∂φ Γθ
uθ = = ⇒ φ=
2πr r ∂θ 2π
5.2.4 A 2D dipole
Consider a source, represented by the potential φs = (m/2π) ln r at (0, 0) and a sink a distance a
from the origin at ad̂ where d̂ = (cos α, sin α) is a unit vector in the direction α
φd (r) = lim {φs (r) − φs (r − ad̂)} = lim {φs (r) − (φs (r) − ad̂ · ∇φs (r) + O(a2 ))} = lim {ad̂ · ∇φs (r)}
a→0 a→0 a→0
using multivariable Taylor’s theorem. Letting µ = lima→0 {ma}, represent the dipole strength;
then
µ d̂ · r̂
φd =
2π r
p
where r̂ = (cos θ, sin θ), r = x2 + y 2 .
µ cos θ
φd =
2πr
represents a horizontal dipole. In general
µ cos(θ − α)
φd (r, θ) = .
2πr
40
5.2.5 A 3D point source
m p
In E.g. 2.7 we found u = 2
r̂ (in spherical polars, so r = x2 + y 2 + z 2 now).
4πr
Here
1 ∂φ 1 ∂φ
uϕ = 0 = r ∂ϕ and uθ = 0 = r sin ϕ ∂ϕ ⇒ φ = φ(r)
m ∂φ m
ur = = ⇒ φ = −
4πr 2 ∂r 4πr
5.2.6 A 3D dipole
m
We can follow §5.2.4 but with φs = − to get
4πr
µd̂ · r̂
φd =
4πr 2
E.g. 5.2: an axisymmetric dipole aligned with the z-axis has d̂ = (0, 0, 1) and gives
µ cos ϕ
φd =
4πr 2
where ϕ is the polar angle.
Because Laplace’s equation is linear, if φ1 and φ2 are two solutions then so is αφ1 + βφ2 (linear
superposition).
In fact we have already used this to construct dipoles.
Q: Can we use superposition to create complex flows from basic ones ?
Select a potential as the sum of a horizontal stream, speed U in the +ve x-direction and a horizontal
dipole, strength µ, at the origin:
µ cos θ
φ = Ux +
2πr
Note: We have mixed coordinate systems in the two terms, so switch both terms to plane polars:
µ cos θ
φ = Ur cos θ +
2πr
Consider the radial flow component
∂φ µ
ur (a, θ) = = U− cos θ
∂r r=a 2πa2
41
We can make this zero for all θ if the dipole strength is chosen to be
µ = 2πUa2
In other words, the 2D flow past an infinitely-long circular cylinder can be represented by the
potential
a2
φ=U r+ cos θ (28)
r
Alternative method: Because the flow is 2D we can also use streamfunctions. So combining
streamfunctions for a horizontal stream and dipole (E.g. 2.5) gives
µ sin θ µ sin θ
ψ = Uy − = Ur sin θ −
2πr 2πr
With µ = 2πUa2 , we see that ψ(a, θ) = 0 for all θ and because the flow is steady, the circle r = a
is a streamline of the flow. By definition, the fluid is everywhere parallel to the streamline and
thus no fluid crosses it. This means the streamline around r = a can be replaced by a rigid body.
Note: ψ(r, θ) = 0 on θ = 0 and θ = π. Thus the streamline which defines the circle also extends
to infinity along the x-axis. At the points (±a, 0) front and back of the circle, both r̂ and θ̂ com-
ponents of the flow are zero and we have stagnation points. Recall from earlier that dividing
streamlines for stready flow imply flow stagnation.
Remark: What about the dipole inside the cylinder ? Are we saying that you need fluid inside
a cylinder as well ? No, the potential in (28) defines a flow which exists in r > a in the presence
of a solid boundary on r = a. The fact that we constructed this flow using a stream and a dipole
is a mathematical trick. Later we see that the dipole appears as an image (or reflection) of the
exterior flow in the cylinder surface.
ur=0
U
uθ=0 uθ=0
r=a
θ =0
θ =π
r=a
uθ=ur=0
Similar idea to above, but in 3D, we combine potentials for a uniform stream of speed U along
the z-axis and a dipole aligned with the z-axis (§5.2.6):
µ cos ϕ
φ = Uz +
4πr 2
42
Writing both terms in spherical polars with z = r cos ϕ gives
µ cos ϕ
φ = Ur cos ϕ +
4πr 2
Then the radial component of the flow on r = a is
∂φ µ
= cos ϕ U −
∂r r=a 2πa3
and with µ = 2πUa3 this is zero and hence we have a solid boundary – a sphere – at r = a.
Note: Can also construct with Stokes’ streamfunctions.
Can try lots of different combinations. E.g. Consider axisymmetric 3D flow generated by a stream
along z-axis and a 3D point source:
m
φ = Ur cos ϕ −
4πr
Now less easy to identify a solid body in the flow. So use Stokes’ streamfunction (§2.5.1 and
§2.5.2)
m
Ψ = 21 Ur 2 + (1 − cos ϕ)
4π
but note that first term is in cylindrical polars and the second is in spherical polars. Converting
to spherical polars in which r → r sin ϕ gives
m
Ψ = 21 Ur 2 sin2 ϕ + (1 − cos ϕ)
4π
Need to plot Ψ to see streamsurfaces, but need to analyse how the streamline Ψ = 0 along the
negative z-axis reaches a stagnation point (Exercise).
ψ =m/2π
ψ=m/2π ψ=0
stagnation point
ψ =m/2π
We have been sort of putting this off and making oblique references to this already. The kine-
matic boundary condition provides information about the flow velocities at the boundary of a
43
fluid.
u · n̂ = 0
U · n̂ = u · n̂
(the flow component perpendicular to the boundary matches the normal component of the wall
velocity).
In both cases the conditions ensure the fluid does not penetrate the boundary and are referred to
as no-flow conditions.
For a so-called free surface which moves in response to the fluid (e.g. the interface between two
fluids such as air and water or oil and water) the argument is a bit more subtle. Define such a free
surface by a function S(r, t) = 0. A particle which sits on the the fluid remains on the surface as
the flow evolves, and mathematically this is expressed as
DS ∂S
0= ≡ + u · ∇S (29)
Dt ∂t
If there are two fluids, such as oil above water, separated by a free surface described by S then
(29) applies to each phase to give:
DS ∂S
= + uoil · ∇S = 0, on S = 0 from above
Dt ∂t
DS ∂S
= + uwater · ∇S = 0, on S = 0 from below
Dt ∂t
Now ∇S points in the direction normal to the surface S = const (Calc 1, MVC), so n̂ = ∇S/|∇S|
is the unit normal to the surface S = 0. It follows that
This is the same condition as before, but here the motion of the surface is free and previously it
was prescribed.
44
For irrotational flows, u = ∇φ, and ω = 0 so
∂φ p 1 2
∇ + + Φ + 2 |u| = 0
∂t ρ
It follows that
∂φ p
+ + Φ + 12 |u|2 = C(t) (31)
∂t ρ
H(t) u(z,t)
Area = Ae
p=patm
Assume bottle has slowly-varying cross-sectional area A(z) which varies from A(H0 ) = A0 to
A(0) = Ae where H(t) measures height of fluid from the exit, and at time t = 0, H(0) = H0 and
dH/dt|t=0 = 0.
Assume A0 /Ae > 1, but do not assume A0 /Ae ≫ 1 as problem §3.5.1. So cannot approximate to
quasi-steady flow. But we can assume irrotational flow.
Problem: find time for bottle to empty
45
Because A(z) varies slowly with z, the velocity is approximately aligned with ẑ and only a function
of z (and t). So we write
u = w(z, t)ẑ
Conservation of mass (5) implies that the volume flux through z = H is the same as across any
other depth in the fluid, or:
The kinematic boundary condition says that the surface of the fluid moves with the fluid, so
dH
w(H, t) = ≡ Ḣ
dt
Combining, we have
A(H)Ḣ
u = w(z, t)ẑ, where w(z, t) =
A(z)
We still need to apply momentum conservation to get a solution and will use unsteady Bernoulli
because we know the pressure is patm on the surface and the exit.
This means we need to derive a velocity potential for the flow. Since u = ∇φ it follows that
∂φ
= w(z, t)
∂z
and so z z
1
Z Z
′ ′
φ(z, t) = w(z , t) dz = A(H)Ḣ dz ′
0 0 A(z ′ )
(the lower limit on the integral just sets an additive constant to φ and doesn’t alter the velocity
field.)
Unsteady Bernoulli’s equation (gravity clearly in play) is
∂φ
(p/ρ) + 12 |u|2 + gz + = C(t)
∂t
everywhere in the fluid. Apply at top surface z = H(t):
H
d 1
Z
1 2
patm /ρ + 2
Ḣ + gH + A(H)Ḣ dz ′ = C(t)
dt 0 A(z ′ )
46
Since the bottle is slowly varying A′ (H) ≈ 0.
This is an awkward-looking 2nd order non-linear ODE for H(t) with initial conditions H(0) = H0 ,
dH/dt|t=0 = 0. In principle it can be solved numerically (e.g. CompMaths).
However, if we assume A(z) ≈ A0 = A(H0 ) for most of the bottle
Z H Z H ′
dz ′ dz
A(H) ′
≈ A0 = H(z)
0 A(z ) 0 A0
and (32) is approximated by
A20
H Ḧ + 1 − 2 Ḣ 2 + gH = 0
1
2
Ae
The next bit is very fancy:
d dH d d d 1 2
H Ḧ = H Ḣ = H Ḣ = H Ḣ Ḣ = H ( Ḣ )
dt dt dH dH dH 2
and if we let s(H) = 21 Ḣ 2 then we get a 1st order ODE
A20 s
ds
+ 1− 2 = −g
dH Ae H
to solve (c.f. integrating factors – left as an exercise !)
Experiment: If time permits the solution will be tested against experiments.
Suppose that at t = 0 we have a spherical cavity, initially at rest, radius R0 in an infinite fluid. We
assume negligible pressure in the cavity (set p = 0) and a constant postive background at infinity
of p0 > 0. The pressure gradient causes the cavity to collapse; this is assumed to happen quickly
enough to ignore the influence of gravity13 .
Problem: find the evolution of the radius of the spherical cavity R(t) < R0 for t > 0 and time of
collapse.
in spherical coordinates.
The kinematic boundary condition on the surface of the cavity means
ur (R, t) = Ṙ (33)
13
A problem of practical importance as cavitation bubbles are formed on the surfaces of high speed propellors
on ships; their collapse creates engineering difficulties
47
A velocity potential φ is introduced (the flow is assumed to be irrotational) and so u = ∇φ means
φ = φ(r, t) and
∂φ
= ur (r, t)
∂r
There are two ways of invoking conservation of mass into the solution. One is say that the flow is
generated by a 3D point sink of unknown strength (constructed for incompressible flows).
The other is say that incompressibility means φ satisfies ∇2 φ = 0. The only solution of Laplace’s
equation in spherical coordinates which is independent of ϕ and θ is A/r (separation solutions
from APDE2) and so
A(t)
φ(r, t) =
r
Thus
A
ur = − 2
r
and so (33) implies Ṙ = −A(t)/R2 , or A(t) = −R2 Ṙ and hence
R2 Ṙ R2 Ṙ
φ(r, t) = − , ur = − .
r r2
Need to use conservation of momentum and unsteady Bernoulli is good because we know pressure
on cavity (p = 0) and at infinity (p = p0 ). Thus:
1 2 ∂φ
0 + 2 Ṙ + = C(t) = p0 /ρ + 0 + 0
∂t r=R
d 3 2 2p0 2
R Ṙ = 3R2 Ṙ3 + 2R3 ṘR̈ = − R Ṙ
dt ρ
using the ODE. Equating LHS and RHS and noticing another trick
d 3 2 2p0 d 1 3
R Ṙ = − 3
R
dt ρ dt
48
we can now integrate up w.r.t. t to get
2p0 3
R3 Ṙ2 = − R +C
3ρ
2p0 R03
2
Ṙ = −1
3ρ R3
or 1/2
2 p0 R03 − R3
r
dR
=−
dt 3ρ R3
where the negative sign must be chosen because Ṙ < 0 – by assumption the cavity is collapsing.
Integrating up gives
Z R(t) Z t 1/2
R3/2 dR 2p0
=− dt
R0 (R03 − R3 )1/2 0 3ρ
Hmmm. Tricky. If the cavity collapses at time t = tc then R(tc ) = 0 implies (making substitution
R = R0 s in integral)
Z 1 1/2
s3/2 ds
tc 2p0
3 1/2
=
0 (1 − s ) R0 3ρ
and the integral can be evaluated numerically to a value of 0.747. Hence
1/2
ρ
tc = 0.915 R0
p0
Suppose a cylinder of radius a moves along the x-axis in an unbounded otherwise stationary fluid.
Its position as a function of time is s(t) = (s(t), 0) such that U(t) = (U(t), 0), U(t) = ṡ(t), is its
velocity.
Problem: find force exerted by fluid on cylinder.
u · n̂ = U · n̂, on |r − s| = a
with n̂ = r̂ = (cos θ, sin θ). That is, we are going to use polar coordinates (r, θ) which are centred
on the cylinder and therefore are in a moving frame of reference.
Also assume potential flow, u = ∇φ and incompressibility implies ∇2 φ = 0 where φ = φ(r, θ, t).
49
Then we want ∇φ → 0 as r → ∞ and
∂φ
n̂ · ∇φ = = U(t) cos θ, on r = a. (34)
∂r
since n̂ = r̂ = (cos θ, sin θ).
Select separation solutions of ∇2 φ in plane polars which fit the conditions at infinity and on the
cylinder. Then the only possible solution is
cos θ
φ = A(t)
r
Remark: This is a horizontal dipole potential which is not surprising since we constructed a
streaming flow past a cylinder in §5.3.1 with a stream and a dipole. That is, an alternative way
of constructing φ is from set of basic incompressible flows.
Imposing (34) gives
cos θ
A(t) = −U(t)a2 , so φ = −U(t)a2 (35)
r
What is the force exerted by the fluid on the cylinder ? General formula is:
Z
F = − pn̂ dS
S
∂φ
(p/ρ) + 21 |u|2 + = C(t) = (p0 /ρ)
∂t
where p → p0 , u → 0 and φ → 0 as r → ∞.
Elsewhere in the flow,
a2 a2
u = ∇φ = φr r̂ + (φθ /r)θ̂ = U(t) cos θr̂ + U(t) sin θθ̂
r2 r2
Now U is a function of time, but so are θ and r since they are in a moving frame of reference.
Points in the fixed frame of reference r are connected to the moving frame of reference with
50
since ṡ(t) = U(t). Eliminating (e.g. multiplying the top by cos θ and the bottom by sin θ and
adding) gives
ṙ = −U cos θ, r θ̇ = U sin θ. (36)
∂φ a2 a2 a2 a2 a2
= −U̇ cos θ + U θ̇ sin θ + U 2 ṙ cos θ = −U̇ cos θ − U 2 2 cos 2θ
∂t r r r r r
simplifying using (36) Applying Bernoulli on the cylinder r = a:
Note: if U(t) is constant then the force on the cylinder is zero. This is an example of D’Alembert’s
Paradox (explained later) in which all steadily moving rigid bodies experience no force due to
the fluid under the ideal fluid assumption.
The kinetic energy of fluid, constant density ρ, in a volume V with bounding surfaces S is
defined as
ρ ρ ρ
Z Z Z
2
Ekin = |u| dV = ∇φ · ∇φ dV = ∇ · (φ∇φ) − ∇2 φ dV
2 V 2 V 2 V
using a result from vector calculus. Now ∇2 φ = 0 and the divergence theorem gives
ρ
Z
Ekin = φn̂ · ∇φ dS (37)
2 S
That is, the kinetic energy in the fluid can be determined from φ and the normal component of
the gradient of φ on the surfaces bounding the fluid.
51
E.g. 5.3: (translating cylinder poblem of §5.8)
We had in (35)
cos θ
φ = −U(t)a2
r
giving
a2 a2
∇φ = U(t) cos θr̂ + U(t) sin θθ̂ = U(t) cos θr̂ + U(t) sin θθ̂
r2 r2
on the cylinder. Putting this in (37)
ρ 2π 2
Z
Ekin = U (t)a cos2 θ adθ
2 0
since n̂ = −r̂ as it points out of the fluid and there is no contribution from a bounding surface at
infinity since the integral tends to zero there. I.e.
Ekin = 12 ρπa2 U 2 = 21 MU 2
F · U = MU U̇
Since the force on the cylinder due to the fluid is M U̇ in the direction of travel of the cylinder, we
can solve for a freely-falling cylinder of mass (per unit length) Mc by Newton’s Law (mass times
acceleration equals sum of the forces)
Mc U̇ = −M U̇ + (Mc − M)g
(Mc − M) 12 gt2
s(t) =
Mc + M
52
after time t. In reality drag associated with viscosity provides a resistive force.
Experiment: Repeat calculation above for a sphere and then choose Mc close to M (close to
neutral buoyancy) so that the influence of drag is reduced. For e.g. a water bomb balloon filled
with salty water.
Key points: For the irrotational motion of an ideal incompressible fluid, the three components
of velocity can be expressed as the gradient of a single scalar function – the velocity potential.
This is similar to the streamfunction. The streamfunction does not require the motion to be
irrotational, but its practical use is limited to 2D or quasi-2D flows. The velocity potential can
be used for 2D and 3D flows.
Velocity potentials are easily be constructed for the basic flows introduced for the streamfunction.
More complex flows can be constructed by superposition of these basic flows.
A significant result is the alternative version of Bernoulli’s equation for unsteady irrotational
flows which holds throughout the flow. This allows us to consider a range of unsteady flows.
Many such examples include moving surfaces and the kinematic boundary condition tells us how
to connect the fluid to fixed or moving surfaces.
Finally, we show that the total kinetic energy of the flow can be expressed in terms of the velocity
potential on the boundary of the flow. This not only allows the KE to be easily computed, but
gives us information about the force on a body in the flow.
53
6 Complex potentials for two-dimensional flows
Consider 2D flows u = (u, v) in which the flow is irrotational and the fluid incompressible. Then
the flow can either be described by a potential φ(x, y) (§5) or by a streamfunction ψ(x, y) (§2.4.1)
such that
∂φ ∂ψ
u= =
∂x ∂y
(38)
∂φ ∂ψ
v= =−
∂y ∂x
Defn: Let z = x + iy and define the complex potential W (z) = φ(x, y) + iψ(x, y). Then W (z)
is analytic (or holomorphic, or complex differentiable) since
dW ∂φ ∂ψ ∂φ ∂ψ
W ′ (z) = = +i = −i + (39)
dz ∂x ∂x ∂y ∂y
and (38) are the Cauchy-Riemann equations for the function W = φ + iψ.
Defn: The complex velocity following from (38) and (39) is defined as
Note: We can obviously do this in reverse: e.g. if we have φ we can find ψ and hence W (z).
54
6.2 Some common potentials
Flows we’ve seen before now defined as complex potentials and then separated into real and
imaginary parts; the associated φ(x, y) and ψ(x, y).
(i) If α = 1, corner angle is π (a straight wall) and flow is a horizontal stream of speed k.
(ii) If α > 1 then flow is in a corner, angle < π.
(iii) α ≥ 21 , since the largest angle of a corner is 2π.
(iv) Speed of the flow is given by
W ′ (z) = kαz α−1 = kαr α−1 ei(α−1)θ = u − iv = qe−iχ .
So if α > 1, and the corner angle < π, flow speed tends to zero as r → 0.
If 12 < α < 1 (reflex angles) there is a singularity (infinite velocity at r = 0) in the flow
speed:
55
6.4 Translation, rotation and superposition
The complex potential W1 (z) ≡ W (z − z0 ) represents the flow generated by W , centred around
the origin z0 = x0 + iy0 in the complex plane.
The complex potential W1 (z) ≡ W (ze−iα ) represents the flow generated by W rotated an angle α
about the origin (since ze−iα = rei(θ−α) .)
Linear superposition of complex potentials αW1 (z) + βW2 (z) forms a new complex potential.
Proof:
Z Z Z Z
′
W (z) dz = (u − iv)( dx + i dy) = (u dx + v dy) + i (u dy − v dx)
C C ZC Z C
= u · dr + i u · n̂ ds
C C
= Γ + im
since n̂ ds = ( dy, − dx) (by geometrical arguments).
m
E.g. 6.3: Consider the source log(z). Then
2π
m 1
Z Z
′ im, if C encloses the origin
W (z) dz = dz =
C 2π C z 0, otherwise
56
by Cauchy’s Residue Theorem. I.e. captures a source of mass flux at the origin.
µ
E.g. 6.4: Consider the dipole . Then
2πz
µ 1
Z Z
′
W (z) dz = − dz = 0
C 2π C z 2
(since 1/z 2 is not a simple pole). So a dipole produces no mass flux or circulation.
Theorem: Let f (z) be a complex potential for a flow in an infinite domain. Then
represents the complex potential of a flow in y > 0 in the presence of a rigid wall along y = 0.
Notation: f (z) ≡ f (z) and means insert z as the argument of the function and then conjugate
everything. What this actually does is conjugate everything apart from z (and so the function is
still analytic !)
Proof: Consider
ψ(x, 0) = ℑ{W (x + i0)} = ℑ{f (x) + f (x)} = 0
represent a flow flow in x > 0 in the presence of a rigid wall along x = 0; all singularities of f (−z)
are hidden in x < 0.
Proof: Consider
and so ψ = 0 along x = 0 and there is a streamline along x = 0 which can be replaced by a wall.
57
6.6.1 Problem: Vortex next to a wall
iΓ
Point vortex (§6.2) at z = z0 = x0 + iy0 with y0 > 0 given by f (z) = − log(z − z0 ).
2π
Next to a wall at y = 0, use (42) to give
iΓ iΓ
W (z) = − log(z − z0 ) + log(z − z0 )
2π 2π
The motion of the vortex at z = z0 is determined by the flow field generated by everthing other
than itself.
Thus, the vortex in y > 0 moves due to the presence of the image vortex in y < 0 (and vice versa).
Specifically, the velocity field created by the image vortex is
d iΓ 1
(W (z) − f (z)) =
dz 2π (z − z0 ))
and so
d iΓ 1
(W (z) − f (z)) =
dz z=z0 2π (z0 − z0 ))
is the complex velocity u − iv at z = z0 Assume z0 (t) = x0 (t) + iy0 (t) represents the Lagrangian
path of the centre of the vortex at time t. Then
dx0 dy0 dz 0 Γ
u − iv ≡ −i ≡ = .
dt dt dt 4πy0
That is to say,
dx0 Γ dy0
= , = 0.
dt 4πy0 dt
These are coupled ODEs but the latter integrates to give y0 (t) = y0 (0) and using this in the former
and integrating gives
Γt
x0 (t) = x0 (0) +
4πy0(0)
So the vortex moves with a constant speed u = Γ/4πy0 parallel to the wall. The image vortex also
moves like this and so the pair of vortices travel in tandem parallel to the wall.
Theorem: Suppose a fixed rigid body, boundary C (a closed loop) is in a steady flow, potential
W (z). Then the force F = (Fx , Fy ) is determined from
Z
2
Fx − iFy = i 12 ρ (W ′ (z)) dz (44)
C
58
Proof: We have
W ′ (z) = u − iv = qe−iχ
so |u| = q. So, Bernoulli (no g, no t) says
p/ρ + 21 q 2 = p0 /ρ
where p0 is a constant background pressure which exists in the absence of the flow. Hence
p = p0 − 12 ρq 2 .
dx dy
= cos χ, = sin χ, ⇒ dz = dx + idy = eiχ ds.
ds ds
Also, by geometrical considerations n̂ = (ys , −xs ) = (sin χ, − cos χ). So if we write F = (Fx , Fy )
in terms of its components and define a complex force F = Fx − iFy then the force from above
can be written out as
Z Z
F = Fx − iFy = − p(sin χ + i cos χ) ds = −i pe−iχ ds
C ZC
= i 2 ρ (q 2 e−2iχ ) eiχ ds
1
ZC Z
2
= i 2 ρ (qe ) dz = i 2 ρ (W ′ (z)) dz
1 −iχ 2 1
C S
Theorem: Suppose f (z) is a complex potential in the absence of a cylinder with no singularities
in |z| < a. Then
W (z) = f (z) + f (a2 /z) (45)
is the complex potential representing a flow in the presence of a cylinder on |z| = a.
This is called the Milne-Thompson circle theorem.
59
Thus, on |z| = a, W (z) = f (z) + f (z) and ℑ{W } = ψ = 0. The streamline may be replaced by
rigid boundary and no new singularities have emerged in |z| > a.
E.g. 6.5: Choose f (z) = Uz (§6.2, uniform flow). Then (45) gives us
a2
W (z) = Uz + U
z
I.e. stream plus horizontal dipole of strength µ = −2πUa2 .
Note: Exactly the flow found in §5.3.1 for flow past a cylinder.
Using Blasius, the complex force is
a2 a2 a4
Z
1 1
Z
2 2
Fx − iFy = iρ U 1 − 2 dz = iρU 1 − 2 2 + 4 dz = 0
2 C z 2 C z z
since there are no simple poles inside C. We already had this result from §5.8 when U is constant.
Find the complex potential for a point vortex outside a cylinder and determine its motion.
−iΓ
In absence of cylinder, point vortex at z0 is f (z) = log(z − z0 ). With a cylinder, radius
2π
a < |z0 | (45) gives
2
iΓ iΓ a
W (z) = − log(z − z0 ) + log − z0
2π 2π z
a2
iΓ 1
=− log(z − z0 ) − log (−z0 ) z −
2π z z0
a2
iΓ
=− log(z − z0 ) + log(z) − log z − − log(−z0 )
2π z0
The 2nd and 3rd terms are images at the origin and an inverse point to z0 and the last term
is a constant and can be ignored, because constants do not affect the flow velocities which are
determined by derivatives.
(i) Motion of vortex
The velocity field at z = z0 is due to the image vortices, or
′ ′ iΓ 1 1
u − iv = W (z0 ) − f (z0 ) = − −
2π z0 z0 − a2 /z0
Better to work in polar coordinates, so let z0 = r0 (t)eiθ0 (t) track the position of the vortex whence
r0 e−iθ0 a2
−iχ iΓ 1 iΓ −iθ0
qe =− − 2 = e
2π r0 eiθ0 r0 − a2 2π r0 (r02 − a2 )
Γa2
= 2 2
e−i(θ0 −π/2) .
2πr0 (r0 − a )
60
Thus, the speed of the point vortex is Γa2 /2πr0 (r02 − a2 ) and its direction is at right angles to its
position. Remembering the representation for velocity in polars:
Γa2
u = r˙0 r̂ + r0 θ˙0 θ̂ = − θ̂
2πr0 (r02 − a2 )
(Mech 1) means
dr0 dθ0 Γa2
= 0, =−
dt dt 2πr02 (r02 − a2 )
and the first equation integrates to r0 (t) = r0 (0), a constant (initial radial distance to the vortex).
The second integrates to
Γa2 t
θ0 (t) = θ0 (0) − .
2πr02 (0)(r02(0) − a2 )
Thus, the vortex moves at constant angular velocity in a circle around the cylinder.
(ii) Force on cylinder
From the Blasius formula and our definition of W (z) we have
Z 2 2
1 iΓ 1 1 1
Fx − iFy = 2
iρ − + − dz
C 2π z − z0 z z − a2 /z̄0
iρΓ2
1 1 1
Z
= − 2 2
+ 2+
8π |z|=a (z − z0 ) z (z − a2 /z̄0 )2
2 2 2
+ − − dz
z(z − z0 ) (z − z0 )(z − a2 /z̄0 ) z(z − a2 /z̄0 )
We can use Cauchy’s Residue Theorem to evaluate the integral. The first 3 terms in the integral
are poles of order 2 and don’t contribute. Also, z0 is outside |z| = a but a2 /z̄0 is inside |z| = a
and only simple poles inside will count. So we get
iρΓ2
2 2 2 2
Fx − iFy = − 2 (2πi) − − − .
8π −z0 (a2 /z̄0 − z0 ) a2 /z̄0 −a2 /z̄0
ρΓ2 a2
2πr0 (r02 − a2 )
61
6.9 Conformal mappings
For more complicated geometries, it can be hard to identify a complex potential representing the
flow.
A very powerful tool in complex analysis involves using a coordinate transformation in complex
coordinates or conformal mapping to map a complicated domain into a simpler one in which
the flow can be found. The inverse mapping then provides the solution to the original complicated
problem.
The zeta plane
The z−plane Γ
D ζ = g(z) Γ
B
E
D’
A F A B C D E F
D
C
Note: One has to formally check a number of technicalities of this approach which we do not
have time for here. Thus, it can be shown that an analytic function g, say, defining the mapping
from a region D in the z-plane to a region D1 in the ζ-plane with ζ = g(z) preserves boundary
conditions, the strength of singularities and harmonicity of functions. For example, a source of
strength m located at z = z0 in D satisfying Laplace’s equation next to a wall with a no-flow
condition is transformed under the mapping g to a source of strength m at ζ = ζ0 = g(z0 ) next to
a (geometrically transformed) wall with a no-flow condition in D1 .
Find the flow generated by a point vortex in the presence of a right-angled boundary.
Consider the mapping ζ = g(z) ≡ z 2/3 such that z = ζ 3/2 ≡ g −1(ζ) the inverse.
With z = reiθ , when θ = 0 so that z = r, ζ = r 2/3 . That is, the positive real axis in the z-plane is
mapped to the positive real axis in the ζ-plane.
When θ = 23 π, z = −ir and so ζ = r 2/3 eiπ = −r 3/2 . That is, the line from z = 0 to z = −i∞ is
62
mapped to the negative real axis in the ζ-plane.
So a point vortex in the z-plane at z = z0 of strength Γ in the presence of a rigid corner from
z = −i∞ to z = 0 to z = ∞ is mapped to a point vortex of strength Γ at ζ = ζ0 where
2/3
ζ0 = g(z0 ) = z0 with a rigid wall along the real ζ-axis. I.e. the problem in the ζ-plane is a point
vortex in the upper half plane bounded by a wall.
The problem in the mapped ζ-plane is one whose solution we have already found by elementary
methods (see §6.6.1): it has the solution
iΓ iΓ
W1 (ζ) = − log(ζ − ζ0 ) + log(ζ − ζ 0 )
2π 2π
2/3
where ζ0 = z0 and ζ = z 2/3 . The use of the subscript 1 refers to the fact that this is the complex
potential in the domain D1 .
The complex potential describing the flow in the z-plane is therefore
iΓ 2/3 iΓ 2/3
W (z) = − log(z 2/3 − z0 ) + log(z 2/3 − z 0 )
2π 2π
To find the path of the vortex, subtract the vortex at z0 from W (z) as before:
d iΓ 2/3 2/3 iΓ 2/3 2/3 iΓ
(u − iv)z=z0 = − log(z − z0 ) + log(z − z 0 ) + log(z − z0 ) .
dz 2π 2π 2π z=z0
2/3
A bit tricky... need to Taylor expand the function z 2/3 − z0 about z = z0 and get
2/3 −1/3 −4/3
z 2/3 − z0 (= f (z0 ) + (z − z0 )f ′ (z0 ) + ...) = 0 + (z − z0 )(2/3)z0 + (1/2)(z − z0 )2 (−2/9)z0 +...
So
d iΓ −1/3 −4/3 iΓ 2/3 2/3
(u − iv)z=z0 = − log (2/3)z0 − (1/9)(z − z0 )z0 + log(z − z 0 )
dz 2π 2π z=z0
Under a conformal mapping ζ = g(z), the relationship between velocity fields in D and D1 is most
easily established using the chain rule:
dW1 dζ
W ′(z) = u − iv = ≡ W1′ (ζ)g ′(z)
dζ dz
E.g. 6.6: Consider the map ζ = ze−iα ≡ g(z). The line z = seiα , −∞ < s < ∞ is mapped to
ζ = s (in fact easy to see this is a rotation of axes through an angle α.)
63
A uniform flow W1 (ζ) = Uζ is transformed into W (z) = Uze−iα whilst g ′(z) = eiα so
Key points: For 2D flows, complex variables can be used to describe the flow domain. Any
analytic function of complex variable z represents a complex potential W (z) with real part velocity
potential and imaginary part streamfunction. This is a powerful tool for generating complex flows.
The derivative W ′ (z) provides the velocity components, the integral of W ′ (z) around a closed
loop provides information on sources of mass flux and circulation, the integral of W ′ (z)2 provides
us with information about the forces.
The method of images allows us to consider flows next to planar and circular boundaries. Complex
mappings are introduced as a method of solving flows in complex domains by mapping complex
variables into a domain in which the flow can easily be solved.
64
7 Flow past cylinders and aerofoils
Start with e.g. in §6.8 in which we formulate the flow past a cylinder and add circulation of
strength Γ to the flow by placing an “image” point vortex at the origin. The complex potential is
a2 iΓ
W (z) = Uz + U − log(z) (46)
z 2π
Since W = φ + iψ we have
a2
Γθ
φ = U cos θ r + +
r 2π
(the same as (28) when Γ = 0) and
a2
Γ
ψ = U sin θ r − − log(r)
r 2π
a2
1 ∂φ ∂ψ Γ
uθ = =− = −U sin θ 1 + 2 +
r ∂θ ∂θ r 2πr
On r = a this is
Γ
uθ = −2U sin θ +
2πa
The stagnation points on the cylinder are where ur = 0 and uθ = 0 and occur where
Γ
sin θ = (47)
4πUa
65
If Γ = 0, these are at θ = 0, π (front and back of cylinder). If |Γ| < 4πUa two stagnation points sit
symmetrically about x = 0 on cylinder. If |Γ| > 4πUa no real roots of (47) exist (the stagnation
point moves into the body of the fluid).
Exercise: Repeat the analysis using W ′ (z) to access the fluid velocity components to come to
the same conclusion as above.
From (46)
a2 iΓ
W ′ (z) = U − U 2
−
z 2πz
Using Blasius around the closed circle C of radius a centred at the origin to compute the force
gives
2
a2
Z
iΓ
Fx − iFy = i 21 ρ
U −U 2 − dz
C z 2πz
Z
1 2 iUΓ −2 −3 −4
= i2ρ U − + C2 z + C3 z + C4 z } dz
C πz
where Ci are constants we don’t need since the only contribution by Cauchy’s Residue Theorem
is from the simple pole, so
iUΓ
Fx − iFy = i 12 ρ.(2πi). − = iρUΓ
π
66
7.2 Forces on arbitrary cylinders
You might be tempted to argue that the previous result, namely that the force in the direction of
the uniform stream is zero, to be a consequence of the symmetry of the cylinder. As we shall show
now, this is not the case; a cylinder of any cross section experiences no force in a uniform stream.
is a consequence of Cauchy’s Residue Theorem, since there are no singularities in between C and
|z| = R.
So 2
iΓ
Z Z
′ 2
(W (z)) dz = U− dz
|z|=R 2πz
Referring to §7.1.2 for the circle, easy to see that we get the same result of
Fx − iFy = iUρΓ
I.e. in the absence of circulation there is no force on a cylinder of arbitrary cross section. This is
known as D’Alembert’s paradox.
However, with circulation there is a lift force is −UρΓ (this is called the Kutta-Joukowski lift
theorem).
We use the previous theory to demonstrate the fundamental ideas that underpin flight: how to
aerofoils generate lift.
67
Now ζ = aeiσ for 0 < σ < 2π describes a circle of radius a in the ζ-plane. In the z-plane
a2
z = aeiσ + = 2a cos σ
aeiσ
which describes the line −2a < x < 2a, y = 0 in the z-plane. The mapping squishes the circle flat
like you’d squash a rubber tube between two hands.
Note: We can invert the mapping (48) by writing it as ζ 2 − zζ + a2 = 0 and solving as
√
ζ = 21 (z + z 2 − 4a2 )
Consider the complex potential from §7.1 for horizontal flow past a cylinder with circulation Γ,
but in a complex ξ-plane. We call it
a2
iΓ
W2 (ξ) = U ξ + − log(ξ)
ξ 2π
We know from §7.1.2, §7.2, that this flow generates a lift force of −ρUΓ.
The mapping (see E.g. 6.6) ξ = ζe−iα rotates axes through α and results in the complex potential
in the ζ-plane of
a2 eiα
−iα iΓ
W1 (ζ) = U ζe + − log(ζ)
ζ 2π
plus a constant which we can ignore (because W ′ (ζ) determines the flow). I.e. the complex
potential W1 (ζ) represents the flow angled at α to the horizontal past a circular cylinder with
circulation.
Finally we map using (48) into the z-plane which determines a complex potential W (z) representing
the inclined flow upon a horizontal plate of length 4a with circulation.
68
Note: What has happens to the dipole & vortex embedded in the original complex potential W2
under these rotation and squishing maps ? It is sitting on the plate18
Note: We could write down W1 (z) explicitly as we have determined ζ = g(z), but this is not
necessary...
The velocity in the z-plane is determined (see §6.9.2) by
dζ 1
u − iv = W1′ (ζ) = W1′ (ζ)
dz dζ
dz
(from MVC: the derivative of the inverse map is the inverse of the derivative of the map) which is
more convenient since this allows us to write
a2 eiα a2
−iα iΓ .
u − iv = U e − 2 − 1− 2
ζ 2πζ ζ
We are interested in velocity on the plate, and if we let ζ = aeiσ which we’ve already established
maps to z = 2a cos σ then
U sin(σ − α)
u=
sin σ
and u → ∞ when σ → 0, π. These correspond to the sharp leading and trailing edges of the plate.
This is to be expected – in §6.3 we showed that the flow speed goes to infinity around sharp edges
in the boundary.
We also note that, there are stagnation points in the flow at σ = α and σ = α + π. In the physical
z-plane these are points (for small α) under the plate backwards of the leading egde and on the
top of the plate forwards from the trailing edge.
18
one has to be a bit cleverer than we’ve been and invent a mapping which has some girth to it so that the
singularities in the original potential are still removed from the physical domain. Mathematically, we are OK
though.
69
An aerofoil has a rounded leading edge which suppresses the singularity there. There are subtle
physical reasons why a fluid will avoid sharp turns elsewhere, and our focus turns to the trailing
edge.
The Kutta condition resolves the singularity at the trailing edge by incorporating the right amount
of circulation such that the stagnation point found forward of the trailing edge on top of the plate
when there is no circulation moves to the trailing edge to suppress the singularity.
Thus, if we choose
Γ = −4Uπa sin α (50)
from (49) with
U(sin(σ − α) + sin(α))
u= → U cos α
sin σ
as σ → 0 (e.g. using L’Hopital’s rule) but, most importantly, this is a finite value !
This means that the lift force on our plate provided by the flow round the cylinder and mapped
into the flow past the plate is
Fy = −ρUΓ = πU 2 ρL sin α
where L = 4a is the length of the plate (the chord). This is actually a pretty good approximation
to a real wing under ideal flying conditions (e.g. not under high angles of attack.)
Below is a graphical representation of the aerofoil flow in the mapped plane around the circle and
the flow in the physical plane satisfying the Kutta condition at the rear of the plate.
Remarks: Finally, we comment on the presence of circulation around the wing, which is the
crucial ingredient needed for flying. In the first instance, there is nothing wrong with that from
the point of view of a potential flow description. However, where is this circulation coming from
when one imagines starting up the flow, with zero circulation ? Since the net circulation in a
large circle around the wing must vanish initially, and the Kutta condition requires a circulation
Γ < 0 around the wing, this means that in the process of the point of separation moving to the
trailing edge, vortices of positive circulation (rotating counterclockwise) are shed from the wing.
Eventually the vortices are convected downstream, and no longer matter for the problem.
70
8 Free surfaces and waves
Free surface flows are defined by a fluid motion in which a portion of the boundary of the fluid
does not move in a prescribed way. That is, the fluid surface evolves in time as part of the solution.
Perhaps the easiest example to understand is that of the surface of a body of heavy fluid such as
water which we observe will support wave-like motion (e.g. surface of cup of tea).
We are not going to need any new physics to describe such a surface. These principles are already
in place. What we know from observations of the surface of water (on the ocean for example) is
that the solutions can be very complicated (e.g. breaking waves !)
We shall avoid such complications in due course by making certain approximations. For now, we
assume that the flow is irrotational and the fluid is incompressible and inviscid19 . We shall also
assume 2D flows but this is only to keep things simple.
Pressure = patm z ζ(x,t) = z
x
z=0
Density = ρ
z=−h
∇2 φ = 0 (51)
Note: u = (u, 0, w) and φ = φ(x, z, t) is still 2D but the motion is in the (x, z) plane.
Choose z = 0 to coincide with the undisturbed free surface and set the base of the fluid at z = −h,
a constant.
Let the free surface of the water in motion be described by
z = ζ(x, t).
Below z = ζ(x, t) we have our fluid, density ρ and above we have air of negligible density and
constant atmospheric pressure patm .
On z = −h the kinematic boundary condition says that u · ẑ = 0 or w = 0 or
∂φ
= 0, on z = −h (52)
∂z
19
all good approximations unless the surface is in extreme conditions
71
So far so good. Now the interesting bit... the free surface. Two condition apply here: (i) the
kinematic boundary condition says that a fluid particle on the surface has to move with the
surface; (ii) the pressure on the surface of the fluid must equal patm (this is called the dynamic
boundary condition20 )
(i) The surface can be described by S(x, z, t) = z−ζ(x, t) = 0. Then according to (29), DS/Dt = 0.
In other words
D ∂ ∂ ∂
(z − ζ(x, t)) = +u +w (z − ζ(x, t))
Dt ∂t ∂x ∂z
∂ζ ∂φ ∂ζ ∂φ
=− − + = 0, on z = ζ(x, t) (53)
∂t ∂x ∂x ∂z
Note: Laplace’s equation, (51) looks OK and (52) looks OK. But the two free surface conditions
(53), (54) look like a real headache. For a start they are non-linear. But worse still, they must
be applied on a surface which is part of the solution ! But let’s not get upset; afterall, we know
that this free surface problem gives rise to all sorts of complex solutions like breaking waves. So
it is not a surprise that things look complicated... and they really are !
which limits the free surface to small amplitudes. It follows that |φ| ≪ 1 also.
This allows us to make two further approximations:
(A) products of small terms can be neglected. This enables us to remove the non-linear terms
from our boundary conditions.
E.g. Since φ is small and so is ζ then
∂φ ∂ζ ∂ζ
∂x ∂x ≪ ∂t
(B) Since ζ is small, we can use a Taylor expansion around the mean level z = 0 and subsequently
use (A) to neglect small terms. This enables us to overcome the difficulty of not knowing
where the boundary conditions should be imposed.
20
we’ve used this before, as early as the lock gate problem but without giving it a special name.
72
E.g.:
∂φ ∂φ ∂ ∂φ
= +ζ + ζ2 . . .
∂t z=ζ
∂t z=0
∂z ∂t z=0
But according to (A) the second (and later) term(s) on the RHS is much smaller than the
first so we neglect it.
∂ζ ∂φ
= , on z = 0 (55)
∂t ∂z
and (54) to
∂φ
+ gζ = C(t) − patm /ρ, on z = 0 (56)
∂t
Finally, the terms on the RHS are not space-dependent and so do not affect the flow velocities.
Formally we can redefine Z t
φ → φ − patm t/ρ + C(t′ )dt′
and this does not affect any of the other conditions of the problem. It’s only effect is that (56) is
now
∂φ
+ gζ = 0, on z = 0 (57)
∂t
Let us assume the surface is sinusoidal21 and takes the following form:
Then
21
why not ?
73
• Wave height is H; ζ oscillates between ±H.
• Moves to the right with speed c = ω/k (c is called phase speed, see APDE2.)
At the moment (59) is not a solution, it’s an ansatz (a guess). We need to see if it satisfies our
governing equations (the linearised versions) and this means we need φ(x, z, t).
∂φ
Since from (57) = −gζ reasonable to write
∂t
φ(x, z, t) = cos(kx − ωt)Z(z)
for some Z(z). Really this is a separation of variables solution (e.g. APDE2) and we’ve written
φ = X(x, T )Z(z).
Then from (51)
−k 2 cos(kx − ωt)Z(z) + cos(kx − ωt)Z ′′ (z) = 0
and so Z ′′ (z) − k 2 Z(z) = 0. A general solution22 is
At this point we still have two conditions (55) and (57) to apply, but only one constant, A, remains
unknown23
From (57) first
gH sin(kx − ωt) = −Aω sin(kx − ωt) cosh kh
and then
−gH
A=
ω cosh kh
determines the constant A, meaning that φ is now fully known. Finally, applying (55) gives
74
This is called the dispersion relation (for gravity waves on finite depth water).
Note: In the derivation of the solution we chose (59) as a sine function. We could have also
chosen a cosine with equal success. In general we could combine both sine and cosine and work
with complex exponentials.
Note: In the long wavelength limit, wave speed does not depend on wavelength of wave period.
Waves of all frequencies travel at the same speed and they are called non-dispersive.
75
(which matches observations made at that time). The energy flux or power (per length of wave)
transported
√ by a wave in the shallow limit happens to be given (no proof) by E = 12 ρgcH 2, where
c = gh here. Energy flux must be constant for all x, so
p
E = 21 ρgH 2 gh = const
and this implies H 4 h = const. Therefore H ∼ 1/h1/4 .
If depth goes from 4000m to 4m the wave height increases by a factor of 10001/4 ≈ 6. So a 50cm
tsunami wave (typically they are this small out to sea – boats will not notice them) in the ocean
is a 3m wave at the coast.
A 3m wave might not seem that big (you’ll see waves this big around the UK), but it’s the power
of the wave that causes the disruption. Putting in the numbers above gives E = 250, 000W/m
(watts per metre) or 250kW/m. That’s the same power as 10 electric cars generate for every metre
of coastline.
Liquids readily slosh back and forth in a closed container (e.g. tea in a tea-cup). There are
many associated important practical problems: sloshing in road tankers, water on decks of ships,
resonance in harbours, etc...
z
z= ζ(x,t)
z=0
x
z=−h
x=0 x=L
Example: consider a two-dimensional rectangular box with rigid walls at x = 0, L and a bottom
on z = −h, filled with fluid to z = 0.
We adopt the small-amplitude theory from before but require additional kinematic boundary
conditions at the two lateral sides of the container. These are that u · n̂ ≡ u · x̂ ≡ u = 0 or
∂φ
= 0, on x = 0, L (61)
∂x
This is different to before as we do not seek travelling waves. However, we still expect solutions
which are periodic in time. So we write
ζ(x, t) = η(x) sin ωt
76
for some unknown η(x) (c.f. normal mode solutions in APDE2), and assume a time-compatible
separation solution for φ
φ(x, z, t) = X(x)Z(z) cos ωt
Then Laplace’s equation gives
which implies
X ′′ (x)Z(z) + Z ′′ (z)X(x) = 0
This separates (APDE2):
X ′′ (x) Z ′′ (z)
=− = −k 2 (62)
X(x) Z(z)
where −k 2 is the separation constant.
Solving (62) for Z(z), with (52) gives Z(z) = A cosh k(z + h) as before.
We also note that we can combine (55) and (57) to eliminate ζ by adding g times the first equation
to ∂/∂t of the second to give
∂2φ ∂φ
= −g , on z = 0
∂t2 ∂z
which implies
−ω 2 X(x)Z(0) cos ωt = −gX(x)Z ′ (0) cos ωt
and it follows that ω 2 /g = k tanh kh as before in (60)24
Now solving (62) for X(x) gives
and this solution, when subjected to (61) has to satisfy X ′ (0) = X ′ (L) = 0.
Then easy to show (APDE2) that must have C = 0 whilst the separation constants are k = nπ/L
and so
X(x) = B cos(nπx/L)
So pulling everything together we have
for some constant C = A.B. This is our normal mode solution in which the frequency is determined
from using k = nπ/L in (60) to give
Also, we can now use the solution in either linearised condition applying on the surface to determine
η(x) and it follows that
ωC cosh kh
ζ(x, t) = cos(nπx/L) sin ωt
g
24
Not unsurprising as applying conditions at the bottom and surface of the fluid are independent of the lateral
boundary conditions.
77
In constrast to the travelling wave solutions where waves of any frequency could propagate on the
surface of a fluid, here the solution exists only at a set of discrete wave frequencies given by (63).
The value of n (the mode number) tells you how many oscillations are occurring across the box.
Note: n = 0 is not a valid mode number since (63) gives ω = 0, φ = 1, and ζ = 0 and there is no
motion in the fluid.25
The fundamental frequency is the lowest (gravest) frequency, given here by n = 1.
E.g. Let L = 1m, h = 20cm. Then the fundamental frequency (n = 1) is
p
ω ≡ ω1 = 9.81 × π × tanh(π × 0.2) = 4.14s−1
given a period of τ = 2π/4.14 = 1.51 seconds. The shape of the surface is given by the variation
of x in ζ(x, t), which is cos(πx/L) and it is modulated by the signal sin ωt.
25
In fact, you can discount a sloshing mode with no x-dependence – a flat surface oscillating up and down – as
it would violate mass conservation in the container.
78
Appendix: Revision
A summary of key results from previous courses: MVC, MCF and APDE2.
Suppose that we have two vectors u = (u1 , u2, u3 ) and v = (v1 , v2 , v3 ). Then the dot product is
defined to be
X 3
u·v= ui vi or, more simply, write u · v = ui vi
i=1
(drop the summation symbol on the understanding that repeated suffices imply summation.)
1. δii = 3
2. δij ui vj = uj vj ≡ u · v.
• ǫ123 = 1
• ǫijk is zero if there are any repeated suffices. E.g. ǫ113 = 0.
• Interchanging any two suffices reverses the sign: e.g. ǫijk = −ǫjik = −ǫkji
• Above implies invariant under cyclic rotation of suffices: ǫijk = ǫjki = ǫkij
With this definition all 27 permutations are defined. There are only 6 non-zero components,
79
Definition A.4 (cross product)
The cross product is defined by
wi = ǫijk uj vk
w · (u × v) = ǫjki wi uj vk = u · (v × w)
= ǫkij wi uj vk = v · (w × u)
= −ǫjik wi uj vk = −u · (w × v)
= −ǫikj wi uj vk = −w · (v × u)
w × (u × v) = (w · v)u − (w · u)v
Proof:
80
A.7 Differential operators
∂φ
• The gradient is ∇φ. So [∇φ]i = ≡ ∂i φ
∂xi
∂fi
• The divergence is ∇ · f = ≡ ∂i fi (in summation convention)
∂xi
∂fk
• The curl is ∇ × f where [∇ × f]i = ǫijk ≡ ǫijk ∂j fk .
∂xj
Example A.8
2. ∇ · r = ∂i xi = δii = 3
4. ∇r = r/r, where r 2 ≡ r · r.
√ ∂i x2j xj ∂i xj xj δij xi
Proof: [∇r]i = ∂i xj xj = q = = = .
2 x2j r r r
Proof: [∇ × (φf)]i = ǫijk ∂j (φfk ) = φǫijk ∂j fk + fk ǫijk ∂j φ = φ[∇ × f]i + [∇φ × f]i .
81
3. f × (∇ × f) = ∇( 12 f · f) − (f · ∇)f
Proof:
n n
u
dS
dx
V S
dS
Consider a volume V bounded by a closed surface S with outward unit normal n̂. Then for a
vector field f(r)
Z Z
∇ · fdV = f · n̂dS
V S
82
A.9.2 Stokes’ theorem
dS
S
C
dr
and from an earlier result (∇ × aφ) = φ(∇ × a) + (∇φ × a) = (∇φ × a). Using the vector triple
product result, (∇φ × a) · n̂ = −a · (∇φ × n̂) and then
Z Z
a· φdr = −a · ∇φ × n̂dS
C S
Therefore Z Z
φdr = − ∇φ × n̂dS
C S
Many problems can be approached more simply by choosing a coordinate system that fits a given
geometry. Instead of writing the position vector r as a function of Cartesian coordinates (x, y, z),
r is now written as function of three new coordinates: r(q1 , q2 , q3 ). The coordinate lines are swept
out by varying one of the coordinates, keeping the other two constant. We will deal only with the
by far most important case of orthogonal coordinate systems, in which the coordinate lines always
intersect one another at right angles.
∂r
Evidently, is a vector which points in the direction of the i-th coordinate line.
∂qi
If each of these vectors are normalized to unity, we obtain the local basis system:
1 ∂r ∂r
q̂i = , hi ≡ . (64)
hi ∂qi ∂qi
83
The quantities hi (q1 , q2 , q3 ) are called scale factors or metric coefficients. The fact that the co-
ordinate system is orthogonal means that all q̂i , computed at a point (q1 , q2 , q3 ), are orthogonal.
However, the direction of q̂i of course changes as one goes along the coordinate lines.
r = (r cos θ, r sin θ, z) ,
and the coordinates (q1 , q2 , q3 ) are (r, θ, z). Thus the scale factors become h1 = 1, h2 = r, and
h3 = 1, and the local basis is
∂r
r̂ = = (cos θ, sin θ, 0) ,
∂r
1 ∂r
θ̂ = = (− sin θ, cos θ, 0) ,
r ∂θ
∂r
ẑ = = (0, 0, 1).
∂z
In the curvilinear coordinate system, ∇ has the representation (see MVC for derivation)
This is sufficient to derive the vector identities which follow (again, see MVC notes for details).
84
∂φ 1 ∂φ ∂φ
• The gradient is ∇φ = r̂ + θ̂ + ẑ
∂r r ∂θ ∂z
1 ∂(rfr ) 1 ∂fθ ∂fz
• The divergence is ∇ · f = + +
r ∂r r ∂θ ∂z
1 r̂ r θ̂ ẑ
• The curl is ∇ × f = ∂/∂r ∂/∂θ ∂/∂z .
r
fr rfθ fz
2 ∂ 2 φ 1 ∂φ 1 ∂2φ ∂2φ
• The Laplacian is ∇ φ = 2 + + 2 2 + 2
∂r r ∂r r ∂θ ∂z
2
∂fr fθ ∂fr ∂fr fθ ∂fθ fθ ∂fθ ∂fθ fr fθ
• (f · ∇)f = fr + + fz − r̂ + fr + + fz + θ̂ +
∂r r ∂θ ∂z r ∂r r ∂θ ∂z r
∂fz fθ ∂fz ∂fz
fr + + fz ẑ
∂r r ∂θ ∂z
∂φ 1 ∂φ 1 ∂φ
• The gradient is ∇φ = r̂ + ϕ̂ + θ̂
∂r r ∂ϕ r sin ϕ ∂θ
1 ∂(r 2 fr ) 1 ∂(sin ϕfϕ ) 1 ∂fθ
• The divergence is ∇ · f = + +
r 2 ∂r r sin ϕ ∂ϕ r sin ϕ ∂θ
r̂ r ϕ̂ r sin ϕθ̂
1
• The curl is ∇ × f = 2 ∂/∂r ∂/∂ϕ ∂/∂θ .
r sin ϕ
fr rfϕ r sin ϕfθ
∂2φ
2 1 ∂ 2 ∂φ 1 ∂ ∂φ 1
• The Laplacian is ∇ φ = 2 r + 2 sin ϕ + 2 2
r ∂r ∂r r sin ϕ ∂ϕ ∂ϕ r sin ϕ ∂θ2
fθ ∂fr fϕ2 + fθ2
∂fr fϕ ∂fr
• Gulp ! (f · ∇)f = fr + + − r̂ +
∂r r ∂ϕ r sin ϕ ∂θ r
fθ ∂fϕ fr fϕ fθ2 cot ϕ
∂fϕ fϕ ∂fθ
fr + + + − ϕ̂ +
∂r r ∂ϕ r sin ϕ ∂θ r r
∂fθ fϕ ∂fθ fθ ∂fθ fr fθ fϕ fθ cot ϕ
fr + + + + θ̂
∂r r ∂ϕ r sin ϕ ∂θ r r
26
This definition and ordering of variables is often called the “Mathematician’s version” and is aligned with the
MVC course, but beware that it is common to see the “Physicist’s version” in which ϕ is used to measure the
azimuthal angle and θ the polar inclination
85
A.13 Line and surface integrals
E.g.: in 2D plane polars, p(θ) = r(cos θ, sin θ) = rr̂ parametrised a circle and p′ (θ) = r θ̂ =
r(− sin θ, cos θ) so dr = θ̂rdθ.
Next, ds = |dr| in Z Z t2
f (r)ds = f (p(t))|p′ (t)|dt
C t1
A complex function f (z) = u(x, y) + iv(x, y) where z = x + iy and u and v are real function is
differentiable if the Cauchy-Riemann equations
ux (x, y) = vy (x, y), uy (x, y) = −vx (x, y),
hold. A consequence of this is that the functions u are v are said to be harmonic, that is to say
they satisfy ∇2 u = ∇2 v = 0.
A function which is differentiable at every point in an open set V is said to be holomorphic (or
analytic). It follows that a holomorphic function satisfies the Cauchy-Riemann equations on V .
86
where a lies inside C and the integral around C is counter-clockwise. If a lies outside C then the
integral evaluates to zero.
It follows further that
n! f (z)
I
(n)
f (a) = dz.
2πi C (z − a)n+1
where f (z) is holomorphic on V \{a1 , . . . , an } where ai are isolated singularites – that is to say
f (z) is meromorphic on V .
In the above, if a is a pole of order n then
1 dn−1
Res(f ; a) = lim (z − a)n f (z)
z→a (n − 1)! dz n−1
Res(f ; a) = g(a)/h′(a)
A.16.1 Cartesians
cosh νx cos νy, cosh νx sin νy, sinh νx cos νy, sinh νx sin νy
for any complex ν. E.g. if ν is replaced by iν with ν real, the positions of x and y in the above are
interchanged. The values of ν are normally determined by imposing lateral boundary conditions.
Separation solutions of the wave equation (∇2 + k 2 )φ = 0 are of the form
cos νx cos µy
(with sines interchangeable with cosines as above) where ν 2 + µ2 = k 2 and ν and µ determined by
boundary conditions.
87
A.16.2 Plane polars
for all real ν (positive and negative). For solutions which are continuous for all θ, ν must be an
integer.
Separation solutions of the 2D wave equation (∇2 + k 2 )φ = 0 in plane polars are (assuming
continuous solutions for all θ) are
Jn (kr) cos nθ, Jn (kr) sin nθ, Yn (kr) cos nθ, Yn (kr) sin nθ,
where Jn and Yn are Bessel functions. They both oscillate and decay at infinity but Yn (kr) are
singular at the origin and Jn (kr) are bounded at the origin.
In 3D spherical polars, solutions of Laplace’s equation which are axisymmetric about the polar
axis (independent of θ) are
for n = 0, 1, 2, . . . where Pn are Legendre polynomials (P0 (x) = 1, P1 (x) = x and P2 (x) =
1
2
(3x2 − 1), and so on.)
The first set are bounded at the origin, unbounded at infinity and for the second these are reversed.
Singular solutions at the origin are therefore:
1 cos ϕ 3 cos2 ϕ − 1
, , ,...
r r2 2r 3
and those bounded at the origin are
1 2
1, r cos ϕ, 2
r (3 cos2 ϕ − 1), . . .
88