<div>Hi,š</div><div>being as well very new to gmsh here the two pence of mine:</div><div>š</div><div>-Have tried the tutorials before asking? Yes? Tutorial 4 deals with holes I guess. They show imho opinion that gmsh is indeed designed pretty much straight forward, to say consistent. So imho it is good practice (normally) to ask on _base of the _bascis. No? (;</div><div>-only take the newest compiled version and post it. (my experience)</div><div>-Post the scripted code that reproduces the error/bad behavior (and the solution found.)</div><div>š</div><div>Good luck</div><div>š</div><div>š</div><div>07.01.2016, 12:18, "Bernd Hahnebach" <gmsh@b75.ch>:</div><blockquote type="cite"><p>I'm not familar in working with stl. I mostly work with step. The <br />following has been working for very well, but for planar faces only !<br /><br />in FreeCAD but possible in the CAD you prefere as well ...<br />- import the stl files --> convert the mesh into solids<br />- make a compound out ouf the solids<br />- export the compound to step<br /><br />in GMSH<br />- open the compound step<br />- GMSH Tools --> Options --> Geometry --> General --> Cut and merge <br />faces (-string "Geometry.OCCConnectFaces = 1;")<br />- Mesh 3D<br />- ...<br /><br />Bernd<br /><br /><br />Zitat von Krzysztof Bzowski <<a href="mailto:kbzowski@agh.edu.pl">kbzowski@agh.edu.pl</a>>:<br /><br /></p><blockquote>šHi,<br />šI have two parts, which need to be meshed. One part is located <br />šinside another. To simplify the problem, imagine two cubes: one <br />šinside another.<br /><br />š<a href="http://i.stack.imgur.com/h87gD.png">http://i.stack.imgur.com/h87gD.png</a><br /><br />šGeometries are stored in STL files. From CAD point of view, one file <br />šcontains an internal cube, another contains cube with a hole for an <br />šinternal cube. All dimensions fits (there are no intersections). My <br />štask is to create a conformal tetrahedral mesh suitable for <br />šmechanical FEM analysis - without duplicated nodes on shared faces. <br />šEach element should contain information to which part it belongs. <br />šFile format does not matter but Abaqus is preferred.<br /><br />šI decided to use gmsh, but I cannot mesh both parts together.<br />šI tried the following commands:<br /><br />šš1. File -> Open Internal cube<br />šš2. Add volume to internal cube<br />šš3. File -> Merge External cube<br />šš4. Add volume to external cube<br /><br />šThis produces mesh but elements in internal cube are duplicated. It <br />šlooks like gmsh does not treat hole (in external cube) as a void. I <br />šalso tried to use Coherence in gmsh but it failed with error:<br /><br /><blockquote>šError : Self intersecting surface mesh, computing intersections <br />š(this could take a while)</blockquote><br /><blockquote>šError : Surface mesh is wrong, cannot do the 3D mesh</blockquote><br />šI assume, that my geometries are fine:<br /><br />šš- Internal cube: <a href="http://pastie.org/10673562">http://pastie.org/10673562</a><br />šš- External cube: <a href="http://pastie.org/10673564">http://pastie.org/10673564</a><br /><br />šHow to create such a mesh which satisfy my requirements?<br /><br />šBest regards,<br />šKrzysztof<br /><br />š_______________________________________________<br />šgmsh mailing list<br />š<a href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br />š<a href="http://onelab.info/mailman/listinfo/gmsh">http://onelab.info/mailman/listinfo/gmsh</a><br /><br /></blockquote><p><br /><br /><br /><br /><br />_______________________________________________<br />gmsh mailing list<br /><a href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br /><a href="http://onelab.info/mailman/listinfo/gmsh">http://onelab.info/mailman/listinfo/gmsh</a></p></blockquote>