|
[Sponsors] |
September 12, 2010, 16:24 |
cell shapes
|
#1 |
New Member
Join Date: Aug 2010
Posts: 11
Rep Power: 16 |
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? |
|
September 13, 2010, 17:49 |
|
#2 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
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. |
|
Tags |
blockmesh, cellshape |
|
|
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 14:17 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 22: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 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |