GenSDF

An MPI-Fortran based signed-distance-field generator for computational fluid dynamics applications

Journal Article (2025)
Authors

A. Patil (TU Delft - Urban Data Science)

U.C. Krishnan Paranjothi (TU Delft - Wind Energy)

Clara Garcia Sanchez (TU Delft - Urban Data Science)

Research Group
Urban Data Science
To reference this document use:
https://doi.org/10.1016/j.softx.2025.102117
More Info
expand_more
Publication Year
2025
Language
English
Research Group
Urban Data Science
Volume number
30
DOI:
https://doi.org/10.1016/j.softx.2025.102117
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

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.