<div dir="ltr">
<div>Hi Rod, <br></div><div><br></div><div>If Physical Surfaces (Volumes, etc. ) are set, only elements which are part of a Physical Group are saved in the mesh file. <br></div><div>By setting the 
<code>Mesh.SaveAll</code> option to 1 (default is 0), you will then save all elements to the mesh file. <br></div><div><br></div><div>Sincerely,</div><div>Max Orok</div>

</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 24, 2018 at 5:28 AM Rob Govers <<a href="mailto:r.govers@uu.nl">r.govers@uu.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div>Hi -</div><div><br></div><div>I run into the issue that the following commands:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>SetFactory("OpenCASCADE");</div></div><div><div>Cylinder(1) = {-1, -0, 0, 2, 0, 0, 4, 2*Pi};</div></div><div><div>Cylinder(2) = {-1.1, -0, 0, 2.2, 0, 0, 0.5, 2*Pi};</div></div><div><div>BooleanDifference{Volume{1}; Delete; }{Volume{2};Delete;}</div></div><div><div>Physical Surface(1000) = {4};</div></div></blockquote><div><br></div><div>followed by 3D meshing and write to a .msh file, do not result in a mesh file that contain the 3D results. The message console indicates that 204 nodes and 1029 are generated, they are nicely shown in the GUI, yet the saved output file has only 17 nodes and 26 triangular elements. This result is the same for different .msh file output formats, so that does not appear to be the issue. However, when I leave out the "Physical Surface(1000) = {4};”, the mesh file does contain the complete results. </div><div><br></div><div><br></div><div>Info    : Gmsh version   : 4.0.1</div><div>Info    : Build OS       : MacOSX</div><div>Info    : Build options  : 64Bit Ann Bamg Bfgs Blas(Custom) Blossom Cgns DIntegration Dlopen Fltk Gmm Hxt Jpeg(Fltk) Kbipack Lapack(Custom) MathEx Med Mesh Metis Mmg3d Mpeg NativeFileChooser Netgen ONELAB ONELABMetamodel OpenCASCADE OpenGL OptHom PETSc Parser Plugins Png(Fltk) Post SLEPc Solver TetGen/BR Voro++ Zlib</div><div>Info    : Build date     : 20180907</div><div>Info    : Build host     : <a href="http://gmsh.info" target="_blank">gmsh.info</a></div><div>Info    : Packager       : geuzaine</div><div>Info    : Executable     : /Applications/Gmsh.app/Contents/MacOS/gmsh</div><div>Info    : Launch date    : Mon Sep 24 09:35:54 2018</div><div>Info    : Command line   : /Applications/Gmsh.app/Contents/MacOS/gmsh</div><div><br></div></div>_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Max Orok</div><div>Contractor<br></div></div><div dir="ltr"><a href="http://www.mevex.com" target="_blank">www.mevex.com</a><br><br><img src="https://docs.google.com/uc?export=download&id=1fHTIiW4OMUjQr1iOkspQ7wiEsxunoOs0&revid=0B6x5w-5zVaEjSkpwbm5oY29jbG1XMzJoYldXTmJpNGFtb3dVPQ" width="164" height="42"><br></div></div></div></div></div></div>