Files
openfoam/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/air/topoSetDict.1
Mark Olesen c2e58dca64 ENH: support multiple zones for topo set sources (#1060)
- uses the keywords 'zones' and 'zone' to avoid potential conflicts
  with a named topoSet action, but accepts 'name' for compatibility.
2018-10-29 12:54:30 +00:00

121 lines
2.6 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
// rotor faces
{
name rotorCells;
type cellSet;
action new;
source zoneToCell;
sourceInfo
{
zone cylinder;
}
}
{
name rotorFaces;
type faceSet;
action new;
source cellToFace;
sourceInfo
{
set rotorCells;
option all;
}
}
{
name rotorFaces;
type faceSet;
action subset;
source boxToFace;
sourceInfo
{
box (-100 -100 0.1) (100 100 0.15);
}
}
{
name rotorBladesFaceSet;
type faceSet;
action new;
source faceToFace;
sourceInfo
{
set rotorFaces;
}
}
{
name rotorBladesFaceSet;
type faceSet;
action subset;
source boxToFace;
sourceInfo
{
box (-100 0.249 -100) (100 0.251 100);
}
}
{
name rotorBlades2;
type faceSet;
action new;
source faceToFace;
sourceInfo
{
set rotorFaces;
}
}
{
name rotorBlades2;
type faceSet;
action subset;
source boxToFace;
sourceInfo
{
box (0.249 -100 -100) (0.251 100 100);
}
}
{
name rotorBladesFaceSet;
type faceSet;
action add;
source faceToFace;
sourceInfo
{
set rotorBlades2;
}
}
{
name rotorBlades;
type faceZoneSet;
action new;
source setToFaceZone;
sourceInfo
{
faceSet rotorBladesFaceSet;
}
}
);
// ************************************************************************* //