Simple rebound patch interaction model. More...
#include <lagrangianIntermediate/Rebound.H>
Simple rebound patch interaction model.
Definition at line 46 of file Rebound.H.
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.
|
Rebound | ( | const dictionary & | dict, |
CloudType & | cloud | ||
) |
TypeName | ( | "Rebound< CloudType >" | ) |
Runtime type information.
bool active | ( | ) | const [virtual]
|
Flag to indicate whether model activates patch interaction model.
Implements PatchInteractionModel< CloudType >.
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 60 of file Rebound.C.
References polyPatch::faceAreas(), Foam::mag(), and polyPatch::whichFace().