Stochastic return-to-isotropy model. More...
Public Member Functions | |
TypeName ("stochastic") | |
Runtime type information. More... | |
Stochastic (const dictionary &dict, CloudType &owner) | |
Construct from components. More... | |
Stochastic (const Stochastic< CloudType > &cm) | |
Construct copy. More... | |
virtual autoPtr< IsotropyModel< CloudType > > | clone () const |
Construct and return a clone. More... | |
virtual | ~Stochastic () |
Destructor. More... | |
virtual void | calculate () |
Member Functions. More... | |
![]() | |
TypeName ("isotropyModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, IsotropyModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
Declare runtime constructor selection table. More... | |
IsotropyModel (CloudType &owner) | |
Construct null from owner. More... | |
IsotropyModel (const dictionary &dict, CloudType &owner, const word &type) | |
Construct from components. More... | |
IsotropyModel (const IsotropyModel< CloudType > &cm) | |
Construct a copy. More... | |
virtual | ~IsotropyModel () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< IsotropyModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. More... | |
![]() | |
autoPtr< TimeScaleModel > | timeScaleModel_ |
Time scale model. More... | |
Stochastic return-to-isotropy model.
Particle velocities are modified by sampling a gaussian-plus-delta distribution, which depends on a time-scale. This randomises some particle velocities whilst leaving others unchanged. The lower the value of the time-scale, the greater the proportion of particle velocities affected.
A correction step is performed at the end to ensure that the model conserves both momentum and granular temperature.
Reference:
"Inclusion of collisional return-to-isotropy in the MP-PIC method" P O'Rourke and D Snider Chemical Engineering Science Volume 80, Issue 0, Pages 39-54, December 2012
Definition at line 72 of file Stochastic.H.
Stochastic | ( | const dictionary & | dict, |
CloudType & | owner | ||
) |
Construct from components.
Definition at line 35 of file Stochastic.C.
Stochastic | ( | const Stochastic< CloudType > & | cm | ) |
Construct copy.
Definition at line 46 of file Stochastic.C.
|
virtual |
Destructor.
Definition at line 57 of file Stochastic.C.
TypeName | ( | "stochastic" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements IsotropyModel< CloudType >.
Definition at line 98 of file Stochastic.H.
|
virtual |
Member Functions.
Calculate velocities
Implements IsotropyModel< CloudType >.
Definition at line 100 of file Stochastic.C.
References AveragingMethod< Type >::add(), AveragingMethod< Type >::average(), dict, Foam::exp(), AveragingMethod< Type >::interpolate(), Foam::magSqr(), Foam::max(), mesh, DSMCCloud< ParcelType >::mesh(), Foam::name(), p, rndGen, DSMCCloud< ParcelType >::rndGen(), Foam::sqrt(), timeName, and x.