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