LCS.jl: A High-Performance, Multi-Platform Computational Model in Julia for Turbulent Particle-Laden Flows
2026
Read LCS.jl: A High-Performance, Multi-Platform Computational Model in Julia for Turbulent Particle-Laden Flows (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-11008.txt.
Introduction
Tominaga and Onishi develop LCS.jl, a single-source, multi-platform Julia model for turbulent particle-laden flows. Few multiphase turbulence models are highly optimized for graphics processors, now mainstream in high-performance computing. Validation shows fluid and particle statistics agreeing well with prior studies. A graphics-processor-native particle communication method based on prefix-scan cuts communication cost from 78 percent to 10 percent of total run time. The model matches a Fortran implementation on many-process runs. On graphics processors, strong scaling efficiency stays above 85 percent up to 256 units.
Catalog record
| YEAR | 2026 |
|---|---|
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 39501 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2604.11008
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
LCS.jl: A High-Performance, Multi-Platform Computational Model in Julia for Turbulent Particle-Laden Flows Abstract Multiphase turbulent flow phenomena are observed not only in industrial devices but also in environmental flows, and direct numerical simulation (DNS) plays a key role in their investigation. Many numerical models have been developed; nevertheless, few models are highly optimized for GPU platforms, which represent the current mainstream in high-performance computing (HPC). In this study, we developed LCS.jl (Lagrangian Cloud Simulator in Julia), a single-source and multi-platform multiphase turbulence simulation model implemented in Julia language and KernelAbstractions.jl. Validation results confirmed that the present fluid and particle statistics agree well with those obtained in prior studies. A GPU-native particle communication algorithm based on prefix-scan reduced the particle communication cost from approximately 78% (CPU-delegated) to 10% of total execution time. LCS.jl achieved computational performance equivalent to the Fortran implementation in many-processes computations. For GPUs, strong scaling efficiency was maintained above 85% (up to 256 GPUs) and weak scaling efficiency above 90% (up to 216 GPUs) on TSUBAME4.0 (a GPU supercomputer at the Institute of Science Tokyo). LCS.jl achieved a maximum speedup of 18.0 × \times on GPUs over CPUs. A trial heterogeneous execution achieved a 72% reduction in execution time compared to the CPU-only configuration even in configurations where the GPU was not the primary compute device. These results demonstrate that LCS.jl is a multiphase turbulence simulation platform that achieves both portability and scalability across a variety of computational resource configurations. \Author [1]TaketoTominaga \Author [2]RyoOnishi 1]Engineering School, Department of Mechanical Engineering, Institute of Science Tokyo 2]Supercomputing Research Center, Institute of Integrated Research, Institute of Science Tokyo \correspondence Taketo Tominaga ([email protected]) \pubdiscuss \published † † firstpage: 1 \introduction Multiphase turbulent flow phenomena are observed not only in industrial devices but also in environments. In environments flows, one example is the growth process of cloud droplets in turbulent clouds such as cumulus and cumulonimbus. Understanding this process is relevant for reliable weather and climate modeling. In turbulent flows, small inertial particles such as cloud droplets form clustering, i.e., distribute non-uniformly in space. It has been recognized that this clustering significantly affects the collision-coalescence growth of cloud droplets. Extensive DNS studies have been conducted to model the effect of clustering ( 18 ; 19 ; 7 ) . Environmental flows are characterized by high Reynolds numbers. Direct numerical simulations (DNSs) of such flows require spatial resolutions down to the Kolmogorov scale ( 8 ; 15 ) . The number of computational grid points increases rapidly with increasing Reynolds number, requiring more computational cost. In case of flow-particle multiphase simulations, for, e.g., droplet growth in turbulent environment, the particle solver adds extra cost. It is a kind of great challenge to conduct multiphase DNS for environmental studies even on the latest HPC systems. 12 and 13 addressed this challenge and clarified the Reynolds number dependence of collision kernel through large-scale computations. However, evaluation under even higher Reynolds number conditions remains computationally prohibitive. Many numerical models have been developed to enable high-Reynolds-number computations. Nevertheless, few models are highly optimized for GPU platforms, which represent the current mainstream in high-performance computing (HPC). With anticipation of future architectural diversification, ensuring multi-platform compatibility i.e., performance portability across different architectures is becoming increasingly important. The Euler–Lagrangian framework is a widely used approach for multiphase DNS that tracks inertial particles in turbulent flows. One implementation of this framework is the Lagrangian Cloud Simulator (LCS), a Fortran model developed by 12 . LCS adopts distributed-memory parallelization via MPI and achieved large-scale parallel computation on HPC environments. However, conventional multiphase DNS models in Fortran or C have been highly optimized for multi-CPU environments. Supporting multi-GPU architectures while ensuring high performance in both fluid and particle solvers is a critical task for such models. There are two challenges in GPU-porting such models. The first one concerns the particle communication algorithm. In fluid computation, the communication range can be determined statically by the domain decomposition. In particle computation, by contrast, the number and destination of particles migrating across subdomain boundaries are changing in time, requiring dynamic communication. Conventional CPU-based implementations handle this communication sequentially, which is incompatible with GPU execution. The second challenge concerns performance portability. The development of a multi-platform model that achieves high performance on both CPUs and GPUs is a non-trivial task. In recent years, Julia has attracted attention in the HPC community as a language that achieves C/Fortran-level execution performance and high expressiveness through just-in-time (JIT) compilation and type specialization ( 2 ) . With the development of GPU extensions ( 1 ) and vendor-agnostic kernel abstractions – KernelAbstractions.jl ( 4 ) –, single-source and multi-platform design has become practical. In other words, Julia has the potential to achieve high performance, high expressiveness, and performance portability within a single language. For fluid solvers alone, Julia implementations such as Oceananigans.jl ( 16 ) and MPAS-Ocean ( 3 ) have been reported to achieve performance comparable to or exceeding that of Fortran. However, only a limited number of Julia-based implementations of Euler–Lagrangian multiphase DNS solvers have been reported ( 16 ) . However, to the authors’ knowledge, only a single Julia-based implementation of Euler–Lagrangian multiphase DNS solvers has been reported ( 16 ) and it is limited to tracer particles. No Julia-based multiphase DNS solver for inertial particles has been reported, for which particle communication costs would be more significant. In this study, we aim to develop LCS.jl (Lagrangian Cloud Simulator in Julia), a single-source and multi-platform multiphase DNS model implemented in Julia language and KernelAbstractions.jl. We validate the developed model through comparison of fluid and particle statistics with prior studies. We propose a GPU-native particle communication algorithm and evaluate its performance against a CPU-delegated implementation. We further evaluate the computational performance of the single-source design, including strong- and weak-scaling in large-scale parallel computations, GPU-CPU performance comparison using the identical codebase, and a heterogeneous execution configuration in which GPUs are utilized in an auxiliary capacity. Through these contributions, we assess the portability and scalability of LCS.jl across a variety of computational resource configurations. 1 Methods 1.1 Flow Phase The carrier fluid obeys the following governing equations: \displaystyle\nabla\cdot U \displaystyle=0, (1) \displaystyle\frac{\partial U}{\partial t}+(U\cdot\nabla)U \displaystyle=-\frac{1}{\rho}\nabla p+\nu\nabla^{2}U+F(\mathbf{x},t), (2) where U is the fluid velocity, \rho is the density, p is the pressure, and F is the external forcing. The kinematic viscosity \nu was set to 1.5\times 10^{-5}\,\mathrm{m}^{2}\,\mathrm{s}^{-1} , corresponding to atmospheric conditions (1013 hPa, 298 K). Turbulence is sustained by the forcing F , which injects energy into large scales at wavenumber |k|<2.5 . For the turbulent forcing, the Reduced Communication Forcing (RCF) ( 11 ) , an improved large-scale forcing scheme, was adopted. RCF reduces communication and computational costs by applying a box-mean filter to the velocity field before transforming it to wavenumber space, rather than transforming the entire field, while still confining energy injection to large scales. The governing equations were discretized on a uniform Cartesian grid, with variables stored in a marker and cell (MAC) arrangement ( 5 ) . For spatial discretization, the conservative fourth-order central difference scheme ( 10 ) was applied to the convection term, fourth-order central differences were applied to the viscous term, and second-order central differences were applied to the pressure term. Time integration was