First of all, I wish a Happy New Year to everyone. Secondly, thank you for sharing the discussions from FreeFEM++ days for those who couldn’t attend live.
I want to perform a stability analysis on a 2D geometry using the flow exported from another program. I made the 2D mesh in Salome. I exported this mesh as GMF ASCII file with the .mesh extensions but I can’t read it in FreeFEM++ using:
mesh Th = readmesh(“X.mesh”);
I looked in the mesh file and it seems It also exports a third dimension component equal to 0. I tried to read it using
mesh3 Th = readmesh3(“X.mesh”);
For a full 3D mesh I have no problems in importing it. I also tried some suggestions found in older posts on the forum, by reading using gmshload and still no solution.
Meanwhile, I interpolated a velocity field on this 2D mesh in MatLAB so I couldnt export from there the X and Y coordinates pair with the corresponding velocity. I was wondering, is there a way to import the X and Y coordinates from MatLAB and create the mesh again in FreeFEM++ and interpolate the velocity field exported from MatLAB inside FreeFEM++? Any guidance or hints would be much appreciated.
Thank you. Best regards,