Subsections


Convection


!-----------------------------------------------------------------------
&namzdf        !   vertical physics
!-----------------------------------------------------------------------
   rn_avm0     =   1.2e-4  !  vertical eddy viscosity   [m2/s]          (background Kz if not "key_zdfcst")
   rn_avt0     =   1.2e-5  !  vertical eddy diffusivity [m2/s]          (background Kz if not "key_zdfcst")
   nn_avb      =    0      !  profile for background avt & avm (=1) or not (=0)
   nn_havtb    =    0      !  horizontal shape for avtb (=1) or not (=0)
   ln_zdfevd   = .true.    !  enhanced vertical diffusion (evd) (T) or not (F)
   nn_evdm     =    0      !  evd apply on tracer (=0) or on tracer and momentum (=1)
   rn_avevd    =  100.     !  evd mixing coefficient [m2/s]
   ln_zdfnpc   = .false.   !  Non-Penetrative Convective algorithm (T) or not (F)
   nn_npc      =    1            !  frequency of application of npc
   nn_npcp     =  365            !  npc control print frequency
   ln_zdfexp   = .false.   !  time-stepping: split-explicit (T) or implicit (F) time stepping
   nn_zdfexp   =    3            !  number of sub-timestep for ln_zdfexp=T
/

Static instabilities (i.e. light potential densities under heavy ones) may occur at particular ocean grid points. In nature, convective processes quickly re-establish the static stability of the water column. These processes have been removed from the model via the hydrostatic assumption so they must be parameterized. Three parameterisations are available to deal with convective processes: a non-penetrative convective adjustment or an enhanced vertical diffusion, or/and the use of a turbulent closure scheme.


Non-Penetrative Convective Adjustment (ln_tranpc=.true.)


!-----------------------------------------------------------------------
&namzdf        !   vertical physics
!-----------------------------------------------------------------------
   rn_avm0     =   1.2e-4  !  vertical eddy viscosity   [m2/s]          (background Kz if not "key_zdfcst")
   rn_avt0     =   1.2e-5  !  vertical eddy diffusivity [m2/s]          (background Kz if not "key_zdfcst")
   nn_avb      =    0      !  profile for background avt & avm (=1) or not (=0)
   nn_havtb    =    0      !  horizontal shape for avtb (=1) or not (=0)
   ln_zdfevd   = .true.    !  enhanced vertical diffusion (evd) (T) or not (F)
   nn_evdm     =    0      !  evd apply on tracer (=0) or on tracer and momentum (=1)
   rn_avevd    =  100.     !  evd mixing coefficient [m2/s]
   ln_zdfnpc   = .false.   !  Non-Penetrative Convective algorithm (T) or not (F)
   nn_npc      =    1            !  frequency of application of npc
   nn_npcp     =  365            !  npc control print frequency
   ln_zdfexp   = .false.   !  time-stepping: split-explicit (T) or implicit (F) time stepping
   nn_zdfexp   =    3            !  number of sub-timestep for ln_zdfexp=T
/

Figure 10.3: Example of an unstable density profile treated by the non penetrative convective adjustment algorithm. $ 1^{st}$ step: the initial profile is checked from the surface to the bottom. It is found to be unstable between levels 3 and 4. They are mixed. The resulting $ \rho$ is still larger than $ \rho$(5): levels 3 to 5 are mixed. The resulting $ \rho$ is still larger than $ \rho$(6): levels 3 to 6 are mixed. The $ 1^{st}$ step ends since the density profile is then stable below the level 3. $ 2^{nd}$ step: the new $ \rho$ profile is checked following the same procedure as in $ 1^{st}$ step: levels 2 to 5 are mixed. The new density profile is checked. It is found stable: end of algorithm.
\includegraphics[width=0.90\textwidth]{Fig_npc}

Options are defined through the namzdf namelist variables. The non-penetrative convective adjustment is used when ln_zdfnpc = true. It is applied at each nn_npc time step and mixes downwards instantaneously the statically unstable portion of the water column, but only until the density structure becomes neutrally stable ($ i.e.$ until the mixed portion of the water column has exactly the density of the water just below) [Madec et al., 1991b]. The associated algorithm is an iterative process used in the following way (Fig. 10.3): starting from the top of the ocean, the first instability is found. Assume in the following that the instability is located between levels $ k$ and $ k+1$. The temperature and salinity in the two levels are vertically mixed, conserving the heat and salt contents of the water column. The new density is then computed by a linear approximation. If the new density profile is still unstable between levels $ k+1$ and $ k+2$, levels $ k$, $ k+1$ and $ k+2$ are then mixed. This process is repeated until stability is established below the level $ k$ (the mixing process can go down to the ocean bottom). The algorithm is repeated to check if the density profile between level $ k-1$ and $ k$ is unstable and/or if there is no deeper instability.

