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

LocalInteraction< CloudType > Class Template Reference

Patch interaction specified on a patch-by-patch basis. More...

#include <lagrangianIntermediate/LocalInteraction.H>


Detailed Description

template<class CloudType>
class Foam::LocalInteraction< CloudType >

Patch interaction specified on a patch-by-patch basis.

Definition at line 47 of file LocalInteraction.H.

Inheritance diagram for LocalInteraction< CloudType >:
Collaboration diagram for LocalInteraction< CloudType >:

List of all members.

Public Member Functions

 TypeName ("LocalInteraction")
 Runtime type information.
 LocalInteraction (const dictionary &dict, CloudType &cloud)
 Construct from dictionary.
virtual  ~LocalInteraction ()
 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

~LocalInteraction (  ) [virtual]

Destructor.

Definition at line 124 of file LocalInteraction.C.


Member Function Documentation

TypeName ( "LocalInteraction< CloudType >"    )

Runtime type information.

bool active (  ) const [virtual]

Flag to indicate whether model activates patch interaction model.

Implements PatchInteractionModel< CloudType >.

Definition at line 131 of file LocalInteraction.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 139 of file LocalInteraction.C.

References Foam::abort(), Foam::endl(), polyPatch::faceAreas(), Foam::FatalError, FatalErrorIn, patchIdentifier::index(), Foam::mag(), and polyPatch::whichFace().


The documentation for this class was generated from the following files:
  • src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/LocalInteraction/LocalInteraction.H
  • src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/LocalInteraction/LocalInteraction.C