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

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...

#include <lagrangianIntermediate/GradientDispersionRAS.H>


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 49 of file GradientDispersionRAS.H.

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 volVectorField *  gradkPtr_
 Gradient of k.

Constructor & Destructor Documentation

GradientDispersionRAS ( const dictionary &   dict,
CloudType &   owner  
)

Construct from components.

Definition at line 32 of file GradientDispersionRAS.C.

~GradientDispersionRAS (  ) [virtual]

Destructor.

Definition at line 45 of file GradientDispersionRAS.C.


Member Function Documentation

TypeName ( "GradientDispersionRAS< CloudType >"    )

Runtime type information.

bool active (  ) const [virtual]

Flag to indicate whether model activates injection model.

Implements DispersionModel< CloudType >.

Definition at line 54 of file GradientDispersionRAS.C.

void cacheFields ( const bool   store  ) [virtual]

Cache carrier fields.

Reimplemented from DispersionRASModel< CloudType >.

Definition at line 61 of file GradientDispersionRAS.C.

References Foam::fvc::grad().

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

Update (disperse particles)

Implements DispersionModel< CloudType >.

Definition at line 82 of file GradientDispersionRAS.C.

References cps(), k(), Foam::log(), Foam::mag(), mesh, Foam::min(), Foam::pow(), and Foam::sqrt().


Member Data Documentation

const volVectorField* gradkPtr_ [protected]

Gradient of k.

Definition at line 58 of file GradientDispersionRAS.H.


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