This algorithm is significantly different from mixing statically unstable levels two by two. The latter procedure cannot converge with a finite number of iterations for some vertical profiles while the algorithm used in NEMO converges for any profile in a number of iterations which is less than the number of vertical levels. This property is of paramount importance as pointed out by Killworth [1989]: it avoids the existence of permanent and unrealistic static instabilities at the sea surface. This non-penetrative convective algorithm has been proved successful in studies of the deep water formation in the north-western Mediterranean Sea [Madec and Crépon, 1991, Madec et al., 1991b, Madec et al., 1991a].

The current implementation has been modified in order to deal with any non linear equation of seawater (L. Brodeau, personnal communication). Two main differences have been introduced compared to the original algorithm: $ (i)$ the stability is now checked using the Brunt-Väisälä frequency (not the the difference in potential density) ; $ (ii)$ when two levels are found unstable, their thermal and haline expansion coefficients are vertically mixed in the same way their temperature and salinity has been mixed. These two modifications allow the algorithm to perform properly and accurately with TEOS10 or EOS-80 without having to recompute the expansion coefficients at each mixing iteration.


Enhanced Vertical Diffusion (ln_zdfevd=true)


!-----------------------------------------------------------------------
&namzdf        !   vertical physics
!-----------------------------------------------------------------------
   rn_avm0     =   1.2e-4  !  vertical eddy viscosity   [m2/s]          (background Kz if not "key_zdfcst")
   rn_avt0     =   1.2e-5  !  vertical eddy diffusivity [m2/s]          (background Kz if not "key_zdfcst")
   nn_avb      =    0      !  profile for background avt & avm (=1) or not (=0)
   nn_havtb    =    0      !  horizontal shape for avtb (=1) or not (=0)
   ln_zdfevd   = .true.    !  enhanced vertical diffusion (evd) (T) or not (F)
   nn_evdm     =    0      !  evd apply on tracer (=0) or on tracer and momentum (=1)
   rn_avevd    =  100.     !  evd mixing coefficient [m2/s]
   ln_zdfnpc   = .false.   !  Non-Penetrative Convective algorithm (T) or not (F)
   nn_npc      =    1            !  frequency of application of npc
   nn_npcp     =  365            !  npc control print frequency
   ln_zdfexp   = .false.   !  time-stepping: split-explicit (T) or implicit (F) time stepping
   nn_zdfexp   =    3            !  number of sub-timestep for ln_zdfexp=T
/

Options are defined through the namzdf namelist variables. The enhanced vertical diffusion parameterisation is used when ln_zdfevd=true. In this case, the vertical eddy mixing coefficients are assigned very large values (a typical value is $ 10\;m^2s^{-1})$ in regions where the stratification is unstable ($ i.e.$ when $ N^2$ the Brunt-Vaisälä frequency is negative) [Lazar et al., 1999, Lazar, 1997]. This is done either on tracers only (nn_evdm=0) or on both momentum and tracers (nn_evdm=1).

In practice, where $ N^2\leq 10^{-12}$, $ A_T^{vT}$ and $ A_T^{vS}$, and if nn_evdm=1, the four neighbouring $ A_u^{vm} \;$and$ \;A_v^{vm}$ values also, are set equal to the namelist parameter rn_avevd. A typical value for $ rn\_avevd$ is between 1 and $ 100 m^2.s^{-1}$. This parameterisation of convective processes is less time consuming than the convective adjustment algorithm presented above when mixing both tracers and momentum in the case of static instabilities. It requires the use of an implicit time stepping on vertical diffusion terms (i.e. ln_zdfexp=false).

Note that the stability test is performed on both before and now values of $ N^2$. This removes a potential source of divergence of odd and even time step in a leapfrog environment [Leclair, 2010] (see §3.5).


Turbulent Closure Scheme (key_ zdftke or key_ zdfgls)

The turbulent closure scheme presented in §10.1.3 and §10.1.5 (key_ zdftke or key_ zdftke is defined) in theory solves the problem of statically unstable density profiles. In such a case, the term corresponding to the destruction of turbulent kinetic energy through stratification in (10.4) or (10.19) becomes a source term, since $ N^2$ is negative. It results in large values of $ A_T^{vT}$ and $ A_T^{vT}$, and also the four neighbouring $ A_u^{vm} {and}\;A_v^{vm}$ (up to $ 1\;m^2s^{-1})$. These large values restore the static stability of the water column in a way similar to that of the enhanced vertical diffusion parameterisation (§10.2.2). However, in the vicinity of the sea surface (first ocean layer), the eddy coefficients computed by the turbulent closure scheme do not usually exceed $ 10^{-2}m.s^{-1}$, because the mixing length scale is bounded by the distance to the sea surface. It can thus be useful to combine the enhanced vertical diffusion with the turbulent closure scheme, $ i.e.$ setting the ln_zdfnpc namelist parameter to true and defining the turbulent closure CPP key all together.

The KPP turbulent closure scheme already includes enhanced vertical diffusion in the case of convection, as governed by the variables $ bvsqcon$ and $ difcon$ found in zdfkpp.F90, therefore ln_zdfevd=false should be used with the KPP scheme.

Gurvan Madec and the NEMO Team
NEMO European Consortium2017-02-17