|
[Sponsors] |
January 26, 2012, 09:57 |
Difficulty Merging Blocks
|
#1 |
New Member
Lake
Join Date: Jan 2012
Posts: 1
Rep Power: 0 |
Hi all!
I'm new to OpenFOAM and have been trying to build my first test case. The geometry consists of a cylindrical inlet which opens into a larger cylindrical volume, which opens out to an even larger cylindrical volume. All three cylinders share the same major axis. Each cylinder makes up one block. I have been having problems with my blockMeshDict file when I define the walls of the larger cylinders which surround the inlet from the smaller cylinders. I have tried using MergePatchPairs to match things up with no success either. I have included my blockMeshDict file below. How should I be describing the back walls of the cylinders and the interface between each block? Thank you all for your help! Code:
FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters .01; vertices ( /*Cylinder 1 - Inlet*/ (-1 -.15875 0)//0 (0 -.15875 0)//1 (0 .15875 0)//2 (-1 .15875 0)//3 (-1 0 .15875)//4 (0 0 .15875)//5 (0 0 -.15875)//6 (-1 0 -.15875)//7 /*Cylinder 2 - Helicon*/ (0 -6.65 0)//8 (29.2 -6.65 0)//9 (29.2 6.65 0)//10 (0 6.65 0)//11 (0 0 6.65)//12 (29.2 0 6.65)//13 (29.2 0 -6.65)//14 (0 0 -6.65)//15 /*Cylinder 3 - Vacuum*/ (29.2 -20 0)//16 (100 -20 0)//17 (100 20 0)//18 (29.2 20 0)//19 (29.2 0 20)//20 (100 0 20)//21 (100 0 -20)//22 (29.2 0 -20)//23 ); blocks ( hex (0 1 6 7 4 5 2 3) (100 10 10) simpleGrading (1 1 1)//Inlet hex (8 9 14 15 12 13 10 11) (150 67 67) simpleGrading (5 1 1)//Helicon hex (16 17 22 23 20 21 18 19) (70 40 40) simpleGrading (1 1 1)//Vacuum ); edges ( /*Inlet*/ arc 0 4 (-1 -.112253202 .112253202) arc 3 4 (-1 .112253202 .112253202) arc 3 7 (-1 .112253202 -.112253202) arc 0 7 (-1 -.112253202 -.112253202) arc 1 5 (0 -.112253202 .112253202) arc 2 5 (0 .112253202 .112253202) arc 2 6 (0 .112253202 -.112253202) arc 1 6 (0 -.112253202 -.112253202) /*Helicon*/ arc 8 12 (0 -4.70226009 4.70226009) arc 11 12 (0 4.70226009 4.70226009) arc 11 15 (0 4.70226009 -4.70226009) arc 8 15 (0 -4.70226009 -4.70226009) arc 9 13 (29.2 -4.70226009 4.70226009) arc 10 13 (29.2 4.70226009 4.70226009) arc 10 14 (29.2 4.70226009 -4.70226009) arc 9 14 (29.2 -4.70226009 -4.70226009) /*Vacuum*/ arc 16 20 (29.2 -14.1421356 14.1421356) arc 19 20 (29.2 14.1421356 14.1421356) arc 19 23 (29.2 14.1421356 -14.1421356) arc 16 23 (29.2 -14.1421356 -14.1421356) arc 17 21 (100 -14.1421356 14.1421356) arc 18 21 (100 14.1421356 14.1421356) arc 18 22 (100 14.1421356 -14.1421356) arc 17 22 (100 -14.1421356 -14.1421356) ); patches ( patch inlet ( (0 4 3 7) ) wall walls ( /*Cylinder 1 Side Walls*/ (5 4 0 1) (2 3 4 5) (3 2 6 7) (7 6 1 0) /*Cylinder 2 Side Walls*/ (13 12 8 9) (10 11 12 13) (11 10 14 15) (15 14 9 8) /*Cylinder 2 Back Wall*/ (11 2 5 12) (11 15 6 2) (6 15 8 1) (12 5 1 8) /*Cylinder 3 Back Wall*/ (19 10 13 20) (19 23 14 10) (14 23 16 9) (20 13 9 16) ) patch outlet ( (18 21 17 22) (21 20 16 17) (18 19 20 21) (19 18 22 23) (23 22 17 16) ) /* patch interface1 ( (2 5 1 6) ) patch interface2 ( (11 15 8 12) ) patch interface3 ( (9 14 10 13) ) patch interface4 ( (19 23 16 20) ) */ ); mergePatchPairs ( /*(interface1 interface2) (interface3 interface4)*/ ); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] COnvert FLuent MEsh to openfoam with interface | manuc | OpenFOAM Meshing & Mesh Conversion | 1 | July 25, 2017 03:13 |
[Commercial meshers] converting Fluent mesh to openfoam standard mesh | deepesh | OpenFOAM Meshing & Mesh Conversion | 31 | March 29, 2017 05:59 |
dsmcInitialise - dsmcFoam | archymedes | OpenFOAM Pre-Processing | 94 | July 15, 2016 16:14 |
[Other] How to create an MRF zone ? | aminem | OpenFOAM Meshing & Mesh Conversion | 2 | December 8, 2014 10:45 |
Merging the blocks in ICEM | saisanthoshm88 | ANSYS Meshing & Geometry | 1 | December 27, 2010 10:14 |