Simple rebound patch interaction model. More...
#include <lagrangianIntermediate/Rebound.H>
Simple rebound patch interaction model.
Public Member Functions | |
TypeName ("Rebound") | |
Runtime type information. | |
Rebound (const dictionary &dict, CloudType &cloud) | |
Construct from dictionary. | |
virtual | ~Rebound () |
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. | |
![]() | |
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 | |
![]() | |
enum | interactionType { itRebound, itStick, itEscape, itOther } |
![]() | |
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 wordList | interactionTypeNames_ |
Rebound | ( | const dictionary & | dict, |
CloudType & | cloud | ||
) |
TypeName | ( | "Rebound< CloudType >" | ) |
Runtime type information.
|
virtual |
Flag to indicate whether model activates patch interaction model.
Implements PatchInteractionModel< CloudType >.
|
virtual |
Apply velocity correction.
Returns true if particle remains in same cell
Implements PatchInteractionModel< CloudType >.
Definition at line 60 of file Rebound.C.
References polyPatch::faceAreas(), Foam::mag(), and polyPatch::whichFace().