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.
38 lines
1.0 KiB
C++
38 lines
1.0 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 floatingObjectBottom;
|
|
type faceSet;
|
|
action new;
|
|
source patchToFace;
|
|
patch floatingObject;
|
|
}
|
|
|
|
{
|
|
name floatingObjectBottom;
|
|
type faceSet;
|
|
action subset;
|
|
source normalToFace;
|
|
normal (0 1 0); // Vector
|
|
cos 0.01; // Tolerance (max cos of angle)
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|