Skip to content

A set of scripts to test the numerical stability of common ice-dynamics solvers.

Notifications You must be signed in to change notification settings

alex-robinson/solver-stability

Repository files navigation

Solver stability tests

This set of MATLAB scripts let's you test the numerical stability of three ice-dynamics solvers (DIVA, L1L2-SIA, Hybrid) for a range of grid resolutions. The main script to run is sample_stability.m. The user specifies a solver to test and the test case of interest ('strong' or 'weak'). The script will then calculate the analytical 1D solution for the given solver and test case, followed by numerical verfication using the 1D model. If run_sample=false, then the script will load results that were previously saved to a .mat file. Finally, a figure will be produced that compares the numerical results to the analytical solution.

Scripts initially developed by Dan Goldberg [email protected]. Adapted for publication by Alexander Robinson [email protected].

The theoretical basis for the analysis can be found in the following article:

Robinson, A., Goldberg, D., Lipscomb, W. L.: A comparison of the performance of depth-integrated ice-dynamics solvers, The Cryosphere Discussions, 2021.

About

A set of scripts to test the numerical stability of common ice-dynamics solvers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages