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

[snappyHexMesh] No Boundary Layer Created in SHM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2021, 21:39
Default No Boundary Layer Created in SHM
  #1
GDS
New Member
 
GS
Join Date: Sep 2018
Posts: 21
Rep Power: 8
GDS is on a distinguished road
I found several previous questions like this one, but the usual recommendations have not helped. I am just trying to mesh a 2D airfoil. NASA generated some meshes for this example, and OpenFOAM produces good results using those meshes. However, the meshes were generated with some other software, which I don't have. In the meshes I have generated with SHM, the boundary layer cells are thicker than in the NASA meshes. I don't know if that is the reason the results (i.e., c_l and c_d) are not as good, but I wanted to create a finer boundary layer. Using paraFoam to measure the cells, I found that the first-layer cells in the NASA mesh are around 1e-6 m thick. The thinnest I can get out of SHM is 1e-4 m. When I try anything smaller, SHM does not create a boundary layer. For now, I am just trying to create one layer of cells. I have tried adjusting the various mesh quality parameters, but nothing helps. The final check that SHM displays does not indicate any bad cells. I am using relativeSizes=false.
Attached Files
File Type: txt SHMout-3.txt (2.0 KB, 8 views)
GDS is offline   Reply With Quote

Old   October 2, 2021, 07:05
Default
  #2
Senior Member
 
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 341
Rep Power: 16
Aeronautics El. K. is on a distinguished road
I'm having a similar issue. Different geometry but the essence of the issue is the same, I can't get my first layer to be as thin as I want it (~1mm).



Have you managed to make any progress on that?
__________________
Lefteris

Aeronautics El. K. is offline   Reply With Quote

Old   October 3, 2021, 17:18
Default
  #3
GDS
New Member
 
GS
Join Date: Sep 2018
Posts: 21
Rep Power: 8
GDS is on a distinguished road
Not yet, unfortunately.
GDS is offline   Reply With Quote

Old   October 4, 2021, 03:51
Default
  #4
Senior Member
 
M
Join Date: Dec 2017
Posts: 703
Rep Power: 13
AtoHM is on a distinguished road
BL are a weak point of sHM. But the checkMesh output does not help, you might want to share the snappyHexMeshDict?
AtoHM is offline   Reply With Quote

Old   October 9, 2021, 18:49
Default
  #5
Senior Member
 
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 341
Rep Power: 16
Aeronautics El. K. is on a distinguished road
Quote:
Originally Posted by AtoHM View Post
BL are a weak point of sHM. But the checkMesh output does not help, you might want to share the snappyHexMeshDict?

Hi AtoHM,

although I'm not the original poster I have the same problem as I explained above (also in another thread here). I think both GDS and myself can benefit if you can help.


I've attached my snappyHexMeshDict and the meshQualityDict as well as the checkMesh results and the snappy log file (just the end of it, the size was prohibitive).


In the snappyHexMeshDict you'll probably see that I've used the displacementMotionSolver instead of the default one but the end result is pretty much the same (layers only grown partially on a flat surface and not with the specified 1st cell height).

Hopefully you can spot something obvious and solve our problem! lol

Thanks!
Attached Files
File Type: txt snappyHexMeshDict.txt (21.2 KB, 1 views)
File Type: txt meshQualityDict.txt (3.1 KB, 2 views)
File Type: txt checkmesh.txt (17.1 KB, 1 views)
File Type: txt snappyEnd.txt (1.8 KB, 2 views)
__________________
Lefteris

Aeronautics El. K. is offline   Reply With Quote

Reply

Tags
boundary layer


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] snappyHexMesh Boundary Layer at Corner panpanzhong OpenFOAM Meshing & Mesh Conversion 5 July 3, 2018 06:53
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 11:20
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44
[snappyHexMesh] Boundary layer in a pipe Clementhuon OpenFOAM Meshing & Mesh Conversion 6 March 12, 2012 13:41


All times are GMT -4. The time now is 11:58.