-
Notifications
You must be signed in to change notification settings - Fork 68
Bug Report: Mesh adaptation failure when using CAD geometry #2245
Description
When adapting a forest defined using the CAD geometry, the resultant mesh is not valid. There are interior holes in the mesh in some regions and overlapping elements in others. This makes it impossible to use the CAD geometry feature in t8code when this occurs.
To Reproduce
I uploaded a minimum example to this bug report which includes everything to reproduce the bug: mesh generation script using the gmsh python API, cmake file and build script for the example, and paraview state file to view the output .VTU file.
Expected behavior
This behavior does not happen when using the linear element geometry, only when using the CAD geometry. Even when using the CAD geometry, I expect that only the nodes on the boundary would move, but it appears that all of the nodes in the element on the boundary (and even in elements away from the boundary) move in response to projection to the CAD boundary, resulting in an invalid mesh.
Environment (please complete the following information):
OS: Ubuntu 24.04
Compiler: g++/gcc 14.3.0 (Ubuntu 14.3.0-12ubuntu124ppa1)
MPI version: OpenMPI 5.0.8
t8code commit hash: f878a8e
CMake options:
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_CXX_COMPILER=g++
-DCMAKE_C_COMPILER=gcc
-DCMAKE_INSTALL_PREFIX=~/.local/t8code
-DCMAKE_CXX_STANDARD=20
-DCMAKE_C_STANDARD=17
-DCMAKE_CXX_EXTENSIONS=OFF
-DT8CODE_ENABLE_VTK=ON
-DT8CODE_BUILD_AS_SHARED_LIBRARY=ON
-DMPI_HEADER_FOUND=TRUE
-DT8CODE_ENABLE_OCC=ON \
Estimated priority
"Priority: high" Should be solved as soon as possible
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status