[Gmsh] Question about GMSH physicals and partitioning

Nicolas Marsic nicolas.marsic at ulg.ac.be
Tue Mar 8 13:31:23 CET 2016


Hello Ben,

Maybe SetPartition is what you are looking for.

If I remember correctly, SetPartition(42){ Volume{ 1 }; } will set the 
partition ID 42 to the volume 1.
You can have a look at 
http://gmsh.info/doc/texinfo/gmsh.html#Miscellaneous-mesh-commands

Best,
Nicolas.

On 22/02/16 20:37, benjamin kary wrote:
> Hello,
>
> Is there any way to define physicals based on the partition IDs?  I
> would like to assign partition IDs to line segments so that I can define
> the interfaces between subdomains.  I currently get the interface line
> segments for free with an (negative) elementary geometrical entity
> number that was seemingly generated incrementally.  Can I tag this with
> one of the partition IDs somehow?
>
> Thanks,
> Ben
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
>



More information about the gmsh mailing list