A Performance-Enhanced Cartesian Grid Generation Method: More Robust, Efficient, and Memory-Efficient
Open Access
- 25 September 2025
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 15 (19) , 10392
Abstract
To address the limitations of poor robustness, low efficiency, and memory waste in traditional Cartesian grid generation, this paper proposes targeted improvements focusing on three key aspects: the surface mesh data structure, the Cartesian grid data structure, and the determination of the spatial relationship between the grid and the object surface. Specifically, a nested bounding box-based binary tree is established to store discrete triangles, enhancing the efficiency and accuracy of triangle data access. Secondly, a “member packaging and neighbor threading” Cartesian grid structure is constructed, improving generation speed while reducing memory consumption. Thirdly, a comprehensive Cartesian cell classification method is developed, integrating intersection checks, interior/exterior classification, and intersected cell center assessment; three strategies are further proposed to accelerate intersection checks for large-scale grids. The performance of Cartesian grid generation is compared with traditional methods and the commercial CFD code. The results demonstrate a grid generation efficiency of less than two seconds per million cells, significantly outperforming traditional methods, with a 20% reduction in memory consumption. Finally, an airflow simulation past a train illustrates the suitability of the generated grids for practical computational applications.Keywords
This publication has 32 references indexed in Scilit:
- Evaluation of an immersed boundary numerical framework to address the wind field in complex urban topographiesBuilding and Environment, 2024
- A parallel geometric multigrid method for adaptive topology optimizationStructural and Multidisciplinary Optimization, 2023
- Anisotropic Cartesian Grid Generation Strategy for Arbitrarily Complex Geometry Based on a Fully Threaded TreeComputer-Aided Design, 2022
- Enhanced strategy for adaptive Cartesian grid generation with arbitrarily complex 3D geometryAdvances in Engineering Software, 2022
- An octree-based, cartesian navier–stokes solver for modern cluster architecturesThe Journal of Supercomputing, 2022
- An immersed boundary method on Cartesian adaptive grids for the simulation of compressible flows around arbitrary geometriesEngineering with Computers, 2020
- Automatic generation of locally refined Cartesian meshes: Data management and algorithmsInternational Journal for Numerical Methods in Engineering, 2017
- Automatic sizing functions for unstructured surface mesh generationInternational Journal for Numerical Methods in Engineering, 2016
- Fully automatic and fast mesh size specification for unstructured mesh generationEngineering with Computers, 2004
- An alternating digital tree (ADT) algorithm for 3D geometric searching and intersection problemsInternational Journal for Numerical Methods in Engineering, 1991