Dear Xavier,

Physical groups are explained in Section 6.2 of Gmsh 
manual<http://gmsh.info/doc/texinfo/gmsh.html#Elementary-entities-vs-physical-groups>.
 The TL;DR is: when some part of the mesh (a node, edge, face or element) is 
part of a physical group, it is marked with a numerical “tag”. Constituents of 
the mesh can receive more than one “tag” when they belong to the intersection 
of different physical groups. The solver using the mesh then reconstructs the 
physical groups by looking for element carrying a certain tag.

As for the formatting of the .msh file, it is explained in Section 9.1 of the 
documentation<http://gmsh.info/doc/texinfo/gmsh.html#MSH-file-format>. The .msh 
file has a $Entities section in which you will find the mesh constituents 
(nodes, edges, faces and volumes) and each will be marked with the physical 
“tags” you defined in your .geo file.

Sincerely Yours,

Guillaume Dilasser

De : gmsh <[email protected]> De la part de Xavier Johnson
Envoyé : vendredi 21 février 2020 02:58
À : [email protected]
Objet : [Gmsh] Clarification on Element Physical Group Relation

Hello,

I had some confusion when I assign a physical group in the gmsh program to how 
those physical groups relate to the generated mesh elements. This is more of a 
concern when I am trying to get an understanding on the information about the 
elements in the output .msh file.

Any clarification would be useful.

Thank you,
Xavier
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to