|November 16, 2013, 12:09||
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 112Rep Power: 6
I'm experiencing a problem with the parameter nCellsBetweenLevels.
I was first using nCellsBetweenLevels 2 for a given mesh. I needed to increase it to nCellsBetweenLevels 3 and I obtained a mesh with less cells than in the first mesh.
The first thing I checked is the maximum number of cells allowed in sHM. There is no problem on that side, the limit is much higher than the mesh size.
I then looked into the log from sHM. The castellation step is split in 4 stages:
1. Feature edges refinement
2. Surface refinement
3. Cell removal inside the body
4. Shell refinement
I compared the number of cells at the end of each stage and the difference appears at the beginning of the "Shell refinement" stage where the number of cells selected for internal refinement is lower in the second mesh than in the first mesh (while it should be the opposite!).
Has anyone already experienced something similar? Do you have an idea what this is due to?
I appreciate your help!
Mesh 1 (with nCellsBetweenLevels 2):
Shell refinement iteration 0 ---------------------------- Marked for refinement due to refinement shells : 65967 cells. Determined cells to refine in = 4.65 s Selected for internal refinement : 983327 cells (out of 6561575) Edge intersection testing: Number of edges : 44510076 Number of edges to retest : 39665421 Number of intersected edges : 3887457 Refined mesh in = 9.16 s After refinement shell refinement iteration 0 : cells:13444864 faces:44510076 points:17659672
Shell refinement iteration 0 ---------------------------- Marked for refinement due to refinement shells : 65967 cells. Determined cells to refine in = 3.74 s Selected for internal refinement : 74967 cells (out of 6561575) Edge intersection testing: Number of edges : 24200235 Number of edges to retest : 2389770 Number of intersected edges : 2975683 Refined mesh in = 4.2 s After refinement shell refinement iteration 0 : cells:7086344 faces:24200235 points:10165443
|Thread||Thread Starter||Forum||Replies||Last Post|
|SnappyHexMesh Refinement nCellsBetweenLevels||laymelek||OpenFOAM Native Meshers: snappyHexMesh and Others||7||August 30, 2014 08:39|
|nCellsBetweenLevels problem||laurent98||OpenFOAM Native Meshers: snappyHexMesh and Others||2||April 11, 2013 19:51|
|SnappyHexMesh nCellsBetweenLevels 3||wikstrom||OpenFOAM Bugs||3||November 13, 2008 12:08|