mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
79 lines
1.9 KiB
C++
79 lines
1.9 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 6
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object createPatchDict;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
// 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;
|
|
|
|
// Optional: Write cyclic matches into .obj format; defaults to false.
|
|
writeCyclicMatch false;
|
|
|
|
// Patches to create.
|
|
patches
|
|
(
|
|
{
|
|
//- Master side patch
|
|
name AMI1;
|
|
patchInfo
|
|
{
|
|
type cyclicAMI;
|
|
matchTolerance 0.0001;
|
|
neighbourPatch AMI2;
|
|
transform noOrdering;
|
|
}
|
|
constructFrom patches;
|
|
patches (innerCylinderSmall);
|
|
}
|
|
|
|
{
|
|
//- Slave side patch
|
|
name AMI2;
|
|
patchInfo
|
|
{
|
|
type cyclicAMI;
|
|
matchTolerance 0.0001;
|
|
neighbourPatch AMI1;
|
|
transform noOrdering;
|
|
}
|
|
constructFrom patches;
|
|
patches (innerCylinderSmall_slave);
|
|
}
|
|
|
|
|
|
{
|
|
name inlet;
|
|
patchInfo
|
|
{
|
|
type patch;
|
|
}
|
|
constructFrom set;
|
|
set inletFaces;
|
|
}
|
|
{
|
|
name outlet;
|
|
patchInfo
|
|
{
|
|
type patch;
|
|
}
|
|
constructFrom set;
|
|
set outletFaces;
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|