Wall interaction model. Three choices:
#include <lagrangianIntermediate/StandardWallInteraction.H>
Wall interaction model. Three choices:
StandardWallInteractionCoeffs { typerebound; // stick, escape e 1; // optional - elasticity coeff mu 0; // optional - restitution coeff }
Definition at line 58 of file StandardWallInteraction.H.
Inheritance diagram for StandardWallInteraction< CloudType >:
Collaboration diagram for StandardWallInteraction< CloudType >:Public Member Functions | |
| TypeName ("StandardWallInteraction") | |
| Runtime type information.
| |
| StandardWallInteraction (const dictionary &dict, CloudType &cloud) | |
| Construct from dictionary.
| |
| virtual | ~StandardWallInteraction () |
| 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.
| |
Protected Attributes | |
| PatchInteractionModel < CloudType >::interactionType | interactionType_ |
| Interaction type.
| |
| scalar | e_ |
| Elasticity coefficient.
| |
| scalar | mu_ |
| Restitution coefficient.
| |
| StandardWallInteraction | ( | const dictionary & | dict, |
| CloudType & | cloud | ||
| ) |
Construct from dictionary.
Definition at line 32 of file StandardWallInteraction.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, and FatalErrorIn.
| ~StandardWallInteraction | ( | ) | [virtual]
|
Destructor.
Definition at line 82 of file StandardWallInteraction.C.
| TypeName | ( | "StandardWallInteraction< CloudType >" | ) |
Runtime type information.
| bool active | ( | ) | const [virtual]
|
Flag to indicate whether model activates patch interaction model.
Implements PatchInteractionModel< CloudType >.
Definition at line 89 of file StandardWallInteraction.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 97 of file StandardWallInteraction.C.
References Foam::abort(), Foam::endl(), polyPatch::faceAreas(), Foam::FatalError, FatalErrorIn, Foam::mag(), and polyPatch::whichFace().
PatchInteractionModel<CloudType>::interactionType interactionType_ [protected]
|
Interaction type.
Definition at line 68 of file StandardWallInteraction.H.
scalar e_ [protected]
|
Elasticity coefficient.
Definition at line 71 of file StandardWallInteraction.H.
scalar mu_ [protected]
|
Restitution coefficient.
Definition at line 74 of file StandardWallInteraction.H.