Cell layer addition mesh modifier. More...
#include <layerAdditionRemoval.H>


Public Member Functions | |
| TypeName ("layerAdditionRemoval") | |
| Runtime type information. | |
| layerAdditionRemoval (const word &name, const label index, const polyTopoChanger &ptc, const word &zoneName, const scalar minThickness, const scalar maxThickness, const bool thicknessFromVolume=true) | |
| Construct from components. | |
| layerAdditionRemoval (const word &name, const dictionary &dict, const label index, const polyTopoChanger &ptc) | |
| Construct from dictionary. | |
| virtual | ~layerAdditionRemoval ()=default |
| Destructor. | |
| virtual bool | changeTopology () const |
| Check for topology change. | |
| virtual void | setRefinement (polyTopoChange &) const |
| Insert the layer addition/removal instructions. | |
| virtual void | modifyMotionPoints (pointField &motionPoints) const |
| Modify motion points to comply with the topological change. | |
| virtual void | updateMesh (const mapPolyMesh &) |
| Force recalculation of locally stored data on topological change. | |
| scalar | minLayerThickness () const |
| Return min layer thickness which triggers removal. | |
| void | setMinLayerThickness (const scalar t) const |
| Set min layer thickness which triggers removal. | |
| scalar | maxLayerThickness () const |
| Return max layer thickness which triggers removal. | |
| void | setMaxLayerThickness (const scalar t) const |
| Set max layer thickness which triggers removal. | |
| virtual void | write (Ostream &) const |
| Write. | |
| virtual void | writeDict (Ostream &) const |
| Write dictionary. | |
| Public Member Functions inherited from polyMeshModifier | |
| TypeName ("meshModifier") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, polyMeshModifier, dictionary,(const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme),(name, dict, index, mme)) | |
| polyMeshModifier (const word &name, const label index, const polyTopoChanger &mme, const bool act) | |
| Construct from components. | |
| virtual | ~polyMeshModifier ()=default |
| Destructor. | |
| const word & | name () const |
| Return name of this modifier. | |
| label | index () const |
| Return the index of this modifier. | |
| const polyTopoChanger & | topoChanger () const |
| Return reference to morph engine. | |
| Switch | active () const |
| If modifier activate? | |
| void | enable () const |
| Activate mesh modifier. | |
| void | disable () const |
| Activate mesh modifier. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from polyMeshModifier | |
| static autoPtr< polyMeshModifier > | New (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme) |
| Select constructed from dictionary. | |
Cell layer addition mesh modifier.
Definition at line 51 of file layerAdditionRemoval.H.
| layerAdditionRemoval | ( | const word & | name, |
| const label | index, | ||
| const polyTopoChanger & | ptc, | ||
| const word & | zoneName, | ||
| const scalar | minThickness, | ||
| const scalar | maxThickness, | ||
| const bool | thicknessFromVolume = true ) |
Construct from components.
Definition at line 102 of file layerAdditionRemoval.C.
References polyMeshModifier::index(), mesh, and polyMeshModifier::name().

| layerAdditionRemoval | ( | const word & | name, |
| const dictionary & | dict, | ||
| const label | index, | ||
| const polyTopoChanger & | ptc ) |
Construct from dictionary.
Definition at line 128 of file layerAdditionRemoval.C.
References dict, polyMeshModifier::index(), mesh, and polyMeshModifier::name().

|
virtualdefault |
Destructor.
| TypeName | ( | "layerAdditionRemoval" | ) |
Runtime type information.
References dict, polyMeshModifier::index(), and polyMeshModifier::name().

|
virtual |
Check for topology change.
Implements polyMeshModifier.
Definition at line 153 of file layerAdditionRemoval.C.
References Foam::abort(), e, cell::edges(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, forAll, HashTable< T, Key, Hash >::found(), Foam::mag(), faceZone::masterCells(), Foam::max(), mesh, Foam::min(), name, Foam::nl, Foam::Pout, Foam::reduce(), UList< T >::size(), and polyMeshModifier::topoChanger().

|
virtual |
Insert the layer addition/removal instructions.
into the topological change
Implements polyMeshModifier.
Definition at line 351 of file layerAdditionRemoval.C.
References Foam::endl(), mesh, name, Foam::Pout, ref(), timeIndex, and polyMeshModifier::topoChanger().

|
virtual |
Modify motion points to comply with the topological change.
Implements polyMeshModifier.
Definition at line 206 of file setLayerPairing.C.
References Foam::endl(), name, and Foam::Pout.

|
virtual |
Force recalculation of locally stored data on topological change.
Implements polyMeshModifier.
Definition at line 390 of file layerAdditionRemoval.C.
References Foam::endl(), mesh, name, Foam::Pout, and polyMeshModifier::topoChanger().

|
inline |
Return min layer thickness which triggers removal.
Definition at line 255 of file layerAdditionRemoval.H.
| void setMinLayerThickness | ( | const scalar | t | ) | const |
Set min layer thickness which triggers removal.
Definition at line 415 of file layerAdditionRemoval.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

|
inline |
Return max layer thickness which triggers removal.
Definition at line 268 of file layerAdditionRemoval.H.
| void setMaxLayerThickness | ( | const scalar | t | ) | const |
Set max layer thickness which triggers removal.
Definition at line 428 of file layerAdditionRemoval.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

|
virtual |
Write.
Implements polyMeshModifier.
Definition at line 441 of file layerAdditionRemoval.C.
References Foam::endl(), name, Foam::nl, os(), and Foam::type().

|
virtual |
Write dictionary.
Implements polyMeshModifier.
Definition at line 453 of file layerAdditionRemoval.C.
References polyMeshModifier::active(), name, Foam::nl, os(), and Foam::type().
