33 template<
class CloudType>
46 template<
class CloudType>
56 coeffDict_(
dict.subDict(
type +
"Coeffs")),
59 this->coeffDict().template getOrDefault<scalar>(
"forceRampTime", -1)
66 template<
class CloudType>
73 template<
class CloudType>
81 template<
class CloudType>
88 template<
class CloudType>
95 template<
class CloudType>
102 if (forceRampTime_ < 0)
107 return min(
min(pA.age(), pB.age())/forceRampTime_, 1);
const dictionary & dict() const
Return the dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
PairModel(CloudType &owner)
Construct null from cloud owner.
A class for handling words, derived from Foam::string.
const CloudType & owner() const
Return the owner cloud object.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
const dictionary & coeffDict() const
Return the coefficients dictionary.
virtual ~PairModel()
Destructor.
scalar forceCoeff(typename CloudType::parcelType &pA, typename CloudType::parcelType &pB) const
Return the force coefficient based on the forceRampTime_.
Templated base class for dsmc cloud.