Hi everybody,
I have a 3D tetrahedral mesh on a hollow cylinder, where the cavity has a tree-like form (with 7 branches, i.e. 7 faces after using the "importGeometry" command).
My goal is to find the coordinates and the indexes of the nodes at the boundary of this domain, especially the nodes laying on the tree-like structure.
The best thing would be to find a way to link a boundary node to the face it belongs to using a built-in MATLAB function, but I don't know if it's possible since the topic is quite new.
I found a way to overcome the problem using the function "freeBoundary", which identifies boundary nodes and returns a new 2D triangulation on the boundary, made by nodes of the original triangulation in a new order (it seems random).
Now, using "find" I can link the 2D nodes to the 3D ones, but I fear this is a terrible way to solve the problem!
So I was looking for something more direct, for example a MATLAB function to link the coordinates automatically.
Any help would be appreciated.
Thanks,
Claudio