32 #ifndef DispersionRASModel_H
33 #define DispersionRASModel_H
47 template<
class CloudType>
const CloudType & owner() const
Return const access to the owner cloud.
Templated base class for dsmc cloud.
Base class for particle dispersion models based on RAS turbulence.
const volScalarField * epsilonPtr_
Turbulence epsilon.
tmp< volScalarField > kModel() const
Return the k field from the turbulence model.
virtual void cacheFields(const bool store)
Cache carrier fields.
TypeName("dispersionRASModel")
Runtime type information.
const volScalarField * kPtr_
Turbulence k.
virtual void write(Ostream &os) const
Write.
tmp< volScalarField > epsilonModel() const
Return the epsilon field from the turbulence model.
virtual vector update(const scalar dt, const label celli, const vector &U, const vector &Uc, vector &UTurb, scalar &tTurb)=0
Update (disperse particles)
bool ownEpsilon_
Take ownership of the epsilon field.
DispersionRASModel(const dictionary &dict, CloudType &owner)
Construct from components.
virtual ~DispersionRASModel()
Destructor.
virtual autoPtr< DispersionModel< CloudType > > clone() const =0
Construct and return a clone.
bool ownK_
Take ownership of the k field.
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
const dictionary & dict() const
Return const access to the cloud dictionary.
A class for managing temporary objects.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.