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>
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.
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)
|
StochasticDispersionRAS | ( | const dictionary & | dict, |
CloudType & | owner | ||
) |
Construct from components.
Definition at line 32 of file StochasticDispersionRAS.C.
~StochasticDispersionRAS | ( | ) | [virtual]
|
Destructor.
Definition at line 44 of file StochasticDispersionRAS.C.
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().