36 #ifndef GradientDispersionRAS_H 37 #define GradientDispersionRAS_H 50 template<
class CloudType>
The velocity is perturbed in the direction of -grad(k), with a Gaussian random number distribution wi...
virtual ~GradientDispersionRAS()
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
bool ownGradK_
Take ownership of the grad(k)
const dictionary & dict() const
Return const access to the cloud dictionary.
const CloudType & owner() const
Return const access to the owner cloud.
const volVectorField * gradkPtr_
Gradient of k.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
virtual autoPtr< DispersionModel< CloudType > > clone() const
Construct and return a clone.
GradientDispersionRAS(const dictionary &dict, CloudType &owner)
Construct from components.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual vector update(const scalar dt, const label celli, const vector &U, const vector &Uc, vector &UTurb, scalar &tTurb)
Update (disperse particles)
TypeName("gradientDispersionRAS")
Runtime type information.
Base class for particle dispersion models based on RAS turbulence.
Templated base class for dsmc cloud.
virtual void cacheFields(const bool store)
Cache carrier fields.