Preprints
https://doi.org/10.5194/egusphere-2025-1889
https://doi.org/10.5194/egusphere-2025-1889
27 May 2025
 | 27 May 2025
Status: this preprint is open for discussion and under review for Geoscientific Model Development (GMD).

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 preprint. The responsibility to include appropriate place names lies with the authors.
Share
Lilong Zhou and Wei Xue

Status: open (until 22 Jul 2025)

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 reply
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: 88 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
70 15 3 88 3 2
  • HTML: 70
  • PDF: 15
  • XML: 3
  • Total: 88
  • BibTeX: 3
  • EndNote: 2
Views and downloads (calculated since 27 May 2025)
Cumulative views and downloads (calculated since 27 May 2025)

Viewed (geographical distribution)

Total article views: 72 (including HTML, PDF, and XML) Thereof 72 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 16 Jun 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