FreeFOAM The Cross-Platform CFD Toolkit
Rebound< CloudType > Class Template Reference

Simple rebound patch interaction model. More...

#include <lagrangianIntermediate/Rebound.H>


Detailed Description

template<class CloudType>
class Foam::Rebound< CloudType >

Simple rebound patch interaction model.

Definition at line 46 of file Rebound.H.

+ Inheritance diagram for Rebound< CloudType >:
+ Collaboration diagram for Rebound< CloudType >:

List of all members.

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.
- 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 dictionarydict () const
 Return the dictionary.
const dictionarycoeffDict () 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_

Constructor & Destructor Documentation

Rebound ( const dictionary dict,
CloudType &  cloud 
)

Construct from dictionary.

Definition at line 32 of file Rebound.C.

~Rebound ( )
virtual

Destructor.

Definition at line 45 of file Rebound.C.


Member Function Documentation

TypeName ( "Rebound< CloudType >"  )

Runtime type information.

bool active ( ) const
virtual

Flag to indicate whether model activates patch interaction model.

Implements PatchInteractionModel< CloudType >.

Definition at line 52 of file Rebound.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 60 of file Rebound.C.

References polyPatch::faceAreas(), Foam::mag(), and polyPatch::whichFace().


The documentation for this class was generated from the following files: