[Gmsh] about .mesh file format

Felipe Montefuscolo felipe.mt87 at gmail.com
Fri Jul 23 04:06:16 CEST 2010

hi again, thanks for the answer.

Let-me explain my problem with a example. If I make a cube, I can
label the faces (with Physical groups) that are on the boundary so that all
nodes that are in
these faces will be labeled too. Perfect, that's what I want, because
with this I can impose the Dirichlet boundary conditions in my fem code.
The problem is: and nodes that are in the corners of the cube ? these nodes
belong to three faces that may have different labels, and how to decide
face does he live ? that is why it would be desirable to add a label to them
in medit file.

This detail can deteriorate a solution of a lid-driven cavity problem, for



2010/7/18 Geordie McBain <gdmcbain at freeshell.org>

> 2010/7/17 Felipe Montefuscolo <felipe.mt87 at gmail.com>:
> > Dear Gmsh developer,
> > When I export a mesh to *.mesh file format, I choose the option "element
> > tag->Physical entity" (and uncheck the "Save All") to use the labels of
> the
> > elements as a boundary conditions in my FEM code. My question is if one
> can
> > change the
> > label that appear in the list of vertices (zero in Gmshv2.42 and
> Elementary
> > entity in Gmshv.nightly) to Physical entity, as
> > is already the case to the list of Edges and Triangles when I choose the
> > option "element tag->Physical entity".
> At http://www.geuz.org/pipermail/gmsh/2010/005446.html I read
>  `We could not save physical tags, as you can have more than one per
> entity.'
> but I wonder whether in such cases just putting one, any one, might be
> satisfactory?  (Though I don't have a use for node tags myself.)

Felipe Montefuscolo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20100722/4d19fb03/attachment.html>