Assigning different physical groups to different color in gmsh and mark them as different material in fenics

Thanks @dokken for the reply, but I am confused that how do I define physical group which is already been defined in this forum and in my case i don’t know how to add physical tags, since they are randomly generated seeds.