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

How to declare a prism block in the blockMeshDict file

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 18, 2008, 11:23
Default Hi, I'm a beginner in CFD
  #1
New Member
 
sebastian callegari
Join Date: Mar 2009
Posts: 1
Rep Power: 0
callega is on a distinguished road
Hi,

I'm a beginner in CFD and obviously in OpenFOAM.
I had a lot of problems trying to convert FLUENT and ANSYS meshes files generated with ANSA, therefore I started to create a problemtype in GID which can generate blockMeshDict files for OpenFoam.

With the hexahedras blocks there is not probles, because in the manuals there are a lot of examples of declarations of this kind of element, but I'm having dificulties with the prism and tetrahedras blocks.

Following the syntax of hexahedron block,
hex (0 1 4 3 9 10 13 12) (10 10 1) simpleGrading (2 2 1)

I'm writing the prisms elements like this
prism (0 1 2 3 4 5) (10 10 1) simpleGrading (2 2 1)

but blockMesh is printing an error message:
"There are no non-lineal edges"

I think that the problem is in the declaration of the prism block. If someone knows how to declare this kind of block and the other kinds of blocks, diferents than the hexahedron, please help me!!!!

Regards

Sebastián
callega is offline   Reply With Quote

Old   April 18, 2008, 11:45
Default This should be in documentatio
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,695
Rep Power: 17
hjasak is on a distinguished road
This should be in documentation: Create a "hex" block, but re-use the vertices. For example:

hex (0 1 2 2 3 4 5 5)

Clear?

Hrv
__________________
Hrvoje Jasak
hjasak 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
problems with viewing mesh block by block James CFX 0 January 22, 2008 12:11
Trouble with my first blockMeshDict file osimonsimon OpenFOAM Native Meshers: blockMesh 1 October 13, 2006 14:32
How to declare a symmetric tensor or calculate Huke formula haibinli OpenFOAM Running, Solving & CFD 0 July 28, 2006 10:24
error opening multi-block grid file GIOVANNI VIELMA Phoenics 0 April 5, 2006 17:18
DEFINE_ON_DEMAND UDF: How to declare A[ND_ND], etc jx FLUENT 1 November 6, 2003 17:23


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