arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2311.04648cs.CEcs.NAcs.SEmath.NA
收藏

Chrono DEM-Engine:一款支持自定义接触力与单元形状的离散元法双GPU模拟器

Chrono DEM-Engine: A Discrete Element Method dual-GPU simulator with customizable contact forces and element shape

Ruochun Zhang, Bonaventura Tagliafierro, Colin Vanden Heuvel, Shlok Sabarwal, Luning Bakke, Yulong Yue, Xin Wei, Radu Serban, Dan Negrut

AI总结:

本研究推出Project Chrono的子模块DEM-Engine双GPU离散元模拟器,通过多层并行、延迟接触检测、即时编译等技术支持自定义力与复杂形状,1.5亿单元规模下仍具线性扩展性,可高效完成千万级单元的颗粒地形联合模拟。

摘要:

本文介绍了Project Chrono(chrono项目)的全新子模块DEM-Engine,该模块专为开展离散元法(Discrete Element Method, DEM)模拟而设计。基于球形基元形状,DEM-Engine可模拟多分散颗粒材料,并能处理由基元组装生成的复杂形状(即团簇clumps)。\nDEM-Engine采用多层并行结构,经优化可在两块GPU上同时运行。代码使用自定义数据类型以降低内存占用并提升带宽。其提出的新型“延迟接触检测”算法可将接触检测与力计算解耦,从而将工作负载拆分至两条异步GPU流中。DEM-Engine还利用即时编译技术支持用户自定义接触力模型。\n本文讨论了该模拟器的C++与Python接口,并展示了多项数值测试:结合知名基准案例,对冲击力、复杂形状颗粒流动及自定义力模型进行了验证。此外,研究还通过外星探测车在颗粒地形上的移动性研究,展示了该模拟器的全部潜力。所选案例研究表明,包含1100万个单元、时长15秒的大规模联合模拟(结合外部多体动力学系统)可在一天内高效完成。最后,性能测试显示,在两块NVIDIA A100 GPU上,DEM-Engine在单元规模达1.5亿时仍表现出线性可扩展性。

英文摘要:

This paper introduces DEM-Engine, a new submodule of Project Chrono, that is designed to carry out Discrete Element Method (DEM) simulations. Based on spherical primitive shapes, DEM-Engine can simulate polydisperse granular materials and handle complex shapes generated as assemblies of primitives, referred to as clumps. DEM-Engine has a multi-tier parallelized structure that is optimized to operate simultaneously on two GPUs. The code uses custom-defined data types to reduce memory footprint and increase bandwidth. A novel "delayed contact detection" algorithm allows the decoupling of the contact detection and force computation, thus splitting the workload into two asynchronous GPU streams. DEM-Engine uses just-in-time compilation to support user-defined contact force models. This paper discusses its C++ and Python interfaces and presents a variety of numerical tests, in which impact forces, complex-shaped particle flows, and a custom force model are validated considering well-known benchmark cases. Additionally, the full potential of the simulator is demonstrated for the investigation of extraterrestrial rover mobility on granular terrain. The chosen case study demonstrates that large-scale co-simulations (comprising 11 million elements) spanning 15 seconds, in conjunction with an external multi-body dynamics system, can be efficiently executed within a day. Lastly, a performance test suggests that DEM-Engine displays linear scaling up to 150 million elements on two NVIDIA A100 GPUs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