The FOAM file format has not changed from version 2.0 in many years and so there is no longer a need for the 'version' entry in the FoamFile header to be required and to reduce unnecessary clutter it is now optional, defaulting to the current file format 2.0.
35 lines
1.0 KiB
C++
35 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 faceSetDict;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
// Name of set to operate on
|
|
name facesToBeRemoved;
|
|
|
|
// One of clear/new/invert/add/delete|subset/list
|
|
action new;
|
|
|
|
// Actions to apply to pointSet. These are all the topoSetSource's ending
|
|
// in ..ToFace (see the meshTools library).
|
|
topoSetSources
|
|
(
|
|
// Select by explicitly providing face labels
|
|
labelToFace
|
|
{
|
|
value #include "../facesToBeRemoved";
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|