Developing a memory-efficient GPGPU-parallelized contact detection algorithm for 3D engineering-scale FDEM simulations

IF 5.3 1区 工程技术 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
Yiming Lei , Quansheng Liu , He Liu
{"title":"Developing a memory-efficient GPGPU-parallelized contact detection algorithm for 3D engineering-scale FDEM simulations","authors":"Yiming Lei ,&nbsp;Quansheng Liu ,&nbsp;He Liu","doi":"10.1016/j.compgeo.2024.107031","DOIUrl":null,"url":null,"abstract":"<div><div>Despite FDEM’s superior advantages in modeling solid deformation and fracturing behaviors for engineering-scale analysis, it has been restricted to two-dimensional (2D) scenarios, with three-dimensional (3D) scenarios remaining relatively unexplored due to excessive memory constraints and computational overheads, especially in contact-related computations. This study proposes a GPGPU-parallelized contact detection algorithm to address memory constraints in 3D FDEM engineering-scale simulations. The search domain is initially divided into equally sized search cells (subCells). Through an initial element mapping procedure, subCells containing at least one solid element (realCells) are identified. RealCells are dynamically pinpointed through hashing, forming subCell-realCell lists, which allows directly allocating GPU’s memory to useful realCells instead of all subCells. Then, a second element mapping operation populates realCells with element IDs, followed by a broad search at the CUDA block level for potential contacts and a narrow search to determine actual contacts. The algorithm’s effectiveness is first verified through three benchmark tests, and then further highlighted by two engineering-scale simulations showcasing a significant decrease in GPU memory consumption with the comparable computational time. We demonstrate that the proposed algorithm reduces memory usage of the contact detection phase by 85% compared to the conventional algorithm in a 3D engineering-scale simulation involving over 8.5 million tetrahedral and 17.6 million cohesive elements.</div></div>","PeriodicalId":55217,"journal":{"name":"Computers and Geotechnics","volume":"179 ","pages":"Article 107031"},"PeriodicalIF":5.3000,"publicationDate":"2024-12-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Geotechnics","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0266352X24009704","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

Despite FDEM’s superior advantages in modeling solid deformation and fracturing behaviors for engineering-scale analysis, it has been restricted to two-dimensional (2D) scenarios, with three-dimensional (3D) scenarios remaining relatively unexplored due to excessive memory constraints and computational overheads, especially in contact-related computations. This study proposes a GPGPU-parallelized contact detection algorithm to address memory constraints in 3D FDEM engineering-scale simulations. The search domain is initially divided into equally sized search cells (subCells). Through an initial element mapping procedure, subCells containing at least one solid element (realCells) are identified. RealCells are dynamically pinpointed through hashing, forming subCell-realCell lists, which allows directly allocating GPU’s memory to useful realCells instead of all subCells. Then, a second element mapping operation populates realCells with element IDs, followed by a broad search at the CUDA block level for potential contacts and a narrow search to determine actual contacts. The algorithm’s effectiveness is first verified through three benchmark tests, and then further highlighted by two engineering-scale simulations showcasing a significant decrease in GPU memory consumption with the comparable computational time. We demonstrate that the proposed algorithm reduces memory usage of the contact detection phase by 85% compared to the conventional algorithm in a 3D engineering-scale simulation involving over 8.5 million tetrahedral and 17.6 million cohesive elements.
求助全文
约1分钟内获得全文 求助全文
来源期刊
Computers and Geotechnics
Computers and Geotechnics 地学-地球科学综合
CiteScore
9.10
自引率
15.10%
发文量
438
审稿时长
45 days
期刊介绍: The use of computers is firmly established in geotechnical engineering and continues to grow rapidly in both engineering practice and academe. The development of advanced numerical techniques and constitutive modeling, in conjunction with rapid developments in computer hardware, enables problems to be tackled that were unthinkable even a few years ago. Computers and Geotechnics provides an up-to-date reference for engineers and researchers engaged in computer aided analysis and research in geotechnical engineering. The journal is intended for an expeditious dissemination of advanced computer applications across a broad range of geotechnical topics. Contributions on advances in numerical algorithms, computer implementation of new constitutive models and probabilistic methods are especially encouraged.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信