{"title":"An improved particle neighbor search algorithm with multi-level cache optimization strategy for discrete element method using GPU","authors":"Hongze Li , Chun Feng , Jili Feng","doi":"10.1016/j.partic.2025.09.013","DOIUrl":null,"url":null,"abstract":"<div><div>This paper proposes an improved particle neighbor search algorithm, focusing on optimizing computational efficiency and memory usage in large-scale particle system simulations. By partitioning the simulation space into grids and combining it with Morton encoding, it ensures that adjacent grids are stored contiguously in memory, thereby enhancing the locality of data access and reducing the probability of cache misses. In the particle sorting phase, Morton encoding is used to rearrange the particles, further enhancing memory continuity and leveraging the hardware cache's prefetching mechanism to reduce data read latency. The algorithm also incorporates the idea of the Verlet table method by setting a sorting threshold to optimize the sorting process, avoiding redundant calculations and unnecessary sorting operations. Through the above optimization methods, a multi-level cache optimization strategy is achieved, significantly improving the algorithm's performance and memory utilization efficiency. Experimental results show that the algorithm proposed in this paper has significant advantages in large-scale particle simulations.</div></div>","PeriodicalId":401,"journal":{"name":"Particuology","volume":"107 ","pages":"Pages 1-10"},"PeriodicalIF":4.3000,"publicationDate":"2025-09-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Particuology","FirstCategoryId":"88","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1674200125002548","RegionNum":2,"RegionCategory":"材料科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENGINEERING, CHEMICAL","Score":null,"Total":0}
引用次数: 0
Abstract
This paper proposes an improved particle neighbor search algorithm, focusing on optimizing computational efficiency and memory usage in large-scale particle system simulations. By partitioning the simulation space into grids and combining it with Morton encoding, it ensures that adjacent grids are stored contiguously in memory, thereby enhancing the locality of data access and reducing the probability of cache misses. In the particle sorting phase, Morton encoding is used to rearrange the particles, further enhancing memory continuity and leveraging the hardware cache's prefetching mechanism to reduce data read latency. The algorithm also incorporates the idea of the Verlet table method by setting a sorting threshold to optimize the sorting process, avoiding redundant calculations and unnecessary sorting operations. Through the above optimization methods, a multi-level cache optimization strategy is achieved, significantly improving the algorithm's performance and memory utilization efficiency. Experimental results show that the algorithm proposed in this paper has significant advantages in large-scale particle simulations.
期刊介绍:
The word ‘particuology’ was coined to parallel the discipline for the science and technology of particles.
Particuology is an interdisciplinary journal that publishes frontier research articles and critical reviews on the discovery, formulation and engineering of particulate materials, processes and systems. It especially welcomes contributions utilising advanced theoretical, modelling and measurement methods to enable the discovery and creation of new particulate materials, and the manufacturing of functional particulate-based products, such as sensors.
Papers are handled by Thematic Editors who oversee contributions from specific subject fields. These fields are classified into: Particle Synthesis and Modification; Particle Characterization and Measurement; Granular Systems and Bulk Solids Technology; Fluidization and Particle-Fluid Systems; Aerosols; and Applications of Particle Technology.
Key topics concerning the creation and processing of particulates include:
-Modelling and simulation of particle formation, collective behaviour of particles and systems for particle production over a broad spectrum of length scales
-Mining of experimental data for particle synthesis and surface properties to facilitate the creation of new materials and processes
-Particle design and preparation including controlled response and sensing functionalities in formation, delivery systems and biological systems, etc.
-Experimental and computational methods for visualization and analysis of particulate system.
These topics are broadly relevant to the production of materials, pharmaceuticals and food, and to the conversion of energy resources to fuels and protection of the environment.