On Wed, Nov 2, 2022 at 8:57 AM Gong Yujie <[email protected]> wrote:
Dear development team,
Now I'm doing a project about visualization. In the process of visualization, the surface mesh is preferred. I have two questions about the DMPlex mesh.
1. Can I output the 3D volume mesh in DMPlex as a .obj or .fbx file? Both these two meshes are just surface mesh.
1) These are undocumented, proprietary formats. We would have to link Autodesk in order to write them.
1. If not, can I output part of the mesh out? Since I have some labels for this part of mesh, can I output this part of mesh (boundary surface mesh) separately?
2) Yes, you can output the surface or the volume to VTK or HDF5. To get
just the surface, you can use https://petsc.org/main/docs/manualpages/DMPlex/DMPlexCreateSubmesh/ with the boundary label. Thanks, Matt
Best Regards, Jerry
-- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>