The topic of hydrodynamic instability has already been introduced in
Demonstration 9. The model considered there was taken to represent
large-scale, latitudinally sheared flow, with the space coordinate
representing latitude, but the model could be applied just as well to a
smaller scale (or laboratory scale) flow in which there was vertical shear and
the space coordinate was taken to be height. (It would then, of course, be
appropriate to set
equal to zero.) We now consider a modification to
the latter model, in which the velocity is a function of height
, the new
ingredient being that we allow the fluid to be stably stratified in density,
so that buoyancy restoring forces act. One of the subtleties of this problem
is that the effect of the stratification is in some cases destabilising as it
allows new modes of instability over those in the unstratified problem.
(It has already been remarked how the restoring effect of the
Rossby-wave propagation mechanism acts to destabilize an unstratified shear
flow.)
Again the stability of the flow is examined by solving an eigenvalue problem, from which the growth rate of disturbances to the flow may be predicted.
1: The model
We consider an inviscid shear flow in the
-direction, with the velocity
varying across the flow and having components
. In addition it is assumed that there is a background density
distribution
.
We consider the evolution of disturbances with vertical velocity
For simplicity, the disturbance has been
assumed to be independent of the
-coordinate, though relaxing this
assumption simply results in some minor changes to the above equation.
We have neglected the effects of density variation in the inertial terms (the
Boussinesq approximation) and defined the buoyancy frequency
by
For the purposes of this demonstration we shall assume that the flow is
confined between rigid walls at
. The appropriate boundary
conditions on
, corresponding to no flow normal to the walls, are then
at
. With this boundary condition (11.2) defines an
eigenvalue problem. It is convenient to consider the wavenumber
as given
(and real and positive) and then seek the complex phase speed
, with
and
real, as an eigenvalue.
Recall from Demonstration 10 that the growth rate of a disturbance of the form
(11.1) is equal to
, because
, whose absolute magnitude is
. The problem of determining the stability therefore amounts to
determining whether there is an eigenvalue
with a positive
imaginary part.
The eigenvalue problem is solved by writing (11.2) in finite-difference form and then finding the eigenvalues of the resulting matrix.
2: Running the demonstration
On entering this demonstration you must:
(i) Specify a basic flow
by selecting Get U. You may
draw the graph of the basic flow using the mouse, or you may give the
functional form of
. On a small computer it is impractical to
take the number
of interior grid points more than about 100, and so the
results will be meaningful only for fairly simple profiles
representing shear layers or jets. For instance, the shear layer
profile
works well with the default value
.
(ii) The corresponding vorticity gradient
is now
calculated. Since this involves repeated
numerical
differentiation it tends to give a vorticity gradient that is very
noisy when the input came from the mouse - unless you have
extraordinarily steady hands! You may now apply a
smoothing to
and hence to the vorticity gradient, by
selecting Smooth (repeatedly if necessary).
(iii) The buoyancy frequency
(or equivalently the profile of
density gradient) may now be specified, again using the mouse or via a
functional form.
(iii) Now select Calculate. By default the programme
takes what it thinks to be a reasonable value of the wavenumber
, and
eventually a plot in the complex plane of the eigenvalues
will be shown.
It is those eigenvalues that appear in the upper half-plane (
) that are of physical interest, demonstrating the existence of
disturbances that can grow exponentially from arbitrarily small beginnings.
(Their complex-conjugate reflections represent the same disturbances with time
running backwards.)
3: Notes
The method used to find the eigenvalues is fairly robust, but as in
Demonstration 10 seems to
fail to converge for some choices of basic flow, particularly when the
number of points in the finite-difference representation is large, or
there are several points over which the velocity is exactly constant.
Again as in Demonstration 10, there are a large set
of eigenvalues of (11.2) that have zero imaginary part. In this case, it is
found that some of them are shifted off the real axis in the
finite-differenced problem and therefore appear as spurious growing or
decaying modes. The only reliable way to discover whether a particular
calculated eigenvalue corresponds to a true solution of the continuous problem
is to repeat the calculation with a larger number
of grid points and see
whether it persists as a calculated solution. You might like to note that a
single calculation with
takes about
seconds, with
about
seconds and with
about
minutes.
4: Menu Options
Calculate: starts the eigenvalue calculation.
Get U(z): defines the velocity profile
selecting either the Mouse or Equation options.
Get N2(z): defines the density profile
selecting either the Mouse or Equation options.
Submenu: leads to:
Misc: allowing the number
of points in the grid,
the number of Cases to be considered and the width of the
domain
to be altered.
J values: specifies the value of the constant
for each
case.
k values: specifies the value of the wavenumber
for each case.
Smoothing: changes the parameters
and
involved in the definition of the smoothing.
controls the
strength of a binomial filter and
controls the number of times
that it is applied each time that Smooth is selected.
Polish: this option is under development and not yet available.
Print: dumps the screen to the printer.
Smooth: applies smoothing to the flow profile
and correspondingly to the vorticity gradient
.
Flip: swaps between a screen showing the complex phase speeds
and one showing the complex frequencies
. The latter screen also shows
the pattern of disturbance velocities in the
plane as a contour plot
of
. The
-axis is taken to be horizontal and the
-axis is
vertical. A plot of the flow speed
, the vorticity gradient
and the density profile
is shown in the same configuration for
easy comparison.
E-func.: calculates the eigenfunction corresponding to a
specified eigenvalue. When this option is selected the screen will first flip
to that showing the phase speeds rather than the frequencies. An eigenvalue is
selected by using the arrow keys to move amongst the various complex phase
speeds depicted on the plot. The <
>and <
>keys may be used to move
within a given Case. The <
>and <
>keys may be used to move
from Case to Case , if Cases is greater than 1. The
eigenvalue for which the eigenfunction is to be calculated is specified by
pressing the <ENTER>key. The eigenfunction is displayed by graphs of the
real and imaginary parts of the complex Fourier coefficients
and
, plotted against
. Also shown is the Reynolds stress or momentum
flux
.
Exit: leaves this demonstration and returns to the main menu.
5: Suggested experiments
(i) Investigate the effect of simple stable stratification (e.g.
constant positive
) on the stability of a shear layer (e.g.
). Look at a sequence of cases where the stratification increases
from zero (e.g. change the value of
). You should find that in most cases
the stratification inhibits the growth rate of the instability and that for
large enough stratification there is no instability. There is a famous
theorem due to Miles and Howard that instability is possible only if the
Richardson number
is less than
somewhere in the flow. Check your results against this theorem (but recall the
warnings in §3).
(ii) Now consider a profile which is stable with no stratification
(e.g.
or
. Then add stratification. You
should be able to find unstable modes in cases where the stratification has a
minimum in the centre of the flow domain (
works well). This mode of instability may be understood as involving two
gravity waves centred on either side of the minimum in
and with
phase propagation relative to the flow such that the effect of the shear is to
bring them to rest relative to each other. This interpretation is particularly
clear in a model where there are discrete jumps in the density field, as
studied by Taylor, but it seems to be useful in more general cases.
(iii) Returning the shear layer, consider the case where the
stratification is strong in a narrow region in the centre of the layer (e.g.
and
proportional to
, with
as a good starting choice). You will find that for small values of
the modes with the fastest growth rate have zero phase speed (i.e. they
propagate at the same speed as the flow at the centre of the layer). This is
generally referred to as a Kelvin-Helmholz mode and is essentially the same as
that in the unstratified case, with some small modification. For larger
there are instead two modes with about the same growth rate and non-zero phase
speed (one with positive, the other with negative, relative to the centre of
the layer). Investigation of the eigenfunctions will show that each of the
modes is confined to one side of the layer. These are referred to as Holmboe
modes and may be understood as interacting gravity and Rossby waves - the
gravity waves centred in the region of strong stratification and the Rossby
waves centred on the stronger vorticity gradients at the edge of the shear
layer. Enthusiasts might also investigate the changes in unstable modes as the
thickness
of the stratified layer changes.
(iv) The plot of complex phase speeds again shows a circle passing
through the points on the real axis corresponding to the maximum and minimum
values of
, and symmetric about the real axis. For this problem there is
a mathematical theorem which states that any growing modes must have
phase speeds lying in the upper semicircle. You should be able to construct
simple examples of non-growing modes that have phase speeds which do not lie
in the circle.