mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
70 lines
1.6 KiB
C++
Executable File
70 lines
1.6 KiB
C++
Executable File
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v1812 |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object topoSetDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
actions
|
|
(
|
|
{
|
|
name c0;
|
|
type cellSet;
|
|
action new;
|
|
source regionToCell;
|
|
insidePoints ((0.0001 0.0001 0.0001));
|
|
}
|
|
|
|
{
|
|
name c1;
|
|
type cellSet;
|
|
action new;
|
|
source cellToCell;
|
|
set c0;
|
|
}
|
|
|
|
{
|
|
name c1;
|
|
type cellSet;
|
|
action invert;
|
|
}
|
|
|
|
// Select box to remove from region 1 and 2
|
|
|
|
{
|
|
name box;
|
|
type cellSet;
|
|
action new;
|
|
source cellToCell;
|
|
set c1;
|
|
}
|
|
|
|
{
|
|
name box;
|
|
type cellSet;
|
|
action subset;
|
|
source boxToCell;
|
|
boxes
|
|
(
|
|
(0.0485 0.01 -100)(0.0565 0.035 100)
|
|
);
|
|
}
|
|
|
|
{
|
|
name box;
|
|
type cellSet;
|
|
action invert;
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|