Skip to content

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
@matthewhoffman
Copy link
Author

matthewhoffman commented Jul 3, 2025

Specified-calving option moved to #149 and will need to be removed from this PR if this PR eventually moves forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants