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

[Gmsh] Boundary layer termination

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 1, 2021, 00:09
Default Boundary layer termination
  #1
New Member
 
James
Join Date: Nov 2015
Posts: 2
Rep Power: 0
jbsp is on a distinguished road
Hi all,
Having a lot of trouble with gmsh trying to do an axisymmetric pipe flow. The issue I am having is where the boundary layer on the outside meets the inlet line. The boundary layer elements get highly skewed. How do I tell gmsh to continue the boundary to the inlet to avoid this?

An image is here: https://imgur.com/a/mq8TkHD



gmsh file:

grid_size = 0.05;

Point(1) = {0,0,0,grid_size};
Point(2) = {1,0,0,grid_size};
Point(3) = {1,1,0,grid_size};
Point(4) = {0,1,0,grid_size};

Line(5) = {1,2}; //inlet
Line(6) = {2,3}; //tunnel wall
Line(7) = {3,4}; //outlet
Line(8) = {4,1}; //axis of rotation

Line Loop(9) = {5,6,7,8};
Plane Surface(10) = 9;

// Boundary layers:
Field[1] = BoundaryLayer;
Field[1].EdgesList = {6};
Field[1].hfar = 0.05;
Field[1].hwall_n = 0.00005;
Field[1].Quads = 1;
BoundaryLayer Field = 1;
jbsp is offline   Reply With Quote

Reply

Tags
boundary layer mesh, gmsh


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] Holes in internal mesh when adding boundary layer snappyHex otaolafr OpenFOAM Meshing & Mesh Conversion 3 February 8, 2021 09:19
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 18:38
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field xiexing CFX 3 March 29, 2017 11:00
Any formula for approximating the boundary layer thickness around a cylinder? bestniaz Main CFD Forum 0 October 24, 2015 03:00
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00


All times are GMT -4. The time now is 08:10.