<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello everyone,<br>
<br>
First, congratulations for your works. I have used Gmsh since my
undergraduate studies and I still use it in Phd. <br>
<br>
My problem is the following:<br>
<br>
I had to remove with duplicates vertex in an .msh mesh. The
command, "gmsh -check mesh.msh" was able to find duplicates vertex
but "Coherence Mesh;" does not delete them.<br>
<br>
Anyway, I wrote a python script which find and delete them using the
output of "gmsh -check mesh.msh".<br>
<br>
Then, my mesh does not have any duplicates vertex but the node
numbering is discontinuous. <br>
<br>
The command "gmsh -renumber mesh_without_duplicates.msh" is able to
renumber nodes but it launches gui and to save the renumbered mesh,
I have to click to "Save Mesh".<br>
<br>
I would like to find a way to save the renumbered mesh without
launching Gmsh gui. In order to be totally executable from prompt.<br>
<br>
I already tried:<br>
<br>
- "gmsh -renumber mesh_without_duplicates.msh -2 -order 2 -o
renumbered.msh" <br>
<br>
It works but the mesh vertex are altered due to mesh regeneration
and it leads to unacceptable modification of the mesh.<br>
<br>
I also tried some :<br>
<br>
"gmsh -renumber mesh_without_duplicates.msh -string 'Save
"renumbered_mesh.msh";' <br>
<br>
<font face="sans-serif">But It saves an empty mesh. In fact,
specificity of my problem (and source of complication) is that I
had to work with .msh file directly and not .geo file.<br>
<br>
However, I think that to have a command line -save_mesh
renumbered.msh available after -merge, -renumber, -coherence
actions can be very interesting. I searched in documentation but I
did not find any command like this.<br>
<br>
Thank you again.<br>
<br>
Christophe<br>
<br>
<br>
<tt></tt></font>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment--><span
style=" font-family:'DejaVu Sans Mono'; font-size:9pt;
color:#ffffff; background-color:#000000;"><br>
<br>
</span><!--EndFragment--></p>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
</body>
</html>