Skip to content

RK time stepping does not allow global budgets to close #139

@trhille

Description

@trhille

When using RK schemes, the budget components reported in global stats do not allow the global budget to close.
Here is a Thwaites 4–20km run using foward Euler, in which the global budget closes to ~machine precision:
Image

And the same run using RK2, which has a fractional error of 50%:
Image

(Figures made using the first part of https://github.com/trhille/MPAS-Tools/blob/update_plot_mass_balance/landice/output_processing_li/plot_mass_balance.py.

I don't think this is an issue with actual mass conservation, but more likely because there should be accumulated calvingThickness from restore-calving in the RK loop, here. However, this is then being zeroed out when calling the main calving routine later, which starts by zeroing out the calving thickness here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions