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/electromagnetics/mhdFoam/hartmann/constant/polyMesh/blockMeshDict

90 lines
1.6 KiB
Text
Raw Normal View History

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
2013-12-11 16:09:41 +00:00
| \\ / F ield | foam-extend: Open Source CFD |
2014-06-01 11:15:18 +00:00
| \\ / O peration | Version: 3.1 |
2013-12-11 16:09:41 +00:00
| \\ / A nd | Web: http://www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1;
2010-11-24 20:48:09 +00:00
vertices
(
(0 -1 0)
(20 -1 0)
(20 1 0)
(0 1 0)
(0 -1 0.1)
(20 -1 0.1)
(20 1 0.1)
(0 1 0.1)
);
2010-11-24 20:48:09 +00:00
blocks
(
hex (0 1 2 3 4 5 6 7) (100 40 1) simpleGrading (1 1 1)
);
2010-11-24 20:48:09 +00:00
edges
(
);
boundary
(
inlet
{
type patch;
faces
(
(0 4 7 3)
);
}
outlet
{
type patch;
faces
(
(2 6 5 1)
);
}
lowerWall
{
type patch;
faces
(
(1 5 4 0)
);
}
upperWall
{
type patch;
faces
(
(3 7 6 2)
);
}
frontAndBack
{
type empty;
faces
(
(0 3 2 1)
(4 5 6 7)
);
}
);
mergePatchPairs
(
);
// ************************************************************************* //