Files
openfoam/tutorials/mesh/createPatch/TJunctionSwitching_createPatch/inlet/system/blockMeshDict
2024-12-24 11:17:31 +00:00

97 lines
1.9 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2412 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// outlet1
// +-+
// | |
// | |
// | |
// | |
// +-----------+-+
// |inlet | |
// +-----------+-+
// | |
// | |
// | |
// | |
// +-+
// outlet2
scale 1;
vertices
(
(0.0 -0.01 0) //0
(0.19 -0.01 0)
(0.19 0.01 0) //2
(0.0 0.01 0)
// Z
(0.0 -0.01 0.01) //16=4
(0.19 -0.01 0.01) //17=5
(0.19 0.01 0.01) //18=6
(0.0 0.01 0.01) //19=7
);
blocks
(
// inlet block
hex (0 1 2 3 4 5 6 7) inlet (50 5 1) simpleGrading (1 1 1)
);
edges
(
);
boundary
(
inlet_inlet
{
type patch;
faces
(
(0 4 7 3)
);
}
inlet_walls
{
type wall;
faces
(
// Inlet block
(2 3 7 6)
(0 1 5 4)
);
}
// Inlet - Central block
// ~~~~~~~~~~~~~~~~~~~~~
inlet_couple
{
type wall;
faces
(
(1 2 6 5)
);
}
);
// ************************************************************************* //