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.
| |
| 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().
| ~LocalInteraction | ( | ) | [virtual]
|
Destructor.
Definition at line 124 of file LocalInteraction.C.
| TypeName | ( | "LocalInteraction< CloudType >" | ) |
Runtime type information.
| bool active | ( | ) | const [virtual]
|
Flag to indicate whether model activates patch interaction model.
Implements PatchInteractionModel< CloudType >.
Definition at line 131 of file LocalInteraction.C.
| bool correct | ( | const polyPatch & | pp, |
| const label | faceId, | ||
| bool & | keepParticle, | ||
| bool & | active, | ||
| vector & | U | ||
| ) | const [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().