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

cell shapes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 12, 2010, 15:24
Default cell shapes
  #1
New Member
 
Join Date: Aug 2010
Posts: 11
Rep Power: 15
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 http://www.openfoam.com/docs/user/blockMesh.php 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 http://www.openfoam.com/docs/user/mesh-description.php 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
Default
  #2
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
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

Reply

Tags
blockmesh, cellshape


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
How to determine the direction of cell face vectors on processor patches sebastian_vogl OpenFOAM Programming & Development 1 October 11, 2016 13:17
Cells with t below lower limit Purushothama Siemens 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 08:47
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15
Warning 097- AB Siemens 6 November 15, 2004 04:41


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