[Gmsh] Format Mesh and Boundary Conditions

Geordie McBain gdmcbain at freeshell.org
Thu Dec 3 06:01:20 CET 2009


On Wed, Dec 2, 2009 at 1:31 AM, Adam Larat <adam.larat at inria.fr> wrote:
> Hello you all,
> I hope I am not speaking about a subject that has already been discussed.
> I am using the "*.mesh" format for my meshes because I find this format
> really easy to read. I have noticed that in this format the boundary edges
> are not tagged by the number of the physical entity they belong to, but by
> the number of the line they belong to.
[...]

> Is there any reason for that ?

This default behaviour used to be the only behaviour.

>  Maybe there exists a option that allows me to
> take those physical tags into account ?

Yes, this was added recently (v. 2.4.2, I think):
Mesh.SaveElementTagType=2. See
http://www.geuz.org/gmsh/doc/texinfo/gmsh.html#Mesh-options-list