CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] BlockMeshDict keywords (https://www.cfd-online.com/Forums/openfoam-meshing/61819-blockmeshdict-keywords.html)

msrinath80 September 20, 2007 02:41

BlockMeshDict keywords
 
I recently discovered that blockMeshDict can be made more structured by using the 'define' keyword. Can someone tell me what other such facilities are available with blockMesh?

For instance what does this statement do:
define(hex2D, hex ($1b $2b $3b $4b $1t $2t $3t $4t))

mattijs September 20, 2007 05:15

This is m4 syntax? 'man m4'. I
 
This is m4 syntax? 'man m4'. It just defines a macro so e.g. hex2d(AA,BB,CC,DD) becomes
hex(AAb BBb CCb DDb AAt BBt CCt DDt).

msrinath80 September 20, 2007 10:14

Thanks Mattijs.
 
Thanks Mattijs.


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