<p><b>mpetersen@lanl.gov</b> 2012-10-22 13:14:22 -0600 (Mon, 22 Oct 2012)</p><p>branch commit, leith_mrp: Update doxygen description, author, and dates.<br>
</p><hr noshade><pre><font color="gray">Modified: branches/ocean_projects/leith_mrp/src/core_ocean/mpas_ocn_vel_hmix_leith.F
===================================================================
--- branches/ocean_projects/leith_mrp/src/core_ocean/mpas_ocn_vel_hmix_leith.F        2012-10-22 18:56:51 UTC (rev 2240)
+++ branches/ocean_projects/leith_mrp/src/core_ocean/mpas_ocn_vel_hmix_leith.F        2012-10-22 19:14:22 UTC (rev 2241)
@@ -2,13 +2,13 @@
!
! ocn_vel_hmix_leith
!
-!> \brief Ocean horizontal mixing - Laplacian parameterization
-!> \author Phil Jones, Doug Jacobsen
-!> \date 15 September 2011
+!> \brief Ocean horizontal mixing - Leith parameterization
+!> \author Mark Petersen
+!> \date 22 October 2012
!> \version SVN:$Id:$
!> \details
!> This module contains routines for computing horizontal mixing
-!> tendencies using a Laplacian formulation.
+!> tendencies using the Leith parameterization.
!
!-----------------------------------------------------------------------
@@ -45,7 +45,6 @@
logical :: hmixLeithOn !< integer flag to determine whether leith chosen
real (kind=RKIND) :: &
- eddyVisc2, &!< base eddy diffusivity for Laplacian
viscVortCoef
!***********************************************************************
@@ -56,17 +55,24 @@
!
! routine ocn_vel_hmix_leith_tend
!
-!> \brief Computes tendency term for Laplacian horizontal momentum mixing
-!> \author Phil Jones, Doug Jacobsen
-!> \date 22 August 2011
+!> \brief Computes tendency term for horizontal momentum mixing with Leith parameterization
+!> \author Mark Petersen, Todd Ringler
+!> \date 22 October 2012
!> \version SVN:$Id$
!> \details
-!> This routine computes the horizontal mixing tendency for momentum
-!> based on a Laplacian form for the mixing, \f$</font>
<font color="black">u_2 </font>
<font color="red">abla^2 u\f$
-!> This tendency takes the
-!> form \f$</font>
<font color="black">u( </font>
<font color="black">abla divergence + k \times </font>
<font color="red">abla vorticity )\f$,
-!> where \f$</font>
<font color="red">u\f$ is a viscosity and \f$k\f$ is the vertical unit vector.
-!> This form is strictly only valid for constant \f$</font>
<font color="blue">u\f$ .
+!> This routine computes the horizontal mixing tendency for momentum
+!> based on the Leith closure. The Leith closure is the
+!> enstrophy-cascade analogy to the Smagorinsky (1963) energy-cascade
+!> closure, i.e. Leith (1996) assumes an inertial range of enstrophy flux
+!> moving toward the grid scale. The assumption of an enstrophy cascade
+!> and dimensional analysis produces right-hand-side dissipation,
+!> $\bf{D}$, of velocity of the form
+!> $ {\bf D} = </font>
<font color="black">abla \cdot \left( </font>
<font color="black">u_\ast </font>
<font color="blue">abla {\bf u} \right)
+!> = </font>
<font color="black">abla \cdot \left( \gamma \left| </font>
<font color="blue">abla \omega \right|
+!> \left( \Delta x \right)^3 </font>
<font color="gray">abla \bf{u} \right)
+!> where $\omega$ is the relative vorticity and $\gamma$ is a non-dimensional,
+!> $O(1)$ parameter. We set $\gamma=1$.
+
!
!-----------------------------------------------------------------------
@@ -159,6 +165,9 @@
-viscVortCoef &
*( vorticity(k,vertex2) - vorticity(k,vertex1) ) * invLength2
+ ! Here the first line is (\delta x)^3
+ ! the second line is |</font>
<font color="blue">abla \omega|
+ ! and u_diffusion is </font>
<font color="gray">abla^2 u (see formula for $\bf{D}$ above).
visc2 = ( config_leith_parameter * config_leith_dx * meshScaling(iEdge) / 3.14)**3 &
* abs( vorticity(k,vertex2) - vorticity(k,vertex1) ) * invLength1 * sqrt(3.0)
visc2 = min(visc2, config_leith_visc2_max)
@@ -178,13 +187,13 @@
!
! routine ocn_vel_hmix_leith_init
!
-!> \brief Initializes ocean momentum Laplacian horizontal mixing
-!> \author Phil Jones, Doug Jacobsen
-!> \date 15 September 2011
+!> \brief Initializes ocean momentum horizontal mixing with Leith parameterization
+!> \author Mark Petersen
+!> \date 22 October 2012
!> \version SVN:$Id$
!> \details
!> This routine initializes a variety of quantities related to
-!> Laplacian horizontal momentum mixing in the ocean.
+!> Leith parameterization for horizontal momentum mixing in the ocean.
!
!-----------------------------------------------------------------------
</font>
</pre>