Construction of cylindrical second-order tetrahedral elements in the C++ API
Hello, thank you very much for taking the time to respond to my question amidst your busy schedule. Although this question is simple, I am not sure how to implement it.
I am using the C++ API to generate a second-order tetrahedral mesh for a cylinder, but it always generates a volume mesh that adheres tightly to the curved surface, as shown in the figure. As you can see, it is not composed of tetrahedral elements. The midpoints of one of the edges of the tetrahedra near the curved surface automatically adhere to the surface. Is there any additional statement that needs to be added after 'gmsh::model::mesh::setOrder(2);' to avoid this issue? How to disable the functionality of the red lines in the Gmsh C++ API?
Thank you for your response.!
Edited by Bo Yang