FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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.

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:
  • src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/Rebound/Rebound.H
  • src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/Rebound/Rebound.C