anisotropy/openfoam/template/system/createPatchDict.cyclic
2021-05-26 17:18:39 +05:00

132 lines
2.9 KiB
C++

/*--------------------------------*- 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;
separationVector (2 2 0);
matchTolerance 1e-4;
inGroups (cyclic);
}
constructFrom patches;
patches (symetryPlaneFW_);
}
{
name cyclicPlaneBW;
patchInfo
{
type cyclicAMI;
neighbourPatch cyclicPlaneFW;
transform translational;
separationVector (-2 -2 0);
matchTolerance 1e-4;
inGroups (cyclic);
}
constructFrom patches;
patches (symetryPlaneBW_);
}
{
name cyclicPlaneL;
patchInfo
{
type cyclicAMI;
neighbourPatch cyclicPlaneR;
transform translational;
separationVector (-2 2 0);
matchTolerance 1e-4;
inGroups (cyclic);
}
constructFrom patches;
patches (symetryPlaneL_);
}
{
name cyclicPlaneR;
patchInfo
{
type cyclicAMI;
neighbourPatch cyclicPlaneL;
transform translational;
separationVector (2 -2 0);
matchTolerance 1e-4;
inGroups (cyclic);
}
constructFrom patches;
patches (symetryPlaneR_);
}
{
name wall;
patchInfo
{
type wall;
inGroups (wall);
}
constructFrom patches;
patches (wall_);
}
);
// ************************************************************************* //