30 template<
class CloudType>
39 oneByTimeScaleAverage_(
nullptr)
43 template<
class CloudType>
51 oneByTimeScaleAverage_(cm.oneByTimeScaleAverage_->clone())
57 template<
class CloudType>
65 template<
class CloudType>
76 cloudName +
":volumeAverage" 81 cloudName +
":radiusAverage" 86 cloudName +
":uAverage" 91 cloudName +
":uSqrAverage" 96 cloudName +
":frequencyAverage" 99 uAverage_ = &uAverage;
101 oneByTimeScaleAverage_.reset
107 cloudName +
":oneByTimeScaleAverage",
108 this->owner().db().time().
timeName(),
116 oneByTimeScaleAverage_() =
118 this->timeScaleModel_->oneByTau
130 oneByTimeScaleAverage_.
clear();
135 template<
class CloudType>
142 const tetIndices tetIs(p.currentTetIndices());
145 deltaT*oneByTimeScaleAverage_->interpolate(p.coordinates(), tetIs);
147 const vector u = uAverage_->interpolate(p.coordinates(), tetIs);
149 return (u - p.U())*x/(x + 2.0);
A list of keyword definitions, which are a keyword followed by any number of values (e...
Relaxation(const dictionary &dict, CloudType &owner)
Construct from components.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
A class for handling words, derived from string.
virtual void cacheFields(const bool store)
Member Functions.
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
virtual vector velocityCorrection(typename CloudType::parcelType &p, const scalar deltaT) const
Calculate the velocity correction.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Mesh data needed to do the Finite Volume discretisation.
Relaxation collisional damping model.
void clear()
Clear the PtrList, i.e. set size to zero deleting all the.
Selector class for relaxation factors, solver type and solution.
const word cloudName(propsDict.lookup("cloudName"))
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual ~Relaxation()
Destructor.
Templated base class for dsmc cloud.
Base class for collisional damping models.