High-level, efficient ocean modeling at all scales with Oceananigans
summary
The gist
Oceananigans implements a programmable user interface for simulating oceanic motion across all scales, achieving high-fidelity simulations through a combination of a high-level interface…
In short
Oceananigans is a programmable, GPU-accelerated framework for simulating ocean motion across all scales, from millimeter turbulence to planetary circulation. It combines a unified modeling structure with optimized finite-volume algorithms and a script-based interface to allow researchers to rapidly develop and execute high-fidelity simulations efficiently.
Key concepts
- Single Modeling Framework
- Oceananigans provides one unified structure that handles ocean dynamics across vastly different scales, including millimeter-scale direct numerical simulations, meter-scale large eddy simulations, and planetary circulation models. This allows users to switch between different physical regimes without needing entirely separate codes.
- GPU Acceleration for All Scales
- The system uses a structured finite-volume algorithm specifically optimized for GPUs. This architecture enables efficient simulation of ocean motion across the entire spectrum, from very small turbulent eddies in a box to large-scale global circulation patterns, achieving significant performance gains over traditional CPU methods.
- Programmable User Interface
- The interface is script-based and high-level, designed for rapid prototyping. It allows users to configure and execute simulations easily while also enabling the composition of complex physics by bridging user code with low-level operators, effectively merging user control with developer capabilities.
Terminology used across episodes
This episode discusses
- High-level, efficient ocean modeling at all scales with Oceananigans · Paper Radio
- Submesoscale and boundary layer turbulence under mesoscale forcing in the upper ocean
- Oceananigans.jl: A Julia library that achieves breakthrough resolution, memory and energy efficiency in global ocean simulations
- A consistent phase-averaged model of the interactions between surface gravity waves and currents · Paper Radio
- ACE: A fast, skillful learned global atmospheric model for climate prediction
- ACE2: Accurately learning subseasonal to decadal atmospheric variability and forced responses
- Neural general circulation models optimized to predict satellite-based precipitation observations
The paper
High-level, efficient ocean modeling at all scales with Oceananigans · Read on arXiv
Massachusetts Institute of Technology · Aeolus Labs · Politecnico di Torino · University of Melbourne · Australian Research Council Center of Excellence for the Weather of the 21st Century · atdepth MRV Cambridge · University of Maryland College Park, MD, USA · University of Cambridge, United Kingdom 9 University of Waterloo, Waterloo, ON Canada · Flatiron Institute New York NY USA
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.
Transcript
Introduction to the show: ident: Physics. The day in general physics: instruments, methods and results across the field.
Kai: We're looking at the paper: "High-level, efficient ocean modeling at all scales with Oceananigans".
Title and authors: Kai: So, the title is "High-level, efficient ocean modeling at all scales with Oceananigans," and the authors are a team of folks from MIT, Aeolus Labs in San Francisco, Politecnico di Torino in Italy, and some universities across Australia and Cambridge.
Mira: It sounds like they're aiming for that sweet spot between having powerful numerical methods for cutting-edge science and having an interface so simple that anyone can start prototyping new ideas right away.
Lev: I mean, the focus on GPU acceleration and a structured finite volume algorithm suggests they’re prioritizing speed, which is exactly what we need when you're trying to push simulations from small boxes up to planetary scales.
Kai: Right. They’re not just building one thing; they're designing this programmable user interface that lets you choose the level of simulation complexity you need.
Mira: It’s a design choice to balance performance—getting state-of-the-art results—with accessibility for everyone who wants to contribute to Earth system science.
The paper's summary: Kai: The paper describes Oceananigans as this tool for simulating ocean currents and fluid motion, written in Julia, that can handle everything from millimeter-scale turbulence down to planetary circulation.
Mira: They argue that the combination of a basic, easy-to-optimize finite volume algorithm and a high-level programmable user interface is what allows them to hit both high performance and ease of use simultaneously.
Lev: So, they've managed to bridge the gap between general circulation models and those simpler large eddy simulations by having this software handle the necessary numerical methods for different scales.
Kai: It shows how you can have one framework that evolves from modeling idealized two-dimensional turbulence up to realistic global ocean simulations.
Mira: And they mention they’ve got these interlocking design elements—the interface, the equations, and the numerical methods—working together to drive fast progress in both model development and the science itself.
The paper's improvements: Kai: They point out that one of the main improvements is this structure where you can choose between hydrostatic simulations, which are for regional to global scales, and nonhydrostatic simulations for meter-scale phenomena.
Mira: That versatility is key because it means users aren't stuck with one approach; they can pick the right physics for their specific problem, whether it’s a direct numerical simulation or a large eddy simulation.
Lev: From my side, I see the structured finite volume algorithm as the big performance win over existing CPU-based codes, which is crucial because that’s where we need to get our scaling down to real hardware.
Kai: And they also include specific turbulence closures, like constant and dynamic Smagorinsky models or Anisotropic Minimum Dissipation, so you can accurately model those small unresolved processes in the larger simulations.
Mira: That ability for users to plug in different subgrid closures is significant because it lets them tailor the simulation to the exact physics they are interested in studying.
Conclusion: Kai: So, to wrap up, Oceananigans gives us a single framework that spans all scales and uses Julia and GPUs for high performance while keeping things accessible through a programmable interface.
Mira: It’s really about accelerating the progress of Earth system science by lowering the barrier to entry for building these complex ocean models.
Lev: From my viewpoint, the ability to run large eddy and global ocean-sea-ice simulations on a single GPU is what makes these applications possible right now, which is a huge step in terms of computational power available.
Kai: It’s about making those big ensembles necessary to study uncertainty in ocean heat and carbon uptake projections much faster.
Mira: This paper shows how building software with this kind of dual mandate—high performance and high accessibility—can really help the community move forward.
Lev: So, the work on "High-level, efficient ocean modeling at all scales with Oceananigans" is about making these large-scale simulations more feasible on current computational setups.
More episodes
- 2605.08359-Probing the electromagnetic nonlinearity of vacuum with continuous-wave lasers
- 2605.16178-Probabilistic Seasonal Streamflow Forecasting Across California's Snow-Fed Basins through Agentic Discovery
- 2605.28907-On the limiting geometry of unsteady breaking waves subject to co-flowing wind: spectrally-informed versus locally-measured steepness
- 2606.19523-Bayesian optimization of stellarator alpha-particle confinement using data-informed parameter spaces and dimensionality reduction
- 2606.19778-A Stochastic-Thermodynamic Constraint on the Seasonal Phase Locking of the El Ni no-Southern Oscillation
- 2607.07979-TeV Electron Beams from Plasma Acceleration via Regenerative Cascading
- 2607.15484-Dependence of Momentum Transport on the Dominant Turbulence Regime in the DIII-D Tokamak
- 2608.07390-The origin of carotenoid triplets in purple photosynthetic bacteria
- 2608.28537-Compaction in a deformable porous cylinder with elastic boundaries
- 2609.09760-Through-thickness diffusion and viscoelastic relaxation in coated-beam chemical sensors