Efficiently simulating Lagrangian particles in large-scale ocean flows — Data structures and their impact on geophysical applications

Christian Kehl, Peter D. Nooteboom, Mikael L.A. Kaandorp, Erik van Sebille*

*Corresponding author for this work

Research output: Contribution to journalArticleAcademicpeer-review

Abstract

Studying oceanography by using Lagrangian simulations has been adopted for a range of scenarios, such as the determining the fate of microplastics in the ocean, simulating the origin locations of microplankton used for palaeoceanographic reconstructions, and for studying the impact of fish aggregation devices on the migration behaviour of tuna. These simulations are complex and represent a considerable runtime effort to obtain trajectory results, which is the prime motivation for enhancing the performance of Lagrangian particle simulators. This paper assesses established performance enhancing techniques from Eulerian simulators in light of computational conditions and demands of Lagrangian simulators. A performance enhancement strategy specifically targeting physics-based Lagrangian particle simulations is outlined to address the performance gaps, and techniques for closing the performance gap are presented and implemented. Realistic experiments are derived from three specific oceanographic application scenarios, and the suggested performance-enhancing techniques are benchmarked in detail, so to allow for a good attribution of speed-up measurements to individual techniques. The impacts and insights of the performance enhancement strategy are further discussed for Lagrangian simulations in other geoscience applications. The experiments show that I/O-enhancing techniques, such as dynamic loading and buffering, lead to considerable speed-up on-par with an idealised parallelisation of the process over 20 nodes. Conversely, while the cache-efficient structure-of-arrays collection yields a visible speed-up, other alternative data structures fail in fulfilling the theoretically-expected performance increase. This insight demonstrates the importance of good data alignment in memory and caches for Lagrangian physics simulations.

Original languageEnglish
Article number105322
Number of pages13
JournalComputers and Geosciences
Volume175
DOIs
Publication statusPublished - Jun 2023

Keywords

  • Lagrangian simulations
  • Particle systems
  • Performance enhancement
  • Physical oceanography

Fingerprint

Dive into the research topics of 'Efficiently simulating Lagrangian particles in large-scale ocean flows — Data structures and their impact on geophysical applications'. Together they form a unique fingerprint.

Cite this