CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Gmsh] Identification numbers change after reloading (https://www.cfd-online.com/Forums/openfoam-meshing/157705-identification-numbers-change-after-reloading.html)

KateEisenhower August 5, 2015 11:20

Identification numbers change after reloading
 
Hello foamers,

This is a question I also posted on the gmsh mailing list. But since barely anyone answers there, I hope someone can help me here:

Quote:

Dear gmsh list,

I have created a *.msh file from an imported patched *.stl file. After that I call the *.msh file in the *.geo file with the merge command. Everytime I reload the script via GUI my points’ identification numbers change.

Two questions:
- Why is this happening?
- How can I prevent gmsh from doing this?

Best regards!
I already tried to get the identification number with the boundary command:

Code:


lines[]=Boundary{Surface {1};}; // writes the boundary lines of Surface 1 in the lines list
points[]=Boundary{Line {lines[1]};}; // writes the points of the first of the just obtained lines in the points list

Line(39) = {114, points[1]}; // creates a line from a point to the first point of the newly obtained points

Even with this workaround it is the same problem as before. If anyone knows how to work around this, it would be very welcome.

Best regards,

Kate


All times are GMT -4. The time now is 13:17.