hpr-simulation/cell-simple/system/createPatchDict
2023-04-10 22:06:10 +05:00

148 lines
3.7 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 10 |
| \\ / A nd | |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
class dictionary;
format ascii;
location "system";
object createPatchDict;
version 2.0;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Do a synchronisation of coupled points after creation of any patches.
// Note: this does not work with points that are on multiple coupled patches
// with transformations (i.e. cyclics).
pointSync false;
patches
(
/*{
constructFrom patches;
name outlet;
patchInfo
{
inGroups (outlet);
type patch;
}
patches (periodic-west);
}
{
constructFrom patches;
name inlet;
patchInfo
{
inGroups (inlet);
type patch;
}
patches (periodic-east);
}*/
{
constructFrom patches;
name inlet;
patchInfo
{
inGroups (cyclicAMI);
type cyclicAMI;
transformType translational;
neighbourPatch outlet;
matchTolerance 1e-3;
separation (2.828427e-5 0 0);
}
patches (periodic-north);
}
{
constructFrom patches;
name outlet;
patchInfo
{
inGroups (cyclicAMI);
type cyclicAMI;
transformType translational;
neighbourPatch inlet;
matchTolerance 1e-3;
separation (-2.828427e-5 0 0);
}
patches (periodic-south);
}
{
constructFrom patches;
name walls;
patchInfo
{
inGroups (wall);
type wall;
}
patches (wall);
}
{
constructFrom patches;
name cperiodic-west;
patchInfo
{
inGroups (cyclicAMI);
type cyclicAMI;
transformType translational;
neighbourPatch cperiodic-east;
matchTolerance 1e-4;
separation (0 -2.828427e-5 0);
}
patches (periodic-west);
}
{
constructFrom patches;
name cperiodic-east;
patchInfo
{
inGroups (cyclicAMI);
type cyclicAMI;
transformType translational;
neighbourPatch cperiodic-west;
matchTolerance 1e-4;
separation (0 2.828427e-5 0);
}
patches (periodic-east);
}
{
constructFrom patches;
name cperiodic-down;
patchInfo
{
inGroups (cyclicAMI);
type cyclicAMI;
transformType translational;
neighbourPatch cperiodic-up;
matchTolerance 1e-3;
separation (0 0 -2e-5);
}
patches (periodic-down);
}
{
constructFrom patches;
name cperiodic-up;
patchInfo
{
inGroups (cyclicAMI);
type cyclicAMI;
transformType translational;
neighbourPatch cperiodic-down;
matchTolerance 1e-3;
separation (0 0 2e-5);
}
patches (periodic-up);
}
);
// ************************************************************************* //