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 RESET_INTXPA_INTEGRAL_FLATTEST option to pressure gradient #843

Open
wants to merge 1 commit into
base: dev/gfdl
Choose a base branch
from

Conversation

claireyung
Copy link

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 (note non-Boussinesq still not quiet).

This is an alternative to the inconsistent and slow, closed PR #811

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.
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.

1 participant