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

#include <lagrangianIntermediate/DispersionRASModel.H>


Detailed Description

template<class CloudType>
class Foam::DispersionRASModel< CloudType >

Definition at line 48 of file DispersionRASModel.H.

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

List of all members.

Public Member Functions

 TypeName ("DispersionRASModel")
 Runtime type information.
 DispersionRASModel (const dictionary &dict, CloudType &owner)
 Construct from components.
virtual ~DispersionRASModel ()
 Destructor.
virtual void cacheFields (const bool store)
 Cache carrier fields.
const compressible::RASModelturbulence () const
 Return const access to the turbulence model.
- Public Member Functions inherited from DispersionModel< CloudType >
 TypeName ("DispersionModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, DispersionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 DispersionModel (CloudType &owner)
 Construct null from owner.
 DispersionModel (const dictionary &dict, CloudType &owner)
 Construct from components.
virtual ~DispersionModel ()
 Destructor.
const CloudType & owner () const
 Return the owner cloud object.
CloudType & owner ()
 Return the owner cloud object.
const dictionarydict () const
 Return the dictionary.
virtual bool active () const =0
 Flag to indicate whether model activates injection model.
virtual vector update (const scalar dt, const label celli, const vector &U, const vector &Uc, vector &UTurb, scalar &tTurb)=0
 Update (disperse particles)

Protected Attributes

const compressible::RASModelturbulence_
 Reference to the compressible turbulence model.
const volScalarFieldkPtr_
 Turbulence k.
bool ownK_
 Take ownership of the k field.
const volScalarFieldepsilonPtr_
 Turbulence epsilon.
bool ownEpsilon_
 Take ownership of the epsilon field.

Additional Inherited Members

- Static Public Member Functions inherited from DispersionModel< CloudType >
static autoPtr
< DispersionModel< CloudType > > 
New (const dictionary &dict, CloudType &owner)
 Selector.

Constructor & Destructor Documentation

DispersionRASModel ( const dictionary dict,
CloudType &  owner 
)

Construct from components.

Definition at line 32 of file DispersionRASModel.C.

~DispersionRASModel ( )
virtual

Destructor.

Definition at line 55 of file DispersionRASModel.C.


Member Function Documentation

TypeName ( "DispersionRASModel< CloudType >"  )

Runtime type information.

void cacheFields ( const bool  store)
virtual

Cache carrier fields.

Implements DispersionModel< CloudType >.

Reimplemented in GradientDispersionRAS< CloudType >.

Definition at line 64 of file DispersionRASModel.C.

References tmp< T >::isTmp(), tmp< T >::ptr(), and turbulence.

const compressible::RASModel& turbulence ( ) const
inline

Return const access to the turbulence model.

Definition at line 100 of file DispersionRASModel.H.

References DispersionRASModel< CloudType >::turbulence_.


Member Data Documentation

const compressible::RASModel& turbulence_
protected

Reference to the compressible turbulence model.

Definition at line 57 of file DispersionRASModel.H.

Referenced by DispersionRASModel< CloudType >::turbulence().

const volScalarField* kPtr_
protected

Turbulence k.

Definition at line 62 of file DispersionRASModel.H.

bool ownK_
protected

Take ownership of the k field.

Definition at line 65 of file DispersionRASModel.H.

const volScalarField* epsilonPtr_
protected

Turbulence epsilon.

Definition at line 68 of file DispersionRASModel.H.

bool ownEpsilon_
protected

Take ownership of the epsilon field.

Definition at line 71 of file DispersionRASModel.H.


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