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

Can snappyHexMesh give me only Hex. cells?!

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 13, 2012, 14:12
Question Can snappyHexMesh give me only Hex. cells?!
  #1
hfs
Member
 
Join Date: Jul 2012
Posts: 60
Rep Power: 5
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, 39 views)
File Type: jpg 2.jpg (81.9 KB, 42 views)
File Type: jpg 3.jpg (98.8 KB, 41 views)
File Type: jpg 4.jpg (54.7 KB, 28 views)
File Type: jpg 5.jpg (57.6 KB, 33 views)
hfs is offline   Reply With Quote

Old   September 14, 2012, 03:10
Default
  #2
Member
 
Jan
Join Date: Dec 2009
Location: Berlin
Posts: 50
Rep Power: 9
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, 58 views)
File Type: jpg extractcellsbyregion.jpg (89.5 KB, 56 views)
__________________
~~~_/)~~~
SirWombat is offline   Reply With Quote

Old   September 14, 2012, 04:55
Default
  #3
hfs
Member
 
Join Date: Jul 2012
Posts: 60
Rep Power: 5
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, 16:54
Default
  #4
New Member
 
Ali
Join Date: Dec 2012
Posts: 9
Rep Power: 4
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bumpy Wing with snappyHexMesh aeir1976 OpenFOAM Native Meshers: snappyHexMesh and Others 9 June 20, 2012 05:30
snappyHexMesh on 1.7.1 and 2.1.0 Andrea_85 OpenFOAM 3 May 5, 2012 08:59
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
Blockmesh error - 2D scramjet - please help ishaninair OpenFOAM Native Meshers: blockMesh 7 March 18, 2011 01:14
physical boundary error!! kris CD-adapco 2 August 3, 2005 00:32


All times are GMT -4. The time now is 02:34.