Cell layer addition mesh modifier. More...
#include <dynamicMesh/layerAdditionRemoval.H>
Cell layer addition mesh modifier.
Definition at line 53 of file layerAdditionRemoval.H.
Inheritance diagram for layerAdditionRemoval:
Collaboration diagram for layerAdditionRemoval:Public Member Functions | |
| TypeName ("layerAdditionRemoval") | |
| Runtime type information. | |
| layerAdditionRemoval (const word &name, const label index, const polyTopoChanger &mme, const word &zoneName, const scalar minThickness, const scalar maxThickness) | |
| Construct from components. | |
| layerAdditionRemoval (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme) | |
| Construct from dictionary. | |
| virtual | ~layerAdditionRemoval () |
| 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 () |
| const word & | name () const |
| Return name. | |
| label | index () const |
| Return the index of this patch in the boundaryMesh. | |
| const polyTopoChanger & | topoChanger () const |
| Return reference to morph engine. | |
| const Switch & | active () const |
| 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. | |
| layerAdditionRemoval | ( | const word & | name, |
| const label | index, | ||
| const polyTopoChanger & | mme, | ||
| const word & | zoneName, | ||
| const scalar | minThickness, | ||
| const scalar | maxThickness | ||
| ) |
Construct from components.
Definition at line 120 of file layerAdditionRemoval.C.
| layerAdditionRemoval | ( | const word & | name, |
| const dictionary & | dict, | ||
| const label | index, | ||
| const polyTopoChanger & | mme | ||
| ) |
Construct from dictionary.
Definition at line 145 of file layerAdditionRemoval.C.
|
virtual |
Definition at line 168 of file layerAdditionRemoval.C.
| TypeName | ( | "layerAdditionRemoval" | ) |
Runtime type information.
|
virtual |
Check for topology change.
Implements polyMeshModifier.
Definition at line 176 of file layerAdditionRemoval.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorIn, forAll, Foam::mag(), faceZone::masterCells(), Foam::max(), Foam::min(), Foam::name(), Foam::nl, Foam::Pout, and List< T >::size().
|
virtual |
Insert the layer addition/removal instructions.
into the topological change
Implements polyMeshModifier.
Definition at line 368 of file layerAdditionRemoval.C.
References Foam::endl(), mesh, Foam::name(), Foam::Pout, and timeIndex.
|
virtual |
Modify motion points to comply with the topological change.
Implements polyMeshModifier.
Definition at line 208 of file setLayerPairing.C.
References Foam::endl(), Foam::name(), and Foam::Pout.
|
virtual |
Force recalculation of locally stored data on topological change.
Implements polyMeshModifier.
Definition at line 407 of file layerAdditionRemoval.C.
References Foam::endl(), mesh, Foam::name(), and Foam::Pout.
|
inline |
Return min layer thickness which triggers removal.
Definition at line 192 of file layerAdditionRemoval.H.
| void setMinLayerThickness | ( | const scalar | t | ) | const |
Set min layer thickness which triggers removal.
Definition at line 432 of file layerAdditionRemoval.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
|
inline |
Return max layer thickness which triggers removal.
Definition at line 201 of file layerAdditionRemoval.H.
| void setMaxLayerThickness | ( | const scalar | t | ) | const |
Set max layer thickness which triggers removal.
Definition at line 452 of file layerAdditionRemoval.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
|
virtual |
Write.
Implements polyMeshModifier.
Definition at line 471 of file layerAdditionRemoval.C.
References Foam::endl(), Foam::name(), Foam::nl, and Foam::type().
|
virtual |
Write dictionary.
Implements polyMeshModifier.
Definition at line 482 of file layerAdditionRemoval.C.
References token::BEGIN_BLOCK, token::END_BLOCK, token::END_STATEMENT, Foam::endl(), Foam::name(), Foam::nl, and Foam::type().