[Gmsh] How transforming elementary entities to physical groups?
Pierre JUILLARD
pierre.juillard at gmail.com
Fri Feb 19 14:10:46 CET 2010
Dear Konstantinos,
I am aware of these options, but they are unavailable.
I did a synthesis of what I did to get my MED files (enclosed picture).
I also enclosed the original nastran file.
It appears that the "Save all" option has no effect on teh MED file
creation.
I would really thank you if you could suggest me a solution to avoid having
to use the text editor.
Best regards,
Pierre
2010/2/19 Konstantinos Poulios <logari81 at googlemail.com>
> hi,
>
> so your problem is not to export your mesh but to export it including
> information about the groups you have defined. Even in this case you
> don't need physical groups.
>
> Which version of gmsh do you use? In the current version besides "Save
> all (ignore physical groups)" in the export dialog there is the
> "Elemen tag". I don't no the details of MED format but what you want
> to do should be possible by selecting "Elementary entity" as "Element
> Tag". Are you aware of this option?
>
> Regards
>
> Kostas
>
> On Fri, Feb 19, 2010 at 7:52 AM, Pierre JUILLARD
> <pierre.juillard at gmail.com> wrote:
> >
> > 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,
> >
> > Pierre
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20100219/f0f8975d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1_simple.bdf
Type: application/octet-stream
Size: 5328 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20100219/f0f8975d/attachment.bdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: synthesis.png
Type: image/png
Size: 405734 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20100219/f0f8975d/attachment.png>