[Gmsh] Physical surfaces for merged step files

guido.schmid at nmtec.ch guido.schmid at nmtec.ch
Fri Jan 23 15:39:27 CET 2015


Hi,


I have a problem defining physical surfaces in gmsh. The attached geo file consists of two lines. The first line merges a step file which consists of two cubes. The other defines a simple physical surface. 


As soon as the option “cut and merge faces” (Geometry.OCCConnectFaces = 1) is turned on, the physical surface randomly changes its position every time the geo file is reloaded. This behaviour makes it impossible to define physical surfaces for merged step files, if the option “cut and merge faces” is used.


Is there a way to avoid this behaviour or is this a gmsh bug?


Best regards
Guido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150123/a36dad30/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2cube.geo
Type: application/octet-stream
Size: 65 bytes
Desc: 2cube.geo
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150123/a36dad30/attachment.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2cube.step
Type: application/octet-stream
Size: 31234 bytes
Desc: 2cube.step
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150123/a36dad30/attachment.step>