Abstract
Simulating global climate and ocean patterns at high resolutions presents a significant computational challenge known as the "curse of dimensionality." Traditional finite volume methods face exponential increases in memory and processing requirements as grid density grows. This paper introduces a high-order finite volume method for Shallow Water Equations (SWEs) that utilizes the Tensor-Train (TT) format to represent multidimensional data as a chain of low-rank tensor cores. By performing numerical operations directly on these cores, the proposed method achieves up to 124x acceleration over traditional full-tensor approaches while maintaining 5th-order numerical accuracy.
Introduction
Modern atmospheric and oceanic circulation models require increasingly high spatial resolutions (e.g., 3km to 10km) to capture critical physical phenomena. However, the computational cost of these simulations scales poorly on traditional hardware. Furthermore, contemporary supercomputing architectures are increasingly optimized for AI and machine learning tasks via specialized "Tensor Cores," creating a mismatch with traditional computational physics algorithms.
There is a pressing need for numerical methods that reduce the data footprint of simulations and align with tensor-centric hardware. While Tensor-Train methods have been applied in other fluid dynamics contexts, their adaptation to the high-order finite volume schemes essential for geophysical fluid dynamics has remained a challenge. This work bridges that gap by introducing a Tensor-Train Finite Volume (TT-FV) framework.
The Tensor-Train Finite Volume Method
The core of the TT-FV method is the decomposition of large multidimensional datasets into a sequence of lower-dimensional tensors, or "cores," linked in a chain. This acts as a discrete form of separation of variables, allowing the representation of structured physical solutions with a fraction of the original data.
High-Order Reconstruction
A critical component of the finite volume method is the reconstruction of interface values from cell averages to compute fluxes. The authors implemented 3rd and 5th-order Upwind schemes and the 5th-order Weighted Essentially Non-Oscillatory (WENO) scheme within the TT format.
As shown in the figure above, the process involves moving from cell-averaged values $\bar{u}_{i,j}$ to reconstructed values at the cell edges $\tilde{u}_{i \mp \frac{1}{2}}^{\pm}(y)$, and finally to specific quadrature points $u_{i \mp \frac{1}{2}, y_j + \delta_k \Delta y}^{\pm}$ required for high-order integration. In the TT-FV framework, these operations are performed by manipulating the small TT cores directly for linear schemes, or via the AMEn algorithm for nonlinear WENO reconstructions to avoid ever forming the full tensor.
Handling Nonlinearity and Reciprocals
Nonlinear SWEs require calculating the reciprocal of the water depth ($1/h$). To handle this efficiently in the TT format, the authors developed a novel approximation using Taylor series. This approach exploits the physical structure of shallow water systems, where depth typically consists of a large mean value plus small oscillations, ensuring rapid convergence and robustness compared to standard tensor interpolation.
Experimental Validation
The TT-FV method was validated against several standard geophysical fluid dynamics benchmarks, including Coastal Kelvin Waves, Inertia-Gravity Waves, and Barotropic Tides. A manufactured solution test case was also used to verify that the nonlinear solver maintains formal 3rd and 5th-order accuracy.
Key Results
- Accuracy: The TT-FV method successfully preserved the high-order accuracy of traditional full-tensor methods across all test cases.
- Performance: In linear scenarios, the TT solver achieved massive speedups, reaching 124x for Barotropic Tide simulations and 83x for Kelvin Waves at high resolutions.
- Scaling: The performance advantage of the TT method improves as grid resolution increases, demonstrating its effectiveness for large-scale problems.
Discussion and Future Work
While the TT-FV method shows immense promise, challenges remain. The nonlinear WENO scheme currently acts as a bottleneck due to the overhead of TT cross-interpolation, being significantly slower than linear Upwind schemes. Future work will focus on optimizing nonlinear reconstruction and extending the method to complex bathymetry and spherical grids.
Additionally, while the algorithm is designed for AI-centric hardware, this initial study was implemented in MATLAB. Porting the framework to C++/CUDA to leverage NVIDIA Tensor Cores directly is a priority for achieving even greater performance in real-world climate modeling applications.
Summary updated