icepack: a new glacier flow modeling package in Python, version 1.0

Daniel R. Shapero, Jessica A. Badgeley, Andrew O. Hoffman, Ian R. Joughin
2021 Geoscientific Model Development  
Abstract. We introduce a new software package called "icepack" for modeling the flow of glaciers and ice sheets. The icepack package is built on the finite element modeling library Firedrake, which uses the Unified Form Language (UFL), a domain-specific language embedded into Python for describing weak forms of partial differential equations. The diagnostic models in icepack are formulated through action principles that are specified in UFL. The components of each action functional can be
more » ... tuted for different forms of the user's choosing, which makes it easy to experiment with the model physics. The action functional itself can be used to define a solver convergence criterion that is independent of the mesh and requires little tuning on the part of the user. The icepack package includes the 2D shallow ice and shallow stream models. We have also defined a 3D hybrid model based on spectral semi-discretization of the Blatter–Pattyn equations. Finally, icepack includes a Gauss–Newton solver for inverse problems that runs substantially faster than the Broyden–Fletcher–Goldfarb–Shanno (BFGS) method often used in the glaciological literature. The overall design philosophy of icepack is to be as usable as possible for a wide a swath of the glaciological community, including both experts and novices in computational science.
doi:10.5194/gmd-14-4593-2021 fatcat:sdw2qyvwdrcl5pyg7v4zdnkcqi