roman.gaspar |
August 15, 2012 08:38 |
Cycle Boundary condition
Hello Foamers.
Can anybody explain me how that cyclic BC work. I read the user guide, internet and looked through some tutorials in OF how it works, but if I want to use it does'n works...:( May i miss some important part from tutorials (e.g. dnsFoam) and i try to realize it,but... I try to make a simple geometry by blockMesh...code is bottom...blockMesh works, but if I open it paraFoam, I dont see the hole geometry. Can anybody explain me what kind of mistake I do?
Thanks for your time...regards
Roman
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 0.001;
vertices
(
(0 0 0) //cylinder
(6.03 0 110.3)
(60.37 0 92.5)
(0 45 0)
(6.03 45 110.3)
(60.37 45 92.5)
(6.03 0 110.3) // big blade
(7.03 0 110.3)
(1 0 212.5)
(0 0 212.5)
(6.03 45 110.3)
(7.03 45 110.3)
(1 45 212.5)
(0 45 212.5)
(64.11 0 135.6) // Small blade
(65.1 0 135.4)
(56 0 205)
(55 0 205)
(64.11 45 135.6)
(65.1 45 135.4)
(56 45 205)
(55 45 205)
);
blocks
(
hex (0 2 1 0 3 5 4 3) (20 10 1) simpleGrading (1 1 1)
hex (6 9 8 7 10 13 12 11) (20 1 1) simpleGrading (1 1 1)
hex (14 17 16 15 18 21 20 19) (20 1 1) simpleGrading (1 1 1)
);
edges
(
arc 1 2 (28.60 0 106.73)
arc 4 5 (28.60 45 106.73)
arc 6 9 (27.76 0 161)
arc 7 8 (28.76 0 161)
arc 10 13 (27.76 45 161)
arc 11 12 (28.76 45 161)
arc 14 17 (68.5 0 148.3)
arc 15 16 (69.4 0 148.1)
arc 18 21 (68.5 45 148.3)
arc 19 20 (69.4 45 148.1)
);
boundary
(
front
{
type cyclic;
neighbourPatch back;
faces
(
(0 1 4 3)
);
}
back
{
type cyclic;
neighbourPatch front;
faces
(
(0 3 5 2)
);
}
);
mergePatchPairs
(
);
|