A zoneGenerator which removes pointZones and/or cellZone and/or faceZones from the mesh. More...


Public Member Functions | |
| TypeName ("remove") | |
| Runtime type information. More... | |
| remove (const word &name, const polyMesh &mesh, const dictionary &dict) | |
| Construct from dictionary. More... | |
| virtual | ~remove () |
| Destructor. More... | |
| virtual zoneSet | generate () const |
| Generate and return the zoneSet. More... | |
Public Member Functions inherited from zoneGenerator | |
| TypeName ("zoneGenerator") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, zoneGenerator, dictionary,(const word &name, const polyMesh &mesh, const dictionary &dict),(name, mesh, dict)) | |
| zoneGenerator (const word &name, const polyMesh &mesh, const dictionary &dict) | |
| Construct from name, polyMesh and dictionary. More... | |
| zoneGenerator (const zoneGenerator &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~zoneGenerator () |
| Destructor. More... | |
| const word & | name () const |
| const word & | zoneName () const |
| bool | moveUpdate () const |
| Return true if the zoneGenerator updates any of the zones. More... | |
| virtual zoneSet | movePoints () const |
| Regenerate the zoneSet following mesh point motion. More... | |
| void | operator= (const zoneGenerator &)=delete |
| Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from zoneGenerator | |
| static autoPtr< zoneGenerator > | New (const word &name, const polyMesh &mesh, const dictionary &dict) |
| Select constructed from name, mesh and dictionary. More... | |
| static autoPtr< zoneGenerator > | New (const word &name, const zoneTypes &zoneType, const polyMesh &mesh, const dictionary &dict) |
| Select constructed from name, zoneType, mesh and dictionary. More... | |
| static autoPtr< zoneGenerator > | New (const polyMesh &mesh, const dictionary &dict) |
| Select constructed from mesh and first valid dictionary. More... | |
| static labelList | indices (const boolList &selected) |
| Return the list of selected indices. More... | |
Protected Attributes inherited from zoneGenerator | |
| const word | name_ |
| Name of zone generator. More... | |
| const dictionary | dict_ |
| Dictionary cached for error context. More... | |
| const word | zoneName_ |
| Name of the zone (defaults to the name of the generator) More... | |
| const polyMesh & | mesh_ |
| Reference to the polyMesh. More... | |
| bool | moveUpdate_ |
| Switch to update the zones if the mesh points are moved. More... | |
A zoneGenerator which removes pointZones and/or cellZone and/or faceZones from the mesh.
| Property | Description | Required | Default value |
|---|---|---|---|
type | Type: clear | yes | |
pointZone | pointZone name | no | |
pointZones | List of pointZone names | no | |
cellZone | cellZone name | no | |
cellZones | List of cellZone names | no | |
faceZone | faceZone name | no | |
faceZones | List of faceZone names | no |
Example:
removeCellZones
{
type remove;
cellZones (cone1 coneAnnulus);
}When called from the top-level of the createZonesDict or zonesGenerator files which is the most likely use the simpler syntax to remove zones can be used:
remove
{
cellZones (cone1 coneAnnulus);
}| remove | ( | const word & | name, |
| const polyMesh & | mesh, | ||
| const dictionary & | dict | ||
| ) |
| TypeName | ( | "remove" | ) |
Runtime type information.
|
virtual |
Generate and return the zoneSet.
Implements zoneGenerator.
Definition at line 81 of file remove.C.
References forAll.