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

Fjord calving fix #132

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

matthewhoffman
Copy link

This PR fixes calving in narrow fjords, which previously would occur at rates less than prescribed due to edges along fjord walls not being active for calving and reducing the calving flux.

This makes two adjustments:

1. When deciding if an edge should experience calving, include neighbors
above sea level instead of just open ocean neighbors.  This ensures
fjord walls don’t “block” the calving expected at a cell based on its
calvingVelocity

2. Adjust the scale_edge_length function to zero edges that are oriented
in the opposite direction of the velocity.  Previously orientation
was ignored but this is now necessary to avoid calving at edges that
have neighbors above sea level (item 1) facing the opposite direction as
the velocity.  # Please enter the commit message for your changes. Lines
starting
@matthewhoffman matthewhoffman force-pushed the matthewhoffman/mali/fjord_calving_fix branch from 4941445 to 028fdcf Compare November 21, 2024 21:37
It leverages the existing specified_calving_velocity option and simply
adds the flow velocity to the desired retreat velocity to obtain the
appropriate calvingVelocity.
@matthewhoffman matthewhoffman force-pushed the matthewhoffman/mali/fjord_calving_fix branch from 028fdcf to 9962299 Compare November 21, 2024 22:43
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.

2 participants