TY - JOUR
T1 - GenSDF
T2 - An MPI-Fortran based signed-distance-field generator for computational fluid dynamics applications
AU - Patil, A.
AU - Krishnan Paranjothi, U.C.
AU - Garcia Sanchez, C.
PY - 2025
Y1 - 2025
N2 - This paper presents a highly efficient signed-distance field (SDF) generator designed specifically for computational fluid dynamics (CFD) workflows. Our approach integrates the Message Passing Interface (MPI) for parallel computing with the performance benefits of modern Fortran, enabling efficient and scalable signed distance field (SDF) computations for complex geometries. The algorithm focuses on localized distance calculations to minimize computational overhead, ensuring efficiency across multiple processors. An adjustable stencil width allows users to balance computational cost with the desired level of accuracy in the distance approximation. Additionally, GenSDF supports the widely used Wavefront OBJ format, utilizing its encoded outward normal information to achieve accurate boundary definitions. Performance benchmarks demonstrate the tool's ability to handle large-scale 3D models (∼O(10
7) triangulation faces) and computational grid points ∼O(10
9) with high fidelity and reduced computational demands. This makes it a practical and effective solution for CFD applications that require fast, reliable distance field computations while accommodating diverse geometric complexities.
AB - This paper presents a highly efficient signed-distance field (SDF) generator designed specifically for computational fluid dynamics (CFD) workflows. Our approach integrates the Message Passing Interface (MPI) for parallel computing with the performance benefits of modern Fortran, enabling efficient and scalable signed distance field (SDF) computations for complex geometries. The algorithm focuses on localized distance calculations to minimize computational overhead, ensuring efficiency across multiple processors. An adjustable stencil width allows users to balance computational cost with the desired level of accuracy in the distance approximation. Additionally, GenSDF supports the widely used Wavefront OBJ format, utilizing its encoded outward normal information to achieve accurate boundary definitions. Performance benchmarks demonstrate the tool's ability to handle large-scale 3D models (∼O(10
7) triangulation faces) and computational grid points ∼O(10
9) with high fidelity and reduced computational demands. This makes it a practical and effective solution for CFD applications that require fast, reliable distance field computations while accommodating diverse geometric complexities.
KW - Signed-Distance-Field
KW - Computational Fluid Dynamics
KW - MPI
UR - http://www.scopus.com/inward/record.url?scp=86000732123&partnerID=8YFLogxK
U2 - 10.1016/j.softx.2025.102117
DO - 10.1016/j.softx.2025.102117
M3 - Article
SN - 2352-7110
VL - 30
JO - SoftwareX
JF - SoftwareX
M1 - 102117
ER -