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

+Add Laplacian diffusion of interface heights #83

Merged
merged 2 commits into from
Mar 15, 2022

Conversation

Hallberg-NOAA
Copy link
Member

Added the capability to do Laplacian diffusion of interface heights without
regard to the density of layers. This is accomplished by the new internal
subroutine add_interface_KH, and is controlled by the new runtime parameters
KH_ETA_CONST and KH_ETA_VEL_SCALE. The new interface diffusivities are subject
to CFL bounding when combined with the previous isopycnal slope diffusivities,
with the two diffusivities reduced proportionately when the CFL limits are
exceeded. Also simplified many openMP directives in MOM_thickness_diffuse.F90,
and fixed a number of spelling errors or other problems in comments, including
adding units to some variables. By default, all answers are bitwise identical,
although there are new runtime parameters a new internal subroutine.

  Added the capability to do Laplacian diffusion of interface heights without
regard to the density of layers.  This is accomplished by the new internal
subroutine add_interface_KH, and is controlled by the new runtime parameters
KH_ETA_CONST and KH_ETA_VEL_SCALE.  The new interface diffusivities are subject
to CFL bounding when combined with the previous isopycnal slope diffusivities,
with the two diffusivities reduced proportionately when the CFL limits are
exceeded.  Also simplified many openMP directives in MOM_thickness_diffuse.F90,
and fixed a number of spelling errors or other problems in comments, including
adding units to some variables.  By default, all answers are bitwise identical,
although there are new runtime parameters a new internal subroutine.
@codecov
Copy link

codecov bot commented Mar 8, 2022

Codecov Report

Merging #83 (00afe31) into dev/gfdl (0f4ebf6) will decrease coverage by 0.00%.
The diff coverage is 16.66%.

Impacted file tree graph

@@             Coverage Diff              @@
##           dev/gfdl      #83      +/-   ##
============================================
- Coverage     28.97%   28.97%   -0.01%     
============================================
  Files           245      245              
  Lines         72147    72182      +35     
============================================
+ Hits          20907    20914       +7     
- Misses        51240    51268      +28     
Impacted Files Coverage Δ
...arameterizations/lateral/MOM_thickness_diffuse.F90 30.90% <16.66%> (-0.40%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0f4ebf6...00afe31. Read the comment docs.

@Hallberg-NOAA Hallberg-NOAA added the enhancement New feature or request label Mar 15, 2022
@marshallward marshallward self-requested a review March 15, 2022 14:59
@marshallward
Copy link
Member

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/14989 ✔️ 🟡

New parameters:

  • KH_ETA_CONST
  • KH_ETA_VEL_SCALE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants