Vertical Mixing Parametrizations
These equations are as given in the ROMS documentation
The type of vertical mixing parametrization can be chosen in the inputs file with the remora.vertical_mixing_type option.
Analytic Mixing
By default, the vertical mixing coefficients \(K_v\) and \(K_t\) (vec_Akv and vec_Akt in the code)
are defined as a custom function in init_analytic_vmix in the problem’s prob.cpp file. This function can be defined to be a function of simulation variables, most commonly depth \(z_w\). It is re-evaluated at every time step.
Generic Length Scale (GLS)
The Generic Length Scale (GLS) model is a two-equation turbulence closure scheme which can be tuned to behave like many of the traditional schemes such as Mellor and Yamada 2.5. This class of schemes add additional prognostic equations for the turbulent kinetic energy \(k=\frac{q^2}{2}\) and the product \(kl\), where \(l\) is a length scale. The evolution equation for TKE is:
where \(P_s\) is the shear production, \(P_b\) is the buoyant production, and \(\epsilon\) is the dissipation. In model coordinates, this evolution equation becomes:
The terms on the right-hand side are:
The parameter \(\psi\) is used to extablished the turbulence length scale. Its evolution equation is:
The coefficients \(c_1\) and \(c_2\) are chosen to be consistent with observations of decaying homogeneous, isotropic turbulence. The other parameter \(c_3\) has different values of stable (\(c_3^+\)) and unstable (\(c_3^-\)) stratification. Also,
The indices \(p\), \(m\), and \(n\) as well as coefficients are set in the inputs file. The default values correspond to the \(k-\epsilon\) turbulence model.
The equations for \(q\) and \(\psi\) are evolved much like the model tracer equations, including an implicit solve for vertical operations. We use a predictor-corrector scheme in which the predictor step only computes advection. The mixing coefficients are calculated from \(q\) and \(l\):
The constants \(\sigma_k = K_v / K_k\) and \(\sigma_{\psi} = K_v / K_{\psi}\) are also set in the inputs file. The stability coefficients, \(S_m\) and \(S_h\) are calculated using either the Galperin, Canuto-A or Canuto-B schemes.