MOM6
MOM_MEKE_types.F90
Go to the documentation of this file.
2 !***********************************************************************
3 !* GNU General Public License *
4 !* This file is a part of MOM. *
5 !* *
6 !* MOM is free software; you can redistribute it and/or modify it and *
7 !* are expected to follow the terms of the GNU General Public License *
8 !* as published by the Free Software Foundation; either version 2 of *
9 !* the License, or (at your option) any later version. *
10 !* *
11 !* MOM is distributed in the hope that it will be useful, but WITHOUT *
12 !* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY *
13 !* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public *
14 !* License for more details. *
15 !* *
16 !* For the full text of the GNU General Public License, *
17 !* write to: Free Software Foundation, Inc., *
18 !* 675 Mass Ave, Cambridge, MA 02139, USA. *
19 !* or see: http://www.gnu.org/licenses/gpl.html *
20 !***********************************************************************
21 
22 !********+*********+*********+*********+*********+*********+*********+**
23 !* *
24 !* This program contains the subroutine that calculates the *
25 !* effects of horizontal viscosity, including parameterizations of *
26 !* the value of the viscosity itself. mesosclae_EKE calculates *
27 !* the evolution of sub-grid scale mesoscale EKE. *
28 !* *
29 !********+*********+*********+*********+*********+*********+*********+**
30 
31 implicit none ; private
32 
33 type, public :: meke_type
34  ! Variables
35  real, dimension(:,:), pointer :: &
36  meke => null(), & ! Vertically averaged eddy kinetic energy, in m2 s-2.
37  gm_src => null(), & ! MEKE source due to thickness mixing (GM), in W m-2.
38  mom_src => null(),& ! MEKE source from lateral friction in the momentum
39  ! equations, in W m-2.
40  kh => null(), & ! The MEKE-derived lateral mixing coefficient in m2 s-1.
41  rd_dx_h => null(), &! The deformation radius compared with the grid
42  ! spacing, copied from VarMix_CS, nondim.
43  ku => null() ! The MEKE-derived lateral viscosity coefficient in m2 s-1.
44  ! This viscosity can be negative when representing backscatter
45  ! from unresolved eddies (see Jansen and Held, 2014).
46  ! Parameters
47  real :: khth_fac = 1.0 ! Multiplier to map Kh(MEKE) to KhTh, nondim
48  real :: khtr_fac = 1.0 ! Multiplier to map Kh(MEKE) to KhTr, nondim.
49  real :: backscatter_ro_pow = 0.0 ! Power in Rossby number function for backscatter.
50  real :: backscatter_ro_c = 0.0 ! Coefficient in Rossby number function for backscatter.
51 end type meke_type
52 
53 end module mom_meke_types