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

Marios Papadopoulos mariospapa2008 at gmail.com
Sun Apr 21 14:26:08 CEST 2013


Thank you so much! Done it!!! "Physical".... cool feature of gmsh!


On Tue, Apr 16, 2013 at 11:07 PM, Martin Vymazal
<martin.vymazal at vki.ac.be>wrote:

> **
>
> 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!
>
>
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130421/15e5e907/attachment.html>