Skip to content
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

+Merge dev/master into dev/gfdl #1204

Merged
merged 72 commits into from
Sep 9, 2020

Conversation

Hallberg-NOAA
Copy link
Collaborator

This PR merges the latest changes from dev/master into dev/gfdl. The changes
introduced with this PR come primarily from contributions from the NCAR/MOM6
fork, but with some changes to reconcile conflicts with other developments.
There are new runtime parameters and diagnostics with this PR, so some of the
MOM_parameteter_doc files and available_diags files will need to be updated.
All answers in the MOM6-examples test cases are bitwise identical, and an
interactive version of the travis testing passes, apart from noting the newly
added diagnostics. The list of commits in this PR include:

Mariana Vertenstein and others added 30 commits March 23, 2020 20:28
This is done via parameter RE_AH: if nonzero, the biharmonic
coefficient is scaled so that the biharmonic Reynolds number
is equal to this.
grid_Re_Kh = (U sqtr(dx2))/Kh

grid_Re_Kh = (U dx3)/Ah

where dx2 is the harmonic mean of the squares of the grid [L2], and
dx3 is the harmonic mean of the squares of the grid^(3/2) [L3]
Hoping this will fix the floating point exception in symmetric mode.
This PR add two hard-coded parameters (AH_min and KH_min) to avoid
dividing by zero when computing the Biharmonic and Laplacian grid
Reynolds numbers, respectively.

It also fixed the size of an array used in the Biharmonic Re
calculation.
* Follow Bob's suggestion throughout the code:
   - remove unnecessary halo updates
   - change loop indices
   - make expressions rotationally symmetric
   - fix bugs in vort_xy_dy and grid_sp_v2

* clean the code by deleting commented lines
There were a few mistakes in the Leith AH coefficient calculation
that are now fixed.

* Use inv_PI6 instead of inv_PI5
* Use Del2vort_q instead of vert_vort_mag
Add option to control Biharmonic coeff. via grid Reynolds number
gustavo-marques and others added 25 commits June 10, 2020 14:23
…interp_external_init

Add calls time_interp_external_init
Fix bugs when restarting a run with NUOPC
…s_jun2020

Improvements when applying lateral boundary diffusion
Fix multi-restart files in NUOPC cap
* Fix grid metrics
* Fix averaging expression to get the kinetic energy at a vorticity point
* Fix loop ranges
…didate-ncar-2020-08-11

Dev master candidate NCAR 2020-08-11
Copy link
Collaborator

@adcroft adcroft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adcroft adcroft merged commit fae9895 into mom-ocean:dev/gfdl Sep 9, 2020
@Hallberg-NOAA Hallberg-NOAA deleted the merge_ncar_gfdl branch July 30, 2021 16:12
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.

4 participants