Skip to content

Double diffusion cvmix + additional updates #60

Merged
gustavo-marques merged 35 commits into
NCAR:dev/ncarfrom
gustavo-marques:double_diffusion_cvmix
May 23, 2018
Merged

Double diffusion cvmix + additional updates #60
gustavo-marques merged 35 commits into
NCAR:dev/ncarfrom
gustavo-marques:double_diffusion_cvmix

Conversation

@gustavo-marques
Copy link
Copy Markdown
Collaborator

This PR adds the option to apply vertical mixing due to double diffusion via CVMix.

In addition, the following updated are included:

  • Option to smooth Ri using a 1-2-1 filter in MOM_cvmix_shear. This is done via an input parameter SMOOTH_RI;

  • Option to diagnose total vertical viscosity at u and v points. Variables Kv_u and Kv_u in available.diags;

  • Option to add the contribution of 'slow' varying interior processes (i.e., tidal + background + convection) to the total vertical viscosity. This is done via an input parameter ADD_KV_SLOW. The purpose of this flag is to be able to recover previous answers and it will likely be removed in the future since this option should always be true. The vertical viscosity from slow varying processes is updated every thermodynamic time-step, while the model solves a fully implicit system for the vertical viscosity of momentum every dynamic (i.e., barotropic) time-step. Since, in most applications, the dynamic time-step is << than the thermodynamic time-step, contributions from slow varying processes are kept constant until the next thermodynamic update.

This PR does not change answers (only Intel was tested) recorded for dev-master-candidate-2018-05-15.

* I believe there is something wrong (halo updates?) with the way
this is being done. It needs to be fixed!
The background vertical diff was being added to itself, which is
wrong and was leading to a increase in kd_bkgnd over time. This
commit fixes this problem.
Total vertical viscosity can now be diagnosed at u and v points.
Variable names are now consistent with what is used in
other modules.
* Delete the old double-diffusion code
This commit adds a flag ADD_KV_SLOW (default is FALSE) that controls if
the background vertical viscosity in the interior (i.e., tidal + background
+ shear + convenction) is addded when computing the coupling coefficient.
The purpose of this flag is to be able to recover previous answers and it will
likely be removed in the future since this option should always be true.
@gustavo-marques gustavo-marques merged commit ec95be9 into NCAR:dev/ncar May 23, 2018
@gustavo-marques gustavo-marques deleted the double_diffusion_cvmix branch June 5, 2018 17:24
mnlevy1981 referenced this pull request in mnlevy1981/MOM6 Apr 20, 2021
alperaltuntas added a commit that referenced this pull request Apr 2, 2026
Miscellaneous fixes and updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant