/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.2 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 0.0254; vertices ( (0 0 -1) //0 (2.05 0 -1) //1 (2.45 0 -1) //2 (14 0 -1) //3 (22 0 -1) //4 (33.55 0 -1) //5 (33.95 0 -1) //6 (36 0 -1) //7 (2.05 2.782 -1) //8 (2.45 2.782 -1) //9 (14 2.782 -1) //10 (22 2.782 -1) //11 (33.55 2.782 -1) //12 (33.95 2.782 -1) //13 (2.45 3.325 -1) //14 (14 3.325 -1) //15 (22 3.325 -1) //16 (33.55 3.325 -1) //17 (14 19 -1) //18 (22 19 -1) //19 (0 0 1) //20 (2.05 0 1) //21 (2.45 0 1) //22 (14 0 1) //23 (22 0 1) //24 (33.55 0 1) //25 (33.95 0 1) //26 (36 0 1) //27 (2.05 2.782 1) //28 (2.45 2.782 1) //29 (14 2.782 1) //30 (22 2.782 1) //31 (33.55 2.782 1) //32 (33.95 2.782 1) //33 (2.45 3.325 1) //34 (14 3.325 1) //35 (22 3.325 1) //36 (33.55 3.325 1) //37 (14 19 1) //38 (22 19 1) //39 ); blocks ( hex (0 1 8 8 20 21 28 28) (5 4 1) simpleGrading (1 1 1) //0 ground floor left corner hex (1 2 9 8 21 22 29 28) (5 4 1) simpleGrading (1 1 1) //1 hex (2 3 10 9 22 23 30 29) (25 4 1) simpleGrading (1 1 1) //2 hex (3 4 11 10 23 24 31 30) (40 4 1) simpleGrading (1 1 1) //3 hex (4 5 12 11 24 25 32 31) (25 4 1) simpleGrading (1 1 1) //4 hex (5 6 13 12 25 26 33 32) (5 4 1) simpleGrading (1 1 1) //5 hex (6 7 13 13 26 27 33 33) (5 4 1) simpleGrading (1 1 1) //6 ground floor right corner // hex (8 9 14 14 28 29 34 34) (5 5 1) simpleGrading (1 1 1) //7 1st floor left corner hex (9 10 15 14 29 30 35 34) (25 5 1) simpleGrading (1 1 1) //8 hex (10 11 16 15 30 31 36 35) (40 5 1) simpleGrading (1 1 1) //9 hex (11 12 17 16 31 32 37 36) (25 5 1) simpleGrading (1 1 1) //10 hex (12 13 17 17 32 33 37 37) (5 5 1) simpleGrading (1 1 1) //11 1st floor right corner // hex (14 15 18 18 34 35 38 38) (25 50 1) simpleGrading (1 1 1) //12 2nd floor left corner hex (15 16 19 18 35 36 39 38) (40 50 1) simpleGrading (1 1 1) //13 hex (16 17 19 19 36 37 39 39) (25 50 1) simpleGrading (1 1 1) //14 2nd floor right corner ); edges ( ); boundary ( inlet { type patch; faces ( (18 19 39 38) ); } outlet1 //left { type patch; faces ( (1 2 22 21) ); } outlet2 //right { type patch; faces ( (5 6 26 25) ); } walls { type wall; faces ( (14 34 38 18) // left (8 28 34 14) (0 20 28 8) (0 1 21 20) // ground (2 3 23 22) (3 4 24 23) (4 5 25 24) (6 7 27 26) // (7 13 33 27) // right (13 17 37 33) (17 19 39 37) ); } back { type empty; faces ( (0 8 8 1) (1 8 9 2) (2 9 10 3) (3 10 11 4) (4 11 12 5) (5 12 13 6) (6 13 13 7) (8 14 14 9) (9 14 15 10) (10 15 16 11) (11 16 17 12) (12 17 17 13) (14 18 18 15) (15 18 19 16) (16 19 19 17) ); } front { type empty; faces ( (20 21 28 28) (21 22 29 28) (22 23 30 29) (23 24 31 30) (24 25 32 31) (25 26 33 32) (26 27 33 33) (28 29 34 34) (29 30 35 34) (30 31 36 35) (31 32 37 36) (32 33 37 37) (34 35 38 38) (35 36 39 38) (36 37 39 39) ); } ); mergePatchPairs ( ); // ************************************************************************* //