39 lines
1017 B
C++
39 lines
1017 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
object topoSetDict;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
#include "$FOAM_CASE/system/blockMeshDict"
|
|
|
|
actions
|
|
(
|
|
{
|
|
name cs;
|
|
type cellSet;
|
|
action new;
|
|
source sphereToCell;
|
|
centre (0 0 0);
|
|
radius $!geometry/sphere/radius;
|
|
}
|
|
{
|
|
name solid;
|
|
type cellZoneSet;
|
|
action new;
|
|
source setToCellZone;
|
|
set cs;
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|