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

WallInteractionModel< CloudType > Class Template Reference

Templated wall interaction model class. More...

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

List of all members.


Public Member Functions

 TypeName ("WallInteractionModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, WallInteractionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table.
 WallInteractionModel (const dictionary &dict, CloudType &owner, const word &type)
 Construct from components.
virtual ~WallInteractionModel ()
const CloudType & owner () const
 Return the owner cloud object.
CloudType & owner ()
 Return non-const access to the owner cloud object.
const dictionary & dict () const
 Return the dictionary.
const dictionary & coeffDict () const
 Return the coefficients dictionary.
virtual void correct (const wallPolyPatch &wpp, const label faceId, vector &U, scalar &Ei, label typeId)=0
 Apply wall correction.

Static Public Member Functions

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

Detailed Description

template<class CloudType>
class Foam::WallInteractionModel< CloudType >

Templated wall interaction model class.

Source files

Definition at line 48 of file WallInteractionModel.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 24 of file WallInteractionModel.C.

~WallInteractionModel (  )  [inline, virtual]

Definition at line 39 of file WallInteractionModel.C.


Member Function Documentation

TypeName ( "WallInteractionModel< CloudType >"   ) 

Runtime type information.

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

Declare runtime constructor selection table.

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

Selector.

Definition at line 25 of file NewWallInteractionModel.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 46 of file WallInteractionModel.C.

CloudType & owner (  )  [inline]

Return non-const access to the owner cloud object.

Definition at line 53 of file WallInteractionModel.C.

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

Return the dictionary.

Definition at line 60 of file WallInteractionModel.C.

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

Return the coefficients dictionary.

Definition at line 68 of file WallInteractionModel.C.

virtual void correct ( const wallPolyPatch &  wpp,
const label  faceId,
vector &  U,
scalar &  Ei,
label  typeId 
) [pure virtual]

Apply wall correction.

Implemented in MaxwellianThermal< CloudType >, and SpecularReflection< CloudType >.


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