34 #ifndef DispersionRASModel_H 35 #define DispersionRASModel_H 49 template<
class CloudType>
tmp< volScalarField > kModel() const
Return the k field from the turbulence model.
const volScalarField * epsilonPtr_
Turbulence epsilon.
bool ownEpsilon_
Local ownership of the epsilon field.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual ~DispersionRASModel()
Destructor.
bool ownK_
Local ownership of the k field.
const dictionary & dict() const
Return const access to the cloud dictionary.
const CloudType & owner() const
Return const access to the owner cloud.
const volScalarField * kPtr_
Turbulence k.
virtual autoPtr< DispersionModel< CloudType > > clone() const =0
Construct and return a clone.
virtual void cacheFields(const bool store)
Cache carrier fields.
DispersionRASModel(const dictionary &dict, CloudType &owner)
Construct from components.
virtual void write(Ostream &os) const
Write.
TypeName("dispersionRASModel")
Runtime type information.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
virtual vector update(const scalar dt, const label celli, const vector &U, const vector &Uc, vector &UTurb, scalar &tTurb)=0
Update (disperse particles)
tmp< volScalarField > epsilonModel() const
Return the epsilon field from the turbulence model.
Base class for dispersion modelling.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
Base class for particle dispersion models based on RAS turbulence.
Templated base class for dsmc cloud.