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