[Gmsh] remove additional info for nodes and elements from .msh file

Martin Vymazal martin.vymazal at vki.ac.be
Tue Apr 16 22:07:00 CEST 2013


Hello Marios,

 mark your surface(s) as physical. Gmsh will save only those elements that have 
some physical tag associated with them. Take a look at gmsh reference manual, 
section 6.2:

 http://www.geuz.org/gmsh/doc/texinfo/gmsh.html#Elementary-vs-physical-entities

Best regards,

  Martin Vymazal

On Tuesday 16 of April 2013 19:49:40 Marios Papadopoulos wrote:


I have created one *mygeometry.geo* file which contains points, lines, circles (with 
additional helping nodes to define arcs), line loops, surfaces, and a recombine 
surface definitions in 2D. From command line, I can create with *gmsh -2 
mygeometry.geo *the desired mesh with quadrilateral elements. The aforementioned 
command will produce *mygeometry.msh*. Is there any option, to remove additional 
nodes (used only for geometry purposes) from *$Nodes* block, and also all the 
elements marked with labels "15" and "1" (points and 1D line elements 
correspondigly) in *$Elements* block of .msh file? I need only "pure" mesh nodes and 
pure quad elements in msh file.

Thanks in advance!




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130416/0b6255a2/attachment.html>