-
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
Change bounding of Kv_BBL and bbl_thick in set_viscous_BBL() #1223
Conversation
- Added lots of comments explaining method/equations - Small refactor code to reduce duplicated code a smidge but really in preparation for a later solution changing fix - Also removed unused diagnostic ids frin MOM_vert_friction.F90
- Wrote out equations being solve with reference to model parameters. Includes references.
- This must be a side effect of Brexit
- The BBL viscosity used to be simply bounded to be no less than a minimum, KV_BBL_MIN. In some limits where the BBL thickness was smaller than the bottom layer thickness, this viscosity led to too much drag on the bottom layer. - If CORRECT_BBL_BOUNDS=True we now also adjust bbl_thick when bounding Kv_bbl so that the implied stress, viscosity and thickness are all consistent. - By default, CORRECT_BBL_BOUNDS=False so that existing answers are unchanged.
Codecov Report
@@ Coverage Diff @@
## dev/gfdl #1223 +/- ##
============================================
+ Coverage 46.08% 46.11% +0.02%
============================================
Files 214 224 +10
Lines 69399 70954 +1555
============================================
+ Hits 31984 32721 +737
- Misses 37415 38233 +818
Continue to review full report at Codecov.
|
The pipeline testing for this PR has been triggered at https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/11392. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that the Queen's English spelling of bottommost has been changed back to the proper American English spelling, and the pipeline tests have passed (while noting the new entries in the MOM_parameter_doc files), this PR is acceptable.
The majority of this PR is new documentation, in the form of both code comments and equations in doxygen-generated material, with a small but optionally answer changing fix in the last commit.
First commit:
Second commit:
Third commit:
Fourth commit: