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

[snappyHexMesh] Numeric instability at snappyHexMesh size transition

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By oskar

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2023, 06:13
Question Numeric instability at snappyHexMesh size transition
  #1
New Member
 
Oskar
Join Date: Mar 2009
Location: Finland
Posts: 12
Rep Power: 17
oskar is on a distinguished road
Looking for meshing or solver settings help!


I have some local mesh issues (like to the left of the screenshot), but overall I think I'm getting the mesh to work ok.
However I am running into numeric instability with simpleFoam at cell size jump transitions. At least I'm assuming that's what's happening here.
Short of running a limiter on the absolute calculation values (which I don't think simpleFoam can do inside the solver?), I think my main remedy would be to smooth the cell size transition, but this is of course not really possible with hex cells.


Anyone here have suggestions on how to either tweak the solver settings, snappyHexMesh settings, or switch to a better tet based mesher, to get better stability?
Attached Images
File Type: jpg v55l-frontFender-mesh_numericError.jpg (116.4 KB, 16 views)
File Type: jpg v55l-frontFender-mesh_numericError-flatCut.jpg (102.2 KB, 15 views)
oskar is offline   Reply With Quote

Old   February 7, 2023, 14:04
Lightbulb update
  #2
New Member
 
Oskar
Join Date: Mar 2009
Location: Finland
Posts: 12
Rep Power: 17
oskar is on a distinguished road
Note to future self when I encounter this same issue again:
snappyHexMesh isn't really capable of generating higher quality meshes. Only a pure tet generator (at least for now) is capable of reducing cell volume jumps and providing a high quality mesh.



However, hex mesh simulation can be stabilized by adding nNonOrthogonalCorrectors (try about 3-6 for my typical case meshes) and reducing relaxation values to achieve stable min and max values in the zone.
saladbowl likes this.
oskar is offline   Reply With Quote

Reply

Tags
numeric stability, simplefoam, snappyhexmesh


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
Issues with poor performance in faster CPU gian93 Hardware 9 October 29, 2018 13:34
[snappyHexMesh] snappyHexMesh Parallel bad size error andrewpomeroy OpenFOAM Meshing & Mesh Conversion 2 April 2, 2018 01:08
[snappyHexMesh] Bad snappyHexMesh transition mosaadbakr OpenFOAM Meshing & Mesh Conversion 3 September 28, 2017 07:46
[snappyHexMesh] Problem: after snappyHexMesh, the cells size are not the same kanes OpenFOAM Meshing & Mesh Conversion 0 January 25, 2016 08:06
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 03:14.