SearcharxivSearch

arXiv subjects

Matthieu Leclair

Publications and source records attributed to Matthieu Leclair.

2 recordsLinked to original sources

Integrating a Python Dynamical core into ICON

The transition of Earth-system models to exascale is often hindered by rigid, monolithic Fortran codebases and maintenance-heavy compiler directives. While high-level DSLs offer a solution, they frequently fail due to cumbersome integration. We present the integration of a Python-based ICON dynamical core into the original Fortran simulation code. Leveraging the GT4Py DSL and the Data-Centric (DaCe) optimization framework, we demonstrate that high-level Python can be seamlessly integrated into legacy infrastructure without performance loss. Our results challenge the assumption that Python orchestration introduces prohibitive HPC overhead. In production-grade global simulations, our Python dynamical core achieves a 20--30\% performance improvement over the highly-optimized Fortran+OpenACC implementation, with a 10\% improvement on the total time for a coupled setup. Driven by advanced data-flow optimizations and automated kernel fusion, this approach replaces hardware-entangled directives by generating optimized device code from a single, portable Python source. This work proves that Python can provide a sustainable, efficient, and hardware-agnostic future for global climate modeling.

cs.DC

Anisotropic Particles Focusing Effect in Complex Flows

Finite size effects can lead neutrally buoyant particles to exhibit different dynamics than tracer particles, and can alter their transport properties in fluid flows. Here we investigate the effect of the particle's shape on their dispersion in 2-dimensional complex flows. Combining numerical simulations with laboratory experiments, we show that particles with isotropic and anisotropic shapes exhibit different Lagrangian coherent structures, resulting in distinct dispersion phenomena within a given flow field. Experiments with rod shaped particles show a focusing effect in the vicinity of vortex cores. We present a simple model that describes the dynamics of neutrally buoyant ellipsoidal particles in two-dimensional flow and show that particle aspect ratio and orientation dependent forces can generate clustering phenomena in vortices.

physics.flu-dyn