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