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/boundaryFoam/boundaryLaunderSharma/constant/polyMesh/blockMeshDict
2016-06-21 15:04:21 +02:00

84 lines
1.6 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 0.05;
vertices
(
(0 -1 0)
(0 0 0)
(0 1 0)
(0.1 -1 0)
(0.1 0 0)
(0.1 1 0)
(0 -1 0.1)
(0 0 0.1)
(0 1 0.1)
(0.1 -1 0.1)
(0.1 0 0.1)
(0.1 1 0.1)
);
blocks
(
hex (0 3 4 1 6 9 10 7) (1 40 1) simpleGrading (1 100 1)
hex (1 4 5 2 7 10 11 8) (1 40 1) simpleGrading (1 0.01 1)
);
edges
(
);
boundary
(
lowerWall
{
type wall;
faces
(
(0 3 9 6)
);
}
upperWall
{
type wall;
faces
(
(2 8 11 5)
);
}
frontBack
{
type cyclic;
faces
(
(0 6 7 1)
(1 7 8 2)
(9 3 4 10)
(10 4 5 11)
);
}
);
mergePatchPairs
(
);
// ************************************************************************* //