CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

cell shapes

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

LinkBack Thread Tools Display Modes
Old   September 12, 2010, 15:24
Default cell shapes
New Member
Join Date: Aug 2010
Posts: 11
Rep Power: 7
guy_smiling is on a distinguished road
I'm trying to use blockMesh (and create a blockMeshDict file) with keywords other than "hex". There seems to be conflicting documentation: in I see that I need to have 8 vertices, and all blocks are inherently hexahedral; in order to make a prism I need to collapse two vertices, and still use hex.

However, here apparently I can use any of these keywords listed (such as prism) to generate a prism with only 6 vertices. I have found that the keyword prism in blockMeshDict still gives me 8 vertices (two of which are garbage) or 7 (one of which is garbage) if I order the vertices in a wrong way.

Is there some way to get a different geometry besides hex in blockMesh? Does anyone know how to use blockMesh without just hex?
guy_smiling is offline   Reply With Quote

Old   September 13, 2010, 16:49
Senior Member
mturcios777's Avatar
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 727
Rep Power: 18
mturcios777 will become famous soon enough
The cellShapes tools only apply when you writing your own mesh conversion utility, or using a mesh conversion utility. From the link you provided:

The vast majority of mesh generators and post-processing systems support only a fraction of the possible polyhedral cell shapes in existence. They define a mesh in terms of a limited set of 3D cell geometries, referred to as cell shapes. The OpenFOAM library contains definitions of these standard shapes, to enable a conversion of such a mesh into the polyMesh format described in the previous section.

blockMesh only ever uses hexes, and all other degenerate hexa are created by collapsing points. Hope this clears up your question.
mturcios777 is offline   Reply With Quote


blockmesh, cellshape

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
Cells with t below lower limit Purushothama CD-adapco 2 May 31, 2010 21:58
How to determine the direction of cell face vectors on processor patches sebastian_vogl OpenFOAM Running, Solving & CFD 0 October 27, 2009 09:47
How to determine the direction of cell face vectors on processor patches sebastian_vogl OpenFOAM Programming & Development 0 October 26, 2009 13:10
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15
Warning 097- AB CD-adapco 6 November 15, 2004 05:41

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