CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   locationInMesh to define two regions(blocks)? (https://www.cfd-online.com/Forums/openfoam/95475-locationinmesh-define-two-regions-blocks.html)

aqua December 19, 2011 14:41

locationInMesh to define two regions(blocks)?
 
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!!!

wyldckat January 4, 2012 16:28

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: http://www.cfd-online.com/Forums/ope...tml#post337890 post #20

Best regards,
Bruno


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