Next: 9.7.2 Discrete formulation
Up: 9.7 Functional formalism
Previous: 9.7 Functional formalism
9.7.1 Continuum formulation
As shown in Section 9.4.7, the
effects on kinetic energy dissipation from horizontal deformations in
the fluid takes the form
,
where a Boussinesq fluid has been assumed. One is
therefore led to consider the functional
 |
|
|
(9.164) |
As shown in this section, the functional derivative
is proportional to the friction
.
The connection between a functional and the friction is
afforded through the self-adjointness of the friction operator. This
result will then lead to a numerical discretization of the friction
which is ensured to dissipate kinetic energy on the discrete lattice.
To make this method work, two assumptions are needed: (1) The
viscosity is functionally independent of the velocity field. (2) The
flow satisfies ``natural boundary conditions'', of which no-slip is
one. The Smagorinsky viscosity does not satisfy the first
assumption. Nonetheless, the functional approach will lead to a
discretization inside of which one can employ the Smagorinsky
viscosity. A similar assumption was used to discretize the
isoneutral diffusion operator when diffusing active tracers.
Writing the functional as
leads to the variation
 |
(9.165) |
Note that the metric components are held fixed, since the only
variation considered here is that of the velocity field
,
not the underlying space-time
geometry. Since
is a function of the velocity and its
derivative,
,
its variation leads to
where an integration by parts has been performed. The total
derivative reduces to a surface term, which vanishes when either
on all boundaries, or
,
where
are components to the outward normal at the boundaries.
These two conditions define the ``natural boundary conditions''
mentioned above. If the velocity, and hence its variation, satisfy
the no-slip condition, then
on all boundaries and
the total derivative can be dropped. More general boundary
conditions can be derived from the second type of natural boundary
condition, yet they are not considered here since MOM employs no-slip
on the side boundaries. With natural boundary conditions, the
variation of the functional takes the form
 |
= |
![$\displaystyle \int \, \sqrt{\mathcal{G}} \, d\xi^{1} \, d\xi^{2} \, dz \,
\left...
...rac{\delta \, \mathcal{L}}{\delta u^{a}_{,b}} \right)
\right] \, \delta u^{a} ,$](s2img942.gif) |
(9.167) |
which then leads to the functional derivative
 |
= |
 |
(9.168) |
To reach this result, it was necessary to use the identity
 |
(9.169) |
where
is the Dirac delta-function. The
delta-function has physical dimensions of inverse volume L-3.
Hence,
 |
(9.170) |
so long as the integration is over a domain containing the singular
point
;
otherwise, the integral vanishes.
Now that the general functional derivative of
has been
computed, it remains to prove the connection to the friction vector.
For this purpose, recall equation (9.103), for which is
was shown that the horizontal tension can be written
 |
(9.171) |
and the horizontal shearing strain can be written
 |
(9.172) |
Hence, the horizontal tension is functionally dependent on both the
velocity and its partial derivatives, whereas the shearing strain is
dependent only on the velocity partial derivatives. These results
lead to the functional derivatives
![\begin{displaymath}-\frac{\delta \mathcal{L}}{\delta u^{a}} =
2 \, \rho_{o} \, ...
...
+ \delta^{2}_{a} \, \partial_{2} \, \ln(h_{1}/h_{2})
\, ],
\end{displaymath}](s2img952.gif) |
(9.173) |
and
For a=1, these results lead to
Similar manipulations with a=2 lead to
 |
(9.176) |
which is the desired general result.
Next: 9.7.2 Discrete formulation
Up: 9.7 Functional formalism
Previous: 9.7 Functional formalism
RC Pacanowski and SM Griffies, GFDL, Jan 2000