[Gmsh] How transforming elementary entities to physical groups?

Pierre JUILLARD pierre.juillard at gmail.com
Fri Feb 19 07:52:34 CET 2010

Hi Konstantinos,

Thanks for your attention.

The thing is that I don't only need the mesh, I also would like to have the
"elementary entities" groups as "physical groups".

I think we don't understand each other with the term "elementary entities":
at first, I was thinking that they were kind of elementary entities groups
like "nodes", "shells", "hexahedre", "tetrahedre" and thus that user has no
real choice to create them: maybe they are done by default... Actually, it
turns out that no.
My mesh which is essentially made up of shells elements and has about ten
"elementary entities" groups, which are recorded as "elementaty entities",
and not as "physical groups".

The thing is that whatever if the option "Save all (ignore physical groups)"
is checked or not, my groups are not present in the MED exported file.

By hand I change in the msh GMSH file the physical group index of each
elements (rather long...), open the file in GMSH back, checked that they
were recognised as physical groups, save then in MED format and finally got
them as groups in MED.

I would have like to know if there was another way to carry out such
management: changing "elementary entities" groups to "physical groups".

I thank you in advance.
Best regards,


2010/2/18 Konstantinos Poulios <logari81 at googlemail.com>

> On Wed, Feb 17, 2010 at 6:37 PM, Pierre JUILLARD
> <pierre.juillard at gmail.com> wrote:
> > Hi,
> >
> > The thing is that they are not physical groups yet.
> If you choose "Save all (ignore physical groups)" you don't need any
> physical groups. Your mesh will be exported as a whole.
> > They are just elementary entities.
> > How should I turn my elementary entities as physical groups?
> >
> > I thank you for your help.
> > Regards,
> >
> > Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20100219/b8a8fa40/attachment.html>