mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
77 lines
1.5 KiB
C++
Executable File
77 lines
1.5 KiB
C++
Executable File
/*--------------------------------*- 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;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
#include "../../geometry"
|
|
convertToMeters 1;
|
|
|
|
|
|
vertices
|
|
(
|
|
($mhlx $mhly 0)
|
|
($hlx $mhly 0)
|
|
($hlx $hly 0)
|
|
($mhlx $hly 0)
|
|
($mhlx $mhly $lz)
|
|
($hlx $mhly $lz)
|
|
($hlx $hly $lz)
|
|
($mhlx $hly $lz)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (0 1 2 3 4 5 6 7) (35 6 110) simpleGrading (1 1 1)
|
|
);
|
|
|
|
edges
|
|
(
|
|
);
|
|
|
|
boundary
|
|
(
|
|
walls
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(0 4 7 3)
|
|
(2 6 5 1)
|
|
(1 5 4 0)
|
|
(3 7 6 2)
|
|
);
|
|
}
|
|
inlet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(0 3 2 1)
|
|
);
|
|
}
|
|
outlet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(4 5 6 7)
|
|
);
|
|
}
|
|
);
|
|
|
|
mergePatchPairs
|
|
(
|
|
);
|
|
|
|
// ************************************************************************* //
|