Convert triangular matlab mesh into .msh file
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have generated a 2D triangular mesh in matlab, however, I need to find a way to convert it into a .msh file. I have been searching for ages but haven't found any way to do this. I think the easiest way to convert it into a .msh file would be in GMSH but I can't find a way to upload the mesh into GMSH. I'm open to any alternatives.
Many thanks.

3 commentaires
darova
le 20 Mai 2020
YOu want to read it from FLUENT? If i remember correctly there should be boundary conditions
Réponses (2)
Jiexian Ma
le 15 Mar 2025
Modifié(e) : Jiexian Ma
le 17 Mar 2025
I just wrote a function to do that. Please check it.
It works for 2D triangular mesh with one or multiple domain.
0 commentaires
emrah sever
le 25 Mar 2022
Save it in stl formay by using
stlwrite
open in gmsh and then save as .msh.
0 commentaires
Voir également
Catégories
En savoir plus sur Convert Image Type dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!