← Latest papers
🔢 mathematics

GridapGeosciences.jl: A Julia finite element package for partial differential equations on general manifolds

This paper introduces GridapGeosciences.jl, a parallel Julia package built on the Gridap library for solving partial differential equations on general manifolds, demonstrating its capabilities through intrinsic formulations of scalar transport, thermal shallow water, and Boussinesq equations on a cubed sphere.

Original authors: Tamara A. Tambyah, Alberto F. Martín, David Lee, Santiago Badia

Published 2026-09-09
📖 5 min read🧠 Deep dive

Original authors: Tamara A. Tambyah, Alberto F. Martín, David Lee, Santiago Badia

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine trying to predict the weather or model how heat moves through the atmosphere. Scientists rely on complex mathematical rules to describe these flows, but to solve them on a computer, they must first break the Earth's surface into a grid of tiny shapes. The challenge is that the Earth is a sphere, and fitting a flat grid onto a round ball usually creates distortions, especially near the poles where lines of longitude squeeze together. These distortions can introduce errors that make the simulation unreliable. To get around this, researchers often use a "cubed sphere" approach, which divides the globe into six square-like faces, much like unfolding a cube, to avoid the pole problem. However, even with this clever shape, the mathematics used to calculate the flows can still be tricky, often requiring a mix of different computer languages that can slow things down or limit precision.

A team of researchers has developed a new tool called GridapGeosciences.jl to solve these problems. This is a software package written entirely in the Julia programming language, designed to simulate how fluids and heat move across curved surfaces like the Earth. The core achievement of this work is a new way of handling the geometry of the sphere. Instead of approximating the curve of the Earth with jagged, flat pieces, the team created a method that treats the surface as perfectly smooth from the very beginning of the calculation. They tested this system by running high-resolution simulations of atmospheric flows, including swirling jets and buoyancy waves, and found that their method captures the physics with exceptional accuracy, avoiding the errors that plague other approaches.

The researchers built this tool to work with a specific type of grid known as an atlas, which is a collection of maps that cover the entire sphere without gaps or overlaps. In their system, the computer starts with a coarse, simple version of these maps and then automatically refines them into finer and finer grids where needed. This process allows the software to handle the complex mathematics of curved surfaces without losing precision. The team demonstrated two main ways of using this tool: an "intrinsic" approach that works directly on the curved surface using its own internal coordinates, and an "extrinsic" approach that views the surface as sitting inside a larger 3D space. While other software packages often rely on the extrinsic method, which can introduce small geometric errors, this new package excels at the intrinsic method, ensuring that the calculations remain true to the shape of the sphere.

To prove their system works, the team ran several challenging tests. First, they simulated the movement of a scalar quantity, like a patch of warm air, being carried by a wind field. They compared their results against known solutions and found that their method matched perfectly, even when the wind was swirling or changing direction. They also tested a more complex scenario involving the thermal shallow water equations, which describe how fluid depth and velocity change due to buoyancy. In a famous test case known as the Galewsky problem, which involves a jet stream that becomes unstable and breaks into waves, their simulation successfully reproduced the correct pattern of waves without the artificial distortions that often appear in other models. This is significant because previous models sometimes produced the wrong number of waves due to grid errors, but this new tool captured the correct behavior even on relatively coarse grids.

The researchers also pushed the tool into three dimensions to model a vertical slice of the atmosphere, simulating how buoyancy and pressure waves move up and down through a shell of air surrounding the Earth. By using a grid that could be stretched vertically, they were able to show how a buoyancy wave travels through the air while a pressure wave moves across the surface. These simulations confirmed that the software can handle both the horizontal movement of weather systems and the vertical dynamics of the atmosphere simultaneously. The results showed that the tool is capable of resolving turbulent flows over long periods, maintaining stability and accuracy where other methods might struggle.

What makes this work particularly notable is that it achieves this high level of performance without needing to switch between different programming languages. By building the entire system in Julia, the researchers eliminated the friction that usually occurs when scientists use a fast, compiled language for calculations and a slower, interpreted language for setting up the problem. This seamless integration allows for the definition of complex mathematical forms that would be difficult to implement in other systems. The team's approach relies on a rigorous mathematical framework that ensures the conservation of physical properties, such as mass and energy, which is critical for long-term climate and weather modeling.

The study concludes that this new package offers a powerful and flexible way to simulate geophysical flows on curved manifolds. While the current version focuses on the cubed sphere, the underlying method is general enough to be applied to other shapes or domains with complex terrain. The researchers also noted that their system supports adaptive mesh refinement, meaning the grid can become finer in specific areas where the flow is changing rapidly, while remaining coarser elsewhere to save computing power. This capability opens the door for more efficient and accurate simulations of atmospheric phenomena. The work stands as a demonstration that it is possible to create a high-performance, mathematically precise tool for geoscience that is both easy to use and capable of handling the most demanding physical problems.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →