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] Can snappyHexMesh give me only Hex. cells?! (https://www.cfd-online.com/Forums/openfoam-meshing/106972-can-snappyhexmesh-give-me-only-hex-cells.html)

hfs September 13, 2012 14:12

Can snappyHexMesh give me only Hex. cells?!
 
5 Attachment(s)
Hello!

I am trying to mesh the domain around this Umbrella structure [Attached are some screen-shots]
I got a mix of Tet. and Hex. cells
I wonder what parameters in snappyHexMesh control the shape of the cells (Hex. or Tet.)

Can I get a Hex-only-mesh?

Attached is a screen shot of a mesh of generated by snappyHexMesh (a domain around a human head).It consists of only Hex. cells [This screen shot is from the snappyHexMesh tutorial which I found on http://openfoamwiki.net/index.php/SnappyHexMesh]

How did they get this mesh?

Thanks for your Help!

SirWombat September 14, 2012 03:10

2 Attachment(s)
Hi hfs,

SHM does actually create hex-cells only. They may have other than 6 faces, when deformed by the snapping or add-layers process!

Make sure you have the "Use VTKPolyhedron" option activated in paraview/paraFoam. Then use "extractCellsByRegion"-filter. You will be able to see the actual cells then. See the attachements for screenshots.

G Jan

hfs September 14, 2012 04:55

Thanks a lot for the quick reply! appreciate it.

Hosam

ali.ghaemi August 15, 2013 16:54

Hello guys!

when I run checkMesh over the grid created by snappyHexMesh, it shows that the grid is actually a hybrid one consisting of hexahedra, tetrahedra and sometimes even polyhedra cells. so the question is if there is a way to control the ratio of these different type of cells.

thanks


All times are GMT -4. The time now is 14:20.