English

pizza: An open-source pseudo-spectral code for spherical quasi-geostrophic convection

Fluid Dynamics 2019-03-27 v2 Earth and Planetary Astrophysics Computational Physics Geophysics

Abstract

We present a new pseudo-spectral open-source code nicknamed pizza. It is dedicated to the study of rapidly-rotating Boussinesq convection under the 2-D spherical quasi-geostrophic approximation, a physical hypothesis that is appropriate to model the turbulent convection that develops in planetary interiors. The code uses a Fourier decomposition in the azimuthal direction and supports both a Chebyshev collocation method and a sparse Chebyshev integration formulation in the cylindrically-radial direction. It supports several temporal discretisation schemes encompassing multi-step time steppers as well as diagonally-implicit Runge-Kutta schemes. The code has been tested and validated by comparing weakly-nonlinear convection with the eigenmodes from a linear solver. The comparison of the two radial discretisation schemes has revealed the superiority of the Chebyshev integration method over the classical collocation approach both in terms of memory requirements and operation counts. The good parallelisation efficiency enables the computation of large problem sizes with O(104×104)\mathcal{O}(10^4\times 10^4) grid points using several thousands of ranks. This allows the computation of numerical models in the turbulent regime of quasi-geostrophic convection characterised by large Reynolds ReRe and yet small Rossby numbers RoRo. A preliminary result obtained for a strongly supercritical numerical model with a small Ekman number of 10910^{-9} and a Prandtl number of unity yields Re105Re\simeq 10^5 and Ro104Ro \simeq 10^{-4}. pizza is hence an efficient tool to study spherical quasi-geostrophic convection in a parameter regime inaccessible to current global 3-D spherical shell models.

Keywords

Cite

@article{arxiv.1902.07092,
  title  = {pizza: An open-source pseudo-spectral code for spherical quasi-geostrophic convection},
  author = {T. Gastine},
  journal= {arXiv preprint arXiv:1902.07092},
  year   = {2019}
}

Comments

20 pages, 10 figures, 4 tables, accepted for publication in GJI

R2 v1 2026-06-23T07:44:55.405Z