Attach/detach boundary mesh modifier. This modifier takes a set of internal faces and converts them into boundary faces and vice versa based on the given activation switch. More...
Public Member Functions | |
TypeName ("attachDetach") | |
attachDetach (const word &name, const label index, const polyTopoChanger &mme, const word &faceZoneName, const word &masterPatchName, const word &slavePatchName, const scalarField &triggerTimes, const bool manualTrigger=false) | |
attachDetach (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mesh) | |
virtual | ~attachDetach ()=default |
const polyPatchID & | masterPatchID () const |
const polyPatchID & | slavePatchID () const |
bool | attached () const |
bool | manualTrigger () const |
bool | setAttach () const |
bool | setDetach () const |
virtual bool | changeTopology () const |
virtual void | setRefinement (polyTopoChange &) const |
virtual void | modifyMotionPoints (pointField &motionPoints) const |
virtual void | updateMesh (const mapPolyMesh &) |
const scalarField & | triggerTimes () const |
virtual void | write (Ostream &) const |
virtual void | writeDict (Ostream &) const |
![]() | |
TypeName ("meshModifier") | |
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) | |
virtual | ~polyMeshModifier ()=default |
const word & | name () const |
label | index () const |
const polyTopoChanger & | topoChanger () const |
Switch | active () const |
void | enable () const |
void | disable () const |
Additional Inherited Members | |
![]() | |
static autoPtr< polyMeshModifier > | New (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme) |
Attach/detach boundary mesh modifier. This modifier takes a set of internal faces and converts them into boundary faces and vice versa based on the given activation switch.
The patch is oriented using the flip map in the face zone. The oriented faces are put into the master patch and their mirror images into the slave.
Definition at line 58 of file attachDetach.H.
attachDetach | ( | const word & | name, |
const label | index, | ||
const polyTopoChanger & | mme, | ||
const word & | faceZoneName, | ||
const word & | masterPatchName, | ||
const word & | slavePatchName, | ||
const scalarField & | triggerTimes, | ||
const bool | manualTrigger = false |
||
) |
Definition at line 224 of file attachDetach.C.
attachDetach | ( | const word & | name, |
const dictionary & | dict, | ||
const label | index, | ||
const polyTopoChanger & | mesh | ||
) |
Definition at line 251 of file attachDetach.C.
|
virtualdefault |
TypeName | ( | "attachDetach" | ) |
|
inline |
Definition at line 179 of file attachDetach.H.
|
inline |
Definition at line 185 of file attachDetach.H.
|
inline |
Definition at line 191 of file attachDetach.H.
|
inline |
Definition at line 197 of file attachDetach.H.
bool setAttach | ( | ) | const |
Definition at line 287 of file attachDetach.C.
bool setDetach | ( | ) | const |
Definition at line 295 of file attachDetach.C.
|
virtual |
Implements polyMeshModifier.
Definition at line 303 of file attachDetach.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), mesh, Foam::name(), Foam::nl, and Foam::Pout.
|
virtual |
Implements polyMeshModifier.
Definition at line 371 of file attachDetach.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and ref().
|
virtual |
Implements polyMeshModifier.
Definition at line 270 of file attachInterface.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), forAll, Foam::mag(), Foam::name(), and Foam::Pout.
|
virtual |
Implements polyMeshModifier.
Definition at line 406 of file attachDetach.C.
References polyMesh::boundaryMesh(), polyMesh::faceZones(), mesh, and dynamicFvMesh::update().
|
inline |
Definition at line 222 of file attachDetach.H.
|
virtual |
Implements polyMeshModifier.
Definition at line 419 of file attachDetach.C.
References Foam::endl(), Foam::name(), Foam::nl, os(), and Foam::type().
|
virtual |
Implements polyMeshModifier.
Definition at line 430 of file attachDetach.C.
References Ostream::beginBlock(), Ostream::endBlock(), Foam::name(), Switch::name(), Foam::nl, os(), Foam::type(), and Ostream::writeEntry().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.