2021-03-07 16:29:04 +05:00
|
|
|
/*--------------------------------*- C++ -*----------------------------------*\
|
|
|
|
| ========= | |
|
|
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
|
|
| \\ / O peration | Version: v2012 |
|
|
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
|
|
| \\/ M anipulation | |
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
|
|
{
|
|
|
|
version 2.0;
|
|
|
|
format ascii;
|
|
|
|
class dictionary;
|
|
|
|
object createPatchDict;
|
|
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
|
|
|
pointSync false;
|
|
|
|
|
|
|
|
// Patches to create.
|
|
|
|
patches
|
|
|
|
(
|
|
|
|
{
|
|
|
|
name inlet;
|
|
|
|
|
|
|
|
patchInfo
|
|
|
|
{
|
|
|
|
type patch;
|
|
|
|
inGroups (inlet);
|
|
|
|
}
|
|
|
|
|
|
|
|
constructFrom patches;
|
|
|
|
patches (inlet_);
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name outlet;
|
|
|
|
|
|
|
|
|
|
|
|
patchInfo
|
|
|
|
{
|
|
|
|
type patch;
|
|
|
|
inGroups (outlet);
|
|
|
|
}
|
|
|
|
|
|
|
|
constructFrom patches;
|
|
|
|
patches (outlet_);
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name cyclicPlaneFW;
|
|
|
|
|
|
|
|
patchInfo
|
|
|
|
{
|
|
|
|
type cyclicAMI;
|
|
|
|
neighbourPatch cyclicPlaneBW;
|
|
|
|
transform translational;
|
2021-03-12 14:43:05 +05:00
|
|
|
separationVector (2 2 0);
|
2021-03-09 14:56:12 +05:00
|
|
|
matchTolerance 1e-4;
|
|
|
|
inGroups (cyclic);
|
2021-03-07 16:29:04 +05:00
|
|
|
}
|
|
|
|
|
|
|
|
constructFrom patches;
|
|
|
|
patches (symetryPlaneFW_);
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name cyclicPlaneBW;
|
|
|
|
|
|
|
|
patchInfo
|
|
|
|
{
|
|
|
|
type cyclicAMI;
|
|
|
|
neighbourPatch cyclicPlaneFW;
|
|
|
|
transform translational;
|
2021-03-12 14:43:05 +05:00
|
|
|
separationVector (-2 -2 0);
|
2021-03-09 14:56:12 +05:00
|
|
|
matchTolerance 1e-4;
|
|
|
|
inGroups (cyclic);
|
2021-03-07 16:29:04 +05:00
|
|
|
}
|
|
|
|
|
|
|
|
constructFrom patches;
|
|
|
|
patches (symetryPlaneBW_);
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name cyclicPlaneL;
|
|
|
|
|
|
|
|
patchInfo
|
|
|
|
{
|
|
|
|
type cyclicAMI;
|
|
|
|
neighbourPatch cyclicPlaneR;
|
|
|
|
transform translational;
|
2021-03-12 14:43:05 +05:00
|
|
|
separationVector (-2 2 0);
|
2021-03-09 14:56:12 +05:00
|
|
|
matchTolerance 1e-4;
|
|
|
|
inGroups (cyclic);
|
2021-03-07 16:29:04 +05:00
|
|
|
}
|
|
|
|
|
|
|
|
constructFrom patches;
|
|
|
|
patches (symetryPlaneL_);
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name cyclicPlaneR;
|
|
|
|
|
|
|
|
patchInfo
|
|
|
|
{
|
|
|
|
type cyclicAMI;
|
|
|
|
neighbourPatch cyclicPlaneL;
|
|
|
|
transform translational;
|
2021-03-12 14:43:05 +05:00
|
|
|
separationVector (2 -2 0);
|
2021-03-09 14:56:12 +05:00
|
|
|
matchTolerance 1e-4;
|
|
|
|
inGroups (cyclic);
|
2021-03-07 16:29:04 +05:00
|
|
|
}
|
|
|
|
|
|
|
|
constructFrom patches;
|
|
|
|
patches (symetryPlaneR_);
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
name wall;
|
|
|
|
|
|
|
|
patchInfo
|
|
|
|
{
|
|
|
|
type wall;
|
|
|
|
inGroups (wall);
|
|
|
|
}
|
|
|
|
|
|
|
|
constructFrom patches;
|
|
|
|
patches (wall_);
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
// ************************************************************************* //
|