Page 1 of 1

physival volumes from gmsh to elmer

Posted: 26 Jul 2012, 23:01
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.

Re: physival volumes from gmsh to elmer

Posted: 27 Jul 2012, 10:58
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

Re: physival volumes from gmsh to elmer

Posted: 27 Jul 2012, 12:15
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!!!

Re: physival volumes from gmsh to elmer

Posted: 27 Jul 2012, 12:37
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

Re: physival volumes from gmsh to elmer

Posted: 27 Jul 2012, 15:39
by Oleksiy
It show me nothing. Just write "Done writing "micromegas.msh" ".

Re: physival volumes from gmsh to elmer

Posted: 28 Jul 2012, 16:36
by Oleksiy
I made it!!! Problem was in orde of definition of the Physics entities.