OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

PatchInteractionModel< CloudType > Class Template Reference

Templated patch interaction model class. More...

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

List of all members.


Public Member Functions

 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 dictionary & dict () const
 Return the dictionary.
const dictionary & coeffDict () const
 Return the coefficients dictionary.
virtual bool active () const =0
 Flag to indicate whether model activates patch interaction model.
virtual bool correct (const polyPatch &pp, const label faceId, vector &U) const =0
 Apply velocity correction.

Static Public Member Functions

static autoPtr
< PatchInteractionModel
< CloudType > > 
New (const dictionary &dict, CloudType &owner)
 Selector.

Detailed Description

template<class CloudType>
class Foam::PatchInteractionModel< CloudType >

Templated patch interaction model class.

Source files

Definition at line 48 of file PatchInteractionModel.H.


Constructor & Destructor Documentation

PatchInteractionModel ( const dictionary &  dict,
CloudType &  owner,
const word &  type 
) [inline]

Construct from components.

Definition at line 24 of file PatchInteractionModel.C.

~PatchInteractionModel (  )  [inline, virtual]

Destructor.

Definition at line 39 of file PatchInteractionModel.C.


Member Function Documentation

TypeName ( "PatchInteractionModel< CloudType >"   ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
PatchInteractionModel< CloudType >  ,
dictionary  ,
(const dictionary &dict, CloudType &owner)  ,
(dict, owner)   
)

Declare runtime constructor selection table.

Foam::autoPtr< Foam::PatchInteractionModel< CloudType > > New ( const dictionary &  dict,
CloudType &  owner 
) [inline, static]

Selector.

Definition at line 25 of file NewPatchInteractionModel.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), and Foam::nl.

Here is the call graph for this function:

const CloudType & owner (  )  const [inline]

Return the owner cloud object.

Definition at line 47 of file PatchInteractionModel.C.

const Foam::dictionary & dict (  )  const [inline]

Return the dictionary.

Definition at line 54 of file PatchInteractionModel.C.

const Foam::dictionary & coeffDict (  )  const [inline]

Return the coefficients dictionary.

Definition at line 62 of file PatchInteractionModel.C.

virtual bool active (  )  const [pure virtual]

Flag to indicate whether model activates patch interaction model.

Implemented in LocalInteraction< CloudType >, Rebound< CloudType >, and StandardWallInteraction< CloudType >.

virtual bool correct ( const polyPatch &  pp,
const label  faceId,
vector &  U 
) const [pure virtual]

Apply velocity correction.

Returns true if particle remains in same cell

Implemented in LocalInteraction< CloudType >, Rebound< CloudType >, and StandardWallInteraction< CloudType >.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd