{"title":"Multi-threaded parallel tetrahedral mesh improvement by combining atomic operation and graph coloring","authors":"Yifu Wang, Junji Wang, BoHan Wang, Yifei Wang, Jianjun Chen","doi":"10.1016/j.advengsoft.2024.103782","DOIUrl":null,"url":null,"abstract":"<div><div>In industrial numerical simulations, efficiently generating high-quality tetrahedral meshes remains a significant challenge. Advances in high-performance computing have made parallelization a practical approach to improving the quality of large-scale tetrahedral meshes. This study proposes a fine-grained multithreaded parallel method to accelerate tetrahedral mesh improvement. By utilizing atomic operations, we fundamentally address thread safety concerns. Additionally, through the precise use of atomic operations, task decomposition strategies, and a multithreaded memory model, we minimize the probability of task overlap and data races, thereby enhancing overall parallel mesh improvement efficiency. Experimental results demonstrate that our parallel mesh improver is robust and effective for complex industrial models. On a laptop with 16 threads, we achieved a tenfold increase in tetrahedral mesh improvement speed, with the quality of the improved meshes being comparable to that of the sequential process.</div></div>","PeriodicalId":50866,"journal":{"name":"Advances in Engineering Software","volume":"198 ","pages":"Article 103782"},"PeriodicalIF":4.0000,"publicationDate":"2024-09-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Advances in Engineering Software","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0965997824001893","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
In industrial numerical simulations, efficiently generating high-quality tetrahedral meshes remains a significant challenge. Advances in high-performance computing have made parallelization a practical approach to improving the quality of large-scale tetrahedral meshes. This study proposes a fine-grained multithreaded parallel method to accelerate tetrahedral mesh improvement. By utilizing atomic operations, we fundamentally address thread safety concerns. Additionally, through the precise use of atomic operations, task decomposition strategies, and a multithreaded memory model, we minimize the probability of task overlap and data races, thereby enhancing overall parallel mesh improvement efficiency. Experimental results demonstrate that our parallel mesh improver is robust and effective for complex industrial models. On a laptop with 16 threads, we achieved a tenfold increase in tetrahedral mesh improvement speed, with the quality of the improved meshes being comparable to that of the sequential process.
期刊介绍:
The objective of this journal is to communicate recent and projected advances in computer-based engineering techniques. The fields covered include mechanical, aerospace, civil and environmental engineering, with an emphasis on research and development leading to practical problem-solving.
The scope of the journal includes:
• Innovative computational strategies and numerical algorithms for large-scale engineering problems
• Analysis and simulation techniques and systems
• Model and mesh generation
• Control of the accuracy, stability and efficiency of computational process
• Exploitation of new computing environments (eg distributed hetergeneous and collaborative computing)
• Advanced visualization techniques, virtual environments and prototyping
• Applications of AI, knowledge-based systems, computational intelligence, including fuzzy logic, neural networks and evolutionary computations
• Application of object-oriented technology to engineering problems
• Intelligent human computer interfaces
• Design automation, multidisciplinary design and optimization
• CAD, CAE and integrated process and product development systems
• Quality and reliability.