forked from NOAA-GFDL/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add LAND_AS_DRY and CORIOLIS_DRY_AS_LAND
The existing handling of land is not consistent with "dry" ocean points. Two logged parameters are added to address this issue. If LAND_AS_DRY is set, land is treated as dry ocean, i.e. as cells with zero thickness and zero velocity. With this approach there are no momentum land/sea boundary conditions, i.e. this is an alternative to free or no slip. If set, NOSLIP and USE_LAND_MASK_FOR_HVISC must be false and the default for USE_LAND_MASK_FOR_HVISC is changed to false. If CORIOLIS_DRY_AS_LAND is set, dry ocean is treated like land by favoring thicker adjacent edges. In this case, the inverse q-grid thickness is calculated via hArea/hhArea rather than via Area/hArea. These two parameters can be used independently, but used in combination land and dry ocean points are handled consistently. If either parameter is set, it is a FATAL error for SADOURNY to be inconsistent with CORIOLIS_SCHEME. Additional error checking has been added. CORIOLIS_EN_DIS only works for SADOURNY75_ENERGY. BOUND_CORIOLIS and CORIOLIS_EN_DIS cannot be defined at the same time. Answers are unchanged, but there are new logged parameters and some inconsistent parameter combinations that were previously sliently reset now cause a FATAL error.
- Loading branch information
1 parent
13cc946
commit 656326e
Showing
7 changed files
with
671 additions
and
216 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.