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/incompressible/pimpleFoam/t-junction/constant/polyMesh/blockMeshDict

110 lines
2.1 KiB
Text
Raw Normal View History

2010-09-23 13:04:10 +00:00
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
2010-11-24 20:48:09 +00:00
| \\ / F ield | OpenFOAM Extend Project: Open Source CFD |
| \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: www.extend-project.de |
2010-09-23 13:04:10 +00:00
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// outlet1
// +-+
// | |
// | |
// | |
// | |
// +-----------+ |
// |inlet |
// +-----------+ |
// | |
// | |
// | |
// | |
// +-+
// outlet2
convertToMeters 1;
2010-11-24 20:48:09 +00:00
vertices
2010-09-23 13:04:10 +00:00
(
(0.0 -0.01 0) //0
(0.2 -0.01 0)
(0.2 0.01 0) //2
(0.0 0.01 0)
(0.22 -0.01 0) //4
(0.22 0.01 0)
(0.2 -0.21 0) //6
(0.22 -0.21 0)
(0.2 0.21 0) //8
(0.22 0.21 0)
// Z
(0.0 -0.01 0.02) //0
(0.2 -0.01 0.02)
(0.2 0.01 0.02) //2
(0.0 0.01 0.02)
(0.22 -0.01 0.02) //4
(0.22 0.01 0.02)
(0.2 -0.21 0.02) //6
(0.22 -0.21 0.02)
(0.2 0.21 0.02) //8
(0.22 0.21 0.02)
);
2010-11-24 20:48:09 +00:00
blocks
2010-09-23 13:04:10 +00:00
(
// inlet block
hex (0 1 2 3 10 11 12 13) (50 5 5) simpleGrading (1 1 1)
// central block
hex (1 4 5 2 11 14 15 12) (5 5 5) simpleGrading (1 1 1)
// bottom block
hex (6 7 4 1 16 17 14 11) (5 50 5) simpleGrading (1 1 1)
// top block
hex (2 5 9 8 12 15 19 18) (5 50 5) simpleGrading (1 1 1)
);
2010-11-24 20:48:09 +00:00
edges
2010-09-23 13:04:10 +00:00
(
);
2010-11-24 20:48:09 +00:00
patches
2010-09-23 13:04:10 +00:00
(
patch inlet
(
(0 10 13 3)
)
patch outlet1
(
(6 7 17 16)
)
patch outlet2
(
(8 18 19 9)
)
);
mergePatchPairs
(
);
// ************************************************************************* //