CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing Format & General Technical (http://www.cfd-online.com/Forums/openfoam-meshing-technical/)
-   -   how to order the vertices in blockMesh? (http://www.cfd-online.com/Forums/openfoam-meshing-technical/110442-how-order-vertices-blockmesh.html)

andrei.cimpoeru December 11, 2012 10:50

how to order the vertices in blockMesh?
 
Hi

Is there any rule regarding the order of the vertices in a blockMesh file.

I know that the first entry in the blockmesh file is vertex 0. how do you find 5 6 7 8 .......
I would appreciate your help?

Regards

blacksquirrel December 11, 2012 12:09

The vertices are in the order you put them in the file.
The first vertex is 0. the next one is number 1 and so on. It's totally up to you.

The complicated part is the right declaration of the blocks and patches, because your local coordinate system is defined by the order of the vertices in the block (which isn't necessarily (0 1 2 ..7).

More info can be found here:
http://www.openfoam.org/docs/user/blockMesh.php

andrei.cimpoeru December 11, 2012 14:17

thanks man


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