forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
RESET_INTXPA_INTEGRAL_FLATTEST
option to pressure gradient (#843)
* + Add `RESET_INTXPA_INTEGRAL_FLATTEST` option to pressure gradient This new parameter RESET_INTXPA_INTEGRAL_FLATTEST modifies the reference interface for the horizontal pressure integrals in the finite volume pressure gradient force calculation. If true, in ocean columns where no non-tilted, non-vanished layer can be found (e.g. near specific shaped ice shelf grounding lines), rather than using the top surface to integrate downwards as the reference, the code finds and chooses the flattest (i.e. minimum difference between depth or pressure) interface as the reference. The parameter defaults to False therefore should not change default answers. However, if true, combined with other ice shelf code changes e.g. MASS_WEIGHT_IN_PGF_VANISHED_ONLY = True, RESET_INTXPA_INTEGRAL = True, MASS_WEIGHT_IN_PRESSURE_GRADIENT = True and MASS_WEIGHT_IN_PRESSURE_GRADIENT_TOP = True + initialisation code fixes I get very low spurious currents in the Boussinesq ZSTAR and SIGMA_SHELF_ZSTAR ISOMIP+ test cases. * Amend RESET_INTXPA_INTEGRAL_FLATTEST description to refer to flattest interface rather than flattest layer.
- Loading branch information
1 parent
23b2049
commit 3142c3f
Showing
1 changed file
with
162 additions
and
39 deletions.
There are no files selected for viewing
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