You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

182 lines
4.3 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1;
vertices
(
(-0.3 0 0 ) //0
(-0.3 0.5656854 0.5656854) //1
(-0.3 0 1.1313708) //2
(-0.3 -0.5656854 0.5656854)//3
(-0.3 0.9899495 0.9899495) //4
(-0.3 0 1.4 ) //5
(-0.3 -0.9899495 0.9899495) //6
(1.3 0 0 ) //7
(1.3 0.5656854 0.5656854) //8
(1.3 0 1.1313708) //9
(1.3 -0.5656854 0.5656854) //10
(1.3 0.9899495 0.9899495) //11
(1.3 0 1.4 ) //12
(1.3 -0.9899495 0.9899495) //13
(-0.3 0.5656854 -0.5656854) //14
(-0.3 0 -1.1313708) //15
(-0.3 -0.5656854 -0.5656854)//16
(-0.3 0.9899495 -0.9899495) //17
(-0.3 0 -1.4 ) //18
(-0.3 -0.9899495 -0.9899495) //19
(1.3 0.5656854 -0.5656854) //20
(1.3 0 -1.1313708) //21
(1.3 -0.5656854 -0.5656854) //22
(1.3 0.9899495 -0.9899495) //23
(1.3 0 -1.4 ) //24
(1.3 -0.9899495 -0.9899495) //25
(-0.3 -1.1313708 0) //26
(-0.3 1.1313708 0) //27
(1.3 -1.1313708 0) //28
(1.3 1.1313708 0) //29
(-0.3 1.4 0) //30
(1.3 1.4 0) //31
(-0.3 -1.4 0) //32
(1.3 -1.4 0) //33
);
edges
(
arc 4 5 (-0.3 0.7 1.212435)
arc 5 6 (-0.3 -0.7 1.212435)
arc 11 12 (1.3 0.7 1.212435)
arc 12 13 (1.3 -0.7 1.212435)
arc 17 18 (-0.3 0.7 -1.212435)
arc 18 19 (-0.3 -0.7 -1.212435)
arc 23 24 (1.3 0.7 -1.212435)
arc 24 25 (1.3 -0.7 -1.212435)
arc 17 30 (-0.3 1.212435 -0.7)
arc 30 4 (-0.3 1.212435 0.7)
arc 23 31 (1.3 1.212435 -0.7)
arc 31 11 (1.3 1.212435 0.7)
arc 6 32 (-0.3 -1.212435 0.7)
arc 32 19 (-0.3 -1.212435 -0.7)
arc 13 33 (1.3 -1.212435 0.7)
arc 33 25 (1.3 -1.212435 -0.7)
);
blocks
(
hex (0 1 2 3 7 8 9 10) (20 20 40) simpleGrading (1 1 1)
hex (1 4 5 2 8 11 12 9) (10 20 40) simpleGrading (1 1 1)
hex (2 5 6 3 9 12 13 10) (10 20 40) simpleGrading (1 1 1)
hex (0 16 15 14 7 22 21 20) (20 20 40) simpleGrading (1 1 1)
hex (18 17 14 15 24 23 20 21) (20 10 40) simpleGrading (1 1 1)
hex (18 15 16 19 24 21 22 25) (10 20 40) simpleGrading (1 1 1)
hex (0 14 27 1 7 20 29 8) (20 20 40) simpleGrading (1 1 1)
hex (0 3 26 16 7 10 28 22) (20 20 40) simpleGrading (1 1 1)
hex (27 30 4 1 29 31 11 8) (10 20 40) simpleGrading (1 1 1)
hex (32 26 3 6 33 28 10 13) (10 20 40) simpleGrading (1 1 1)
hex (14 17 30 27 20 23 31 29) (10 20 40) simpleGrading (1 1 1)
hex (19 16 26 32 25 22 28 33) (10 20 40) simpleGrading (1 1 1)
);
//***************Set names of bdry**********************//
boundary
(
Inlet
{
type patch;
faces
(
(0 3 2 1)
(3 6 5 2)
(2 5 4 1)
(1 4 30 27)
(0 1 27 14)
(14 27 30 17)
(14 17 18 15)
(0 14 15 16)
(15 18 19 16)
(0 16 26 3)
(16 19 32 26)
(3 26 32 6)
);
}
Outlet
{
type patch;
faces
(
(7 8 9 10)
(7 20 29 8)
(22 21 20 7)
(28 22 7 10)
(8 11 12 9)
(9 12 13 10)
(10 13 33 28)
(28 33 25 22)
(22 25 24 21)
(21 24 23 20)
(20 23 31 29)
(29 31 11 8)
);
}
Ext
{
type patch;
faces
(
(4 5 12 11)
(5 6 13 12)
(6 32 33 13)
(32 19 25 33)
(19 18 24 25)
(18 17 23 24)
(17 30 31 23)
(30 4 11 31)
);
}
);
mergePatchPairs
(
);
// ************************************************************************* //