32 template<
class CloudType>
48 <<
"Turbulence model not found in mesh database" <<
nl
49 <<
"Database objects include: " << obr.
sortedToc()
57 template<
class CloudType>
73 <<
"Turbulence model not found in mesh database" <<
nl
74 <<
"Database objects include: " << obr.
sortedToc()
84 template<
class CloudType>
99 template<
class CloudType>
108 epsilonPtr_(dm.epsilonPtr_),
109 ownEpsilon_(dm.ownEpsilon_)
118 template<
class CloudType>
127 template<
class CloudType>
145 if (tepsilon.
isTmp())
147 epsilonPtr_ = tepsilon.
ptr();
152 epsilonPtr_ = &tepsilon();
163 if (ownEpsilon_ && epsilonPtr_)
172 template<
class CloudType>
virtual void write(Ostream &os) const
Write.
Templated base class for dsmc cloud.
Base class for particle dispersion models based on RAS turbulence.
tmp< volScalarField > kModel() const
Return the k field from the turbulence model.
virtual void cacheFields(const bool store)
Cache carrier fields.
virtual void write(Ostream &os) const
Write.
tmp< volScalarField > epsilonModel() const
Return the epsilon field from the turbulence model.
bool ownEpsilon_
Take ownership of the epsilon field.
DispersionRASModel(const dictionary &dict, CloudType &owner)
Construct from components.
virtual ~DispersionRASModel()
Destructor.
bool ownK_
Take ownership of the k field.
List< Key > sortedToc() const
Return the table of contents as a sorted list.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for turbulence models (RAS, LES and laminar).
virtual tmp< volScalarField > k() const =0
Return the turbulence kinetic energy.
virtual tmp< volScalarField > epsilon() const =0
Return the turbulence kinetic energy dissipation rate.
Registry of regIOobjects.
bool foundType(const word &group=word::null) const
Is the Type in registry.
const Type & lookupType(const word &group=word::null) const
Lookup and return the object of the given Type.
A class for managing temporary objects.
bool isTmp() const
Return true if this is really a temporary object.
T * ptr() const
Return tmp pointer for reuse.
Template functions to aid in the implementation of demand driven data.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)
void deleteDemandDrivenData(DataPtr &dataPtr)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)