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

The velocity is perturbed in random direction, with a Gaussian random number distribution with variance sigma. where sigma is defined below. More...

#include <lagrangianIntermediate/StochasticDispersionRAS.H>


Detailed Description

template<class CloudType>
class Foam::StochasticDispersionRAS< CloudType >

The velocity is perturbed in random direction, with a Gaussian random number distribution with variance sigma. where sigma is defined below.

Definition at line 49 of file StochasticDispersionRAS.H.

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

List of all members.

Public Member Functions

 TypeName ("StochasticDispersionRAS")
 Runtime type information.
 StochasticDispersionRAS (const dictionary &dict, CloudType &owner)
 Construct from components.
virtual ~StochasticDispersionRAS ()
 Destructor.
virtual bool active () const
 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)
 Update (disperse particles)
- Public Member Functions inherited from DispersionRASModel< CloudType >
 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.

Additional Inherited Members

- Protected Attributes inherited from DispersionRASModel< CloudType >
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.

Constructor & Destructor Documentation

StochasticDispersionRAS ( const dictionary dict,
CloudType &  owner 
)

Construct from components.

Definition at line 32 of file StochasticDispersionRAS.C.

Destructor.

Definition at line 44 of file StochasticDispersionRAS.C.


Member Function Documentation

TypeName ( "StochasticDispersionRAS< CloudType >"  )

Runtime type information.

bool active ( ) const
virtual

Flag to indicate whether model activates injection model.

Implements DispersionModel< CloudType >.

Definition at line 51 of file StochasticDispersionRAS.C.

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 59 of file StochasticDispersionRAS.C.

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


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