CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] gmsh and boundary layers

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By KateEisenhower

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 17, 2010, 17:01
Default gmsh and boundary layers
  #1
New Member
 
Kanuk
Join Date: Oct 2010
Posts: 28
Rep Power: 15
kanuk is on a distinguished road
Hello,

I'm trying to run a test case of a 2-D airfoil (similar to the airFoil2D tutorial case). I am using gmsh as a meshing tool and followed the directions in http://openfoamwiki.net/index.php/2D...ial_using_GMSH.

Originally, I had been using an unstructured mesh (tets) and got good visual results, but I am trying to validate the case, so I have now meshed with a structured grid using a couple of boundary layers (primary and secondary). The problem is that once I specify all faces and volumes in the .geo file, mesh it (with no problems), convert it using gmshToFoam, I get very, very unstable behavior in my solution, even though my grid is refined. I have checked my 0/U, 0/p, 0/nut, 0/nuTilda, polyMesh/boundary and system/controlDict files, and nothing seems to be wrong. I think the problem is with my "interfaces" patch in the .msh file... I don't know for sure but I specified the boundary layers (which are labeled interfaces in gmsh) as "empty" in the above files, which seems correct to me.

Also, when running gmshToFoam I get the following error (see below). Why am I getting a faceZone_1??

////////////////////
Skipping tag at line 144939
Patch 0 gets name back
Patch 1 gets name interfaces
Patch 2 gets name airfoil
Patch 3 gets name front
Patch 4 gets name inlet
Patch 5 gets name outlet

--> FOAM Warning :
From function polyMesh:olyMesh(... construct from shapes...)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 576
Found 57744 undefined faces in mesh; adding to default patch.
Finding faces of patch 0
Finding faces of patch 1
Finding faces of patch 2
Finding faces of patch 3
Finding faces of patch 4
Finding faces of patch 5

FaceZones:
Zone Size
1 879

Writing zone 0 to cellZone airvol and cellSet
Writing zone 1 to faceZone faceZone_1 and faceSet
End

///////////////////

As of this point, I am stumped, but will keep trying to find the solution. Anyone out there successfully ran a case with boundary layers?? Any help is really appreciated!
kanuk is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Gmsh] Gmsh 3.0 - Boundary layer mesh PaulBet OpenFOAM Meshing & Mesh Conversion 4 December 2, 2019 09:33
Gmsh 3.0 - Boundary layer 3D mesh PaulBet Mesh Generation & Pre-Processing 2 April 19, 2018 16:16
[Gmsh] Create multiple boundary layers in Gmsh Jan.i.engstrom@gmail.com OpenFOAM Meshing & Mesh Conversion 0 October 21, 2016 10:32
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 10:56


All times are GMT -4. The time now is 06:15.