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

locationInMesh to define two regions(blocks)?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 19, 2011, 15:41
Red face locationInMesh to define two regions(blocks)?
  #1
Member
 
Aqua
Join Date: Oct 2011
Posts: 96
Rep Power: 5
aqua is on a distinguished road
Dear all,
I am trying to use moving mesh, so there are two blocks which will move towards each other. in each block there is a small cube inside. So i am trying to use snappyHexMesh to create mesh for the small cubes.
So you can see, there are two blocks, means two regions. the problem is related to "locationInMesh":

if I give a point in block1, then after snappyHexMesh, there will be 0 mesh in block2;
if i give a pint in block2, then then after snappyHexMesh, there will be 0 mesh in block1;

please, how i can tell "snappyHexMesh" to work for both blocks?

thank you so much!!!
aqua is offline   Reply With Quote

Old   January 4, 2012, 17:28
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,507
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Aqua,

I'm sorry for bringing up this thread out of the past, but I'm just tying-in some loose ends for future readers...

For those reading this thread and wondering about the same question, Aqua also asked about this on another thread and I replied here: Snappy : Multi-region meshing post #20

Best regards,
Bruno
wyldckat 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
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation 140 June 19, 2010 09:23
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
REAL GAS UDF brian FLUENT 6 September 11, 2006 08:23
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24
UDF FOR UNSTEADY TIME STEP mayur FLUENT 3 August 9, 2006 10:19


All times are GMT -4. The time now is 06:52.