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] grow rate of cells (https://www.cfd-online.com/Forums/openfoam-meshing/93023-grow-rate-cells.html)

Svensson October 3, 2011 04:09

grow rate of cells
 
In cfd computations grow rate of cells should be about 1.1-1.5 near a wall. But in all examples from tutorials aspect ratio of conectings edges is 2. How can I change it?

Thanks in advance!

tomislav_maric October 4, 2011 08:21

Quote:

Originally Posted by Svensson (Post 326459)
In cfd computations grow rate of cells should be about 1.1-1.5 near a wall. But in all examples from tutorials aspect ratio of conectings edges is 2. How can I change it?

Thanks in advance!

Edit this kind of line in the "const/blockMeshDict" file:


Code:

hex (0 1 2 3 4 5 6 7) (20 20 1) simpleGrading (1 1 1)
there you will see that the mesh grading is defined alongside edges of every block. There are more information on this in the User Guide:

http://www.openfoam.com/docs/user/bl...#x25-1420005.3

Tomislav

Svensson October 4, 2011 09:47

I'm asking about another problem.. I use snappyHexMesh and would like to have 'grow rate' from the body with any coefficient (in my case 1.3).
Is it possible in sHM?

tomislav_maric October 4, 2011 10:28

Quote:

Originally Posted by Svensson (Post 326643)
I'm asking about another problem.. I use snappyHexMesh and would like to have 'grow rate' from the body with any coefficient (in my case 1.3).
Is it possible in sHM?

I remember it being possible, but I can't remember how to use it... I did set this up a while ago, but if I remember correctly, it was only the refinement increase for the bulk of the mesh in defined regions. For instance, there was a distance vector of some kind (if I remember correctly), and for every different distance from a patch, a different refinement level is prescribed.

Tomislav


All times are GMT -4. The time now is 18:35.