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] snappyHexMesh: How can be avoided polyhedra (https://www.cfd-online.com/Forums/openfoam-meshing/73843-snappyhexmesh-how-can-avoided-polyhedra.html)

idrama March 18, 2010 05:50

snappyHexMesh: How can be avoided polyhedra
 
Hello Foamers,

certainly a simple question: How can I avoid that snappyHexMesh generates polyhedrai.e. I just want a purely mesh consisting of hexhedra.

Cheers in advance!

mediode March 19, 2010 09:34

refinement
 
I am not too familiar with it, but I think you have to control the refinement. The refinment level should be even all over your domain. Another way would be to set a background mesh with your desired resolution and suppressing refinment totally, but the might create a huge amount of data.

cheers
m+

File September 25, 2013 09:16

Hi,

I need the same thing so just the information if you made some progress and if yes could you please describe how you did it??

Cheers

haakon September 25, 2013 09:48

Unfortuneatly I do not think that it is possible to avoid polyhedras all together when using sHM. It's just the way it works. Even tough you can avoid many polyhedras by specifying uniform mesh density outside your geometry, I think that it still produces polyhedras when cutting cells and snapping to surfaces.

Anyways, if you need a pure hex mesh you are better of searching for an alternative grid generator. I know that GridPro can make some really amazing block-structured grids, however, it require much user training.

One small question: why do you need a grid withouut polyhedral cells?

File September 26, 2013 05:12

Tnx Hakon, I actually need structured mesh because I need it later to implement my own code on it after calculating flow field in OpenFOAM

Tobi September 27, 2013 06:35

Hi,

ANSYS-ICEM can build only hexaedral meshes too but it could be very difficult.


Maybe the following tool will be good for your - depend on your geometry

http://www.cfd-online.com/Forums/ope...a-release.html

Regard
Tobi


All times are GMT -4. The time now is 12:17.