<html>
<head>
<meta name="generator" content="Windows Mail 17.5.9600.20689">
<style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoNormal, li.MsoNormal, div.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, 
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, 
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head>
<body dir="ltr">
<div data-externalstyle="false" dir="ltr" style="font-family: 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif';font-size:12pt;"><div>Hi,</div><div><br></div><div>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. </div><div><br></div><div>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.</div><div><br></div><div>Is there a way to avoid this behaviour or is this a gmsh bug?</div><div><br></div><div>Best regards<br>Guido</div><div><br></div></div>
</body>
</html>