56 lines
1.4 KiB
C++
56 lines
1.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2206 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object topoSetDict;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
actions
|
|
(
|
|
// 0. Create cell sets
|
|
{
|
|
name c1;
|
|
type cellSet;
|
|
action new;
|
|
source zoneToCell;
|
|
zones (leftSolid);
|
|
}
|
|
{
|
|
name f1;
|
|
type faceSet;
|
|
action new;
|
|
source cellToFace;
|
|
option all;
|
|
sets (c1);
|
|
}
|
|
|
|
{
|
|
name c2;
|
|
type cellSet;
|
|
action new;
|
|
source zoneToCell;
|
|
zones (rightFluid);
|
|
}
|
|
{
|
|
name f2;
|
|
type faceSet;
|
|
action new;
|
|
source cellToFace;
|
|
option all;
|
|
sets (c2);
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|