CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] BlockMeshDict keywords

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2007, 02:41
Default BlockMeshDict keywords
  #1
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
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))
msrinath80 is offline   Reply With Quote

Old   September 20, 2007, 05:15
Default This is m4 syntax? 'man m4'. I
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
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).
mattijs is offline   Reply With Quote

Old   September 20, 2007, 10:14
Default Thanks Mattijs.
  #3
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Thanks Mattijs.
msrinath80 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 22:31.