首页/文章/ 详情

粒子系统邻域搜索的快速矩阵计算方法

7小时前浏览10


   

论文题目

Fast matrix computing method of neighbor searching for particle systems

Wenqiang Xiaa, Chun Liua*Yintong MinaHanwen Lia

a School of Earth Sciences and Engineering, Nanjing University, Nanjing, 210023, China

 

研究内容

Abstract: With the growing complexity of particle-based simulations, efficient neighbor searching algorithms are crucial for improving computing performance. Conventional neighbor searching algorithms are generally based on iterative or list-based operations, which face challenges in computational speed and complexity within high-performance computing. A novel neighbor searching algorithm based on pure matrix operations is proposed in this paper. In the algorithm, all the element properties (including coordinates, radii, stiffness, etc.) are stored in arrays. A neighbor matrix can be efficiently obtained via a series of pure matrix operations, such as substitution, sorting and arithmetic calculations. The indexes of neighboring elements are recorded rows by rows in the neighbor matrix. As the number of neighboring elements varies between rows, a virtual element is introduced to fill the spaces in the neighbor matrix. Numerical tests demonstrate the consistent superiority of the proposed pure matrix algorithm over a conventional linked-list method. Across the tested range of 200 to 2,000,000 elements, the matrix-based approach maintains significantly higher computational speeds, achieving its maximum performance advantage of approximately 13 times faster. As the algorithm and further computation of particle system are based on simple matrix operations, it is highly suitable for GPU computing and subsequent particle dynamics calculations. Overall, the neighbor searching algorithm developed in this study enables efficient simulations in particle system.

Keywords: Matrix computingNeighbor searchingDiscrete element methodGPUMatDEM

Fig.1 (a) Flow char of pure matrix neighbor searching algorithm; (b) Elements’ information list; (c) Schematic diagram of grid generation; (d) Application of virtual element; (e) Neighbor Matrix

Fig.2 Spatial Discretization Strategy with Grid Cell Division, Virtual Boundary Layers, and Element Indexing

Fig.4 Cell-Neighbor Cell Matrix recording all neighbor cell indices

Fig.7 (a) Target element in the orthogonal grid and its potential neighbor elements; (b) Final neighbor element after distance filtering

Fig.9 Final Neighbor Matrix after filtering and virtual element filling
Fig.10 (a) Neighbor martix 𝑵; (b) contact martix 𝑩c
Fig.11 Particle accumulation in a cube mold
Fig.16 Neighbor searching for gap-grading (a)Large particle group; (b) Medium particle group;(c) Small particle group

 

了解详情


 

Xia W, Liu C, Min Y, et al. Fast matrix computing method of neighbor searching for particle systems[J]. Powder Technology, 2025: 121807.

来源:矩阵离散元MatDEM
ACTSystemUM离散元FAST
著作权归作者所有,欢迎分享,未经许可,不得转载
首次发布时间:2025-11-12
最近编辑:7小时前
MatDEM
中国自己的工程数值计算软件
获赞 188粉丝 1310文章 197课程 42
点赞
收藏
作者推荐
未登录
还没有评论
课程
培训
服务
行家
VIP会员 学习计划 福利任务
下载APP
联系我们
帮助与反馈