Convert triangular matlab mesh into .msh file

26 views (last 30 days)
sgericeb
sgericeb on 19 May 2020
Answered: emrah sever on 25 Mar 2022
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 Comments
sgericeb
sgericeb on 20 May 2020
I did think of doing that and importing it into gmsh, although I hoped there might be another alternative
darova
darova on 20 May 2020
YOu want to read it from FLUENT? If i remember correctly there should be boundary conditions

Sign in to comment.

Answers (1)

emrah sever
emrah sever on 25 Mar 2022
Save it in stl formay by using
stlwrite
open in gmsh and then save as .msh.

Community Treasure Hunt

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

Start Hunting!