CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] On refinement limits

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

Like Tree1Likes
  • 1 Post By AtoHM

LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2022, 16:34
Smile On refinement limits
New Member
Join Date: Oct 2021
Posts: 10
Rep Power: 4
fran.cesc is on a distinguished road
Good day,

I am having a problem with creating a mesh.

I am using snappyHexMesh. I had maxGlobalCells set to 2 millions, but then I had this message:

Shell refinement iteration 3
No cells marked for refinement since reached limit 2000000
snappyHexMesh runs until the end, but I get a mesh without the level of refinement I have set.
So I increased the maxGlobalCells, but then when I do that, snappyHexMesh does not run. I get:

Shell refinement iteration 3
Marked for refinement due to distance to explicit features: 0 cells
Marked for refinement due to refinement shells: 3353488 cells
Determined cells to refine in : 1.53s
Selected for internal refinement: 3353488 cells (out of 7700908)
Something similar happens also when I try to extrudeMesh. If I have a small number of faces to extrude then it is fine. As soon as the number of faces to extrude raises to a 3 or 4 millions then the process is killed.
Do you have any idea why this happens?
Thanks and have a great day
fran.cesc is offline   Reply With Quote

Old   October 17, 2022, 02:54
Senior Member
Join Date: Dec 2017
Posts: 630
Rep Power: 12
AtoHM is on a distinguished road
Appears like a memory issue to me, maybe these help?
killed "snappyHexMesh"
solved issue of running out of virtual memory crashes
fran.cesc likes this.
AtoHM is offline   Reply With Quote


maxglobalcells, mesh, open foam, refinement, snappyhexmesh

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] SnappyHexMesh running killed! Mark JIN OpenFOAM Meshing & Mesh Conversion 7 June 14, 2022 02:37
problem with parallel calculations OF8 mpirun otaolafr OpenFOAM Programming & Development 0 January 5, 2021 08:33
SimpleFoam & Theater jipai OpenFOAM Running, Solving & CFD 3 June 18, 2019 11:11
killed "snappyHexMesh" parkh32 OpenFOAM Pre-Processing 2 April 8, 2012 18:12
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 04:23

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