[Gmsh] transfer physical groups to patches in version 4.3.0

Christophe Geuzaine cgeuzaine at uliege.be
Thu Dec 12 13:31:02 CET 2019



> On 11 Dec 2019, at 22:45, Marc Belleau <marc.belleau at polymtl.ca> wrote:
> 
> 
> Hi to all
> 
> I have to use version 2.12.0 in order for gmshToFoam to transform the physical groups into patches. Because if I use version 4.3.0 and save the mesh in ascii version 2 format including all elements

In the MSH2 format, if you selecting "Save all elements" will discard physical groups.

Just define physical groups for all the entities whose elements should be saved and you should be fine.

(MSH4 does not have that limitation.)

Christophe



> , gmshToFoam ignores the physical groups and you end up with a single huge patch by the name of patch0.
> 
> So I wonder if this is a bug. If so, it is really disppointing since I would much prefer to use the latest gmsh version.
> 
> Thanks anyhow
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine






More information about the gmsh mailing list