High-level, efficient ocean modeling at all scales with Oceananigans
Listen
Radio episode about this paper
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.
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
physics.ao-ph, physics.comp-ph, physics.flu-dyn
Submitted: 2025-02-19
Updated: 2026-11-23
Comments: 42 pages, 15 figures. Submitted to JAMES
Code: https://github.com/CliMA/Oceananigans.jl
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 98/100
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…
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
Summary
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, basic numerics, and GPU acceleration. p. 0 Burns1,10, Siddhartha Bishnu1,8
, John Marshall1
, and Raffaele Ferrari1
1Massachusetts Institute of Technology, Cambridge, MA, USA
2Aeolus Labs, San Francisco, CA, USA
3Politecnico di Torino, Torino, Italy
4University of Melbourne, Parkville, VIC, Australia
5Australian Research Council Center of Excellence for the Weather of the 21st Century, Australia
6atdepth MRV, Cambridge, MA, USA
7University of Maryland, College Park, MD, USA
8University of Cambridge, Cambridge, United Kingdom 9University of Waterloo, Waterloo, ON, Canada
10Flatiron Institute, New York, NY, USA
Key Points:
• Oceananigans implements a programmable user interface for simulating oceanic motion
at all scales. • A high-level interface, basic numerics, and GPU acceleration yield accessible code
capable of high-fidelity simulations. 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. This design negotiates a dual mandate for highestpossible 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.Where the paper says it
Where the paper says it
Where the paper says it
The model is structured around three interlocking design elements: (i) a single modeling framework spanning the full range of ocean dynamics—from millimeter-scale direct numerical simulation to meter-scale large eddy simulation and planetary circulation; (ii) a structured finite-volume algorithm optimized for GPUs that provides significant performance gains over existing CPU-based codes; and (iii) a programmable, script-based user interface leveraging modern language features for configuration, execution, and analysis. p. 1 Oceananigans development was
initiated by the Climate Modeling Alliance as part of a larger effort to develop a climate
model automatically-calibrated to observations and targeted large eddy simulations, and
with quantified uncertainty (Schneider et al. Oceananigans proposes to close the gap
between potential and practice in ocean modeling with three interlocking design elements:
(i) a single modeling framework that spans the full range of ocean-flavored fluid dynamics
from millimeter-scale direct numerical simulation, through meter-scale large eddy simulation,
to planetary-scale ocean circulation, (ii) a structured finite-volume algorithm optimized
for GPUs that yields significant performance gains over existing CPU-based codes, and
(iii) a programmable, script-based user interface that leverages modern language features for
configuring, running, and analyzing simulations.Where the paper says it
Oceananigans supports both nonhydrostatic and hydrostatic simulations on rectilinear and curvilinear grids with or without bathymetry. p. 4 We then sketch out Oceananigans
capabilities with a series of examples that progress from basic direct numerical simulations of
cabbeling, to realistic tidally-forced nonhydrostatic large eddy simulations over a headland, to
a 1/6th degree hydrostatic, eddying, global ocean simulation. To summarize: Oceananigans
supports both nonhydrostatic and hydrostatic simulations on rectilinear and curvilinear
grids with or without bathymetry. , 2005) and
Anisotropic Minimum Dissipation (Rozema et al. , 2015; Vreugdenhil & Taylor, 2018) support
nonhydrostatic direct and large eddy simulations of meter-scale phenomena in periodic,
closed, or open domains. A suite of pressure solvers, WENO-based advection
schemes (C. Shu, 1997), Laplacian diffusivity, and subgrid closures including constant
and dynamic Smagorinsky (Smagorinsky, 1963; Lilly, 1983; Bou-Zeid et al. p. 4 A suite of pressure solvers, WENO-based advection
schemes (C. Shu, 1997), Laplacian diffusivity, and subgrid closures including constant
and dynamic Smagorinsky (Smagorinsky, 1963; Lilly, 1983; Bou-Zeid et al. Shu, 1997), Laplacian diffusivity, and subgrid closures including constant
and dynamic Smagorinsky (Smagorinsky, 1963; Lilly, 1983; Bou-Zeid et al. , 2005) and
Anisotropic Minimum Dissipation (Rozema et al. , 2005) and
Anisotropic Minimum Dissipation (Rozema et al. , 2015; Vreugdenhil & Taylor, 2018) support
nonhydrostatic direct and large eddy simulations of meter-scale phenomena in periodic,
closed, or open domains. Nonhydrostatic simulations are typically run with a rigid lid, but an
experimental time-implicit free surface formulation is also supported. Hydrostatic regional to
global ocean simulations with an implicit or split-explicit free surface formulation and z or z
⋆
vertical coordinate are supported on rectilinear, latitude-longitude, tripolar (Murray, 1996),
and cubed sphere (Adcroft et al. ,
2015), Lagrangian vertical advection (Halliwell, 2004; Griffies et al. , 2020), or unstructured
horizontal grids (Ringler et al. Hydrostatic regional to
global ocean simulations with an implicit or split-explicit free surface formulation and z or z
⋆
vertical coordinate are supported on rectilinear, latitude-longitude, tripolar (Murray, 1996),
and cubed sphere (Adcroft et al. , 2004) grids with second-order and WENO-based vector
invariant schemes (Silvestri et al. , 2004) grids with second-order and WENO-based vector
invariant schemes (Silvestri et al. , 2024), the Gent–McWilliams parameterization (Gent &
Mcwilliams, 1990), horizontal biharmonic diffusivity, and Ri-based, one-equation (Wagner et
al. , 2024), the Gent–McWilliams parameterization (Gent &
Mcwilliams, 1990), horizontal biharmonic diffusivity, and Ri-based, one-equation (Wagner et
al. , 2025) and two-equation vertical mixing schemes (Umlauf & Burchard, 2005).Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Oceananigans’ programmable interface is designed to facilitate composition with other software. p. 4 Lagrangian particles, Stokes drift, and biogeochemistry are
supported. Oceananigans’ programmable interface facilitates composition with other software, and
a growing ecosystem of companion packages has rapidly formed around it — developed
largely by students, postdocs, and independent collaborators working outside the core
team. Oceananigans’ programmable interface facilitates composition with other software, and
a growing ecosystem of companion packages has rapidly formed around it — developed
largely by students, postdocs, and independent collaborators working outside the core
team. That this ecosystem emerged while Oceananigans was still maturing, and before
comprehensive validation, suggests that the barrier to extending ocean modeling software
in Julia is low enough to justify building on a young platform. New modeling systems
are also being developed in modern programming languages: ClimaAtmos (Yatunin et al. ,
2026) and ClimaLand (Deck et al.Where the paper says it
Where the paper says it
NumericalEarth,
which provides a coupled framework integrating Oceananigans ocean models with sea ice simulations and atmospheric models (ClimaAtmos, Yatunin et al., 2026; ClimaLand, Deck et al. p. 3Where the paper says it
OceanBioME,
which offers biogeochemistry models compatible with both hydrostatic and nonhydrostatic simulations.
The performance benefits are substantial; for instance, running large eddy and global ocean–sea-ice simulations on a single GPU allows access to these applications previously limited by computational resources. p. 1 Oceananigans development was
initiated by the Climate Modeling Alliance as part of a larger effort to develop a climate
model automatically-calibrated to observations and targeted large eddy simulations, and
with quantified uncertainty (Schneider et al. Oceananigans proposes to close the gap
between potential and practice in ocean modeling with three interlocking design elements:
(i) a single modeling framework that spans the full range of ocean-flavored fluid dynamics
from millimeter-scale direct numerical simulation, through meter-scale large eddy simulation,
to planetary-scale ocean circulation, (ii) a structured finite-volume algorithm optimized
for GPUs that yields significant performance gains over existing CPU-based codes, and
(iii) a programmable, script-based user interface that leverages modern language features for
configuring, running, and analyzing simulations. 1 Interlocking design elements: fast, flexible, and friendly
The evolution of global ocean circulation over millennia is controlled by turbulent
mixing with scales that range down to seconds and millimeters. Two distinct systems have
evolved to model this huge range of oceanic motion: “GCMs” (general circulation models)
for hydrostatic regional-to-global scale simulations, and simpler software for nonhydrostatic
large eddy simulations (LESs) with meter-scale grid spacing that are high-fidelity but limited
in duration and extent. Oceananigans development was
initiated by the Climate Modeling Alliance as part of a larger effort to develop a climate
model automatically-calibrated to observations and targeted large eddy simulations, and
with quantified uncertainty (Schneider et al. Oceananigans proposes to close the gap
between potential and practice in ocean modeling with three interlocking design elements:
(i) a single modeling framework that spans the full range of ocean-flavored fluid dynamics
from millimeter-scale direct numerical simulation, through meter-scale large eddy simulation,
to planetary-scale ocean circulation, (ii) a structured finite-volume algorithm optimized
for GPUs that yields significant performance gains over existing CPU-based codes, and
(iii) a programmable, script-based user interface that leverages modern language features for
configuring, running, and analyzing simulations.Where the paper says it
Where the paper says it
Where the paper says it
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Programmable Interface for Rapid Prototyping: The high-level, script-first user interface allows users to
prototyping
new numerical methods or parameterizations without re-implementation, which accelerates model development. -
GPU Acceleration for All Scales: By using a structured finite volume algorithm optimized for GPUs, the system can efficiently simulate ocean motion from
millimeter-scale turbulence in a small box to planetary-scale ocean circulation.
-
Versatility Across Model Types: The framework supports both HydrostaticFreeSurfaceModel and NonhydrostaticModel, allowing users to choose the appropriate model based on the required scale and physics, such as direct numerical simulations (DNS) or large eddy simulations (LES).
-
Composition of Complex Physics: The
AbstractOperations
system enables users to compose complex calculations by defining functions likeKernelFunctionOperation
that bridge user code with source-code-level operators, effectively erasing theboundary between 'user' and 'developer' code.
-
Efficient I/O for High Performance: The GPU–CPU architecture allows the CPU to act as an asynchronous I/O server, enabling disk writes
concurrently with continued GPU computation,
which reduces output overhead without requiring additional hardware. -
Advanced Turbulence Closure Implementation: Users can implement a wide range of turbulence closures, including
SmagorinskyLilly eddy viscosity model
and theAnisotropic Minimum Dissipation (AMD) turbulence closure,
to model unresolved processes accurately in LES.
Abstract
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.
Sources
- 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
- 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
Related papers
- Anthropogenic Heat in Urban Climate Systems: Forcing, Sensitivity, and Feedback
- NORi: An ML-Augmented Ocean Boundary Layer Parameterization
- ClimTip-GML: A global bias-corrected and downscaled dataset for assessing impacts of climate tipping events
- HybridCT: ML Accelerated Tomography for Climate Relevant 3D Cloud Observations
- DaYu-TC: a global-regional nested AI system for tropical cyclone forecasting
- A Checklist to assess the energy and carbon impacts of ML/AI applications in Earth System Modeling