<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "https://jats.nlm.nih.gov/nlm-dtd/publishing/3.0/journalpub-oasis3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:oasis="http://docs.oasis-open.org/ns/oasis-exchange/table" xml:lang="en" dtd-version="3.0" article-type="research-article">
  <front>
    <journal-meta><journal-id journal-id-type="publisher">GMD</journal-id><journal-title-group>
    <journal-title>Geoscientific Model Development</journal-title>
    <abbrev-journal-title abbrev-type="publisher">GMD</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Geosci. Model Dev.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1991-9603</issn><publisher>
    <publisher-name>Copernicus Publications</publisher-name>
    <publisher-loc>Göttingen, Germany</publisher-loc>
  </publisher></journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.5194/gmd-19-11373-2026</article-id><title-group><article-title>LCS.jl v1.0: a high-performance, multi-platform computational model in Julia for turbulent particle-laden flows</article-title><alt-title>LCS.jl: multi-platform DNS for turbulent particle-laden flows</alt-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Tominaga</surname><given-names>Taketo</given-names></name>
          <email>tominaga.t.2d38@m.isct.ac.jp</email>
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Onishi</surname><given-names>Ryo</given-names></name>
          
        </contrib>
        <aff id="aff1"><label>1</label><institution>Department of Mechanical Engineering, School of Engineering, Institute of Science Tokyo, Tokyo, Japan</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Supercomputing Research Center, Institute of Integrated Research, Institute of Science Tokyo, Tokyo, Japan</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Taketo Tominaga (tominaga.t.2d38@m.isct.ac.jp)</corresp></author-notes><pub-date><day>26</day><month>November</month><year>2026</year></pub-date>
      
      <volume>19</volume>
      <issue>22</issue>
      <fpage>11373</fpage><lpage>11387</lpage>
      <history>
        <date date-type="received"><day>17</day><month>April</month><year>2026</year></date>
           <date date-type="rev-request"><day>8</day><month>May</month><year>2026</year></date>
           <date date-type="rev-recd"><day>28</day><month>August</month><year>2026</year></date>
           <date date-type="accepted"><day>5</day><month>October</month><year>2026</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2026 Taketo Tominaga</copyright-statement>
        <copyright-year>2026</copyright-year>
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://gmd.copernicus.org/articles/19/11373/2026/gmd-19-11373-2026.html">This article is available from https://gmd.copernicus.org/articles/19/11373/2026/gmd-19-11373-2026.html</self-uri><self-uri xlink:href="https://gmd.copernicus.org/articles/19/11373/2026/gmd-19-11373-2026.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/19/11373/2026/gmd-19-11373-2026.pdf</self-uri>
      <abstract><title>Abstract</title>

      <p id="d2e96">Multiphase turbulent flow phenomena are observed not only in industrial devices but also in environmental flows, and direct numerical simulation 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. In this study, we developed LCS.jl (Lagrangian Cloud Simulator in Julia), a single-source and multi-platform multiphase turbulence simulation model implemented in the Julia language and KernelAbstractions.jl. Validation results confirmed that the present fluid and particle statistics agree well with those obtained in prior studies. For GPU execution, the GPU-side prefix-scan implementation reduced the particle communication cost by approximately 88 % relative to the CPU-delegated sequential implementation. LCS.jl achieved CPU performance comparable to the original Fortran implementation, with similar intra-node scaling behavior. For GPUs, strong-scaling efficiency was approximately 70 % up to 256 GPUs, and weak-scaling efficiency was approximately 80 % up to 216 GPUs on TSUBAME4.0 (a GPU supercomputer at the Institute of Science Tokyo). LCS.jl achieved a maximum estimated speedup of approximately 16.3<inline-formula><mml:math id="M1" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> on GPUs over CPUs. Execution on both NVIDIA and AMD GPUs further supported portability across GPU architectures. A trial heterogeneous execution achieved an approximately 68 % 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.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d2e115">Multiphase turbulent flow phenomena are observed not only in industrial devices but also in environmental flows. In environmental flows, one example is the growth of cloud droplets in turbulent clouds such as cumulus and cumulonimbus.</p>
      <p id="d2e118">Understanding this process is relevant for reliable weather and climate modeling. In turbulent flows, small inertial particles such as cloud droplets cluster, i.e., become non-uniformly distributed in space. It has been recognized that this clustering significantly affects the collision-coalescence growth of cloud droplets. Extensive direct numerical simulation (DNS) studies have been conducted to model the effect of clustering <xref ref-type="bibr" rid="bib1.bibx22 bib1.bibx24 bib1.bibx8" id="paren.1"/>.</p>
      <p id="d2e124">Environmental flows are characterized by high Reynolds numbers. DNS of such flows requires spatial resolutions down to the Kolmogorov scale <xref ref-type="bibr" rid="bib1.bibx9 bib1.bibx18" id="paren.2"/>. The number of computational grid points increases rapidly with increasing Reynolds number, increasing computational cost. In flow–particle simulations, such as droplet growth in turbulent environments, the particle solver introduces additional computational cost. Consequently, conducting multiphase DNS for environmental applications remains computationally demanding even on modern HPC systems. <xref ref-type="bibr" rid="bib1.bibx17" id="text.3"/> and <xref ref-type="bibr" rid="bib1.bibx14" id="text.4"/> addressed this challenge and clarified the Reynolds number dependence of the 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). In anticipation of future architectural diversification, ensuring multi-platform compatibility, i.e., performance portability across different architectures, is becoming increasingly important.</p>
      <p id="d2e136">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 <xref ref-type="bibr" rid="bib1.bibx17" id="text.5"/>. LCS adopts distributed-memory parallelization via the Message Passing Interface (MPI) and has achieved large-scale parallel computation in 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.</p>
      <p id="d2e143">In the LCS framework, the computational domain is decomposed into three-dimensional Cartesian subdomains, each owned by one MPI process. Neighboring processes exchange halo data for the Eulerian flow solver, while particles crossing a subdomain boundary are transferred to the corresponding neighboring process.</p>
      <p id="d2e146">Two challenges arise when porting such models to GPUs. The first 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 destinations of particles migrating across subdomain boundaries vary in time. Compared with tracer particles, inertial particles carry additional dynamical state, including particle velocity, that must also be dynamically packed and communicated during migration. The original LCS implementation used a sequential counter-based packing procedure to determine storage positions for migrating particles. Because the storage position of each particle depended on the counter value resulting from previously processed particles, this procedure introduced a sequential dependency that limited direct parallelization. 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 <xref ref-type="bibr" rid="bib1.bibx2" id="paren.6"/>. With the development of GPU extensions <xref ref-type="bibr" rid="bib1.bibx1" id="paren.7"/> and vendor-agnostic kernel abstractions such as KernelAbstractions.jl <xref ref-type="bibr" rid="bib1.bibx4" id="paren.8"/>, 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 <xref ref-type="bibr" rid="bib1.bibx19" id="paren.9"/> and MPAS-Ocean <xref ref-type="bibr" rid="bib1.bibx3" id="paren.10"/> have been reported to achieve performance comparable to or exceeding that of Fortran. Oceananigans.jl <xref ref-type="bibr" rid="bib1.bibx19" id="paren.11"/> is a Julia-based flow solver that also supports Lagrangian tracer-particle tracking. To the authors' knowledge, no Julia-based solver targeting the present combination of inertial-particle dynamics and distributed particle migration has been reported.</p>
      <p id="d2e168">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 the Julia language and KernelAbstractions.jl. We validate the developed model through comparison of fluid and particle statistics with prior studies. We propose a parallel particle communication algorithm based on prefix scan and evaluate its GPU-side implementation against the CPU-delegated sequential 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 same 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.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Methods</title>
      <p id="d2e179">All computations reported in this study use double-precision floating-point arithmetic.</p>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Flow Phase</title>
      <p id="d2e189">The carrier fluid obeys the incompressible Navier–Stokes equations:

                <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M2" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E1"><mml:mtd><mml:mtext>1</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E2"><mml:mtd><mml:mtext>2</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="bold-italic">U</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>)</mml:mo><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="italic">ρ</mml:mi></mml:mfrac></mml:mstyle><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">ν</mml:mi><mml:msup><mml:mi mathvariant="normal">∇</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo>+</mml:mo><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

          where <inline-formula><mml:math id="M3" display="inline"><mml:mi mathvariant="bold-italic">U</mml:mi></mml:math></inline-formula> is the fluid velocity, <inline-formula><mml:math id="M4" display="inline"><mml:mi mathvariant="italic">ρ</mml:mi></mml:math></inline-formula> is the constant fluid density, <inline-formula><mml:math id="M5" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> is the pressure, and <inline-formula><mml:math id="M6" display="inline"><mml:mi>F</mml:mi></mml:math></inline-formula> is the external forcing. The kinematic viscosity <inline-formula><mml:math id="M7" display="inline"><mml:mi mathvariant="italic">ν</mml:mi></mml:math></inline-formula> was set to <inline-formula><mml:math id="M8" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.5</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> m<sup>2</sup> s<sup>−1</sup>, following the original LCS formulation <xref ref-type="bibr" rid="bib1.bibx17" id="paren.12"/> for atmospheric conditions (1013 hPa, 298 K). Turbulence is sustained by the external forcing <inline-formula><mml:math id="M11" display="inline"><mml:mi>F</mml:mi></mml:math></inline-formula>. LCS.jl supports several turbulent-forcing schemes. In the validation series considered below, Reduced Communication Forcing (RCF) <xref ref-type="bibr" rid="bib1.bibx15" id="paren.13"/> was used at all resolutions. RCF coarse-grains the velocity field before the Fourier transform and acts on the two lowest wavenumber shells, <inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>∈</mml:mo><mml:mo mathvariant="italic">{</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula>. Writing <inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">target</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> for the instantaneous and prescribed target energies of shell <inline-formula><mml:math id="M15" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>, respectively, the Fourier-space velocity increment is

            <disp-formula id="Ch1.E3" content-type="numbered"><label>3</label><mml:math id="M16" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mover accent="true"><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover><mml:mi>L</mml:mi><mml:mi mathvariant="normal">inc</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:msup><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">target</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mfenced><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover><mml:mi>L</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mspace width="2em" linebreak="nobreak"/><mml:mi>k</mml:mi><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>≤</mml:mo><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">k</mml:mi><mml:mo>|</mml:mo><mml:mo>&lt;</mml:mo><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

          The input <inline-formula><mml:math id="M17" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">target</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> specifies the target energy of the <inline-formula><mml:math id="M18" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> shell, while <inline-formula><mml:math id="M19" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">target</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is determined from it using the prescribed RCF target spectrum. The quantity above is the discrete velocity increment applied by RCF during the time-stepping procedure and thus represents the discrete-time action of the forcing term <inline-formula><mml:math id="M20" display="inline"><mml:mi>F</mml:mi></mml:math></inline-formula> in Eq. (<xref ref-type="disp-formula" rid="Ch1.E2"/>), rather than the continuous-time forcing acceleration itself; the detailed RCF formulation is given by <xref ref-type="bibr" rid="bib1.bibx15" id="text.14"/>. RCF depends on the instantaneous velocity field through <inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> but is distinct from the forcing scheme proposed by <xref ref-type="bibr" rid="bib1.bibx10" id="text.15"/>. The governing equations were discretized on a uniform Cartesian grid, with variables stored in a marker and cell (MAC) arrangement <xref ref-type="bibr" rid="bib1.bibx6" id="paren.16"/>. The computational domain is a cube of side <inline-formula><mml:math id="M22" display="inline"><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="italic">π</mml:mi><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> with periodic boundary conditions applied in all directions. The grid spacing is <inline-formula><mml:math id="M23" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="italic">π</mml:mi><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>/</mml:mo><mml:mi>N</mml:mi></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M24" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> is the number of grid points in each direction. For spatial discretization, the conservative fourth-order central difference scheme <xref ref-type="bibr" rid="bib1.bibx13" id="paren.17"/> 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 performed using the explicit midpoint method, a two-stage, second-order Runge–Kutta (RK2) method, with a half-step first stage followed by a full-step update. Pressure–velocity coupling was handled by the highly simplified marker and cell (HSMAC) scheme <xref ref-type="bibr" rid="bib1.bibx7" id="paren.18"/> with red–black coloring. The HSMAC iteration uses nondimensional velocity and spatial coordinates, <inline-formula><mml:math id="M25" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo>*</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo>/</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M26" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>*</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>/</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M27" display="inline"><mml:mrow><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M28" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> are the reference velocity and length, respectively. For the uniform grid used here, <inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>*</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>/</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. Iteration was continued until the root-mean-square (RMS) velocity divergence satisfied <inline-formula><mml:math id="M30" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>*</mml:mo></mml:msup><mml:mi mathvariant="normal">RMS</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>*</mml:mo></mml:msup><mml:mspace linebreak="nobreak" width="-0.125em"/><mml:mo>⋅</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo>*</mml:mo></mml:msup><mml:mo>)</mml:mo><mml:mo>&lt;</mml:mo><mml:mi mathvariant="italic">δ</mml:mi></mml:mrow></mml:math></inline-formula>, with the dimensionless tolerance <inline-formula><mml:math id="M31" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> following <xref ref-type="bibr" rid="bib1.bibx17" id="text.19"/>. The time step <inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> was determined to satisfy both the convective and viscous Courant–Friedrichs–Lewy (CFL) constraints for stability:

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M33" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E4"><mml:mtd><mml:mtext>4</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi mathvariant="normal">CFL</mml:mi><mml:mi mathvariant="normal">conv</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>=</mml:mo><mml:mo movablelimits="false">max⁡</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>‖</mml:mo><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo>‖</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi></mml:mfrac></mml:mstyle><mml:mo>≤</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E5"><mml:mtd><mml:mtext>5</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi mathvariant="normal">CFL</mml:mi><mml:mi mathvariant="normal">vis</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="italic">ν</mml:mi><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi mathvariant="normal">Δ</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>≤</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

          where <inline-formula><mml:math id="M34" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.3</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M35" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.125</mml:mn></mml:mrow></mml:math></inline-formula>. The bulk Reynolds number is defined as <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:mi>e</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>/</mml:mo><mml:mi mathvariant="italic">ν</mml:mi></mml:mrow></mml:math></inline-formula>. Three-dimensional domain decomposition was used for inter-process parallelization. The decomposition was chosen so that each subdomain is as close to cubic as possible, minimizing the surface-area-to-volume ratio and reducing communication cost.</p>
      <p id="d2e1006">The numerical formulation was inherited from the original LCS framework and retained for its suitability for large-scale parallel computation. The local finite-difference stencils require only neighboring-subdomain communication, while the conservative advection scheme preserves the appropriate discrete conservation properties. Pseudo-spectral methods provide high spatial accuracy but require global Fourier transforms, whose communication cost becomes increasingly important in large distributed-memory calculations. The present finite-difference formulation avoids these global transforms for the spatial discretization, while RCF retains large-scale spectral forcing with reduced global communication. <xref ref-type="bibr" rid="bib1.bibx15 bib1.bibx16" id="text.20"/> demonstrated that the present finite-difference model employing these numerical methods maintains sufficient accuracy compared to spectral methods.</p>
