Searcharxiv⌕ Search

arXiv subjects

Nathanael Schaeffer

Publications and source records attributed to Nathanael Schaeffer.

3 recordsLinked to original sources

$\texttt{cunuSHT}$: GPU Accelerated Spherical Harmonic Transforms on Arbitrary Pixelizations

We present $\texttt{cunusht}$, a general-purpose Python package that wraps a highly efficient CUDA implementation of the nonuniform spin-$0$ spherical harmonic transform. The method is applicable to arbitrary pixelization schemes, including schemes constructed from equally-spaced iso-latitude rings as well as completely nonuniform ones. The algorithm has an asymptotic scaling of $\mathrm{O}{(\ell_{\rm max}^3)}$ for maximum multipole $\ell_{\rm max}$ and achieves machine precision accuracy. While $\texttt{cunusht}$ is developed for applications in cosmology in mind, it is applicable to various other interpolation problems on the sphere. We outperform the fastest available CPU algorithm by a factor of up to 5 for problems with a nonuniform pixelization and $\ell_{\rm max}>4\cdot10^3$ when comparing a single modern GPU to a modern 32-core CPU. This performance is achieved by utilizing the double Fourier sphere method in combination with the nonuniform fast Fourier transform and by avoiding transfers between the host and device. For scenarios without GPU availability, $\texttt{cunusht}$ wraps existing CPU libraries. $\texttt{cunusht}$ is publicly available and includes tests, documentation, and demonstrations.

astro-ph.IM↗

Quasi-geostrophic model of the instabilities of the Stewartson layer

We study the destabilization of a shear layer, produced by differential rotation of a rotating axisymmetric container. For small forcing, this produces a shear layer, which has been studied by Stewartson and is almost invariant along the rotation axis. When the forcing increases, instabilities develop. To study the asymptotic regime (very low Ekman number $E$), we develop a quasi-geostrophic two-dimensional model, whose main original feature is to handle the mass conservation correctly, resulting in a divergent two-dimensional flow, and valid for any container provided that the top and bottom have finite slopes. We use it to derive scalings and asymptotic laws by a simple linear theory, extending the previous analyses to large slopes (as in a sphere), for which we find different scaling laws. For a flat container, the critical Rossby number for the onset of instability evolves as $E^{3/4}$ and may be understood as a Kelvin-Helmoltz shear instability. For a sloping container, the instability is a Rossby wave with a critical Rossby number proportional to $βE^{1/2}$, where $β$ is related to the slope. We also investigate the asymmetry between positive and negative differential rotation and propose corrections for finite Ekman and Rossby numbers. Implemented in a numerical code, our model allows us to study the onset over a broad range of parameters, determining the threshold but also other features such as the spatial structure. We also present a few experimental results, validating our model and showing its limits.

physics.flu-dyn↗

Quasi-geostrophic kinematic dynamos at low magnetic Prandtl number

Rapidly rotating spherical kinematic dynamos are computed using the combination of a quasi geostrophic (QG) model for the velocity field and a classical spectral 3D code for the magnetic field. On one hand, the QG flow is computed in the equatorial plane of a sphere and corresponds to Rossby wave instabilities of a geostrophic internal shear layer produced by differential rotation. On the other hand, the induction equation is computed in the full sphere after a continuation of the QG flow along the rotation axis. Differential rotation and Rossby-wave propagation are the key ingredients of the dynamo process which can be interpreted in terms of $αΩ$ dynamo. Taking into account the quasi geostrophy of the velocity field to increase its time and space resolution enables us to exhibit numerical dynamos with very low Ekman (rapidly rotating) and Prandtl numbers (liquid metals) which are asymptotically relevant to model planetary core dynamos.

physics.class-ph↗