CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] On refinement limits (https://www.cfd-online.com/Forums/openfoam-meshing/245626-refinement-limits.html)

fran.cesc October 16, 2022 15:34

On refinement limits
 
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:

Quote:

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:

Quote:

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)
Killed
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

AtoHM October 17, 2022 01:54

Appears like a memory issue to me, maybe these help?
https://www.cfd-online.com/Forums/op...pyhexmesh.html
https://www.cfd-online.com/Forums/op...y-crashes.html


All times are GMT -4. The time now is 16:37.