32 template<
class CloudType>
41 oneByTimeScaleAverage_(nullptr)
45 template<
class CloudType>
53 oneByTimeScaleAverage_(cm.oneByTimeScaleAverage_->clone())
59 template<
class CloudType>
67 template<
class CloudType>
101 uAverage_ = &uAverage;
103 oneByTimeScaleAverage_.reset
110 this->owner().db().time().
timeName(),
118 oneByTimeScaleAverage_() =
120 this->timeScaleModel_->oneByTau
137 template<
class CloudType>
147 deltaT*oneByTimeScaleAverage_->interpolate(
p.coordinates(), tetIs);
151 return (u -
p.U())*
x/(
x + 2.0);
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Relaxation(const dictionary &dict, CloudType &owner)
Construct from components.
const word cloudName(propsDict.get< word >("cloud"))
A class for handling words, derived from Foam::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.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
virtual Type interpolate(const barycentric &coordinates, const tetIndices &tetIs) const =0
Interpolate.
Mesh data needed to do the Finite Volume discretisation.
Relaxation collisional damping model.
void clear()
Clear the PtrList. Delete allocated entries and set size to zero.
Selector class for relaxation factors, solver type and solution.
Defines the attributes of an object for which implicit objectRegistry management is supported...
virtual ~Relaxation()
Destructor.
Templated base class for dsmc cloud.
Base class for collisional damping models.