Patch interaction specified on a patch-by-patch basis. More...
#include <lagrangianIntermediate/LocalInteraction.H>
Patch interaction specified on a patch-by-patch basis.
Definition at line 47 of file LocalInteraction.H.
Inheritance diagram for LocalInteraction< CloudType >:
Collaboration diagram for LocalInteraction< CloudType >:Public Member Functions | |
| TypeName ("LocalInteraction") | |
| Runtime type information. | |
| LocalInteraction (const dictionary &dict, CloudType &cloud) | |
| Construct from dictionary. | |
| virtual | ~LocalInteraction () |
| Destructor. | |
| virtual bool | active () const |
| Flag to indicate whether model activates patch interaction model. | |
| virtual bool | correct (const polyPatch &pp, const label faceId, bool &keepParticle, bool &active, vector &U) const |
| Apply velocity correction. | |
Public Member Functions inherited from PatchInteractionModel< CloudType > | |
| TypeName ("PatchInteractionModel") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, PatchInteractionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
| Declare runtime constructor selection table. | |
| PatchInteractionModel (const dictionary &dict, CloudType &owner, const word &type) | |
| Construct from components. | |
| virtual | ~PatchInteractionModel () |
| Destructor. | |
| const CloudType & | owner () const |
| Return the owner cloud object. | |
| const dictionary & | dict () const |
| Return the dictionary. | |
| const dictionary & | coeffDict () const |
| Return the coefficients dictionary. | |
Additional Inherited Members | |
Public Types inherited from PatchInteractionModel< CloudType > | |
| enum | interactionType { itRebound, itStick, itEscape, itOther } |
Static Public Member Functions inherited from PatchInteractionModel< CloudType > | |
| static autoPtr < PatchInteractionModel < CloudType > > | New (const dictionary &dict, CloudType &owner) |
| Selector. | |
| static word | interactionTypeToWord (const interactionType &itEnum) |
| Convert interaction result to word. | |
| static interactionType | wordToInteractionType (const word &itWord) |
| Convert word to interaction result. | |
Static Public Attributes inherited from PatchInteractionModel< CloudType > | |
| static wordList | interactionTypeNames_ |
| LocalInteraction | ( | const dictionary & | dict, |
| CloudType & | cloud | ||
| ) |
Construct from dictionary.
Definition at line 52 of file LocalInteraction.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), polyMesh::boundaryMesh(), Foam::exit(), Foam::FatalError, FatalErrorIn, polyBoundaryMesh::findPatchID(), forAll, mesh, name(), polyBoundaryMesh::names(), Foam::nl, and List< T >::size().
|
virtual |
Destructor.
Definition at line 124 of file LocalInteraction.C.
| TypeName | ( | "LocalInteraction< CloudType >" | ) |
Runtime type information.
|
virtual |
Flag to indicate whether model activates patch interaction model.
Implements PatchInteractionModel< CloudType >.
Definition at line 131 of file LocalInteraction.C.
|
virtual |
Apply velocity correction.
Returns true if particle remains in same cell
Implements PatchInteractionModel< CloudType >.
Definition at line 139 of file LocalInteraction.C.
References Foam::abort(), Foam::endl(), polyPatch::faceAreas(), Foam::FatalError, FatalErrorIn, patchIdentifier::index(), Foam::mag(), and polyPatch::whichFace().