|September 12, 2010, 15:24||
Join Date: Aug 2010
Posts: 11Rep Power: 8
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, 16:49||
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 728Rep Power: 20
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.
|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||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|
|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|