arXiv Science⌕ Search

arXiv subjects

Siddhartha Bishnu

Publications and source records attributed to Siddhartha Bishnu.

3 recordsLinked to original sources

A conservative Runge-Kutta framework for nonlinear free-surface ocean models

We present a Runge-Kutta framework for nonlinear free-surface ocean models implemented in Oceananigans. We consider two formulations that differ in the time discretization of the coupled barotropic mode: (i) an implicit free-surface discretization and (ii) a split-explicit free-surface discretization. We test two three-stage, low-storage Runge-Kutta formulations, one of which is strong stability preserving, and a four-stage formulation. We analyze the stability of the resulting schemes in a vertical normal-mode framework by separating the coupling effects from the uncoupled evolution, and show how stability depends on the barotropic time discretization, the averaging filter, and the reconstruction of the slow forcing. We identify configurations that are stable and second-order accurate in time in the linearized analysis. By adapting exact variance-budget diagnostics to multi-stage integrators, we directly quantify the contribution of temporal discretization to numerical mixing. In a nearly linear internal tide and in an eddying re-entrant channel, the Runge-Kutta formulations produce less numerical mixing than the Adams-Bashforth time discretization with the same spatial discretization, while using timesteps 3.5 to 5.5 times larger. This reduction does not occur in a quarter-degree global simulation, where we suspect that the spatial discretization dominates the numerical mixing, although the split-explicit Runge-Kutta schemes still increase throughput by 14-25%.

math.NA↗

High-level, efficient ocean modeling at all scales with Oceananigans

We describe the user interface, governing equations, and numerical methods underpinning the ocean modeling software called "Oceananigans". Oceananigans development has been led by the Climate Modeling Alliance as part of a larger effort to build a trainable climate model with quantifiable uncertainty. Notably, Oceananigans is written in the Julia programming language, is optimized for GPUs, and can efficiently simulate all scales of ocean motion ranging from millimeter-scale turbulence in a small box to planetary-scale ocean circulation. We argue that a reusable finite-volume framework on structured staggered grids, GPU-efficient algorithms, and accessible interfaces and source code together enable efficient all-scale simulations and rapid innovation in model development. This design negotiates a dual mandate for highest-possible performance (to support state-of-the-art applications) and enhanced accessibility (to facilitate adoption and development). The dual mandate aims ultimately to accelerate the progress of Earth system science.

physics.ao-ph↗

On the Spatial and Temporal Order of Convergence of Hyperbolic PDEs

In this work, we determine the full expression for the global truncation error of hyperbolic partial differential equations (PDEs). In particular, we use theoretical analysis and symbolic algebra to find exact expressions for the coefficients of the generic global truncation error. Our analysis is valid for any hyperbolic PDE, be it linear or non-linear, and employing finite difference, finite volume, or finite element discretization in space, and advanced in time with a predictor-corrector, multistep, or a deferred correction method, belonging to the Method of Lines. Furthermore, we discuss the practical implications of this analysis. If we employ a stable numerical scheme and the orders of accuracy of the global solution error and the global truncation error agree, we make the following asymptotic observations: (a) the order of convergence at constant ratio of $Δt$ to $Δx$ is governed by the minimum of the orders of the spatial and temporal discretizations, and (b) convergence cannot even be guaranteed under only spatial or temporal refinement. An implication of (a) is that it is impractical to invest in a time-stepping method of order higher than the spatial discretization. In addition to (b), we demonstrate that under certain circumstances, the error can even monotonically increase with refinement only in space or only in time, and explain why this phenomenon occurs. To verify our theoretical findings, we conduct convergence studies of linear and non-linear advection equations using finite difference and finite volume spatial discretizations, and predictor-corrector and multistep time-stepping methods. Finally, we study the effect of slope limiters and monotonicity-preserving strategies on the order of accuracy.

math.NA↗