<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-GB">
<div class="WordSection1">
<p class="MsoNormal">Hi, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am trying to model an aerofoil by creating a hybrid mesh in Gmsh and solving it in OpenFoam. When I try to run the ‘gmshToFoam’ converter I get warnings which are then presented as errors when using checkMesh. I have copied the first
 few error lines below:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">FOAM Warning :                                                                                                                                                                                                    
<o:p></o:p></p>
<p class="MsoNormal">From function Foam::polyMesh::polyMesh(const Foam::IOobject&, Foam::pointField&&, const cellShapeList&, const faceListList&, const wordList&, const wordList&, const Foam::word&, const Foam::word&, const wordList&, bool)                                                                                 
                                                                                                                          in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 592                                                                           
                                                                             Found 3653 undefined faces in mesh; adding to default patch.                                                                                                                       
                            Finding faces of patch 0                                                                                                                                                                                          
<o:p></o:p></p>
<p class="MsoNormal">Finding faces of patch 1                                                                                                                                                                                          
<o:p></o:p></p>
<p class="MsoNormal">--> FOAM Warning : Not using gmsh face 4(4 414 446 16) since zero vertex is not on boundary of polyMesh                                                                                                            --> FOAM Warning :                                                                                         
                                                                                                            <o:p></o:p></p>
<p class="MsoNormal">From function int main(int, char**)                                                                                                                                                                                <o:p></o:p></p>
<p class="MsoNormal">in file gmshToFoam.C at line 1549                                                                                                                                                                                  Could not match gmsh face
 4(4 414 446 16) to any of the interior or exterior faces that share the same 0th point                                                                                               --> FOAM Warning : Not using gmsh face 4(414 415 447 446) since zero vertex
 is not on boundary of polyMesh                                                                                                         --> FOAM Warning :                                                                                                                                                                                                     <o:p></o:p></p>
<p class="MsoNormal">From function int main(int, char**)                                                                                                                                                                                <o:p></o:p></p>
<p class="MsoNormal">in file gmshToFoam.C at line 1549                                                                                                                                                                                  Could not match gmsh face
 4(414 415 447 446) to any of the interior or exterior faces that share the same 0th point<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This error then repeats several times, and then it seems to successfully find faces for the rest of the patches.
<o:p></o:p></p>
<p class="MsoNormal">The checkMesh error is ‘Unused points found in the mesh, number unused faces:...’<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My geometry file is attached to this email.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Kind Regards,<o:p></o:p></p>
<p class="MsoNormal">Nick<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>