CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Why is the boundary layer mesh failing for this gmsh mesh?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 10, 2021, 11:18
Default Why is the boundary layer mesh failing for this gmsh mesh?
  #1
Senior Member
 
Lee Strobel
Join Date: Jun 2016
Posts: 133
Rep Power: 8
Time4Tea is on a distinguished road
Hi, I am trying to mesh a 2D geometry using gmsh, with a boundary layer mesh applied to two of the edges. However, it seems to be failing, with results such as as following:







The .geo file I am using is as follows:


Code:
element_size = 2.0000;
Point(1) = {0.7500, 0.0000, 0.0000, element_size};
Point(2) = {37.5000, 0.0000, 0.0000, element_size};
Point(3) = {37.5000, 40.0000, 0.0000, element_size};
Point(4) = {4.9, 40.0000, 0.0000, 0.05000};
Point(5) = {0.6, 25.448, 0.0000, 0.05000};
Point(6) = {0, 25.625, 0.0000, 0.05000};
Point(7) = {0.0000, 25.0000, 0.0000, 0.05000};
Point(8) = {0.0000, 24.7500, 0.0000, 0.2500};
Point(9) = {0.0000, 0.0000, 0.0000, 0.2500};

Line(10) = {1,2};
Line(11) = {2,3};
Line(12) = {3,4};
Line(13) = {4,5};
Circle(14) = {5,6,7};
Line(15) = {7,8};
Line(16) = {8,9};
Line(17) = {9,1};

Curve Loop(1) = {10,11,12,13,14,15,16,17};

Plane Surface(1) = {1};

//Boundary Layer
Field[1] = BoundaryLayer;
Field[1].AnisoMax = 1000;
Field[1].Quads = 1;
Field[1].Thickness = 0.2;
Field[1].CurvesList = {13,14};
Field[1].Ratio = 1.4;
Field[1].Size = 0.02;
Field[1].SizeFar = 0.2;
Field[1].IntersectMetrics = 1;

BoundaryLayer Field = 1;

Mesh.Algorithm = 6;
Recombine Surface {1};
Does anyone have any ideas why it is not working? I have tried playing with many of the boundary layer and sizing settings, but unfortunately nothing seems to work.
Time4Tea is offline   Reply With Quote

Reply

Tags
gmsh, mesh generation

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[snappyHexMesh] High quality mesh for wind in complex urban environment ziboaa OpenFOAM Meshing & Mesh Conversion 1 January 12, 2021 15:33
Table bounds warnings at: END OF TIME STEP CFXer CFX 4 July 16, 2020 23:44
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
[Gmsh] Gmsh 3.0 - Boundary layer mesh PaulBet OpenFOAM Meshing & Mesh Conversion 4 December 2, 2019 09:33
[snappyHexMesh] Boundary layer generation problems ivan_cozza OpenFOAM Meshing & Mesh Conversion 0 October 6, 2010 13:47


All times are GMT -4. The time now is 20:37.