Go to the documentation of this file.
34 template<
class CloudType>
37 typename CloudType::parcelType::trackingData& td,
42 this->owner().
mesh().template
43 lookupObject<kinematicCloud>(suppressionCloud_);
52 const label celli =
p.cell();
54 scalar xx = this->owner().
rndGen().template sample01<scalar>();
59 p.typeId() =
max(
p.typeId(), suppressedParcelType_);
67 template<
class CloudType>
75 suppressionCloud_(this->coeffDict().
lookup(
"suppressionCloud")),
78 this->coeffDict().getOrDefault(
"suppressedParcelType", -1)
83 template<
class CloudType>
97 template<
class CloudType>
const word suppressionCloud_
Name of cloud used for suppression.
Inter-cloud collision model, whereby the canReact flag can be used to inhibit devolatilisation and su...
dimensionedScalar exp(const dimensionedScalar &ds)
Random & rndGen()
Return reference to the random object.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
virtual void collide(typename CloudType::parcelType::trackingData &td, const scalar dt)
Update the model.
Virtual abstract base class for templated KinematicCloud.
Templated stochastic collision model class.
SuppressionCollision(const dictionary &dict, CloudType &owner)
Construct from dictionary.
const label suppressedParcelType_
Suppressed parcel type - optional.
const fvMesh & mesh() const
Return reference to the mesh.
const cellModel * lookup(const word &modelName)
Deprecated(2017-11) equivalent to cellModel::ptr static method.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual const tmp< volScalarField > vDotSweep() const =0
Volume swept rate of parcels per cell.
virtual ~SuppressionCollision()
Destructor.
ParcelType parcelType
Type of parcel the cloud was instantiated for.