[Gmsh] How transforming elementary entities to physical groups?

Pierre JUILLARD pierre.juillard at gmail.com
Wed Feb 17 18:37:17 CET 2010


Hi,

The thing is that they are not physical groups yet.
They are just elementary entities.
How should I turn my elementary entities as physical groups?

I thank you for your help.
Regards,

Pierre



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

> Hi!
>
> On Thu, Feb 11, 2010 at 2:24 PM, Pierre JUILLARD
> <pierre.juillard at gmail.com> wrote:
> >
> > Hi everybody!
> >
> > I am interested in converting a Nastran mesh to MED file and gmsh seems
> > pretty the good tool for that!
> > However, when I read the nastran file, all my "parts" are stored as
> > elementary entities (see enclosed picture).
> > Thus nothing is exported to the MED format.
>
> After pressing ok in the save as dialog, you get an option "Save all
> (ignore physical groups)". Isn't that the right option for you?
>
> >
> > How can I change my elementary entities into physical groups?
> >
> > I did it by hand modifying the file in a text editor using gmsh file
> format
> > (I had to change the content of a column element per element (elementary
> > entities index being in column 5 and physical group index in column 4, I
> > duplicated the elementary entities index column) using a macro...): it is
> > do-able, but only for a small number of groups...
> > For larger files, I would like to know if there is a "turn-key" option
> > allowing this.
> >
> > I thank you in advance for your help!
> >
> > Regards,
> >
> > Pierre
> >
> > _______________________________________________
> > gmsh mailing list
> > gmsh at geuz.org
> > http://www.geuz.org/mailman/listinfo/gmsh
> >
> >
>
> Regards
> Kostas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20100217/d1ca9949/attachment.html>