|
[Sponsors] |
[snappyHexMesh] definition of maxLocalCells and maxGlobalCells? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 7, 2016, 06:48 |
definition of maxLocalCells and maxGlobalCells?
|
#1 | ||
Member
Yage
Join Date: May 2014
Posts: 60
Rep Power: 11 |
Dear Foamers,
Happy New Year! I would like to generate a mesh around complex geometry. Could someone explain me something about the snappyhexmesh setting 1. what are the meaning of maxLocalCells and maxGlobalCells? the default values are: Quote:
2. what is the unit used here in snappyhexMesh, could I convert it to other, such as mm? Code:
refinementBox { type searchableBox; min (-1.0 -0.7 0.0); max ( 8.0 0.7 2.5); } 4. For region refinement, such as Quote:
Many thanks in advance! Regards, Yage |
|||
January 13, 2016, 13:26 |
|
#2 | |
Member
Pascal Balz
Join Date: Feb 2015
Location: Germany
Posts: 44
Rep Power: 11 |
Hi,
Quote:
Just make sure that this variable has a reasonable value, i.e. you expect your final mesh to be arround 2.5 mio cells so you would set maxGlobalCells to 4-5 mio. If you have a low RAM amount on your Workstation you can avoid to run out of memory with it. The next questions: snappy works in SI units (so meter) and so should you. Basically you want to define your blockMesh in m and make sure that your stl is scaled in m. All refinement levels are based on the background mesh so if you have a mesh base size of 0.1 x 0.1 x 0.1 m, then a level 3 refinement would split your cells 3 times leading to 0.0125 m. Higher levels (so finer mesh) always overlaps the coarse mesh but both are based on the background mesh. Hope this helps!
__________________
Regards, Pascal |
||
|
|