Hi,

Hope everything is good. I'm working merging two meshes into one via the
.cut OCC class method, but my output has all the Physical Groups defined as
0, even when adding a PhysicalGroup to the model. Here's a quick example.

gmsh.model .occ.addPlaneSurface([-(12 + i)], i + 2 + 100)
gmsh.model.addPhysicalGroup(2, [i + 2 + 100], i + 2 + 100)

When I open the meshes all of the surfaces have the same PhysicalGorup
index. Is there a way to use the OCC class and set Physical Groups as it
can be done using the geo class?

Thanks!
-- 
Rinaldi Petrolli
Acoustic Engineer
Walters-Storyk Design Group
Architectural Acoustic Consulting
Media Systems Engineering
262 Martin Avenue
<https://www.google.com/maps/place/WSDG+-+Walters-Storyk+Design+Group/@41.779992,-73.9967305,15z/data=!4m5!3m4!1s0x0:0x5691bbfa0a6698a4!8m2!3d41.779992!4d-73.9967305>
Highland, NY 12528, USA
<https://www.google.com/maps/place/WSDG+-+Walters-Storyk+Design+Group/@41.779992,-73.9967305,15z/data=!4m5!3m4!1s0x0:0x5691bbfa0a6698a4!8m2!3d41.779992!4d-73.9967305>
O +1 845 691 9300
F +1 845 691 9361
[email protected] <http://goog_1434455421/>
www.wsdg.com
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to