[Gmsh] Coloring mesh Entities

Geordie McBain gdmcbain at freeshell.org
Mon Oct 29 16:30:21 CET 2012


2012/10/29 Paolo Tricerri <paolotricerri at gmail.com>:
> Dear all,
>
> I have a simple question. I have a mesh file (which is not generated
> by a *.geo file) and I can open it in gmsh. There, I  have to volumes
> (with different markers) and to have a better view of which are the
> portions I am considering I would like to color the two volumes
> according their markers.
>
> I have found the command lines on the gmsh.pdf document but I do not
> know how to do that using the GUI.

Under the Tools/Options/Mesh menu,

. on the Visibility tab, check Volume Faces, with Label type = Physical group

. on the Color tab, select Coloring mode = By physical group.

(I assume that your markers correspond to the Physical volumes.)