You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.4 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
// Load initial cellSet
{
name c0;
type cellSet;
action new;
source cylinderToCell;
sourceInfo
{
p1 (-10 0 0); // start point on cylinder axis
p2 (10 0 0); // end point on cylinder axis
radius 10;
}
}
{
// Select based on cellSet
name Propeller;
action new;
type cellZoneSet;
source setToCellZone;
sourceInfo
{
set c0; // name of cellSet
}
}
);
// ************************************************************************* //