This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/gnemdFoam/nanoNozzle/constant/polyMesh/blockMeshDict

146 lines
2.4 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 3e-9;
vertices
(
(0 0 0)
(3.5 0 0)
(3.5 3 0)
(0 3 0)
(0 0 3)
(3.5 0 3)
(3.5 3 3)
(0 3 3)
(7.5 1 0.5)
(7.5 2 0.5)
(7.5 1 2.5)
(7.5 2 2.5)
(10 1 0.5)
(10 2 0.5)
(10 1 2.5)
(10 2 2.5)
(11.5 0.5 -0.5)
(11.5 2.5 -0.5)
(11.5 0.5 3.5)
(11.5 2.5 3.5)
(16 0.5 -0.5)
(16 2.5 -0.5)
(16 0.5 3.5)
(16 2.5 3.5)
);
blocks
(
hex (0 1 2 3 4 5 6 7) sectionA (16 15 15) simpleGrading (1 1 1)
hex (1 8 9 2 5 10 11 6) sectionA (16 15 15) simpleGrading (0.4 1 1)
hex (8 12 13 9 10 14 15 11) sectionB (16 15 15) simpleGrading (1 1 1)
hex (12 16 17 13 14 18 19 15) sectionC (11 15 15) simpleGrading (2.8 1 1)
hex (16 20 21 17 18 22 23 19) sectionC (16 15 15) simpleGrading (1 1 1)
);
edges
(
simpleSpline 12 16
(
(10.375 0.875 0.4)
(10.75 0.75 0)
(11.125 0.625 -0.4)
)
simpleSpline 14 18
(
(10.375 0.875 2.6)
(10.75 0.75 3)
(11.125 0.625 3.4)
)
simpleSpline 15 19
(
(10.375 2.125 2.6)
(10.75 2.25 3)
(11.125 2.375 3.4)
)
simpleSpline 13 17
(
(10.375 2.125 0.4)
(10.75 2.25 0)
(11.125 2.375 -0.4)
)
);
patches
(
patch
sectionAEnd
(
(0 4 7 3)
)
patch
sectionCEnd
(
(20 21 23 22)
)
wall
front
(
(0 1 5 4)
(1 8 10 5)
(8 12 14 10)
(12 16 18 14)
(16 20 22 18)
)
wall
back
(
(2 3 7 6)
(2 6 11 9)
(9 11 15 13)
(13 15 19 17)
(17 19 23 21)
)
wall
top
(
(4 5 6 7)
(5 10 11 6)
(10 14 15 11)
(14 18 19 15)
(18 22 23 19)
)
wall
bottom
(
(0 3 2 1)
(1 2 9 8)
(8 9 13 12)
(12 13 17 16)
(16 17 21 20)
)
);
mergePatchPairs
(
);
// ************************************************************************* //