JOURNAL OF COMPUTATIONAL PHYSICS | 卷:368 |
Binarized-octree generation for Cartesian adaptive mesh refinement around immersed geometries | |
Article | |
Hasbestan, Jaber J.1  Senocak, Inanc1  | |
[1] Univ Pittsburgh, Dept Mech Engn & Mat Sci, Pittsburgh, PA 15261 USA | |
关键词: AMR; Hash table; Octree; Red-black tree; Z-order curve; | |
DOI : 10.1016/j.jcp.2018.04.039 | |
来源: Elsevier | |
【 摘 要 】
We revisit the generation of balanced octrees for adaptive mesh refinement (AMR) of Cartesian domains with immersed complex geometries. In a recent short note (Hasbestan and Senocak, 2017) [42], we showed that the data locality of the Z-order curve in a hashed linear-octree generation method may not be perfect because of potential collisions in the hash table. Building on that observation, we propose a binarized-octree generation method that complies with the Z-order curve exactly. Similar to a hashed linear-octree generation method, we use Morton encoding to index the nodes of an octree, but use a red-black tree in place of the hash table. Red-black tree is a special kind of a binary tree, which we use for insertion and deletion of elements during mesh adaptation. By strictly working with the bitwise representation of an octree, we remove computer hardware limitations on the depth of adaptation on a single processor. Additionally, we introduce a geometry encoding technique for rapidly tagging a solid geometry for mesh refinement. Our results for several geometries with different levels of adaptations show that the binarized-octree generation method outperforms the linear-octree generation method in terms of runtime performance at the expense of only a slight increase in memory usage. The current AMR capability, reb1-AMR, is available as open-source software. (C) 2018 Elsevier Inc. All rights reserved.
【 授权许可】
Free
【 预 览 】
Files | Size | Format | View |
---|---|---|---|
10_1016_j_jcp_2018_04_039.pdf | 1262KB | download |