CFD Online Logo CFD Online URL
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

[gmsh] Identification numbers change after reloading

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 5, 2015, 11:20
Default [gmsh] Identification numbers change after reloading
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 5
KateEisenhower is on a distinguished road
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:

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:

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,

KateEisenhower is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
HELP!! Prandtl numbers in RNG k-e turbulence model maoasis FLUENT 0 April 24, 2006 10:51
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07
no enthalpy change across the momentum source Atit Koonsrisuk CFX 2 December 19, 2005 03:33
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12

All times are GMT -4. The time now is 21:16.