Cell Size - [source code]
Compute the snappyHexMesh refinement level needed to reach a target cell size (each level halves the cell size).
Input
| Name | Nickname | Description |
|---|---|---|
| Base | Base cell size of the background mesh (meters). | |
| Target | Desired final cell size at the highest refinement level (meters). |
Output
| Name | Nickname | Description |
|---|---|---|
| Level | Refinement level (n) required to reach the target cell size. | |
| Level+1 | One level higher than required (finer resolution). |
