CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Can snappyHexMesh give me only Hex. cells?!

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By hfs
  • 1 Post By SirWombat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 13, 2012, 15:12
Question Can snappyHexMesh give me only Hex. cells?!
  #1
hfs
Member
 
Join Date: Jul 2012
Posts: 66
Rep Power: 13
hfs is on a distinguished road
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!
Attached Images
File Type: jpg 1.jpg (25.4 KB, 97 views)
File Type: jpg 2.jpg (81.9 KB, 100 views)
File Type: jpg 3.jpg (98.8 KB, 97 views)
File Type: jpg 4.jpg (54.7 KB, 61 views)
File Type: jpg 5.jpg (57.6 KB, 84 views)
ahparvin likes this.
hfs is offline   Reply With Quote

Old   September 14, 2012, 04:10
Default
  #2
Member
 
Jan
Join Date: Dec 2009
Location: Berlin
Posts: 50
Rep Power: 19
SirWombat is on a distinguished road
Send a message via Skype™ to SirWombat
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
Attached Images
File Type: jpg vtkpolyhedron.jpg (93.1 KB, 158 views)
File Type: jpg extractcellsbyregion.jpg (89.5 KB, 152 views)
Bana likes this.
__________________
~~~_/)~~~
SirWombat is offline   Reply With Quote

Old   September 14, 2012, 05:55
Default
  #3
hfs
Member
 
Join Date: Jul 2012
Posts: 66
Rep Power: 13
hfs is on a distinguished road
Thanks a lot for the quick reply! appreciate it.

Hosam
hfs is offline   Reply With Quote

Old   August 15, 2013, 17:54
Default
  #4
New Member
 
Ali
Join Date: Dec 2012
Posts: 9
Rep Power: 13
ali.ghaemi is on a distinguished road
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
ali.ghaemi is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cellZone not taking all the cells inside rahulksoni OpenFOAM 0 January 16, 2019 02:16
[blockMesh] Openfoam: Meshing, where do my defaultFaces come from syntex OpenFOAM Meshing & Mesh Conversion 19 December 10, 2018 08:21
[snappyHexMesh] snappyHexMesh does not remove internal cells Manyway OpenFOAM Meshing & Mesh Conversion 1 December 14, 2016 19:57
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
physical boundary error!! kris Siemens 2 August 3, 2005 01:32


All times are GMT -4. The time now is 05:00.