{"title":"Exact and efficient search-based wall distance algorithm for partitioned unstructured grids","authors":"Jun Seok Oh , Tae Yoon Kung , Kyu Hong Kim","doi":"10.1016/j.compfluid.2024.106494","DOIUrl":null,"url":null,"abstract":"<div><div>In this paper, we develop a novel search-based wall distance calculation algorithm. The algorithm is highly efficient and satisfies the crucial requirement of exactness in wall distance calculations, taking into account the full geometry of the discretized surface. Unlike conventional search-based algorithms that use element-wise bounding boxes or auxiliary grids, the developed algorithm employs only a set of zero-dimensional reference points representing the elements of the discretized surface. Reference points can be chosen as the centers of faces, the centers of edges, or the vertices. The conservative relation between the approximate distance using one of these references and the exact distance is established, allowing for the efficient extraction of element candidates using only low-level information. The algorithm does not require complex pre-processing of the surface or any information about the query points, ensuring high software modularity. An intuitive load balancing procedure is also proposed to address the load imbalance arising from partitioning-based parallelization. Numerical test demonstrates that the developed algorithm shows three orders of magnitude speed-up compared to exhaustive search and one to two orders of magnitude speed-up compared to other search-based algorithms. It also shows high parallel scalability on partitioned meshes, indicating its feasibility for large-scale problems.</div></div>","PeriodicalId":287,"journal":{"name":"Computers & Fluids","volume":"288 ","pages":"Article 106494"},"PeriodicalIF":2.5000,"publicationDate":"2024-11-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Fluids","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0045793024003256","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
In this paper, we develop a novel search-based wall distance calculation algorithm. The algorithm is highly efficient and satisfies the crucial requirement of exactness in wall distance calculations, taking into account the full geometry of the discretized surface. Unlike conventional search-based algorithms that use element-wise bounding boxes or auxiliary grids, the developed algorithm employs only a set of zero-dimensional reference points representing the elements of the discretized surface. Reference points can be chosen as the centers of faces, the centers of edges, or the vertices. The conservative relation between the approximate distance using one of these references and the exact distance is established, allowing for the efficient extraction of element candidates using only low-level information. The algorithm does not require complex pre-processing of the surface or any information about the query points, ensuring high software modularity. An intuitive load balancing procedure is also proposed to address the load imbalance arising from partitioning-based parallelization. Numerical test demonstrates that the developed algorithm shows three orders of magnitude speed-up compared to exhaustive search and one to two orders of magnitude speed-up compared to other search-based algorithms. It also shows high parallel scalability on partitioned meshes, indicating its feasibility for large-scale problems.
期刊介绍:
Computers & Fluids is multidisciplinary. The term ''fluid'' is interpreted in the broadest sense. Hydro- and aerodynamics, high-speed and physical gas dynamics, turbulence and flow stability, multiphase flow, rheology, tribology and fluid-structure interaction are all of interest, provided that computer technique plays a significant role in the associated studies or design methodology.