Files
OpenFOAM-12/tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/system/topoSetDict
Henry Weller 6a657c4338 topoSet: Rationalised the name keyword for zones and patches
For a set to zone conversion the name of the zone is now specified with the
'zone' keyword.

For a patch to set conversion the name of the patch is now specified with the
'patch' keyword.

Backward-compatibility is supported for both these changes.

Additionally the file name of a searchableSurface file is specified with the
'file' keyword.  This should be 'surface' but that keyword is currently and
confusingly used for the surface type rather than name and this cannot be
changed conveniently while maintaining backward compatibility.
2021-07-27 15:44:08 +01:00

60 lines
1.3 KiB
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;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
{
name c0;
type cellSet;
action new;
source boxToCell;
box (0.1 0.8 -100) (0.4 100 100);
}
{
name c0;
type cellSet;
action invert;
}
{
name f0FaceSet;
type faceSet;
action new;
source patchToFace;
patch freeSurface;
}
{
name f0FaceSet;
type faceSet;
action subset;
source boxToFace;
box (-100 0.9 -100) (0.2 100 100);
}
{
name f0;
type faceZoneSet;
action new;
source setToFaceZone;
faceSet f0FaceSet;
}
);
// ************************************************************************* //