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...
Public Member Functions | |
TypeName ("gradientDispersionRAS") | |
Runtime type information. More... | |
GradientDispersionRAS (const dictionary &dict, CloudType &owner) | |
Construct from components. More... | |
GradientDispersionRAS (const GradientDispersionRAS< CloudType > &dm) | |
Construct copy. More... | |
virtual autoPtr< DispersionModel< CloudType > > | clone () const |
Construct and return a clone. More... | |
virtual | ~GradientDispersionRAS () |
Destructor. More... | |
virtual void | cacheFields (const bool store) |
Cache carrier fields. More... | |
virtual vector | update (const scalar dt, const label cellI, const vector &U, const vector &Uc, vector &UTurb, scalar &tTurb) |
Update (disperse particles) More... | |
![]() | |
TypeName ("dispersionRASModel") | |
Runtime type information. More... | |
DispersionRASModel (const dictionary &dict, CloudType &owner) | |
Construct from components. More... | |
DispersionRASModel (const DispersionRASModel< CloudType > &dm) | |
Construct copy. More... | |
virtual | ~DispersionRASModel () |
Destructor. More... | |
virtual void | write (Ostream &os) const |
Write. More... | |
![]() | |
TypeName ("dispersionModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, DispersionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
DispersionModel (CloudType &owner) | |
Construct null from owner. More... | |
DispersionModel (const dictionary &dict, CloudType &owner, const word &type) | |
Construct from components. More... | |
DispersionModel (const DispersionModel< CloudType > &dm) | |
Construct copy. More... | |
virtual autoPtr< DispersionModel< CloudType > > | clone () const=0 |
Construct and return a clone. More... | |
virtual | ~DispersionModel () |
Destructor. More... | |
Protected Attributes | |
const volVectorField * | gradkPtr_ |
Gradient of k. More... | |
bool | ownGradK_ |
Take ownership of the grad(k) More... | |
![]() | |
const volScalarField * | kPtr_ |
Turbulence k. More... | |
bool | ownK_ |
Take ownership of the k field. More... | |
const volScalarField * | epsilonPtr_ |
Turbulence epsilon. More... | |
bool | ownEpsilon_ |
Take ownership of the epsilon field. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< DispersionModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. More... | |
![]() | |
tmp< volScalarField > | kModel () const |
Return the k field from the turbulence model. More... | |
tmp< volScalarField > | epsilonModel () const |
Return the epsilon field from the turbulence model. More... | |
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 48 of file GradientDispersionRAS.H.
GradientDispersionRAS | ( | const dictionary & | dict, |
CloudType & | owner | ||
) |
Construct from components.
Definition at line 34 of file GradientDispersionRAS.C.
GradientDispersionRAS | ( | const GradientDispersionRAS< CloudType > & | dm | ) |
Construct copy.
Definition at line 47 of file GradientDispersionRAS.C.
References GradientDispersionRAS< CloudType >::ownGradK_.
|
virtual |
Destructor.
Definition at line 62 of file GradientDispersionRAS.C.
TypeName | ( | "gradientDispersionRAS" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements DispersionRASModel< CloudType >.
Definition at line 80 of file GradientDispersionRAS.H.
|
virtual |
Cache carrier fields.
Reimplemented from DispersionRASModel< CloudType >.
Definition at line 71 of file GradientDispersionRAS.C.
References Foam::deleteDemandDrivenData(), and Foam::fvc::grad().
|
virtual |
Update (disperse particles)
Implements DispersionRASModel< CloudType >.
Definition at line 94 of file GradientDispersionRAS.C.
References epsilon, cachedRandom::GaussNormal(), k, Foam::mag(), DSMCCloud< ParcelType >::mesh(), Foam::min(), polyMesh::nSolutionD(), Foam::pow(), DSMCCloud< ParcelType >::rndGen(), Foam::constant::physicoChemical::sigma, Foam::sqrt(), and U.
|
protected |
Gradient of k.
Definition at line 59 of file GradientDispersionRAS.H.
|
mutableprotected |
Take ownership of the grad(k)
Definition at line 62 of file GradientDispersionRAS.H.
Referenced by GradientDispersionRAS< CloudType >::GradientDispersionRAS().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.