[Gmsh] Save all nodes but not 2D shell meshes in the physical surfaces

Christophe Geuzaine cgeuzaine at uliege.be
Tue Mar 24 08:28:36 CET 2020

> On 23 Mar 2020, at 22:51, Xingsheng Sun <xssun10 at gmail.com> wrote:
> The output file is in the key format.
> On Mon, Mar 23, 2020 at 2:27 PM Xingsheng Sun <xssun10 at gmail.com> wrote:
> Hi All,
> I am using Transfinite commend to generate 3D hex meshes. Now I want to save all the 3D meshes, and only the nodes, but NOT the 2D shell meshes, in the predefined physical surfaces. I used "Mesh.SaveGroupsOfNodes = 1", but the 2D shell meshes are always in the output file. Could any people tell me how to resolve the problem? Thanks in advance.

The KEY format exporter has a couple of undocumented features. They will probably be modified in the future, but for now you can set

Mesh.SaveAll = 32;

in your script to disable the saving of 2D element sets.


> Best,
> Xingsheng
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 

More information about the gmsh mailing list