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

GradientDispersionRAS< CloudType > Class Template Reference

The velocity is perturbed in the direction of -grad(k), with a Gaussian random number distribution with variance sigma. where sigma is defined below. More...

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

List of all members.


Public Member Functions

 TypeName ("GradientDispersionRAS")
 Runtime type information.
 GradientDispersionRAS (const dictionary &dict, CloudType &owner)
 Construct from components.
virtual ~GradientDispersionRAS ()
 Destructor.
bool active () const
 Flag to indicate whether model activates injection model.
virtual void cacheFields (const bool store)
 Cache carrier fields.
virtual vector update (const scalar dt, const label celli, const vector &U, const vector &Uc, vector &UTurb, scalar &tTurb)
 Update (disperse particles).

Protected Attributes

const volVectorFieldgradkPtr_
 Gradient of k.

Detailed Description

template<class CloudType>
class Foam::GradientDispersionRAS< CloudType >

The velocity is perturbed in the direction of -grad(k), with a Gaussian random number distribution with variance sigma. where sigma is defined below.

Definition at line 41 of file GradientDispersionRAS.H.


Constructor & Destructor Documentation

GradientDispersionRAS ( const dictionary dict,
CloudType &  owner 
) [inline]

Construct from components.

Definition at line 24 of file GradientDispersionRAS.C.

~GradientDispersionRAS (  )  [inline, virtual]

Destructor.

Definition at line 37 of file GradientDispersionRAS.C.


Member Function Documentation

TypeName ( "GradientDispersionRAS< CloudType >"   ) 

Runtime type information.

bool active (  )  const [inline, virtual]

Flag to indicate whether model activates injection model.

Implements DispersionModel< CloudType >.

Definition at line 46 of file GradientDispersionRAS.C.

References GradientDispersionRAS< CloudType >::cacheFields().

Here is the call graph for this function:

void cacheFields ( const bool  store  )  [inline, virtual]

Cache carrier fields.

Reimplemented from DispersionRASModel< CloudType >.

Definition at line 53 of file GradientDispersionRAS.C.

Referenced by GradientDispersionRAS< CloudType >::active().

Here is the caller graph for this function:

Foam::vector update ( const scalar  dt,
const label  celli,
const vector U,
const vector Uc,
vector UTurb,
scalar tTurb 
) [inline, virtual]

Update (disperse particles).

Implements DispersionModel< CloudType >.

Definition at line 73 of file GradientDispersionRAS.C.

References GradientDispersionRAS< CloudType >::gradkPtr_.


Member Data Documentation

const volVectorField* gradkPtr_ [protected]

Gradient of k.

Definition at line 50 of file GradientDispersionRAS.H.

Referenced by GradientDispersionRAS< CloudType >::update().


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