CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

BlockMeshDict keywords

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 20, 2007, 01:41
Default I recently discovered that blo
  #1
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 695
Rep Power: 10
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, 04:15
Default This is m4 syntax? 'man m4'. I
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
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, 09:14
Default Thanks Mattijs.
  #3
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 695
Rep Power: 10
msrinath80 is on a distinguished road
Thanks Mattijs.
msrinath80 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 08:46.