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>
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.
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) | |
![]() | |
TypeName ("DispersionRASModel") | |
Runtime type information. | |
DispersionRASModel (const dictionary &dict, CloudType &owner) | |
Construct from components. | |
virtual | ~DispersionRASModel () |
Destructor. | |
const compressible::RASModel & | turbulence () const |
Return const access to the turbulence model. | |
![]() | |
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 dictionary & | dict () const |
Return the dictionary. |
Protected Attributes | |
const volVectorField * | gradkPtr_ |
Gradient of k. | |
![]() | |
const compressible::RASModel & | turbulence_ |
Reference to the compressible turbulence model. | |
const volScalarField * | kPtr_ |
Turbulence k. | |
bool | ownK_ |
Take ownership of the k field. | |
const volScalarField * | epsilonPtr_ |
Turbulence epsilon. | |
bool | ownEpsilon_ |
Take ownership of the epsilon field. |
GradientDispersionRAS | ( | const dictionary & | dict, |
CloudType & | owner | ||
) |
Construct from components.
Definition at line 32 of file GradientDispersionRAS.C.
|
virtual |
Destructor.
Definition at line 45 of file GradientDispersionRAS.C.
TypeName | ( | "GradientDispersionRAS< CloudType >" | ) |
Runtime type information.
|
virtual |
Flag to indicate whether model activates injection model.
Implements DispersionModel< CloudType >.
Definition at line 54 of file GradientDispersionRAS.C.
|
virtual |
Cache carrier fields.
Reimplemented from DispersionRASModel< CloudType >.
Definition at line 61 of file GradientDispersionRAS.C.
References Foam::fvc::grad().
|
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().
|
protected |
Gradient of k.
Definition at line 58 of file GradientDispersionRAS.H.