CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

gmsh BoundaryLayer Field

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 29, 2020, 09:54
Question gmsh BoundaryLayer Field
  #1
New Member
 
Moshe Hollander
Join Date: Dec 2018
Posts: 20
Rep Power: 7
mhollander is on a distinguished road
I have been attempting to use the BoundaryLayer size field in gmsh in order to produce a boundary layer around an airfoil. I'm trying to figure this out hoping that being able to utilize the 'BoundaryLayer' size field will be more efficient than dividing, offsetting curves and manually playing with the 'transfinite' curve settings.



I haven't been able to find any resources that go through how to properly utilize 'BoundaryLayer'. Has anyone here had any luck? Would they be willing to share screenshots and/or .geo files?



Cheers,
Moshe.
mhollander is offline   Reply With Quote

Old   December 1, 2020, 17:48
Default gmsh BoundaryLayer Field
  #2
New Member
 
Jason Douglas
Join Date: Sep 2020
Posts: 2
Rep Power: 0
jmkouglas is on a distinguished road
I had the same question, and ran across a gmsh thread (that I can't find now) that said the BoundaryField was a) experimental, and b) only worked on 2D geometry.



I ended up using Distance fields, see below.



If you've found a better solution, I'd appreciate hearing about it.



What I ended up doing is to set the minimum mesh size to what I wanted at the surface. Bigger surfaces need more NumPointsPerCurve or you get periodic mesh sizes across the surface. Then a final Min field to create the background field.





Field[1] = Distance;
Field[1].SurfacesList = { 2, 4};
Field[1].NumPointsPerCurve = 20;

Field[2] = Distance;
Field[2].SurfacesList = { 3 };
Field[2].NumPointsPerCurve = 40;

Field[3] = Distance;
Field[3].SurfacesList = { 6, 7 };
Field[3].NumPointsPerCurve = 80;

// take min
Field[4] = Min;
Field[4].FieldsList = {1, 2, 3};
jmkouglas is offline   Reply With Quote

Old   December 1, 2020, 18:05
Default
  #3
New Member
 
Moshe Hollander
Join Date: Dec 2018
Posts: 20
Rep Power: 7
mhollander is on a distinguished road
Thanks! I'll give it a shot.



I'd be really curious to see a screenshot of the mesh that this produced.


Also, what surfaces are surfaces 2, 4, 3, 6 & 7? (airfoil surfaces? far-field boundaries? Internal flow surfaces...?)
mhollander is offline   Reply With Quote

Old   December 1, 2020, 19:35
Default gmsh BoundaryLayer Field
  #4
New Member
 
Jason Douglas
Join Date: Sep 2020
Posts: 2
Rep Power: 0
jmkouglas is on a distinguished road
The surfaces are just the walls of my duct that I wanted higher resolution on.
jmkouglas is offline   Reply With Quote

Old   July 5, 2021, 14:56
Default
  #5
Senior Member
 
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7
ari003 is on a distinguished road
Quote:
Originally Posted by mhollander View Post
Thanks! I'll give it a shot.



I'd be really curious to see a screenshot of the mesh that this produced.


Also, what surfaces are surfaces 2, 4, 3, 6 & 7? (airfoil surfaces? far-field boundaries? Internal flow surfaces...?)
Did you get anything better for refinement around the airfoil. Will be very helpful if you share.
ari003 is offline   Reply With Quote

Old   July 7, 2021, 16:14
Default
  #6
New Member
 
Moshe Hollander
Join Date: Dec 2018
Posts: 20
Rep Power: 7
mhollander is on a distinguished road
Unfortunately, I haven't had a chance to play around with it all that much since I last posted.
mhollander is offline   Reply With Quote

Reply

Tags
airfoil meshing, boundary layer grid, gmsh, mesh


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] Converting gmsh to OpenFoam Friendly OpenFOAM Meshing & Mesh Conversion 3 June 26, 2018 05:46
potential flows, helmholtz decomposition and other stuffs pigna Main CFD Forum 1 October 26, 2017 08:34
Access to field which is evaluated at the moment Tobi OpenFOAM Programming & Development 6 April 19, 2017 13:09
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL AndoniBM OpenFOAM Running, Solving & CFD 2 March 25, 2015 18:44
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52


All times are GMT -4. The time now is 09:33.