Preprints
https://doi.org/10.5194/egusphere-2025-1889
https://doi.org/10.5194/egusphere-2025-1889
27 May 2025
 | 27 May 2025

HOPE: An Arbitrary-Order Non-Oscillatory Finite-Volume Shallow Water Dynamical Core with Automatic Differentiation

Lilong Zhou and Wei Xue

Abstract. This study presents the High Order Prediction Environment (HOPE), an automatically differentiable, non-oscillatory finite-volume dynamical core for shallow water equations on the cubed-sphere grid. HOPE integrates four key features: (1) arbitrary high-order accuracy through genuine two-dimensional reconstruction schemes; (2) essential non-oscillation via adaptive polynomial order reduction in discontinuous regions; (3) exact mass conservation inherited from finite-volume discretization; (4) automatically differentiable and (5) GPU-native scalability through PyTorch-based implementation. Another innovation is the intensive panel boundary treatment, which eliminates numerical instability during using high order reconstruction scheme, meanwhile, simplifies the interpolation process to a matrix-vector multiplication without losing accuracy. Numerical experiments demonstrates the capabilities of HOPE: The 11th-order scheme reduces errors to near double-precision round-off levels in steady-state geostrophic flow tests on coarse 1°×1° grids. Maintenance of Rossby-Haurwitz waves over 100 simulation days without crashing. A cylindrical dam-break test case confirms the genuinely two-dimensional WENO scheme exhibits significantly better isotropy compared to dimension-by-dimension approaches. Two implementations are developed: a Fortran version for convergence analysis and a PyTorch version leveraging automatic differentiation and GPU acceleration. The PyTorch implementation maps reconstruction and quadrature operation to 2D convolution and Einstein summation respectively, achieving about 2× speedup on single NVIDIA RTX3090 GPU versus Dual Intel E5-2699v4 CPUs execution. This design enables seamless coupling with neural network parameterizations, positioning HOPE as a foundational tool for next-generation differentiable atmosphere models.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. While Copernicus Publications makes every effort to include appropriate place names, the final responsibility lies with the authors. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.
Share
Lilong Zhou and Wei Xue

Status: final response (author comments only)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2025-1889', Anonymous Referee #1, 16 Jun 2025
    • AC1: 'Reply on RC1', Lilong Zhou, 21 Jul 2025
    • AC2: 'Reply on RC1', Lilong Zhou, 26 Jul 2025
    • AC3: 'Reply on RC1 fix error', Lilong Zhou, 31 Jul 2025
  • RC2: 'Comment on egusphere-2025-1889', Anonymous Referee #2, 25 Jun 2025
    • AC4: 'Reply on RC2', Lilong Zhou, 31 Jul 2025
    • AC5: 'Reply on RC2', Lilong Zhou, 31 Jul 2025
    • AC6: 'Reply on RC2', Lilong Zhou, 31 Jul 2025
    • AC7: 'Reply on RC2', Lilong Zhou, 31 Jul 2025
Lilong Zhou and Wei Xue

Model code and software

HOPE: High Order Predition Environment Lilong Zhou https://gitee.com/DwyaneChou/FVM/tree/Pytorch/

Lilong Zhou and Wei Xue

Viewed

Total article views: 849 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
757 65 27 849 15 31
  • HTML: 757
  • PDF: 65
  • XML: 27
  • Total: 849
  • BibTeX: 15
  • EndNote: 31
Views and downloads (calculated since 27 May 2025)
Cumulative views and downloads (calculated since 27 May 2025)

Viewed (geographical distribution)

Total article views: 759 (including HTML, PDF, and XML) Thereof 759 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 11 Sep 2025
Download
Short summary
This study develops a novel physics-based weather prediction model using artificial intelligence development platforms, achieving high accuracy while maintaining strict physical conservation laws. Our algorithms are optimized for modern super computers, enabling efficient large-scale weather simulations. A key innovation is the model's inherent differentiable nature, allowing seamless integration with AI systems to enhance predictive capabilities through machine learning techniques.
Share