149 lines
2.8 KiB
C++
149 lines
2.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 2.0.0 |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object topoSetDict;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
actions
|
|
(
|
|
{
|
|
name z;
|
|
type cellSet;
|
|
action new;
|
|
source boxToCell;
|
|
sourceInfo
|
|
{
|
|
box (-100 -100 -0.01)(100 100 100);
|
|
}
|
|
}
|
|
|
|
{
|
|
name zf;
|
|
type faceSet;
|
|
action new;
|
|
source cellToFace;
|
|
sourceInfo
|
|
{
|
|
set z;
|
|
option all;
|
|
}
|
|
}
|
|
|
|
{
|
|
name z;
|
|
type cellSet;
|
|
action invert;
|
|
}
|
|
|
|
{
|
|
name zf;
|
|
type faceSet;
|
|
action subset;
|
|
source cellToFace;
|
|
sourceInfo
|
|
{
|
|
set z;
|
|
option all;
|
|
}
|
|
}
|
|
|
|
// ~~~~~~~~~~~~~~~~ //
|
|
|
|
{
|
|
name y;
|
|
type cellSet;
|
|
action new;
|
|
source boxToCell;
|
|
sourceInfo
|
|
{
|
|
box (-100 0 -100)(100 100 100);
|
|
}
|
|
}
|
|
|
|
{
|
|
name yf;
|
|
type faceSet;
|
|
action new;
|
|
source cellToFace;
|
|
sourceInfo
|
|
{
|
|
set y;
|
|
option all;
|
|
}
|
|
}
|
|
|
|
{
|
|
name y;
|
|
type cellSet;
|
|
action invert;
|
|
}
|
|
|
|
{
|
|
name yf;
|
|
type faceSet;
|
|
action subset;
|
|
source cellToFace;
|
|
sourceInfo
|
|
{
|
|
set y;
|
|
option all;
|
|
}
|
|
}
|
|
|
|
// ~~~~~~~~~~~~~~~~ //
|
|
|
|
{
|
|
name x;
|
|
type cellSet;
|
|
action new;
|
|
source boxToCell;
|
|
sourceInfo
|
|
{
|
|
box (0 -100 -100)(100 100 100);
|
|
}
|
|
}
|
|
|
|
{
|
|
name xf;
|
|
type faceSet;
|
|
action new;
|
|
source cellToFace;
|
|
sourceInfo
|
|
{
|
|
set x;
|
|
option all;
|
|
}
|
|
}
|
|
|
|
{
|
|
name x;
|
|
type cellSet;
|
|
action invert;
|
|
}
|
|
|
|
{
|
|
name xf;
|
|
type faceSet;
|
|
action subset;
|
|
source cellToFace;
|
|
sourceInfo
|
|
{
|
|
set x;
|
|
option all;
|
|
}
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|