</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>Particle Phase</title>
      <p id="d2e1020">Particle motion obeys the following system of ordinary differential equations:

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M37" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E6"><mml:mtd><mml:mtext>6</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="bold-italic">X</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>=</mml:mo><mml:mi mathvariant="bold-italic">V</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E7"><mml:mtd><mml:mtext>7</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="bold-italic">V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>f</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">τ</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo mathsize="1.1em">(</mml:mo><mml:mi mathvariant="bold-italic">V</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo mathsize="1.1em">)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

          where <inline-formula><mml:math id="M38" display="inline"><mml:mi mathvariant="bold-italic">X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M39" display="inline"><mml:mi mathvariant="bold-italic">V</mml:mi></mml:math></inline-formula> are the particle position and velocity, and <inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the fluid velocity at the particle position.</p>
      <p id="d2e1146"><inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">τ</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">2</mml:mn><mml:mn mathvariant="normal">9</mml:mn></mml:mfrac></mml:mstyle><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo>)</mml:mo><mml:mo>(</mml:mo><mml:msup><mml:mi>a</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>/</mml:mo><mml:mi mathvariant="italic">ν</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the particle relaxation time, following <xref ref-type="bibr" rid="bib1.bibx17" id="text.21"/>, where <inline-formula><mml:math id="M42" display="inline"><mml:mi>a</mml:mi></mml:math></inline-formula> is the particle radius and <inline-formula><mml:math id="M43" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the particle density. The particle-to-fluid density ratio <inline-formula><mml:math id="M44" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi></mml:mrow></mml:math></inline-formula> was set to <inline-formula><mml:math id="M45" display="inline"><mml:mrow><mml:mn mathvariant="normal">8.43</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, following <xref ref-type="bibr" rid="bib1.bibx17" id="text.22"/>, corresponding to water droplets in air under atmospheric conditions (1013 hPa, 298 K). The nonlinear drag correction factor <inline-formula><mml:math id="M46" display="inline"><mml:mi>f</mml:mi></mml:math></inline-formula> and the particle Reynolds number <inline-formula><mml:math id="M47" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:msub><mml:mi>e</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are defined as follows <xref ref-type="bibr" rid="bib1.bibx20" id="paren.23"/>:

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M48" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E8"><mml:mtd><mml:mtext>8</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi>f</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="normal">0.15</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi>R</mml:mi><mml:msubsup><mml:mi>e</mml:mi><mml:mi mathvariant="normal">p</mml:mi><mml:mn mathvariant="normal">0.687</mml:mn></mml:msubsup><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E9"><mml:mtd><mml:mtext>9</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi>R</mml:mi><mml:msub><mml:mi>e</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mi>a</mml:mi><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">V</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>|</mml:mo></mml:mrow><mml:mi mathvariant="italic">ν</mml:mi></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

          The fluid velocity <inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> at the particle position <inline-formula><mml:math id="M50" display="inline"><mml:mi mathvariant="bold-italic">X</mml:mi></mml:math></inline-formula> was computed by trilinear interpolation from the eight surrounding values on the corresponding staggered velocity grid, following the original LCS formulation <xref ref-type="bibr" rid="bib1.bibx17" id="paren.24"/>. The interpolation choice in the original framework was made with reference to previous comparisons with higher-order schemes, including cubic Hermite, cubic Lagrangian, and fifth-order Lagrangian interpolation <xref ref-type="bibr" rid="bib1.bibx21" id="paren.25"/>. Particle motion was integrated using the same explicit midpoint (RK2) method as the fluid equations.</p>
      <p id="d2e1393">The present particle model uses a one-way-coupled point-particle approximation for dilute suspensions of small, heavy inertial particles. It retains drag with a finite-particle-Reynolds-number correction while neglecting added-mass and history forces, gravity, particle feedback on the carrier flow, collisions, and hydrodynamic interactions between particles. It is therefore a reduced form of the classical Maxey–Riley–Gatignol framework <xref ref-type="bibr" rid="bib1.bibx11 bib1.bibx5" id="paren.26"/>. The validity of one-way coupling is governed by physical quantities such as particle volume fraction and mass loading rather than by the total number of tracked computational particles alone. In the original LCS applications, the particle mass and volume fractions were sufficiently dilute that flow modulation could be neglected. Large particle ensembles are used to obtain statistically converged particle statistics, particularly pair statistics such as the radial distribution function (RDF); in the performance benchmarks they also provide a demanding workload for the particle solver.</p>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Implementation and Optimization in Julia</title>
<sec id="Ch1.S2.SS3.SSS1">
  <label>2.3.1</label><title>Performance Portability: Single Source, Multi-Platform Strategy</title>
      <p id="d2e1414">LCS.jl is designed to achieve performance portability across arbitrary platforms including CPUs and GPUs with a single source code. The core of this design is the KernelAbstractions.jl <xref ref-type="bibr" rid="bib1.bibx4" id="paren.27"/> library. In the present model, higher-level abstractions built on this library were adopted (Listing <xref ref-type="fig" rid="Li1"/>). <monospace>Parallel.foraxes</monospace> is a for-loop abstraction provided by Parallel, a custom parallel execution module in LCS.jl, and generates platform-specific code for a variety of computational platforms from a single source. In addition to ordinary backend-independent parallel iteration, <monospace>Parallel.foraxes</monospace> provides LCS-specific iteration patterns, including the red–black coloring used by the HSMAC solver, and permits backend-specific specialization. An explicit data movement design was also adopted. In LCS.jl, host–device transfers are specified explicitly where required, whereas directive-based GPU porting approaches such as OpenACC can manage offloading and data movement through compiler directives. This suppresses the proliferation of pragma annotations required for performance optimization and maintains code readability.</p><fig id="Li1" specific-use="star"><label>Listing 1</label><caption><p id="d2e1431">Implementation of a finite-difference kernel in LCS.jl <bold>(a)</bold> and Fortran <bold>(b)</bold>. In both listings, <monospace>N</monospace> is the local subdomain size and <monospace>2:N-1</monospace> denotes local subdomain indices, <monospace>U</monospace> is the fluid velocity field, <monospace>dUdt</monospace> is the time derivative of <monospace>U</monospace>, and <monospace>dx</monospace> is the grid spacing. In <bold>(a)</bold>, <monospace>backend</monospace> specifies the target backend (e.g., GPUs from NVIDIA, AMD, Apple, and Intel, as well as CPUs).</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/11373/2026/gmd-19-11373-2026-l01.png"/>

          </fig>

</sec>
<sec id="Ch1.S2.SS3.SSS2">
  <label>2.3.2</label><title>Halo Communication</title>
      <p id="d2e1479">In LCS.jl, communication–computation overlap and time-blocking were introduced as communication optimizations in the HSMAC iteration loop, which occupies the largest fraction of execution time. Communication–computation overlap hides communication by concurrently performing halo region communication and computation that does not depend on the halo region. Halo region communication refers to exchanging boundary data between neighboring processes in distributed computing. Time-blocking reduces the number of communication calls by aggregating multiple iteration steps and exchanging halo regions in a single batch. The pressure correction in the HSMAC method uses second-order central differences, requiring a halo width of one cell. This is smaller than the halo width required for the fourth-order convection discretization (three cells). Before the grouped HSMAC iterations, a wider halo is exchanged and the active computational domain is successively contracted so that every stencil evaluation uses valid data. This changes only the communication schedule and introduces no additional numerical approximation at subdomain boundaries. By grouping three HSMAC iteration steps together and exchanging a three-cell halo in a single communication call, the number of communications is reduced by a factor of three without increasing memory usage.</p>
</sec>
<sec id="Ch1.S2.SS3.SSS3">
  <label>2.3.3</label><title>Parallel Particle Communication Based on Prefix Scan</title>
      <p id="d2e1490">In particle tracking, the communication destination of particles that cross subdomain boundaries is determined only at runtime. Unlike the static communication in halo exchange, both the number and destinations of migrating particles vary during the simulation, and the migrated state includes particle position and velocity.</p>
      <p id="d2e1493">In the original LCS (Fortran implementation), particle packing for communication was performed sequentially on the CPU. All particles are scanned in order; each time a particle outside the subdomain boundary is detected, a per-direction counter is incremented to determine its storage position in the send buffer. In this scheme, the storage position of particle <inline-formula><mml:math id="M51" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> depends on the processing result of particles <inline-formula><mml:math id="M52" display="inline"><mml:mn mathvariant="normal">1</mml:mn></mml:math></inline-formula> through <inline-formula><mml:math id="M53" display="inline"><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> (i.e., the counter value). This sequential dependency limits direct parallelization because concurrent updates to the same counter require synchronization.</p>
      <p id="d2e1522">In LCS.jl, the sequential counter-based packing was replaced by a parallel algorithm based on prefix scan. The procedure consists of the following three stages. <list list-type="order"><list-item>
      <p id="d2e1527"><italic>Mask computation</italic>: A boundary-crossing check is performed for all particles to generate a <monospace>mask</monospace> array. Particles to be sent are assigned 1; particles remaining within the subdomain are assigned 0. Each particle's check is independent, so this stage is executed in parallel by the selected backend.</p></list-item><list-item>
      <p id="d2e1536"><italic>Prefix scan</italic>: The cumulative sum of the mask array is computed to determine the storage position of each particle in the send buffer. The storage position of particle <inline-formula><mml:math id="M54" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> is given by <inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:mi mathvariant="normal">scan</mml:mi><mml:mo>[</mml:mo><mml:mi>i</mml:mi><mml:mo>]</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>i</mml:mi></mml:msubsup><mml:mi mathvariant="normal">mask</mml:mi><mml:mo>[</mml:mo><mml:mi>j</mml:mi><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>.</p></list-item><list-item>
      <p id="d2e1585"><italic>Parallel packing</italic>: For particles with mask <inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, each particle is written in parallel to the position indicated by <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:mi mathvariant="normal">scan</mml:mi><mml:mo>[</mml:mo><mml:mi>i</mml:mi><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>. Particles with mask <inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> are excluded from writing, so no threads write to the same destination and no data race occurs.</p></list-item></list></p>
      <p id="d2e1624">As a concrete example, consider five particles where particles 2 and 4 are to be sent:

                  <disp-formula specific-use="align"><mml:math id="M59" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi mathvariant="normal">mask</mml:mi><mml:mo>:</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mspace linebreak="nobreak" width="1em"/><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi mathvariant="normal">scan</mml:mi><mml:mo>:</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mspace linebreak="nobreak" width="1em"/><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

            Particle 2 is written to <inline-formula><mml:math id="M60" display="inline"><mml:mrow><mml:mi mathvariant="normal">buffer</mml:mi><mml:mo>[</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula> via <inline-formula><mml:math id="M61" display="inline"><mml:mrow><mml:mi mathvariant="normal">scan</mml:mi><mml:mo>[</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>]</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, and particle 4 is written to <inline-formula><mml:math id="M62" display="inline"><mml:mrow><mml:mi mathvariant="normal">buffer</mml:mi><mml:mo>[</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula> via <inline-formula><mml:math id="M63" display="inline"><mml:mrow><mml:mi mathvariant="normal">scan</mml:mi><mml:mo>[</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:mo>]</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d2e1768">In the sequential implementation, storage positions are determined one particle at a time by incrementing a counter. In the present implementation, the prefix scan and subsequent packing were executed in parallel on the selected backend. For GPU execution, this enabled particle packing to be performed directly on the GPU without delegation to the CPU.</p>
</sec>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Results</title>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Validation</title>
<sec id="Ch1.S3.SS1.SSS1">
  <label>3.1.1</label><title>Flow Phase</title>
      <p id="d2e1795">Table <xref ref-type="table" rid="T1"/> shows the flow statistics in the statistically steady state obtained from GPU computations using LCS.jl. Computations were performed up to <inline-formula><mml:math id="M64" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">2048</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. The kinematic viscosity and reference length <inline-formula><mml:math id="M65" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> were fixed, and the bulk Reynolds number <inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:mi>e</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>/</mml:mo><mml:mi mathvariant="italic">ν</mml:mi></mml:mrow></mml:math></inline-formula> was varied through the reference velocity <inline-formula><mml:math id="M67" display="inline"><mml:mrow><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. RCF was used with the configured <inline-formula><mml:math id="M68" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> target energies listed in Table <xref ref-type="table" rid="T1"/>; these values were adjusted slightly so that <inline-formula><mml:math id="M69" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mi mathvariant="normal">rms</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>≈</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>. The Taylor microscale and Taylor-microscale Reynolds number are defined as <inline-formula><mml:math id="M70" display="inline"><mml:mrow><mml:mi mathvariant="italic">λ</mml:mi><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:mn mathvariant="normal">15</mml:mn><mml:mi mathvariant="italic">ν</mml:mi><mml:msubsup><mml:mi>u</mml:mi><mml:mi mathvariant="normal">rms</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup><mml:mo>/</mml:mo><mml:mi mathvariant="italic">ε</mml:mi></mml:mrow></mml:msqrt></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M71" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:msub><mml:mi>e</mml:mi><mml:mi mathvariant="italic">λ</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>u</mml:mi><mml:mi mathvariant="normal">rms</mml:mi></mml:msub><mml:mi mathvariant="italic">λ</mml:mi><mml:mo>/</mml:mo><mml:mi mathvariant="italic">ν</mml:mi></mml:mrow></mml:math></inline-formula>, respectively, where <inline-formula><mml:math id="M72" display="inline"><mml:mi mathvariant="italic">ε</mml:mi></mml:math></inline-formula> is the mean energy dissipation rate. The Kolmogorov length and time scales are <inline-formula><mml:math id="M73" display="inline"><mml:mrow><mml:mi mathvariant="italic">η</mml:mi><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="italic">ν</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>/</mml:mo><mml:mi mathvariant="italic">ε</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M74" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">τ</mml:mi><mml:mi mathvariant="italic">η</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ν</mml:mi><mml:mo>/</mml:mo><mml:mi mathvariant="italic">ε</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, respectively. All cases satisfy <inline-formula><mml:math id="M75" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mo>≈</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M76" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mi>N</mml:mi><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula> is the maximum resolved wavenumber, ensuring sufficient spatial resolution down to the Kolmogorov scale. The obtained statistics agreed well with the prior study <xref ref-type="bibr" rid="bib1.bibx15" id="paren.28"/>.</p>

<table-wrap id="T1" specific-use="star"><label>Table 1</label><caption><p id="d2e2068">Flow statistics in the statistically steady state at different resolutions. <inline-formula><mml:math id="M77" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mi mathvariant="normal">rms</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is the normalized root-mean-square velocity; <inline-formula><mml:math id="M78" display="inline"><mml:mrow><mml:mi>L</mml:mi><mml:mo>/</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M79" display="inline"><mml:mrow><mml:mi mathvariant="italic">λ</mml:mi><mml:mo>/</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M80" display="inline"><mml:mrow><mml:mi mathvariant="italic">η</mml:mi><mml:mo>/</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> denote the normalized integral length scale, Taylor microscale, and Kolmogorov length scale, respectively. <inline-formula><mml:math id="M81" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">target</mml:mi></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup></mml:mrow></mml:math></inline-formula> is the configured RCF target energy of the <inline-formula><mml:math id="M82" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> shell in the nondimensional solver variables. <inline-formula><mml:math id="M83" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mi>S</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M84" display="inline"><mml:mi>F</mml:mi></mml:math></inline-formula> denote the negative skewness and flatness of the longitudinal velocity gradient.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="11">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:colspec colnum="5" colname="col5" align="right"/>
     <oasis:colspec colnum="6" colname="col6" align="right"/>
     <oasis:colspec colnum="7" colname="col7" align="right"/>
     <oasis:colspec colnum="8" colname="col8" align="right"/>
     <oasis:colspec colnum="9" colname="col9" align="right"/>
     <oasis:colspec colnum="10" colname="col10" align="right"/>
     <oasis:colspec colnum="11" colname="col11" align="right"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"><inline-formula><mml:math id="M85" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M86" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M87" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">target</mml:mi></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M88" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mi mathvariant="normal">rms</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M89" display="inline"><mml:mrow><mml:mi>L</mml:mi><mml:mo>/</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col6"><inline-formula><mml:math id="M90" display="inline"><mml:mrow><mml:mi mathvariant="italic">λ</mml:mi><mml:mo>/</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col7"><inline-formula><mml:math id="M91" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:msub><mml:mi>e</mml:mi><mml:mi mathvariant="italic">λ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col8"><inline-formula><mml:math id="M92" display="inline"><mml:mrow><mml:mi mathvariant="italic">η</mml:mi><mml:mo>/</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col9"><inline-formula><mml:math id="M93" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col10"><inline-formula><mml:math id="M94" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mi>S</mml:mi></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col11"><inline-formula><mml:math id="M95" display="inline"><mml:mi>F</mml:mi></mml:math></inline-formula></oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M96" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">128</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">143</oasis:entry>
         <oasis:entry colname="col3">0.664</oasis:entry>
         <oasis:entry colname="col4">0.969</oasis:entry>
         <oasis:entry colname="col5">1.42</oasis:entry>
         <oasis:entry colname="col6">0.577</oasis:entry>
         <oasis:entry colname="col7">79.9</oasis:entry>
         <oasis:entry colname="col8">0.0328</oasis:entry>
         <oasis:entry colname="col9">2.10</oasis:entry>
         <oasis:entry colname="col10">0.482</oasis:entry>
         <oasis:entry colname="col11">4.82</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">256</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">360</oasis:entry>
         <oasis:entry colname="col3">0.649</oasis:entry>
         <oasis:entry colname="col4">1.00</oasis:entry>
         <oasis:entry colname="col5">1.37</oasis:entry>
         <oasis:entry colname="col6">0.358</oasis:entry>
         <oasis:entry colname="col7">129</oasis:entry>
         <oasis:entry colname="col8">0.0160</oasis:entry>
         <oasis:entry colname="col9">2.05</oasis:entry>
         <oasis:entry colname="col10">0.488</oasis:entry>
         <oasis:entry colname="col11">5.45</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M98" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">512</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">907</oasis:entry>
         <oasis:entry colname="col3">0.685</oasis:entry>
         <oasis:entry colname="col4">1.03</oasis:entry>
         <oasis:entry colname="col5">1.25</oasis:entry>
         <oasis:entry colname="col6">0.223</oasis:entry>
         <oasis:entry colname="col7">208</oasis:entry>
         <oasis:entry colname="col8">0.00783</oasis:entry>
         <oasis:entry colname="col9">2.01</oasis:entry>
         <oasis:entry colname="col10">0.564</oasis:entry>
         <oasis:entry colname="col11">6.58</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">1024</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">2220</oasis:entry>
         <oasis:entry colname="col3">0.660</oasis:entry>
         <oasis:entry colname="col4">1.00</oasis:entry>
         <oasis:entry colname="col5">1.12</oasis:entry>
         <oasis:entry colname="col6">0.149</oasis:entry>
         <oasis:entry colname="col7">333</oasis:entry>
         <oasis:entry colname="col8">0.00416</oasis:entry>
         <oasis:entry colname="col9">2.13</oasis:entry>
         <oasis:entry colname="col10">0.570</oasis:entry>
         <oasis:entry colname="col11">7.47</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">2048</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">5590</oasis:entry>
         <oasis:entry colname="col3">0.650</oasis:entry>
         <oasis:entry colname="col4">0.995</oasis:entry>
         <oasis:entry colname="col5">1.27</oasis:entry>
         <oasis:entry colname="col6">0.0961</oasis:entry>
         <oasis:entry colname="col7">535</oasis:entry>
         <oasis:entry colname="col8">0.00211</oasis:entry>
         <oasis:entry colname="col9">2.16</oasis:entry>
         <oasis:entry colname="col10">0.604</oasis:entry>
         <oasis:entry colname="col11">9.02</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<fig id="F1" specific-use="star"><label>Figure 1</label><caption><p id="d2e2625">Energy spectra <inline-formula><mml:math id="M101" display="inline"><mml:mrow><mml:mi>E</mml:mi><mml:mo>(</mml:mo><mml:mi>k</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> normalized by the Kolmogorov energy-spectrum scale <inline-formula><mml:math id="M102" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ε</mml:mi><mml:msup><mml:mi mathvariant="italic">ν</mml:mi><mml:mn mathvariant="normal">5</mml:mn></mml:msup><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> as a function of the normalized wavenumber <inline-formula><mml:math id="M103" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:math></inline-formula>. Results are shown for resolutions <inline-formula><mml:math id="M104" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">128</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> through <inline-formula><mml:math id="M105" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">2048</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M106" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:msub><mml:mi>e</mml:mi><mml:mi mathvariant="italic">λ</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">79.9</mml:mn></mml:mrow></mml:math></inline-formula>–<inline-formula><mml:math id="M107" display="inline"><mml:mn mathvariant="normal">535</mml:mn></mml:math></inline-formula>). The  solid black line indicates the Kolmogorov <inline-formula><mml:math id="M108" display="inline"><mml:mrow><mml:msup><mml:mi>k</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">5</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> scaling.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/11373/2026/gmd-19-11373-2026-f01.png"/>

          </fig>

      <p id="d2e2755">Figure <xref ref-type="fig" rid="F1"/> shows kinetic energy spectra <inline-formula><mml:math id="M109" display="inline"><mml:mrow><mml:mi>E</mml:mi><mml:mo>(</mml:mo><mml:mi>k</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, defined as <inline-formula><mml:math id="M110" display="inline"><mml:mrow><mml:mi>E</mml:mi><mml:mo>(</mml:mo><mml:mi>k</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:msubsup><mml:mo>∑</mml:mo><mml:mi>k</mml:mi><mml:mo>′</mml:mo></mml:msubsup><mml:mo>|</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">k</mml:mi><mml:mo>)</mml:mo><mml:msup><mml:mo>|</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M111" display="inline"><mml:mover accent="true"><mml:mi mathvariant="bold-italic">U</mml:mi><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover></mml:math></inline-formula> denotes the Fourier-transformed velocity field, <inline-formula><mml:math id="M112" display="inline"><mml:mrow><mml:msubsup><mml:mo>∑</mml:mo><mml:mi>k</mml:mi><mml:mo>′</mml:mo></mml:msubsup><mml:mo>≡</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mi mathvariant="italic">π</mml:mi><mml:msup><mml:mi>k</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>≤</mml:mo><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">k</mml:mi><mml:mo>|</mml:mo><mml:mo>&lt;</mml:mo><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M113" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the number of wavevectors <inline-formula><mml:math id="M114" display="inline"><mml:mi mathvariant="bold-italic">k</mml:mi></mml:math></inline-formula> satisfying <inline-formula><mml:math id="M115" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>≤</mml:mo><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">k</mml:mi><mml:mo>|</mml:mo><mml:mo>&lt;</mml:mo><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>. The factor <inline-formula><mml:math id="M116" display="inline"><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mi mathvariant="italic">π</mml:mi><mml:msup><mml:mi>k</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>/</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is a discrete mode-count correction that converts the shell average to the corresponding continuum spherical-shell measure, rather than a smoothing operation. For the largest case with <inline-formula><mml:math id="M117" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:msub><mml:mi>e</mml:mi><mml:mi mathvariant="italic">λ</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">535</mml:mn></mml:mrow></mml:math></inline-formula>, an inertial subrange spanning approximately one decade is observed, demonstrating that the energy cascade is properly captured. This confirmed that LCS.jl correctly reproduced turbulence statistics, validating the fluid solver implementation.</p>
</sec>
<sec id="Ch1.S3.SS1.SSS2">
  <label>3.1.2</label><title>Particle Phase</title>
      <p id="d2e3003">Figure <xref ref-type="fig" rid="F2"/> shows the RDF at contact <inline-formula><mml:math id="M118" display="inline"><mml:mrow><mml:mi>g</mml:mi><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mi>R</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> as a function of the Stokes number <inline-formula><mml:math id="M119" display="inline"><mml:mrow><mml:mi>S</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M120" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:msub><mml:mi>e</mml:mi><mml:mi mathvariant="italic">λ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The RDF is defined as the ratio of the observed particle-pair density at separation <inline-formula><mml:math id="M121" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula> to that for a spatially uniform particle distribution. Here, <inline-formula><mml:math id="M122" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula> is the pair separation and <inline-formula><mml:math id="M123" display="inline"><mml:mi>R</mml:mi></mml:math></inline-formula> is the contact separation; for the monodisperse cases, <inline-formula><mml:math id="M124" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:mo>=</mml:mo><mml:mi>d</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mi>a</mml:mi></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M125" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula> is the particle diameter. The Stokes number is <inline-formula><mml:math id="M126" display="inline"><mml:mrow><mml:mi>S</mml:mi><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">τ</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi mathvariant="italic">τ</mml:mi><mml:mi mathvariant="italic">η</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. For all validation cases, <inline-formula><mml:math id="M127" display="inline"><mml:mrow><mml:mi>a</mml:mi><mml:mo>/</mml:mo><mml:mi mathvariant="italic">η</mml:mi><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">0.21</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M128" display="inline"><mml:mrow><mml:mi>d</mml:mi><mml:mo>/</mml:mo><mml:mi mathvariant="italic">η</mml:mi><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">0.42</mml:mn></mml:mrow></mml:math></inline-formula>, so the particle diameter remains below the Kolmogorov length scale. The quantity <inline-formula><mml:math id="M129" display="inline"><mml:mrow><mml:mi>g</mml:mi><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mi>R</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> quantifies clustering intensity, with unity corresponding to a uniform distribution, and is used in cloud-microphysics collision kernels. The results agreed well with the prior study <xref ref-type="bibr" rid="bib1.bibx14" id="paren.29"/> across all <inline-formula><mml:math id="M130" display="inline"><mml:mrow><mml:mi>S</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M131" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:msub><mml:mi>e</mml:mi><mml:mi mathvariant="italic">λ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> conditions. The solid curves are the empirical RDF parameterization from that study. The differences between the parameterization and the DNS results at larger <inline-formula><mml:math id="M132" display="inline"><mml:mrow><mml:mi>S</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> reflect the approximation inherent in the parameterization. The non-monotonic dependence on <inline-formula><mml:math id="M133" display="inline"><mml:mrow><mml:mi>S</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> is consistent with the change in the dominant clustering response with inertia: clustering strengthens as the particle response time becomes comparable to the dissipative turbulent timescale and weakens again as larger-inertia particles respond less strongly to the smallest turbulent scales. This confirmed that LCS.jl quantitatively reproduced the <inline-formula><mml:math id="M134" display="inline"><mml:mrow><mml:mi>S</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M135" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:msub><mml:mi>e</mml:mi><mml:mi mathvariant="italic">λ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> dependence of particle clustering in turbulence, validating the particle tracking implementation.</p>

      <fig id="F2" specific-use="star"><label>Figure 2</label><caption><p id="d2e3243">Radial distribution function (RDF) at contact <inline-formula><mml:math id="M136" display="inline"><mml:mrow><mml:mi>g</mml:mi><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mi>R</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> as a function of the Taylor-microscale Reynolds number <inline-formula><mml:math id="M137" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:msub><mml:mi>e</mml:mi><mml:mi mathvariant="italic">λ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Crosses denote the present results; open circles denote the corresponding reference results of <xref ref-type="bibr" rid="bib1.bibx14" id="text.30"/> for <inline-formula><mml:math id="M138" display="inline"><mml:mrow><mml:mi>S</mml:mi><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.4</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M139" display="inline"><mml:mn mathvariant="normal">0.6</mml:mn></mml:math></inline-formula>, <inline-formula><mml:math id="M140" display="inline"><mml:mn mathvariant="normal">1.0</mml:mn></mml:math></inline-formula>, and <inline-formula><mml:math id="M141" display="inline"><mml:mn mathvariant="normal">2.0</mml:mn></mml:math></inline-formula>. Solid lines denote the RDF parameterization of <xref ref-type="bibr" rid="bib1.bibx14" id="text.31"/>. Colors indicate the Stokes number <inline-formula><mml:math id="M142" display="inline"><mml:mrow><mml:mi>S</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/11373/2026/gmd-19-11373-2026-f02.png"/>

          </fig>

</sec>
</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Computational Performance</title>
      <p id="d2e3344">The primary performance measurements were conducted on TSUBAME4.0 at the Institute of Science Tokyo. Table <xref ref-type="table" rid="T2"/> shows the node configuration.</p>

<table-wrap id="T2" specific-use="star"><label>Table 2</label><caption><p id="d2e3352">TSUBAME4.0 node configuration.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="2">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Component</oasis:entry>
         <oasis:entry colname="col2">Specification</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">CPU</oasis:entry>
         <oasis:entry colname="col2">AMD EPYC 9654 2.4 GHz <inline-formula><mml:math id="M143" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 2 sockets</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Physical CPU cores</oasis:entry>
         <oasis:entry colname="col2">96 cores per socket; 192 cores per node</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Simultaneous multithreading</oasis:entry>
         <oasis:entry colname="col2">Not used in reported CPU measurements</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Memory</oasis:entry>
         <oasis:entry colname="col2">768 GiB (DDR5-4800)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">GPU</oasis:entry>
         <oasis:entry colname="col2">NVIDIA H100 SXM5 94 GB HBM2e <inline-formula><mml:math id="M144" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 4</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">CPU–GPU interconnect</oasis:entry>
         <oasis:entry colname="col2">PCIe Gen5 <inline-formula><mml:math id="M145" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula>16 (64 GB s<sup>−1</sup> one-way)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">SSD</oasis:entry>
         <oasis:entry colname="col2">1.92 TB NVMe U.2 SSD</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Network interconnect</oasis:entry>
         <oasis:entry colname="col2">InfiniBand NDR200 200 Gbps <inline-formula><mml:math id="M147" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 4</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>


<sec id="Ch1.S3.SS2.SSS1">
  <label>3.2.1</label><title>Performance Measurement Procedure</title>
      <p id="d2e3502">Unless otherwise noted, computational performance is reported as the wall-clock time per complete time-integration step, including the fluid update, particle update, inter-process communication, and other operations executed within the time-stepping loop; initialization, JIT compilation, and output are excluded. For distributed-memory calculations, the time for each step is taken as the maximum wall-clock time over all MPI processes.</p>
      <p id="d2e3505">Warm-up steps were excluded before averaging the execution times. For the scaling and optimization measurements, CPU and single-GPU benchmarks used 100 warm-up steps, whereas multi-GPU benchmarks on TSUBAME4.0 used 1000 warm-up steps. The reported execution time was obtained by averaging the subsequent measured steps.</p>
      <p id="d2e3508">Measurement stability was assessed using two criteria: the relative difference between the mean execution times in the first and second halves of the measurement window, and the temporal trend in execution time, quantified as the relative change per 100 time steps. Both quantities were required to be no greater than 3 %. Only measurement windows satisfying both criteria were used for the reported timings.</p>
</sec>
<sec id="Ch1.S3.SS2.SSS2">
  <label>3.2.2</label><title>Halo Communication Optimization</title>
      <p id="d2e3519">Figure <xref ref-type="fig" rid="F3"/> shows the wall-time reduction produced by the halo communication optimizations as a function of the number of GPUs. Measurements were performed for grid size <inline-formula><mml:math id="M148" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">1500</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and particle count <inline-formula><mml:math id="M149" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">750</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, ranging from 8 to 64 GPUs. Time-blocking alone improved the wall-clock time by approximately 1.6 %–6.6 %. The reduction in halo exchanges is partly offset by the additional computation performed in the enlarged halo region, which limits the gain from time-blocking alone. Combining time-blocking with communication–computation overlap was the fastest configuration at every tested GPU count, improving the wall-clock time by approximately 5.6 %–10 % relative to the unoptimized case. These results confirmed the performance improvement obtained by communication optimization.</p>

      <fig id="F3" specific-use="star"><label>Figure 3</label><caption><p id="d2e3548">Wall-time reduction relative to the unoptimized baseline as a function of the number of GPUs (<inline-formula><mml:math id="M150" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">1500</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M151" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">750</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>) for three halo communication optimizations: communication–computation overlap, time-blocking, and their combination. The reduction is defined as <inline-formula><mml:math id="M152" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">opt</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">base</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>×</mml:mo><mml:mn mathvariant="normal">100</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="italic">%</mml:mi></mml:mrow></mml:math></inline-formula>.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/11373/2026/gmd-19-11373-2026-f03.png"/>

          </fig>

</sec>
<sec id="Ch1.S3.SS2.SSS3">
  <label>3.2.3</label><title>Particle Communication Optimization Based on Prefix Scan</title>
      <p id="d2e3634">Table <xref ref-type="table" rid="T3"/> shows the particle communication cost for two implementations: the GPU-side prefix-scan implementation and the CPU-delegated sequential implementation, whose cost was estimated as described below. In the latter, packing and unpacking of particle data were performed sequentially on the CPU and required the associated host–device transfers. The measurement conditions were grid size <inline-formula><mml:math id="M153" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">1500</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, particle count <inline-formula><mml:math id="M154" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">750</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, and 8 GPUs. The particle arrays consisted of velocity fields and positions for the RK2 stages (2 each), velocity time derivatives (1), particle IDs, and particle diameters (1 each). Since vector quantities had 3 components, the total number of Float64 arrays was <inline-formula><mml:math id="M155" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo><mml:mo>×</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>=</mml:mo><mml:mn mathvariant="normal">17</mml:mn></mml:mrow></mml:math></inline-formula>. The number of particles per rank was <inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:msubsup><mml:mi>N</mml:mi><mml:mi mathvariant="normal">p</mml:mi><mml:mi mathvariant="normal">rank</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">750</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>/</mml:mo><mml:mn mathvariant="normal">8</mml:mn><mml:mo>≈</mml:mo><mml:mn mathvariant="normal">5.3</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">7</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, and the data transfer volume was

              <disp-formula id="Ch1.E10" content-type="numbered"><label>10</label><mml:math id="M157" display="block"><mml:mrow><mml:mn mathvariant="normal">17</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">8</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">B</mml:mi><mml:mo>×</mml:mo><mml:mn mathvariant="normal">5.3</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">7</mml:mn></mml:msup><mml:mo>≈</mml:mo><mml:mn mathvariant="normal">7.2</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">GB</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

            Using the PCIe Gen5 <inline-formula><mml:math id="M158" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula>16 one-way bandwidth of 64 GB s<sup>−1</sup> on TSUBAME4.0, the estimated transfer time for each of D2H (device-to-host) and H2D (host-to-device) is

              <disp-formula id="Ch1.E11" content-type="numbered"><label>11</label><mml:math id="M160" display="block"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="normal">H</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi mathvariant="normal">H</mml:mi><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="normal">D</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">7.2</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">GB</mml:mi><mml:mo>/</mml:mo><mml:mn mathvariant="normal">64</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mrow class="unit"><mml:mi mathvariant="normal">GB</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo>≈</mml:mo><mml:mn mathvariant="normal">113</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">ms</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

            Sequential packing on the CPU was limited by the single-core memory bandwidth. The single-core memory bandwidth was measured using the STREAM Triad benchmark <xref ref-type="bibr" rid="bib1.bibx12" id="paren.32"/> and confirmed to be approximately 41 GB s<sup>−1</sup>. The estimated cost for each of packing and unpacking was

              <disp-formula id="Ch1.E12" content-type="numbered"><label>12</label><mml:math id="M162" display="block"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">pack</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">unpack</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">7.2</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">GB</mml:mi><mml:mo>/</mml:mo><mml:mn mathvariant="normal">41</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mrow class="unit"><mml:mi mathvariant="normal">GB</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo>≈</mml:mo><mml:mn mathvariant="normal">176</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">ms</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

            Unlike the CPU-delegated sequential implementation, the GPU-side prefix-scan implementation does not require D2H<inline-formula><mml:math id="M163" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula>H2D transfers of the full particle arrays. The measured packing and unpacking times were 12 and 60 ms, respectively. The communication cost per RK2 stage in the GPU-side prefix-scan implementation was <inline-formula><mml:math id="M164" display="inline"><mml:mrow><mml:mn mathvariant="normal">12</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">ms</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">60</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">ms</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">72</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">ms</mml:mi></mml:mrow></mml:math></inline-formula>, compared with the estimated <inline-formula><mml:math id="M165" display="inline"><mml:mrow><mml:mn mathvariant="normal">578</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">ms</mml:mi></mml:mrow></mml:math></inline-formula> for the CPU-delegated sequential implementation, <inline-formula><mml:math id="M166" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">113</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">ms</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">176</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">ms</mml:mi><mml:mo>)</mml:mo><mml:mo>×</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>. This corresponds to an approximately 88 % reduction, <inline-formula><mml:math id="M167" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">578</mml:mn><mml:mo>-</mml:mo><mml:mn mathvariant="normal">72</mml:mn><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:mn mathvariant="normal">578</mml:mn><mml:mo>≈</mml:mo><mml:mn mathvariant="normal">0.88</mml:mn></mml:mrow></mml:math></inline-formula>. Under the same 8-GPU benchmark condition, the measured wall-clock time per complete time-integration step was 1.141 s. The estimated CPU-delegated particle communication cost for the two RK2 stages alone was 1.156 s, comparable to the entire measured step time of the GPU-side implementation. This comparison is limited to the sequential CPU-delegated implementation considered here. Parallel CPU-side packing and unpacking, for example using the backend-independent prefix-scan formulation, could reduce the CPU processing cost, whereas full-array D2H and H2D transfers would remain necessary. Other parallel packing strategies, such as atomic-based packing, were not evaluated in the present study.</p>
      <p id="d2e4022">This reduction therefore removes a major communication bottleneck and enables effective utilization of GPU performance in large-scale multiphase flow simulations.</p>

<table-wrap id="T3" specific-use="star"><label>Table 3</label><caption><p id="d2e4028">Particle communication cost per RK2 stage for the GPU-side prefix-scan (measured) and CPU-delegated sequential (estimated) implementations (<inline-formula><mml:math id="M168" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">1500</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M169" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">750</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, 8 GPUs). MPI communication cost is equivalent in both implementations (<inline-formula><mml:math id="M170" display="inline"><mml:mo lspace="0mm">&lt;</mml:mo></mml:math></inline-formula>1 ms per direction) and is omitted. The CPU-delegated estimates use PCIe Gen5 <inline-formula><mml:math id="M171" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula>16 one-way bandwidth <inline-formula><mml:math id="M172" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">64</mml:mn></mml:mrow></mml:math></inline-formula> GB s<sup>−1</sup> and EPYC 9654 single-core bandwidth <inline-formula><mml:math id="M174" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">41</mml:mn></mml:mrow></mml:math></inline-formula> GB s<sup>−1</sup>.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="3">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:thead>
       <oasis:row>
         <oasis:entry colname="col1">Phase</oasis:entry>
         <oasis:entry colname="col2">GPU-side prefix-scan</oasis:entry>
         <oasis:entry colname="col3">CPU-delegated sequential</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">(measured)</oasis:entry>
         <oasis:entry colname="col3">(estimated)</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">D2H transfer (full particle arrays)</oasis:entry>
         <oasis:entry colname="col2">–</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M176" display="inline"><mml:mo>∼</mml:mo></mml:math></inline-formula> 113 ms</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Packing</oasis:entry>
         <oasis:entry colname="col2">12 ms</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M177" display="inline"><mml:mo>∼</mml:mo></mml:math></inline-formula> 176 ms</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Unpacking</oasis:entry>
         <oasis:entry colname="col2">60 ms</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M178" display="inline"><mml:mo>∼</mml:mo></mml:math></inline-formula> 176 ms</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">H2D transfer (full particle arrays)</oasis:entry>
         <oasis:entry colname="col2">–</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M179" display="inline"><mml:mo>∼</mml:mo></mml:math></inline-formula> 113 ms</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Total (per stage)</oasis:entry>
         <oasis:entry colname="col2">72 ms</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M180" display="inline"><mml:mo>∼</mml:mo></mml:math></inline-formula> 578 ms</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>


</sec>
<sec id="Ch1.S3.SS2.SSS4">
  <label>3.2.4</label><title>Julia vs Fortran Comparison</title>
      <p id="d2e4266">Figure <xref ref-type="fig" rid="F4"/> shows the mean wall time per time-integration step as a function of the number of CPU cores for LCS.jl (Julia) and the original LCS (Fortran) implementation. Computations were performed with grid size <inline-formula><mml:math id="M181" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">384</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and particle count <inline-formula><mml:math id="M182" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">192</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, with identical computational settings in both implementations.</p>

      <fig id="F4" specific-use="star"><label>Figure 4</label><caption><p id="d2e4309">Mean wall time per time-integration step as a function of the number of CPU cores for LCS.jl (Julia) and the original LCS (Fortran) implementation (<inline-formula><mml:math id="M183" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">384</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M184" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">192</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>). One MPI process was assigned to each physical CPU core.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/11373/2026/gmd-19-11373-2026-f04.png"/>

          </fig>

      <p id="d2e4354">At 1, 2, and 4 CPU cores, LCS.jl showed execution times approximately 8 %–11 % longer than the Fortran implementation. At 8 CPU cores, the two implementations exhibited comparable execution times, with a difference of approximately 1 %.</p>
      <p id="d2e4358">LCS.jl uses identical kernel code for both CPU and GPU execution. The Fortran implementation applies CPU-specific loop transformations, such as variable precomputation and loop fusion. In a single kernel targeting both CPU and GPU execution, constraints on inter-thread data sharing limit the extent to which equivalent optimizations can be applied. At small core counts, communication accounts for only a small fraction of the total execution time, making these differences in computational performance more visible, as reflected in the 8 %–11 % gap observed at 1–4 CPU cores. As the core count increases, communication accounts for a larger fraction of the total execution time, reducing the influence of single-core computational performance on the overall wall time and narrowing the gap to approximately 1 % at 8 CPU cores. Further CPU-specific tuning may improve CPU performance, at the cost of additional architecture-specific implementation complexity.</p>
      <p id="d2e4361">These results confirmed that LCS.jl achieves CPU performance comparable to the Fortran implementation over the tested range of CPU cores while retaining a single-source and multi-platform design.</p>
</sec>
<sec id="Ch1.S3.SS2.SSS5">
  <label>3.2.5</label><title>Scaling</title>
      <p id="d2e4372">Scaling measurements were performed on TSUBAME4.0 using up to 64 nodes. The number of particles was fixed at one eighth of the number of grid points; for example, <inline-formula><mml:math id="M185" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">750</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> grid points were paired with <inline-formula><mml:math id="M186" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">375</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> particles. This particle load lies within the range of approximately 0.1–10 particles per grid point used in typical cloud microphysics computations. Performance evaluation was conducted independently of physical statistical analysis. To isolate scaling performance from physical transients, the number of HSMAC iterations was fixed at 6, which is the typical value observed at statistically steady state. The common timing and stability-assessment procedure is described in Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSS1"/>.</p>
      <p id="d2e4399">For GPU scaling, one MPI process was assigned to each GPU. For inter-node CPU scaling, one MPI process was assigned to each CPU socket and 96 Julia threads were used per process, with one Julia thread per physical CPU core and simultaneous multithreading disabled. However, assigning one process with 96 threads to each CPU socket was not optimal. To determine the process–thread balance, performance measurements were conducted with the total number of physical CPU cores fixed at 384 on two nodes, using <inline-formula><mml:math id="M187" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">1500</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> grids and <inline-formula><mml:math id="M188" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">750</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> particles, while the number of threads per process was varied. A maximum speedup of <inline-formula><mml:math id="M189" display="inline"><mml:mrow><mml:mn mathvariant="normal">2.18</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></inline-formula> was achieved with four Julia threads per process relative to the one-process-per-socket configuration with 96 threads per process. This measured factor is used below to estimate the effective CPU performance in the GPU–CPU comparison.</p>
      <p id="d2e4448">The JIT-related first-step overhead was also evaluated separately from the steady-state timings. Let <inline-formula><mml:math id="M190" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">first</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denote the wall-clock time of the first complete time-integration step and <inline-formula><mml:math id="M191" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">prod</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> the production execution time per step; the first-step overhead is <inline-formula><mml:math id="M192" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">first</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">prod</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. This timing excludes process creation and MPI-launcher startup. The measured overhead was 4.6–5.8 s for the multi-process CPU cases and 12.0–13.4 s for the GPU strong-scaling cases, with approximately constant overhead from 8 to 256 GPUs.</p>
      <p id="d2e4491">To characterize CPU scaling from a single core to a full node, Fig. <xref ref-type="fig" rid="F5"/> shows fixed-size intra-node CPU strong scaling using 1–192 physical CPU cores on one TSUBAME4.0 node. One MPI process was assigned to each physical CPU core, with simultaneous multithreading disabled. From one to 192 physical CPU cores, the wall time decreased from 29.14 to 0.4222 s, corresponding to a speedup of <inline-formula><mml:math id="M193" display="inline"><mml:mrow><mml:mn mathvariant="normal">29.14</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">0.4222</mml:mn><mml:mo>=</mml:mo><mml:mn mathvariant="normal">69.0</mml:mn></mml:mrow></mml:math></inline-formula>. The scaling behavior showed step-like variations, with nearly linear local scaling over several ranges, including 8–32 and 96–192 cores. Despite these variations, the wall time continued to decrease up to the full-node configuration of 192 cores.</p>

      <fig id="F5" specific-use="star"><label>Figure 5</label><caption><p id="d2e4519">Fixed-size intra-node CPU strong scaling on one TSUBAME4.0 node, with one MPI process per physical CPU core and no simultaneous multithreading. The solid line with circles shows the measured wall time, and the dashed line indicates ideal strong scaling from the one-core result.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/11373/2026/gmd-19-11373-2026-f05.png"/>

          </fig>

      <p id="d2e4528">Figure <xref ref-type="fig" rid="F6"/> shows strong scaling results for GPU and CPU execution. Total problem sizes of <inline-formula><mml:math id="M194" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">1500</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> grids with <inline-formula><mml:math id="M195" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">750</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> particles and <inline-formula><mml:math id="M196" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">3000</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> grids with <inline-formula><mml:math id="M197" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">1500</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> particles were used. Since each TSUBAME4.0 node has four GPUs and two CPU sockets, scaling was measured up to 256 GPUs and 128 CPU sockets under the 64-node limit. Strong-scaling efficiency is defined as

              <disp-formula id="Ch1.E13" content-type="numbered"><label>13</label><mml:math id="M198" display="block"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>P</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow><mml:mi>P</mml:mi></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            where <inline-formula><mml:math id="M199" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M200" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> denote the execution time and resource count of the baseline point, and <inline-formula><mml:math id="M201" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>P</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the execution time at resource count <inline-formula><mml:math id="M202" display="inline"><mml:mi>P</mml:mi></mml:math></inline-formula>. The baseline resource counts were 8 GPUs and 4 CPU sockets for <inline-formula><mml:math id="M203" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">1500</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, and 64 GPUs and 32 CPU sockets for <inline-formula><mml:math id="M204" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">3000</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. Here, the resource count denotes the number of GPUs for the GPU series and the number of CPU sockets for the CPU series. For the GPU series, the strong-scaling efficiency at 256 GPUs relative to 64 GPUs was <inline-formula><mml:math id="M205" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1.188</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">0.4261</mml:mn><mml:mo>)</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">64</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">256</mml:mn><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.697</mml:mn></mml:mrow></mml:math></inline-formula>, or 69.7 %. For the CPU series, the corresponding efficiency at 128 CPU sockets relative to 32 CPU sockets was <inline-formula><mml:math id="M206" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">35.57</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">13.61</mml:mn><mml:mo>)</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">32</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">128</mml:mn><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.653</mml:mn></mml:mrow></mml:math></inline-formula>, or 65.3 %. Figure <xref ref-type="fig" rid="F6"/> confirms that strong-scaling efficiency was 69.7 % for GPUs (up to 256 GPUs) and 65.3 % for the CPU series (up to 128 CPU sockets).</p>
      <p id="d2e4800">Figure <xref ref-type="fig" rid="F7"/> shows weak scaling results for GPU and CPU execution. For weak scaling, the problem size per resource was fixed at <inline-formula><mml:math id="M207" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">750</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> grid points and <inline-formula><mml:math id="M208" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">375</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> particles. The plotted distributed-memory series start at 8 resources, the smallest tested configuration involving inter-node communication in both the CPU and GPU series. Weak-scaling efficiency is defined relative to the 8-resource baseline as

              <disp-formula id="Ch1.E14" content-type="numbered"><label>14</label><mml:math id="M209" display="block"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">8</mml:mn></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>P</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            where <inline-formula><mml:math id="M210" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">8</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is the execution time at 8 resources and <inline-formula><mml:math id="M211" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>P</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the execution time at resource count <inline-formula><mml:math id="M212" display="inline"><mml:mi>P</mml:mi></mml:math></inline-formula>. For the GPU series, the weak-scaling efficiency at 216 GPUs was <inline-formula><mml:math id="M213" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.141</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">1.435</mml:mn><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.795</mml:mn></mml:mrow></mml:math></inline-formula>, or 79.5 %. For the CPU series, the efficiency at 125 CPU sockets was <inline-formula><mml:math id="M214" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">21.21</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">21.78</mml:mn><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.974</mml:mn></mml:mrow></mml:math></inline-formula>, or 97.4 %. Figure <xref ref-type="fig" rid="F7"/> confirms that weak-scaling efficiency was 79.5 % for GPUs (up to 216 GPUs) and 97.4 % for the CPU series (up to 125 CPU sockets).</p>

      <fig id="F6" specific-use="star"><label>Figure 6</label><caption><p id="d2e4950">Wall-clock time per time-integration step as a function of resource count for fixed total problem sizes. <bold>(a)</bold> Number of GPUs for GPU execution; <bold>(b)</bold> number of CPU sockets for CPU execution. The dashed black lines indicate ideal strong scaling from the smallest resource count of each problem-size series.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/11373/2026/gmd-19-11373-2026-f06.png"/>

          </fig>

      <fig id="F7" specific-use="star"><label>Figure 7</label><caption><p id="d2e4967">Wall-clock time per time-integration step for weak scaling with a fixed problem size per resource. <bold>(a)</bold> Number of GPUs for GPU execution; <bold>(b)</bold> number of CPU sockets for CPU execution. The plotted distributed-memory series start at eight resources, and the dashed black horizontal lines indicate ideal weak scaling based on the eight-resource result.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/11373/2026/gmd-19-11373-2026-f07.png"/>

          </fig>

</sec>
<sec id="Ch1.S3.SS2.SSS6">
  <label>3.2.6</label><title>GPU and CPU Performance Comparison</title>
      <p id="d2e4990">Table <xref ref-type="table" rid="T4"/> shows the performance comparison between GPU and CPU execution using the same number of nodes on TSUBAME4.0. Since each TSUBAME4.0 node has four GPUs and two CPU sockets, the numbers of GPUs and CPU sockets differ. Because the process and thread balance optimization was not applied during the inter-node CPU scaling experiments, the CPU execution time was estimated by dividing the measured CPU time by the measured process–thread speedup of 2.18 (Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSS5"/>).</p>
      <p id="d2e4997">LCS.jl achieved a maximum estimated speedup of approximately <inline-formula><mml:math id="M215" display="inline"><mml:mrow><mml:mn mathvariant="normal">16.3</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></inline-formula> on GPUs over CPUs. This demonstrated that the single-source and multi-platform design can achieve an acceleration ratio comparable to GPU-dedicated implementations.</p>

<table-wrap id="T4" specific-use="star"><label>Table 4</label><caption><p id="d2e5013">Wall-clock time per time-integration step for GPU and CPU execution on the same number of nodes on TSUBAME4.0. CPU execution times are estimates obtained by dividing the measured CPU times by the measured process–thread speedup of 2.18 (see Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSS5"/>).</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="8">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:colspec colnum="5" colname="col5" align="right"/>
     <oasis:colspec colnum="6" colname="col6" align="right"/>
     <oasis:colspec colnum="7" colname="col7" align="right"/>
     <oasis:colspec colnum="8" colname="col8" align="right"/>
     <oasis:thead>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M216" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M217" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">Nodes</oasis:entry>
         <oasis:entry colname="col4">GPUs</oasis:entry>
         <oasis:entry colname="col5">GPU Time</oasis:entry>
         <oasis:entry colname="col6">CPU</oasis:entry>
         <oasis:entry colname="col7">CPU Time  (s)</oasis:entry>
         <oasis:entry colname="col8">Speedup</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
         <oasis:entry colname="col5">(s)</oasis:entry>
         <oasis:entry colname="col6">Sockets</oasis:entry>
         <oasis:entry colname="col7">(Estimated)</oasis:entry>
         <oasis:entry colname="col8"/>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M218" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">1500</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M219" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">750</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">2</oasis:entry>
         <oasis:entry colname="col4">8</oasis:entry>
         <oasis:entry colname="col5">1.14</oasis:entry>
         <oasis:entry colname="col6">4</oasis:entry>
         <oasis:entry colname="col7">14.2</oasis:entry>
         <oasis:entry colname="col8"><inline-formula><mml:math id="M220" display="inline"><mml:mrow><mml:mn mathvariant="normal">12.4</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M221" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">1500</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M222" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">750</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">4</oasis:entry>
         <oasis:entry colname="col4">16</oasis:entry>
         <oasis:entry colname="col5">0.598</oasis:entry>
         <oasis:entry colname="col6">8</oasis:entry>
         <oasis:entry colname="col7">9.71</oasis:entry>
         <oasis:entry colname="col8"><inline-formula><mml:math id="M223" display="inline"><mml:mrow><mml:mn mathvariant="normal">16.3</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M224" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">1500</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M225" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">750</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">8</oasis:entry>
         <oasis:entry colname="col4">32</oasis:entry>
         <oasis:entry colname="col5">0.386</oasis:entry>
         <oasis:entry colname="col6">16</oasis:entry>
         <oasis:entry colname="col7">5.81</oasis:entry>
         <oasis:entry colname="col8"><inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:mn mathvariant="normal">15.1</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M227" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">3000</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M228" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">1500</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">16</oasis:entry>
         <oasis:entry colname="col4">64</oasis:entry>
         <oasis:entry colname="col5">1.19</oasis:entry>
         <oasis:entry colname="col6">32</oasis:entry>
         <oasis:entry colname="col7">16.3</oasis:entry>
         <oasis:entry colname="col8"><inline-formula><mml:math id="M229" display="inline"><mml:mrow><mml:mn mathvariant="normal">13.7</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M230" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">3000</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M231" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">1500</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">32</oasis:entry>
         <oasis:entry colname="col4">128</oasis:entry>
         <oasis:entry colname="col5">0.634</oasis:entry>
         <oasis:entry colname="col6">64</oasis:entry>
         <oasis:entry colname="col7">9.93</oasis:entry>
         <oasis:entry colname="col8"><inline-formula><mml:math id="M232" display="inline"><mml:mrow><mml:mn mathvariant="normal">15.7</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M233" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">3000</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M234" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">1500</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">64</oasis:entry>
         <oasis:entry colname="col4">256</oasis:entry>
         <oasis:entry colname="col5">0.426</oasis:entry>
         <oasis:entry colname="col6">128</oasis:entry>
         <oasis:entry colname="col7">6.23</oasis:entry>
         <oasis:entry colname="col8"><inline-formula><mml:math id="M235" display="inline"><mml:mrow><mml:mn mathvariant="normal">14.6</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</sec>
<sec id="Ch1.S3.SS2.SSS7">
  <label>3.2.7</label><title>GPU Architecture Portability</title>
      <p id="d2e5449">Table <xref ref-type="table" rid="T5"/> shows the wall-clock time per time-integration step for LCS.jl using the CUDA backend on an NVIDIA RTX A6000 and the AMDGPU backend on an AMD Radeon RX 9070 XT. The two GPUs were selected in part because their nominal memory bandwidths are comparable. The execution times on the two GPU platforms remained of the same order, with the AMD GPU results approximately 1.2–1.5 times those on the NVIDIA GPU. These results support the performance portability of LCS.jl across different GPU architectures while retaining a single-source implementation.</p>

<table-wrap id="T5" specific-use="star"><label>Table 5</label><caption><p id="d2e5457">Wall-clock time per time-integration step on an NVIDIA RTX A6000 using the CUDA backend and an AMD Radeon RX 9070 XT using the AMDGPU backend, with grid size <inline-formula><mml:math id="M236" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M237" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mi>N</mml:mi><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:msup><mml:mo>)</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> particles.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:thead>
       <oasis:row>
         <oasis:entry colname="col1">Grid size</oasis:entry>
         <oasis:entry colname="col2">NVIDIA RTX A6000</oasis:entry>
         <oasis:entry colname="col3">AMD Radeon RX 9070 XT</oasis:entry>
         <oasis:entry colname="col4">AMD/NVIDIA</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"><inline-formula><mml:math id="M238" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">(CUDA) (s per step)</oasis:entry>
         <oasis:entry colname="col3">(AMDGPU) (s per step)</oasis:entry>
         <oasis:entry colname="col4"/>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">128</oasis:entry>
         <oasis:entry colname="col2">0.0297</oasis:entry>
         <oasis:entry colname="col3">0.0360</oasis:entry>
         <oasis:entry colname="col4">1.21</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">192</oasis:entry>
         <oasis:entry colname="col2">0.0790</oasis:entry>
         <oasis:entry colname="col3">0.106</oasis:entry>
         <oasis:entry colname="col4">1.34</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">256</oasis:entry>
         <oasis:entry colname="col2">0.163</oasis:entry>
         <oasis:entry colname="col3">0.242</oasis:entry>
         <oasis:entry colname="col4">1.48</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">384</oasis:entry>
         <oasis:entry colname="col2">0.524</oasis:entry>
         <oasis:entry colname="col3">0.804</oasis:entry>
         <oasis:entry colname="col4">1.54</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</sec>
<sec id="Ch1.S3.SS2.SSS8">
  <label>3.2.8</label><title>Heterogeneous Execution</title>
      <p id="d2e5615">LCS.jl supports heterogeneous execution, in which fluid and particle time-stepping and particle statistics computation are assigned to different computational resources, all from a single codebase. A configuration was evaluated with time-stepping on CPUs and particle-statistics computation on a GPU. The radial distribution function and particle-number-density spectrum were evaluated at every time step. The RDF requires particle-pair searching, binning, and accumulation, whereas the particle-number-density spectrum requires accumulation over the particle population for multiple wavenumber shells and sampling directions, followed by MPI reduction. These statistics therefore constitute a substantial particle-statistics workload.</p>
      <p id="d2e5618">Computation was performed on a workstation containing two Intel Xeon Gold 6326 CPU sockets and an NVIDIA RTX A6000 GPU (48 GB of GPU memory). This configuration represents an environment in which the GPU is available as an auxiliary accelerator rather than as the primary compute resource.</p>
      <p id="d2e5621">Table <xref ref-type="table" rid="T6"/> shows the execution time per time-integration step for <inline-formula><mml:math id="M239" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">256</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> grids and <inline-formula><mml:math id="M240" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">256</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> particles. Compared to the CPU-only configuration, the heterogeneous configuration reduced execution time by approximately 68 %. The configuration change was realized by switching only the resource assignment, without modifying the algorithm or physical model.</p>

<table-wrap id="T6" specific-use="star"><label>Table 6</label><caption><p id="d2e5652">Wall-clock time per time-integration step for CPU-only and heterogeneous configurations (<inline-formula><mml:math id="M241" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">256</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M242" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">256</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>). “Reduction from CPU-only” denotes the percentage reduction in wall-clock time relative to the CPU-only configuration.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="5">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:colspec colnum="5" colname="col5" align="right"/>
     <oasis:thead>
       <oasis:row>
         <oasis:entry colname="col1">Configuration</oasis:entry>
         <oasis:entry colname="col2">CPU Cores</oasis:entry>
         <oasis:entry colname="col3">GPUs</oasis:entry>
         <oasis:entry colname="col4">Time (s)</oasis:entry>
         <oasis:entry colname="col5">Reduction from</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
         <oasis:entry colname="col5">CPU-only</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">CPU-only</oasis:entry>
         <oasis:entry colname="col2">32</oasis:entry>
         <oasis:entry colname="col3">–</oasis:entry>
         <oasis:entry colname="col4">71.0</oasis:entry>
         <oasis:entry colname="col5">–</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Heterogeneous</oasis:entry>
         <oasis:entry colname="col2">32</oasis:entry>
         <oasis:entry colname="col3">1</oasis:entry>
         <oasis:entry colname="col4">22.7</oasis:entry>
         <oasis:entry colname="col5">68 %</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <p id="d2e5781">This trial heterogeneous execution, delegating only statistics computation to a GPU, was effective even in configurations where the GPU was not the primary compute device. LCS.jl enables flexible utilization of computational resources in scenarios where budget or power constraints prevent assigning high-performance GPUs to all processes, or where GPUs are added incrementally to an existing CPU cluster.</p>
</sec>
</sec>
</sec>
<sec id="Ch1.S4" sec-type="conclusions">
  <label>4</label><title>Conclusions</title>
      <p id="d2e5794">We developed LCS.jl (Lagrangian Cloud Simulator in Julia), a single-source and multi-platform multiphase turbulence simulation model implemented in the Julia language and KernelAbstractions.jl.</p>
      <p id="d2e5797">Validation results confirmed that the present fluid and particle statistics agree well with those obtained in prior studies. This confirms the validity of both the fluid solver and the particle tracking implementation.</p>
      <p id="d2e5800">For GPU execution, the GPU-side prefix-scan implementation reduced the particle communication cost by approximately 88 % relative to the CPU-delegated sequential implementation. This reduction removes a major communication bottleneck, enabling effective utilization of GPU performance in large-scale multiphase flow simulations.</p>
      <p id="d2e5803">At 1–4 CPU cores, LCS.jl showed execution times approximately 8 %–11 % longer than the Fortran implementation, whereas the difference was approximately 1 % at 8 CPU cores. These results confirmed that LCS.jl achieves CPU performance comparable to the Fortran implementation over the tested range of CPU cores while retaining a single-source and multi-platform design. In the large-scale scaling tests, the GPU series showed a strong-scaling efficiency of 69.7 % (up to 256 GPUs) and a weak-scaling efficiency of 79.5 % (up to 216 GPUs). For the CPU series, strong-scaling efficiency was 65.3 % (up to 128 CPU sockets), and weak-scaling efficiency was 97.4 % (up to 125 CPU sockets).</p>
      <p id="d2e5807">LCS.jl achieved an estimated maximum speedup of approximately <inline-formula><mml:math id="M243" display="inline"><mml:mrow><mml:mn mathvariant="normal">16.3</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></inline-formula> on GPUs over CPUs. This demonstrated that the single-source and multi-platform design can achieve an acceleration ratio comparable to GPU-dedicated implementations. The execution times per time-integration step using the AMDGPU backend on the AMD GPU were approximately 1.2–1.5 times those using the CUDA backend on the NVIDIA GPU. These results support the performance portability of LCS.jl across different GPU architectures while retaining a single-source implementation. A trial heterogeneous execution, delegating only statistics computation to a GPU, achieved a 68 % reduction in execution time compared to the CPU-only configuration even in configurations where the GPU was not the primary compute device. This means that LCS.jl enables flexible utilization of computational resources in scenarios where budget or power constraints prevent assigning high-performance GPUs to all processes, or where GPUs are added incrementally to an existing CPU cluster.</p>
      <p id="d2e5820">The present LCS.jl is not merely a GPU-ported code, but a multiphase turbulence simulation platform that achieves both portability and scalability across a variety of computational resource configurations. This design philosophy can provide a guideline for building high-performance computational models that can adapt to future architectural changes and heterogeneous computing environments.</p>
</sec>

      
      </body>
    <back><notes notes-type="codedataavailability"><title>Code and data availability</title>

      <p id="d2e5828">The current development version of LCS.jl is available from the project website <uri>https://github.com/0samuraiE/LCS.jl</uri> (last access: 1 November 2026) under the MIT License. The exact version of the model used to produce the results in this paper is archived on Zenodo at <ext-link xlink:href="https://doi.org/10.5281/zenodo.22137561" ext-link-type="DOI">10.5281/zenodo.22137561</ext-link> <xref ref-type="bibr" rid="bib1.bibx23" id="paren.33"/>, together with the configuration files used to run the simulations and the processed data and scripts used to produce the figures presented in this paper.</p>
  </notes><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d2e5843">T. Tominaga developed the model code, performed the simulations, and prepared the manuscript. R. Onishi supervised the research and contributed to manuscript revision.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d2e5849">The contact author has declared that neither of the authors has any competing interests.</p>
  </notes><notes notes-type="disclaimer"><title>Disclaimer</title>

      <p id="d2e5855">Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. The authors bear the ultimate responsibility for providing appropriate place names. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.</p>
  </notes><ack><title>Acknowledgements</title><p id="d2e5861">This work used computational resources of the TSUBAME4.0 supercomputer at the Institute of Science Tokyo through the Joint Usage/Research Center for Interdisciplinary Large-scale Information Infrastructures (JHPCN) and the High Performance Computing Infrastructure (HPCI) in Japan (Project ID: jh240041).</p><p id="d2e5863">The authors used Claude (Anthropic) for language editing and translation assistance in the preparation of this manuscript. The authors take full responsibility for the content of the manuscript.</p></ack><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d2e5868">This paper was edited by Sylwester Arabas and reviewed by two anonymous referees.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><label>Besard et al.(2019)Besard, Foket, and De Sutter</label><mixed-citation>Besard, T., Foket, C., and De Sutter, B.: Effective Extensible Programming: Unleashing Julia on GPUs, IEEE T. Parall. Distr., 30, 827–841, <ext-link xlink:href="https://doi.org/10.1109/tpds.2018.2872064" ext-link-type="DOI">10.1109/tpds.2018.2872064</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx2"><label>Bezanson et al.(2017)Bezanson, Edelman, Karpinski, and Shah</label><mixed-citation>Bezanson, J., Edelman, A., Karpinski, S., and Shah, V. B.: Julia: A Fresh Approach to Numerical Computing, SIAM Rev., 59, 65–98, <ext-link xlink:href="https://doi.org/10.1137/141000671" ext-link-type="DOI">10.1137/141000671</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx3"><label>Bishnu et al.(2023)Bishnu, Strauss, and Petersen</label><mixed-citation>Bishnu, S., Strauss, R. R., and Petersen, M. R.: Comparing the Performance of Julia on CPUs versus GPUs and Julia-MPI versus Fortran-MPI: a case study with MPAS-Ocean (Version 7.1), Geosci. Model Dev., 16, 5539–5559, <ext-link xlink:href="https://doi.org/10.5194/gmd-16-5539-2023" ext-link-type="DOI">10.5194/gmd-16-5539-2023</ext-link>, 2023.</mixed-citation></ref>
      <ref id="bib1.bibx4"><label>Churavy(2020)</label><mixed-citation>Churavy, V.: KernelAbstractions.jl, Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/zenodo.4021259" ext-link-type="DOI">10.5281/zenodo.4021259</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx5"><label>Gatignol(1983)</label><mixed-citation> Gatignol, R.: The Faxén formulae for a rigid particle in an unsteady non-uniform Stokes flow, J. Méc. Théor. Appl., 2, 143–160, 1983.</mixed-citation></ref>
      <ref id="bib1.bibx6"><label>Harlow and Welch(1965)</label><mixed-citation>Harlow, F. H. and Welch, J. E.: Numerical Calculation of Time-Dependent Viscous Incompressible Flow of Fluid with Free Surface, Phys. Fluids, 8, 2182–2189, <ext-link xlink:href="https://doi.org/10.1063/1.1761178" ext-link-type="DOI">10.1063/1.1761178</ext-link>, 1965.</mixed-citation></ref>
      <ref id="bib1.bibx7"><label>Hirt and Cook(1972)</label><mixed-citation>Hirt, C. and Cook, J.: Calculating three-dimensional flows around structures and over rough terrain, J. Comput. Phys., 10, 324–340, <ext-link xlink:href="https://doi.org/10.1016/0021-9991(72)90070-8" ext-link-type="DOI">10.1016/0021-9991(72)90070-8</ext-link>, 1972.</mixed-citation></ref>
      <ref id="bib1.bibx8"><label>Ireland et al.(2016)Ireland, Bragg, and Collins</label><mixed-citation>Ireland, P. J., Bragg, A. D., and Collins, L. R.: The effect of Reynolds number on inertial particle dynamics in isotropic turbulence. Part 1. Simulations without gravitational effects, J. Fluid Mech., 796, 617–658, <ext-link xlink:href="https://doi.org/10.1017/jfm.2016.238" ext-link-type="DOI">10.1017/jfm.2016.238</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx9"><label>Kolmogorov(1968)</label><mixed-citation>Kolmogorov, A. N.:  Local structure of turbulence in an incompressible viscous fluid at very high Reynolds numbers, Sov. Phys. Usp., 10, 734–746, <ext-link xlink:href="https://doi.org/10.1070/PU1968v010n06ABEH003710" ext-link-type="DOI">10.1070/PU1968v010n06ABEH003710</ext-link>, 1968.</mixed-citation></ref>
      <ref id="bib1.bibx10"><label>Lamorgese et al.(2005)Lamorgese, Caughey, and Pope</label><mixed-citation>Lamorgese, A. G., Caughey, D. A., and Pope, S. B.: Direct numerical simulation of homogeneous turbulence with hyperviscosity, Phys. Fluids, 17, 015106, <ext-link xlink:href="https://doi.org/10.1063/1.1833415" ext-link-type="DOI">10.1063/1.1833415</ext-link>, 2005.</mixed-citation></ref>
      <ref id="bib1.bibx11"><label>Maxey and Riley(1983)</label><mixed-citation>Maxey, M. R. and Riley, J. J.: Equation of motion for a small rigid sphere in a nonuniform flow,   Phys. Fluids, 26, 883–889, <ext-link xlink:href="https://doi.org/10.1063/1.864230" ext-link-type="DOI">10.1063/1.864230</ext-link>, 1983.</mixed-citation></ref>
      <ref id="bib1.bibx12"><label>McCalpin(1991)</label><mixed-citation>McCalpin, J. D.: STREAM: Sustainable Memory Bandwidth in High Performance Computers, <uri>https://web.archive.org/web/20260412211805/https://www.cs.virginia.edu/stream/</uri> (last access: 1 November 2026), 1991.</mixed-citation></ref>
      <ref id="bib1.bibx13"><label>Morinishi et al.(1998)Morinishi, Lund, Vasilyev, and Moin</label><mixed-citation>Morinishi, Y., Lund, T., Vasilyev, O., and Moin, P.: Fully Conservative Higher Order Finite Difference Schemes for Incompressible Flow, J. Comput. Phys., 143, 90–124, <ext-link xlink:href="https://doi.org/10.1006/jcph.1998.5962" ext-link-type="DOI">10.1006/jcph.1998.5962</ext-link>, 1998.</mixed-citation></ref>
      <ref id="bib1.bibx14"><label>Onishi and Seifert(2016)</label><mixed-citation>Onishi, R. and Seifert, A.: Reynolds-number dependence of turbulence enhancement on collision growth, Atmos. Chem. Phys., 16, 12441–12455, <ext-link xlink:href="https://doi.org/10.5194/acp-16-12441-2016" ext-link-type="DOI">10.5194/acp-16-12441-2016</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx15"><label>Onishi et al.(2011)Onishi, Baba, and Takahashi</label><mixed-citation>Onishi, R., Baba, Y., and Takahashi, K.: Large-scale forcing with less communication in finite-difference simulations of stationary isotropic turbulence, J. Comput. Phys., 230, 4088–4099, <ext-link xlink:href="https://doi.org/10.1016/j.jcp.2011.02.034" ext-link-type="DOI">10.1016/j.jcp.2011.02.034</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx16"><label>Onishi et al.(2013)Onishi, Takahashi, and Vassilicos</label><mixed-citation>Onishi, R., Takahashi, K., and Vassilicos, J.: An efficient parallel simulation of interacting inertial particles in homogeneous isotropic turbulence, J. Comput. Phys., 242, 809–827, <ext-link xlink:href="https://doi.org/10.1016/j.jcp.2013.02.027" ext-link-type="DOI">10.1016/j.jcp.2013.02.027</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx17"><label>Onishi et al.(2015)Onishi, Matsuda, and Takahashi</label><mixed-citation>Onishi, R., Matsuda, K., and Takahashi, K.: Lagrangian Tracking Simulation of Droplet Growth in Turbulence–Turbulence Enhancement of Autoconversion Rate, J. Atmos. Sci., 72, 2591–2607, <ext-link xlink:href="https://doi.org/10.1175/jas-d-14-0292.1" ext-link-type="DOI">10.1175/jas-d-14-0292.1</ext-link>, 2015. </mixed-citation></ref>
      <ref id="bib1.bibx18"><label>Pope(2000)</label><mixed-citation>Pope, S. B.: Turbulent Flows, Cambridge University Press, Cambridge, UK, <ext-link xlink:href="https://doi.org/10.1017/CBO9780511840531" ext-link-type="DOI">10.1017/CBO9780511840531</ext-link>, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx19"><label>Ramadhan et al.(2020)Ramadhan, Wagner, Hill, Campin, Churavy, Besard, Souza, Edelman, Ferrari, and Marshall</label><mixed-citation>Ramadhan, A., Wagner, G., Hill, C., Campin, J.-M., Churavy, V., Besard, T., Souza, A., Edelman, A., Ferrari, R., and Marshall, J.: Oceananigans.jl: Fast and friendly geophysical fluid dynamics on GPUs, J. Open Source Softw., 5, 2018, <ext-link xlink:href="https://doi.org/10.21105/joss.02018" ext-link-type="DOI">10.21105/joss.02018</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx20"><label>Rowe and Henwood(1961)</label><mixed-citation>Rowe, P. N. and Henwood, G. A.: Drag forces in a hydraulic model of a fluidized bed. Part I, T. I. Chem. Eng., 39, 43–54,  <uri>https://catalog.hathitrust.org/Record/000520989</uri> (last access: 1 November 2026), 1961.</mixed-citation></ref>
      <ref id="bib1.bibx21"><label>Sundaram and Collins(1996)</label><mixed-citation>Sundaram, S. and Collins, L. R.: Numerical considerations in simulating a turbulent suspension of finite-volume particles, J. Comput. Phys., 124, 337–350, <ext-link xlink:href="https://doi.org/10.1006/jcph.1996.0064" ext-link-type="DOI">10.1006/jcph.1996.0064</ext-link>, 1996.</mixed-citation></ref>
      <ref id="bib1.bibx22"><label>Sundaram and Collins(1997)</label><mixed-citation>Sundaram, S. and Collins, L. R.: Collision statistics in an isotropic particle-laden turbulent suspension. Part 1. Direct numerical simulations, J. Fluid Mech., 335, 75–109, <ext-link xlink:href="https://doi.org/10.1017/s0022112096004454" ext-link-type="DOI">10.1017/s0022112096004454</ext-link>, 1997.</mixed-citation></ref>
      <ref id="bib1.bibx23"><label>Tominaga and Onishi(2026)</label><mixed-citation>Tominaga, T. and Onishi, R.: LCS.jl v1.0, Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/zenodo.22137561" ext-link-type="DOI">10.5281/zenodo.22137561</ext-link>, 2026.</mixed-citation></ref>
      <ref id="bib1.bibx24"><label>Wang et al.(2000)Wang, Wexler, and Zhou</label><mixed-citation>Wang, L.-P., Wexler, A. S., and Zhou, Y.: Statistical mechanical description and modelling of turbulent collision of inertial particles, J. Fluid Mech., 415, 117–153, <ext-link xlink:href="https://doi.org/10.1017/s0022112000008661" ext-link-type="DOI">10.1017/s0022112000008661</ext-link>, 2000.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>LCS.jl v1.0: a high-performance, multi-platform computational model in Julia for turbulent particle-laden flows</article-title-html>
<abstract-html/>
<ref-html id="bib1.bib1"><label>Besard et al.(2019)Besard, Foket, and
De Sutter</label><mixed-citation>
      
Besard, T., Foket, C., and De Sutter, B.: Effective Extensible Programming:
Unleashing Julia on GPUs, IEEE T. Parall. Distr., 30, 827–841, <a href="https://doi.org/10.1109/tpds.2018.2872064" target="_blank">https://doi.org/10.1109/tpds.2018.2872064</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Bezanson et al.(2017)Bezanson, Edelman, Karpinski, and
Shah</label><mixed-citation>
      
Bezanson, J., Edelman, A., Karpinski, S., and Shah, V. B.: Julia: A Fresh
Approach to Numerical Computing, SIAM Rev., 59, 65–98,
<a href="https://doi.org/10.1137/141000671" target="_blank">https://doi.org/10.1137/141000671</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Bishnu et al.(2023)Bishnu, Strauss, and Petersen</label><mixed-citation>
      
Bishnu, S., Strauss, R. R., and Petersen, M. R.: Comparing the Performance of Julia on CPUs versus GPUs and Julia-MPI versus Fortran-MPI: a case study with MPAS-Ocean (Version 7.1), Geosci. Model Dev., 16, 5539–5559, <a href="https://doi.org/10.5194/gmd-16-5539-2023" target="_blank">https://doi.org/10.5194/gmd-16-5539-2023</a>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>Churavy(2020)</label><mixed-citation>
      
Churavy, V.: KernelAbstractions.jl, Zenodo [code],
<a href="https://doi.org/10.5281/zenodo.4021259" target="_blank">https://doi.org/10.5281/zenodo.4021259</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Gatignol(1983)</label><mixed-citation>
      
Gatignol, R.: The Faxén formulae for a rigid particle in an unsteady
non-uniform Stokes flow, J. Méc. Théor.
Appl., 2, 143–160, 1983.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Harlow and Welch(1965)</label><mixed-citation>
      
Harlow, F. H. and Welch, J. E.: Numerical Calculation of Time-Dependent Viscous
Incompressible Flow of Fluid with Free Surface, Phys. Fluids, 8,
2182–2189, <a href="https://doi.org/10.1063/1.1761178" target="_blank">https://doi.org/10.1063/1.1761178</a>, 1965.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Hirt and Cook(1972)</label><mixed-citation>
      
Hirt, C. and Cook, J.: Calculating three-dimensional flows around structures
and over rough terrain, J. Comput. Phys., 10, 324–340,
<a href="https://doi.org/10.1016/0021-9991(72)90070-8" target="_blank">https://doi.org/10.1016/0021-9991(72)90070-8</a>, 1972.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Ireland et al.(2016)Ireland, Bragg, and Collins</label><mixed-citation>
      
Ireland, P. J., Bragg, A. D., and Collins, L. R.: The effect of Reynolds
number on inertial particle dynamics in isotropic turbulence. Part 1.
Simulations without gravitational effects, J. Fluid Mech., 796,
617–658, <a href="https://doi.org/10.1017/jfm.2016.238" target="_blank">https://doi.org/10.1017/jfm.2016.238</a>, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Kolmogorov(1968)</label><mixed-citation>
      
Kolmogorov, A. N.:  Local structure of turbulence in an incompressible viscous fluid at very high Reynolds numbers, Sov. Phys. Usp., 10, 734–746, <a href="https://doi.org/10.1070/PU1968v010n06ABEH003710" target="_blank">https://doi.org/10.1070/PU1968v010n06ABEH003710</a>, 1968.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>Lamorgese et al.(2005)Lamorgese, Caughey, and
Pope</label><mixed-citation>
      
Lamorgese, A. G., Caughey, D. A., and Pope, S. B.: Direct numerical simulation
of homogeneous turbulence with hyperviscosity, Phys. Fluids, 17,
015106, <a href="https://doi.org/10.1063/1.1833415" target="_blank">https://doi.org/10.1063/1.1833415</a>, 2005.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Maxey and Riley(1983)</label><mixed-citation>
      
Maxey, M. R. and Riley, J. J.: Equation of motion for a small rigid sphere in a
nonuniform flow,   Phys. Fluids, 26, 883–889, <a href="https://doi.org/10.1063/1.864230" target="_blank">https://doi.org/10.1063/1.864230</a>,
1983.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>McCalpin(1991)</label><mixed-citation>
      
McCalpin, J. D.: STREAM: Sustainable Memory Bandwidth in High Performance
Computers,
<a href="https://web.archive.org/web/20260412211805/https://www.cs.virginia.edu/stream/" target="_blank"/> (last access: 1 November 2026),
1991.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Morinishi et al.(1998)Morinishi, Lund, Vasilyev, and
Moin</label><mixed-citation>
      
Morinishi, Y., Lund, T., Vasilyev, O., and Moin, P.: Fully Conservative Higher
Order Finite Difference Schemes for Incompressible Flow, J.
Comput. Phys., 143, 90–124, <a href="https://doi.org/10.1006/jcph.1998.5962" target="_blank">https://doi.org/10.1006/jcph.1998.5962</a>, 1998.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Onishi and Seifert(2016)</label><mixed-citation>
      
Onishi, R. and Seifert, A.: Reynolds-number dependence of turbulence enhancement on collision growth, Atmos. Chem. Phys., 16, 12441–12455, <a href="https://doi.org/10.5194/acp-16-12441-2016" target="_blank">https://doi.org/10.5194/acp-16-12441-2016</a>, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>Onishi et al.(2011)Onishi, Baba, and
Takahashi</label><mixed-citation>
      
Onishi, R., Baba, Y., and Takahashi, K.: Large-scale forcing with less
communication in finite-difference simulations of stationary isotropic
turbulence, J. Comput. Phys., 230, 4088–4099,
<a href="https://doi.org/10.1016/j.jcp.2011.02.034" target="_blank">https://doi.org/10.1016/j.jcp.2011.02.034</a>, 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Onishi et al.(2013)Onishi, Takahashi, and
Vassilicos</label><mixed-citation>
      
Onishi, R., Takahashi, K., and Vassilicos, J.: An efficient parallel simulation
of interacting inertial particles in homogeneous isotropic turbulence,
J. Comput. Phys., 242, 809–827,
<a href="https://doi.org/10.1016/j.jcp.2013.02.027" target="_blank">https://doi.org/10.1016/j.jcp.2013.02.027</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Onishi et al.(2015)Onishi, Matsuda, and
Takahashi</label><mixed-citation>
      
Onishi, R., Matsuda, K., and Takahashi, K.: Lagrangian Tracking Simulation of
Droplet Growth in Turbulence–Turbulence Enhancement of Autoconversion Rate,
J. Atmos. Sci., 72, 2591–2607,
<a href="https://doi.org/10.1175/jas-d-14-0292.1" target="_blank">https://doi.org/10.1175/jas-d-14-0292.1</a>, 2015.


    </mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Pope(2000)</label><mixed-citation>
      
Pope, S. B.: Turbulent Flows, Cambridge University Press, Cambridge, UK,
<a href="https://doi.org/10.1017/CBO9780511840531" target="_blank">https://doi.org/10.1017/CBO9780511840531</a>, 2000.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Ramadhan et al.(2020)Ramadhan, Wagner, Hill, Campin, Churavy, Besard,
Souza, Edelman, Ferrari, and Marshall</label><mixed-citation>
      
Ramadhan, A., Wagner, G., Hill, C., Campin, J.-M., Churavy, V., Besard, T.,
Souza, A., Edelman, A., Ferrari, R., and Marshall, J.: Oceananigans.jl:
Fast and friendly geophysical fluid dynamics on GPUs, J. Open
Source Softw., 5, 2018, <a href="https://doi.org/10.21105/joss.02018" target="_blank">https://doi.org/10.21105/joss.02018</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Rowe and Henwood(1961)</label><mixed-citation>
      
Rowe, P. N. and Henwood, G. A.: Drag forces in a hydraulic model of a fluidized
bed. Part I, T. I. Chem. Eng., 39,
43–54,  <a href="https://catalog.hathitrust.org/Record/000520989" target="_blank"/> (last access: 1 November 2026),
1961.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Sundaram and Collins(1996)</label><mixed-citation>
      
Sundaram, S. and Collins, L. R.: Numerical considerations in simulating a
turbulent suspension of finite-volume particles, J. Comput.
Phys., 124, 337–350, <a href="https://doi.org/10.1006/jcph.1996.0064" target="_blank">https://doi.org/10.1006/jcph.1996.0064</a>, 1996.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Sundaram and Collins(1997)</label><mixed-citation>
      
Sundaram, S. and Collins, L. R.: Collision statistics in an isotropic
particle-laden turbulent suspension. Part 1. Direct numerical simulations,
J. Fluid Mech., 335, 75–109, <a href="https://doi.org/10.1017/s0022112096004454" target="_blank">https://doi.org/10.1017/s0022112096004454</a>,
1997.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Tominaga and Onishi(2026)</label><mixed-citation>
      
Tominaga, T. and Onishi, R.: LCS.jl v1.0, Zenodo [code],
<a href="https://doi.org/10.5281/zenodo.22137561" target="_blank">https://doi.org/10.5281/zenodo.22137561</a>, 2026.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Wang et al.(2000)Wang, Wexler, and Zhou</label><mixed-citation>
      
Wang, L.-P., Wexler, A. S., and Zhou, Y.: Statistical mechanical description
and modelling of turbulent collision of inertial particles, J. Fluid
Mech., 415, 117–153, <a href="https://doi.org/10.1017/s0022112000008661" target="_blank">https://doi.org/10.1017/s0022112000008661</a>, 2000.

    </mixed-citation></ref-html>--></article>
