|
[Sponsors] |
September 20, 2007, 02:41 |
BlockMeshDict keywords
|
#1 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
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)) |
|
September 20, 2007, 05:15 |
This is m4 syntax? 'man m4'. I
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
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). |
|
September 20, 2007, 10:14 |
Thanks Mattijs.
|
#3 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Thanks Mattijs.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Creating an axisymmetric piston cylinder in blockMeshDict | foadsf | OpenFOAM Meshing & Mesh Conversion | 9 | August 23, 2018 08:54 |
[blockMesh] 2:1 refined 2D blockMeshDict with mergePatchPairs? | chrisb2244 | OpenFOAM Meshing & Mesh Conversion | 0 | December 2, 2014 00:52 |
[Other] blockMeshDict not Matching Boundary | HassanDarian | OpenFOAM Meshing & Mesh Conversion | 0 | March 19, 2014 14:30 |
[blockMesh] OpenFOAM blockMeshDict | sihaqqi | OpenFOAM Meshing & Mesh Conversion | 2 | February 1, 2013 04:49 |
[blockMesh] A script for combining two blockMeshDict | yingfeng | OpenFOAM Meshing & Mesh Conversion | 0 | August 26, 2009 17:05 |