|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 695
Rep Power: 9 ![]() |
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)) |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 13 ![]() |
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). |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 695
Rep Power: 9 ![]() |
Thanks Mattijs.
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Graphical viewer for blockMeshDict | grtabor | OpenFOAM Pre-Processing | 22 | March 14, 2013 04:05 |
| How to setup the interface in blockMeshDict for icoDyMFoam | yuhai | OpenFOAM Running, Solving & CFD | 0 | December 15, 2008 18:22 |
| MergePatchPairs in blockMeshDict | lord_kossity | OpenFOAM Native Meshers: blockMesh | 0 | April 15, 2008 02:28 |
| Trouble with my first blockMeshDict file | osimonsimon | OpenFOAM Native Meshers: blockMesh | 1 | October 13, 2006 14:32 |