Files
CFDEMcoupling-PFM/tutorials/rcfdemSolverBase/HopperTracer/CFD/constant/polyMesh/blockMeshDict
2018-02-01 07:49:06 +01:00

87 lines
1.9 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 0.001;
vertices
(
(12 12 0)
(75 12 0)
(75 12 600)
(12 12 600)
(-12 12 600)
(-75 12 600)
(-75 12 0)
(-12 12 0)
(12 -12 0)
(75 -12 0)
(75 -12 600)
(12 -12 600)
(-12 -12 600)
(-75 -12 600)
(-75 -12 0)
(-12 -12 0)
);
// coarse mesh
/*
blocks
(
hex (0 1 2 3 8 9 10 11) (3 25 1) simpleGrading (1 1 1)
hex (0 3 4 7 8 11 12 15) (25 1 1) simpleGrading (1 1 1)
hex (7 4 5 6 15 12 13 14) (25 3 1) simpleGrading (1 1 1)
);
*/
// fine mesh
blocks
(
hex (0 1 2 3 8 9 10 11) (9 75 3) simpleGrading (1 1 1)
hex (0 3 4 7 8 11 12 15) (75 3 3) simpleGrading (1 1 1)
hex (7 4 5 6 15 12 13 14) (75 9 3) simpleGrading (1 1 1)
);
boundary
(
walls
{
type wall;
faces
(
(0 8 9 1)
(1 9 10 2)
(14 6 5 13)
(15 7 6 14)
);
}
frontAndBack
{
type wall;
faces
(
(0 1 2 3)
(0 3 4 7)
(6 7 4 5)
(8 9 10 11)
(8 11 12 15)
(15 12 13 14)
);
}
);
// ************************************************************************* //