Add pointZones/faceZones/cellZones to the mesh from similar named pointSets/faceSets/cellSets. More...
Add pointZones/faceZones/cellZones to the mesh from similar named pointSets/faceSets/cellSets.
There is one catch: for faceZones you also need to specify a flip condition which basically denotes the side of the face. In this app it reads a cellSet (xxxCells if 'xxx' is the name of the faceSet) which is the masterCells of the zone. There are lots of situations in which this will go wrong but it is the best I can think of for now.
If one is not interested in sideNess specify the -noFlipMap command line option.
-noFlipMap | No automatic face flipping. |
-noZero | Ignore timestep 0. |
-constant | Include the constant directory. |
-time | <time> Apply only to specific time. |
-latestTime | Only apply to latest time step. |
-case | <dir> Case directory. |
-parallel | Run in parallel. |
-help | Display help message. |
-doc | Display Doxygen API documentation page for this application. |
-srcDoc | Display Doxygen source documentation page for this application. |
Definition in file setsToZones.C.
#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/Time.H"
#include "src/OpenFOAM/meshes/polyMesh/polyMesh.H"
#include "src/OpenFOAM/db/IOstreams/StringStreams/IStringStream.H"
#include "src/meshTools/sets/topoSets/cellSet.H"
#include "src/meshTools/sets/topoSets/faceSet.H"
#include "src/meshTools/sets/topoSets/pointSet.H"
#include "src/OpenFOAM/db/IOstreams/Fstreams/OFstream.H"
#include "src/OpenFOAM/db/IOstreams/Fstreams/IFstream.H"
#include "src/OpenFOAM/db/IOobjectList/IOobjectList.H"
#include "src/OpenFOAM/containers/Lists/SortableList/SortableList.H"
#include "src/OpenFOAM/include/addRegionOption.H"
#include "src/OpenFOAM/include/addTimeOptions.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
#include "src/OpenFOAM/include/checkTimeOption.H"
#include "src/OpenFOAM/include/createNamedPolyMesh.H"
Go to the source code of this file.