34#ifndef DispersionRASModel_H
35#define DispersionRASModel_H
49template<
class CloudType>
const CloudType & owner() const
Return const access to the owner cloud.
DispersionModel(CloudType &owner)
Construct null from owner.
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.
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_
Local ownership of the epsilon field.
DispersionRASModel(const dictionary &dict, CloudType &owner)
Construct from components.
virtual autoPtr< DispersionModel< CloudType > > clone() const =0
Construct and return a clone.
virtual ~DispersionRASModel()
Destructor.
bool ownK_
Local ownership of the k field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & dict() const
Return const access to the cloud dictionary.
A class for managing temporary objects.
OBJstream os(runTime.globalPath()/outputName)
DSMCCloud< dsmcParcel > CloudType
GeometricField< scalar, fvPatchField, volMesh > volScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.