CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Native Meshers: blockMesh (
-   -   BlockMeshDict keywords (

msrinath80 September 20, 2007 01:41

I recently discovered that blo
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 04: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 09:14

Thanks Mattijs.
Thanks Mattijs.

All times are GMT -4. The time now is 05:33.