mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
- uses the keywords 'zones' and 'zone' to avoid potential conflicts with a named topoSet action, but accepts 'name' for compatibility.
55 lines
1.4 KiB
C++
55 lines
1.4 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 cell zone
|
|
{
|
|
name rotorCells;
|
|
type cellSet;
|
|
action new;
|
|
source zoneToCell;
|
|
sourceInfo
|
|
{
|
|
zones (cylinder innerCylinder);
|
|
}
|
|
}
|
|
{
|
|
name rotorCells;
|
|
type cellSet;
|
|
action subset;
|
|
source boxToCell;
|
|
sourceInfo
|
|
{
|
|
box (-100 -100 0.1) (100 100 0.15);
|
|
}
|
|
}
|
|
{
|
|
name rotor;
|
|
type cellZoneSet;
|
|
action new;
|
|
source setToCellZone;
|
|
sourceInfo
|
|
{
|
|
set rotorCells;
|
|
}
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|