<div dir="ltr"><div>Dear all,</div><div><br></div><div>I am using GMSH to create a 3D surface mesh. For some unknown reason, some normal vectors points inwards, not outwards, as I would expect, since I defined a solid limited by plane surfaces.</div><div><br></div><div>Here is the GEO file I created using the GMSH GUI.</div><div><br></div><div><br></div><div>// Gmsh project created on Tue May 15 19:19:43 2018<br>SetFactory("OpenCASCADE");<br>//+<br>Point(1) = {0, 0, 0, 1.0};<br>//+<br>Point(2) = {1, 0, 0, 1.0};<br>//+<br>Point(3) = {1, 1, 0, 1.0};<br>//+<br>Point(4) = {0, 1, 0, 1.0};<br>//+<br>Point(5) = {0, 0, 1, 1.0};<br>//+<br>Point(6) = {1, 0, 1, 1.0};<br>//+<br>Point(7) = {1, 1, 1, 1.0};<br>//+<br>Point(8) = {0, 1, 1, 1.0};<br>//+<br>Line(1) = {1, 2};<br>//+<br>Line(2) = {2, 6};<br>//+<br>Line(3) = {6, 5};<br>//+<br>Line(4) = {5, 1};<br>//+<br>Line(5) = {5, 8};<br>//+<br>Line(6) = {8, 4};<br>//+<br>Line(7) = {4, 1};<br>//+<br>Line(8) = {8, 7};<br>//+<br>Line(9) = {7, 3};<br>//+<br>Line(10) = {3, 4};<br>//+<br>Line(11) = {6, 7};<br>//+<br>Line(12) = {3, 2};<br>//+<br>Line Loop(1) = {4, -7, -6, -5};<br>//+<br>Plane Surface(1) = {1};<br>//+<br>Line Loop(2) = {2, 11, 9, 12};<br>//+<br>Plane Surface(2) = {2};<br>//+<br>Line Loop(3) = {3, 5, 8, -11};<br>//+<br>Plane Surface(3) = {3};<br>//+<br>Line Loop(4) = {10, 7, 1, -12};<br>//+<br>Plane Surface(4) = {4};<br>//+<br>Line Loop(5) = {9, 10, -6, 8};<br>//+<br>Plane Surface(5) = {5};<br>//+<br>Line Loop(6) = {3, 4, 1, 2};<br>//+<br>Plane Surface(6) = {6};<br>//+<br>Surface Loop(1) = {4, 5, 2, 6, 3, 1};<br>//+<br>Volume(1) = {1};<br>//+<br>Physical Surface(1) = {6};<br>//+<br>Physical Surface(2) = {4, 2, 3, 1};<br>//+<br>Physical Surface(3) = {5};<br>//+<br>Physical Volume(4) = {1};<br></div><div><br></div><div>Any help is appreciated.<br></div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><div><div><div>Anderson Gabriel Santiago</div><div><br></div><div><br>~"If you are depressed,<br></div>   you are living in the past.<br></div>   If you are anxious,<br></div>   you are living in the future.<br></div>   If you are at peace,<br></div>   you are living in the present."~   - Lao Tzu</div></div>
</div></div>