Files
OpenFOAM-12/tutorials/fluid/blockedChannel/system/blockMeshDict
2024-07-06 16:02:47 +01:00

121 lines
2.7 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 12
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 0.001;
vertices
(
(0 -16 -1) (256 -16 -1)
(0 16 -1) (256 16 -1)
(0 -16 1) (256 -16 1)
(0 16 1) (256 16 1)
(0 -52 -1) ( 32 -52 -1) (64 -44 -1) (128 -44 -1) (224 -52 -1) (256 -52 -1)
(0 -20 -1) ( 32 -20 -1) (64 -28 -1) (128 -28 -1) (224 -20 -1) (256 -20 -1)
(0 -52 1) ( 32 -52 1) (64 -44 1) (128 -44 1) (224 -52 1) (256 -52 1)
(0 -20 1) ( 32 -20 1) (64 -28 1) (128 -28 1) (224 -20 1) (256 -20 1)
(0 -88 -1) (256 -88 -1)
(0 -56 -1) (256 -56 -1)
(0 -88 1) (256 -88 1)
(0 -56 1) (256 -56 1)
(0 -124 -1) (256 -124 -1)
(0 -92 -1) (256 -92 -1)
(0 -124 1) (256 -124 1)
(0 -92 1) (256 -92 1)
);
blocks
(
hex (0 1 3 2 4 5 7 6) (256 32 1) simpleGrading (1 1 1)
hex (8 9 15 14 20 21 27 26) (32 32 1) simpleGrading (1 1 1)
hex (9 10 16 15 21 22 28 27) (32 32 1) simpleGrading (1 1 1)
hex (10 11 17 16 22 23 29 28) (32 32 1) simpleGrading (1 1 1)
hex (11 12 18 17 23 24 30 29) (96 32 1) simpleGrading (1 1 1)
hex (12 13 19 18 24 25 31 30) (64 32 1) simpleGrading (1 1 1)
hex (32 33 35 34 36 37 39 38) (256 32 1) simpleGrading (1 1 1)
hex (40 41 43 42 44 45 47 46) (256 32 1) simpleGrading (1 1 1)
);
defaultPatch
{
name frontAndBack;
type empty;
}
boundary
(
inlet
{
type patch;
faces
(
(0 2 6 4)
(8 14 26 20)
(32 34 38 36)
(40 42 46 44)
);
}
outlet
{
type patch;
faces
(
(1 3 7 5)
(13 19 31 25)
(33 35 39 37)
(41 43 47 45)
);
}
walls
{
type wall;
faces
(
(0 1 5 4)
(2 3 7 6)
(8 9 21 20)
(9 10 22 21)
(10 11 23 22)
(11 12 24 23)
(12 13 25 24)
(14 15 27 26)
(15 16 28 27)
(16 17 29 28)
(17 18 30 29)
(18 19 31 30)
(32 33 37 36)
(34 35 39 38)
(40 41 45 44)
(42 43 47 46)
);
}
);
// ************************************************************************* //