|
[Sponsors] |
October 13, 2022, 03:16 |
On refinementRegions
|
#1 |
New Member
F
Join Date: Oct 2021
Posts: 10
Rep Power: 5 |
Good morning,
I have defined a refinement region in my snappyHexMesh dictionary. The cells in the transition area are shown in the screenshot. I have got 2 questions.
Thanks a lot, and have a great day from Francesco. |
|
October 14, 2022, 02:42 |
|
#2 |
Senior Member
M
Join Date: Dec 2017
Posts: 703
Rep Power: 13 |
There are a few things to note here:
First of all, the "transition" your are refering to (highlighted by your red lines) is not actually there. This is a representation issue in Paraview. There are multiple disussions here regarding that, for example: How to visualize polyhedron mesh in paraview The entry nCellsBetweenLevels only comes into play, if the relative level between two regions differs by more than one. The reason for this is - as you saw already - that a relative jump from 1 to another level happens by just splitting the cell. It creates these "hanging nodes", which are not problematic for OpenFOAM, e.g. ANSYS CFX does not support that. Now, if you have a more than 1 level jump, lets say your surrounding mesh is at level 0 (blockMesh) and your refinement region is at 2. It will make nCellsBetweenLevels of cells of level 1 in between, so it only jumps by max. one level per cell. Here's an example with nCellsBetweenLevels = 2 |
|
Tags |
ncellsbetweenlayer, openfoam, refinement regions, refinementregion, snappy hex mesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
refinementRegions is undefined | Gohu8 | OpenFOAM Running, Solving & CFD | 1 | August 30, 2017 04:20 |
[snappyHexMesh] snappy not using all refinementRegions and refinementSurfaces | suryansh | OpenFOAM Meshing & Mesh Conversion | 0 | June 6, 2016 07:20 |
[snappyHexMesh] refinementRegions in 3D | Harak | OpenFOAM Meshing & Mesh Conversion | 2 | July 30, 2015 12:54 |
[snappyHexMesh] refinementRegions does not accept two directives per geometry part | louisgag | OpenFOAM Meshing & Mesh Conversion | 0 | June 30, 2015 05:50 |
[snappyHexMesh] refinementRegions ignored | Jeanp | OpenFOAM Meshing & Mesh Conversion | 3 | June 12, 2014 06:05 |