Issue with HexagonMeshTrimmer After Using BlockDeletionGenerator #29089
-
Hello, I encountered an issue when using HexagonMeshTrimmer in MOOSE after applying BlockDeletionGenerator to delete the dummy blocks. The following error message is displayed: Here is the sequence of steps I followed to generate the mesh:
When I use HexagonMeshTrimmer on this mesh without applying BlockDeletionGenerator, everything works as expected. However, when I use BlockDeletionGenerator before HexagonMeshTrimmer (with everything else remaining the same), the error above occurs. I’ve reviewed the documentation for HexagonMeshTrimmer and meshing tutorials, and it seems like my usage should be correct. Could you help me understand why this happens and how to resolve it? Thank you for your assistance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello The HexagonMeshTrimmer requires a boolean metadata to be sure that the mesh is trimmable. to set the Guillaume |
Beta Was this translation helpful? Give feedback.
Hello
The HexagonMeshTrimmer requires a boolean metadata to be sure that the mesh is trimmable.
Using a BlockDeletionGenerator removes the metadata because we can no longer guarantee that the mesh is trimmable if you use custom operations on it.
If you wish to re-instate this metadata you can use:
https://mooseframework.inl.gov/source/meshgenerators/AddMetaDataGenerator.html
to set the
hexagon_peripheral_trimmability
andhexagon_center_trimmability
booleans yourself. Center trimmability means you can cut some sectors off without breaking elements in the mesh, and similarly for peripheral trimmability, it means the periphery of the mesh can be removed. If the mesh is not truly trimmable, t…