[Paper Review] Novel distance-based masking and adaptive alpha-shape methods for CNN-ready reconstruction of arbitrary 2D CFD flow domains
The paper introduces a distance-based masking approach and an adaptive alpha-shape method to reconstruct CNN-ready, physically consistent 2D CFD flow domains, benchmarking against classical alpha-shapes and offering a web tool.
Interpolating scattered CFD datasets onto a uniform Cartesian grid can distort the true geometry, producing a convex-hull type envelope and activating nonphysical regions. This work presents a reconstruction framework that recovers physically consistent masks before exporting CNN-ready fields. It introduces two novel strategies, distance-based masking and an adaptive alpha-shape formulation that normalizes alpha using local data resolution, and evaluates them against classical alpha-shape boundary recovery. A quantitative, topology-aware metric suite is introduced to assess retention, suppression of unsupported regions, overlap consistency, and connectivity. The novel distance-based method is robust across the geometries considered under the same threshold rule, with tau set to the minimum CFD grid spacing, and achieves 500-800 times speedups over classical alpha-shapes. The adaptive alpha-shape remains stable when its control parameter is set to 1 and is 1.7-2.6 times faster than the classical variant, which requires geometry-specific alpha tuning. A lightweight boundary inflation post-process using a minimal dilation further improves retention by up to 2.96% with negligible unsupported activation (less than 0.08%). Overall, the distance-based method is recommended as the default due to its accuracy, stability, minimal tuning, and low cost, while the adaptive alpha-shape is a strong alternative when grid-spacing information for threshold selection is unavailable. A companion web application operationalizes the workflow end to end, enabling 2D ASCII dataset upload, parameter tuning, mask and boundary generation, and export of CNN-ready outputs.
Motivation & Objective
- Motivate accurate reconstruction of CFD geometries when interpolating scattered data to a uniform grid to avoid nonphysical regions.
- Develop a distance-based masking method that robustly recovers true geometry under a common threshold.
- Propose an adaptive alpha-shape formulation that normalizes alpha using local data resolution for boundary recovery.
- Evaluate methods with a topology-aware metric suite and compare against classical alpha-shapes.
- Provide a lightweight post-processing step and a companion web app to operationalize the workflow.
Proposed method
- Introduce distance-based masking to recover physically consistent domains with a single threshold tau equal to the minimum CFD grid spacing.
- Develop adaptive alpha-shape that normalizes the shape parameter by local data resolution and evaluates stability with a control parameter near 1.
- Define a topology-aware metric suite to assess retention, suppression of unsupported regions, overlap consistency, and connectivity.
- Include a boundary inflation post-process via minimal dilation to improve geometry retention with negligible extra activations.
- Provide a companion web application to upload 2D ASCII data, tune parameters, generate masks/boundaries, and export CNN-ready outputs.
Experimental results
Research questions
- RQ1Can distance-based masking reliably recover true CFD geometry across the considered domains using a single threshold rule?
- RQ2How does adaptive alpha-shape compare to classical alpha-shapes in boundary recovery and computational efficiency?
- RQ3What is the impact of a boundary inflation post-process on retention and activation of unsupported regions?
- RQ4Is there a robust workflow that makes these methods practical via a web application?
Key findings
- Distance-based masking achieves robust geometry recovery across geometries with tau set to the minimum CFD grid spacing.
- Distance-based method delivers 500–800× speedups over classical alpha-shapes.
- Adaptive alpha-shape remains stable when its control parameter is set to 1 and is 1.7–2.6× faster than the classical variant which requires geometry-specific tuning.
- Boundary inflation post-process improves retention by up to 2.96% with negligible unsupported activation (<0.08%).
- Overall, distance-based masking is recommended as default due to accuracy, stability, low tuning, and cost; adaptive alpha-shape is a strong alternative when grid-spacing information is unavailable.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.