Reading *.msh files (Higher-order curved triangles) in Matlab
25 views (last 30 days)
Show older comments
Hi,
I need to get the number of nodes, node numbers of each element, boundary edges and nodes of the higher-order triangular elements from Gmsh in Matlab (using load_gmsh4 or by any other method). How can I do that?
Please help.
Thanks in advance.
Smitha
0 Comments
Answers (1)
Tanmay Das
on 28 Dec 2021
Edited: Tanmay Das
on 28 Dec 2021
Hi,
I found a similar question in the MATLAB Central which may solve your problem:
You may also refer to the following link for further clarification:
3 Comments
Tanmay Das
on 30 Dec 2021
If you use quadratic or higher order meshes, the number of columns in msh.TETs will change, for a quadratic mesh:
elements = msh.TETS10; elements = elements(:,1:10); elements =elements';
This is discussed in comments section of the following question:
See Also
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!