Convert triangular matlab mesh into .msh file
22 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
darova
2020 年 5 月 20 日
YOu want to read it from FLUENT? If i remember correctly there should be boundary conditions
回答 (2 件)
Jiexian Ma
2025 年 3 月 15 日
編集済み: Jiexian Ma
2025 年 3 月 17 日
I just wrote a function to do that. Please check it.
It works for 2D triangular mesh with one or multiple domain.
0 件のコメント
emrah sever
2022 年 3 月 25 日
Save it in stl formay by using
stlwrite
open in gmsh and then save as .msh.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!