Generating tetrahedral mesh from nodes

6 visualizaciones (últimos 30 días)
Pelajar UM
Pelajar UM el 2 de Nov. de 2021
Editada: Bruno Luong el 18 de Nov. de 2022
I have a series of nodes in space and I want to generate a tetrahedral mesh from them.
This is how the accurate geometry looks like when I use generateMesh with the stl file.
I take the nodes from mesh and reposition them within the same space using my algorithm. Now I need to rebuild the mesh using these new nodes. When I use delaunayTriangulation, the geometry is not preserved at all.
  2 comentarios
Giseok yun
Giseok yun el 18 de Nov. de 2022
Editada: Giseok yun el 18 de Nov. de 2022
In my opinion, your new mesh model seems to lack the geometry information.
So, delaunay traingulation is performed only with the nodal points.
Using the alpha shape first and then performing delaunay triangulation might work
(You can adjust the alpha shape parameter to give more detail to the existing nodal points and their boundaries)
I think using the matlab command "geometryFromMesh" seems more conveneint.
You can attach the geometry information to the nodal points you have.
  1. From the original mesh, extract out the geometry information
  2. Copy the geometry information to the new nodal set you generated.
  3. generateMesh
Bruno Luong
Bruno Luong el 18 de Nov. de 2022
Editada: Bruno Luong el 18 de Nov. de 2022
"I take the nodes from mesh and reposition them within the same space using my algorithm. "
Why you take only the nodes and not import the mesh meaning with correct face info? Why to rebuild something that you already have?

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by