physival volumes from gmsh to elmer

Mesh generators, CAD programs, and other tools
Post Reply
Oleksiy
Posts: 8
Joined: 26 Jul 2012, 11:47
Antispam: Yes

physival volumes from gmsh to elmer

Post by Oleksiy »

Hello, i am new.

i transferred geometry from gmsh to elmer. And until i don't declarate volume as physical - all OK, if i do this physical surface inside volume is disappear.

in this file last srting is commented - uncomment and this happend.
Attachments
micromegas.msh
(731 Bytes) Downloaded 418 times
micromegas.geo
(1.75 KiB) Downloaded 442 times
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: physival volumes from gmsh to elmer

Post by mzenker »

Hi,

check "save all" in gmsh when saving the mesh, otherwise only the physical entities will be saved.
In ElmerGUI, you can view the volume mesh by checking View->Volume mesh, and by inspectino Model->Summary.

HTH,

Matthias
Oleksiy
Posts: 8
Joined: 26 Jul 2012, 11:47
Antispam: Yes

Re: physival volumes from gmsh to elmer

Post by Oleksiy »

thanks for answer

But this is what i want - i need 4 physical entities 2 surfaces at the edge one volume and one surface in this volume. But after declaration of volume as physics volume internal surface is disappear. Translation to .msh i made by typing gmsh micromegas.geo -3 order 2. I was trying to type gmsh micromegas.geo -saveall order 2 or gmsh micromegas.geo -saveall - it is just run the gmsh, but didn't made micromegas.msh.

HELP!!!PLEASE!!!
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: physival volumes from gmsh to elmer

Post by mzenker »

Hi,

open your geometry in gmsh (the GUI), mesh and save. You will see a dialog box where you can check "save all (ignore physical groups)". Check that and hit "OK". Then your volume mesh (and side surfaces) gets also saved.
Alternatively you can declare every entity (volume, side surfaces) as physical.
If you don't want to use the gmsh GUI, please consult the gmsh manual in order to find out how to do what you want with commands in the .geo file and command line options. There is also a gmsh mailing list.

HTH,

Matthias
Oleksiy
Posts: 8
Joined: 26 Jul 2012, 11:47
Antispam: Yes

Re: physival volumes from gmsh to elmer

Post by Oleksiy »

It show me nothing. Just write "Done writing "micromegas.msh" ".
Oleksiy
Posts: 8
Joined: 26 Jul 2012, 11:47
Antispam: Yes

Re: physival volumes from gmsh to elmer

Post by Oleksiy »

I made it!!! Problem was in orde of definition of the Physics entities.
Post Reply