35 lines
1.2 KiB
C++
35 lines
1.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.5 |
|
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object faceSetDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
// Name of set to operate on
|
|
name rotor;
|
|
|
|
// One of clear/new/invert/add/delete|subset/list
|
|
action new;
|
|
|
|
// Actions to apply to pointSet. These are all the topoSetSource's ending
|
|
// in ..ToFace (see the meshTools library).
|
|
topoSetSources
|
|
(
|
|
// Select based on cellSet
|
|
cellToFace
|
|
{
|
|
set rotor;
|
|
option all; // All faces of cells
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|