Files
openfoam/tutorials/mesh/createPatch/TJunctionSwitching_createPatch/top/system/blockMeshDict
2025-06-27 09:46:28 +01:00

97 lines
1.9 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2506 |
| \\ / 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.2 0.02 0) //12=0
(0.22 0.02 0) //13=1
(0.22 0.21 0) //14=2
(0.2 0.21 0) //15=3
// Z
(0.2 0.02 0.01) //28=4
(0.22 0.02 0.01) //29=5
(0.22 0.21 0.01) //30=6
(0.2 0.21 0.01) //31=7
);
blocks
(
// top block
hex (0 1 2 3 4 5 6 7) top (5 50 1) simpleGrading (1 1 1)
);
edges
(
);
boundary
(
top_outlet
{
type patch;
faces
(
//(14 15 31 30)
(2 3 7 6)
);
}
top_walls
{
type wall;
faces
(
// Top block
(1 2 6 5)
(0 4 7 3)
);
}
// Central - Top block
// ~~~~~~~~~~~~~~~~~~~
top_couple
{
type wall;
faces
(
(0 1 5 4)
);
}
);
// ************************************************************************* //