-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a legacy version of diabatic_driver + updates in KPP and tidal mixing #777
Conversation
* 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.
…to introduce_cvmix_tidal
Merge with candidate 15 May 2018
Update halo obldepth
* 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.
A new input parameter has been added (USE_LEGACY_DIABATIC_DRIVER). If true, the model will use a legacy version of the diabatic driver (module MOM_legacy_diabatic_driver). This is temporary and is needed to avoid change in answers while MOM_diabatic_driver is been restructured.
Add a legacy version of diabatic_driver
@awallcraft, @kshedstrom, This is another PR from NCAR following the discussion during Monday's developer call. I'm evaluating this at GFDL in https://gitlab.gfdl.noaa.gov/ogrp/MOM6/pipelines/4286 |
…ouble_diffusion_cvmix
Double diffusion cvmix + additional updates
@gustavo-marques Can you make a branch for the PR so we don't have a moving target? The GFDL tests all passed but you just went and changed the PR so we're back to scratch. |
Yes, I will do that. Sorry, forgot that sending PR's using dev/ncar is susceptible to this moving target issue. |
A new input parameter has been added (USE_LEGACY_DIABATIC_DRIVER). If true, the model will
use a legacy version of the diabatic driver (module MOM_legacy_diabatic_driver). This is
temporary and is needed to avoid change in answers while MOM_diabatic_driver is been
restructured.
In addition, this PR also adds the following capabilities:
KPP BLD smoothing:
Schmittner tidal mixing
This PR does not change answers (only Intel was tested) recorded for dev-master-candidate-2018-05-15.