Abstract
The present paper is devoted to the development of algorithms for dynamic grid adaptation to the geometry of an immersed moving rigid body and tracking its position on the grid. Hierarchical octree-based mesh adaptation is dynamically performed for a Cartesian base grid so that 2:1 grid cell balancing is strictly maintained in calculations and the body surface is always located in a cloud of grid cells of the lowest adaptation level. The latter means that all cut cells and all their neighbors at each time step belong to the lowest adaptation level. The details of corresponding implementations on multi-core CPUs using OpenMP and GPUs using CUDA, performance results are also provided. According to performed estimation, proposed algorithms brings only 3\(\%\) overhead to CFD solver runtime. To demonstrate the ability of our implementation to process complex geometry, a DLR F6 aircraft model is used as rigid body in the tests conducted.
REFERENCES
I. Menshov and P. Pavlukhin, ‘‘GPU-native gas dynamic solver on octree-based AMR grids,’’ J. Phys.: Conf. Ser. 1640, 012017 (2020).
S. Watanabe and T. Aoki, ‘‘Large-scale flow simulations using lattice Boltzmann method with amr following free-surface on multiple GPUs,’’ Comput. Phys. Commun. 264, 107871 (2021).
S. Watanabe, J. Kawahara, T. Aoki, K. Sugihara, S. Takase, S. Moriguchi, and H. Hashimoto, ‘‘Free-surface flow simulations with floating objects using lattice boltzmann method,’’ Eng. Appl. Comput. Fluid Mech. 17, 2211143 (2023).
N. Yu. Y. Bell and P. J. Mucha, ‘‘Particle-based simulation of granular materials,’’ in Proceedings of the 2005 ACM SIGGRAPH/Eurographics Symposium on Computer Animation SCA 05 (Assoc. Comput. Mach., New York, USA, 2005), pp. 77–86.
S. Xu, B. Gao, A. Lofquist, M. Fernando, M.-C. Hsu, H. Sundar, and B. Ganapathysubramanian, ‘‘An octree-based immersogeometric approach for modeling inertial migration of particles in channels,’’ Comput. Fluids 214, 104764 (2021).
P. Pavlukhin and I. Menshov, ‘‘GPU-aware AMR on octree-based grids,’’ in Parallel Computing Technologies, Ed. by V. Malyshkin (Springer, Cham, 2019), pp. 214–220.
P. Pavlukhin and I. Menshov, ‘‘On defragmentation algorithms for GPU-native octree-based AMR grids,’’ in Parallel Computing Technologies, Ed. by V. Malyshkin (Springer, Cham, 2019), pp. 235–244.
O. Brodersen, ‘‘Drag prediction of engine-airframe interference effects using unstructured navier-stokes calculations,’’ AIAA J. Aircraft 39, 927–935 (2002).
C. Geuzaine and J.-F. Remacle, ‘‘Gmsh: A 3-d finite element mesh generator with built-in pre- and post-processing facilities,’’ Int. J. Numer. Methods Eng. 79, 1309–1331 (2009).
Blender Software. https://www.blender.org. Accessed 2023.
Funding
This work was supported by Moscow Center of Fundamental and Applied Mathematics, Agreement with the Ministry of Science and Higher Education of the Russian Federation, no. 075-15-2019-1623.
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
The authors of this work declare that they have no conflicts of interest.
Additional information
Publisher’s Note.
Pleiades Publishing remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
(Submitted by A. V. Lapin)
Rights and permissions
About this article
Cite this article
Pavlukhin, P.V., Menshov, I.S. GPU-native Dynamic Octree-based Grid Adaptation to Moving Bodies. Lobachevskii J Math 45, 308–318 (2024). https://doi.org/10.1134/S1995080224010426
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1134/S1995080224010426