31 template<
class CloudType>
34 typename CloudType::parcelType::trackingData& td,
39 this->owner().mesh().template
40 lookupObject<parcelCloud>(suppressionCloud_);
50 label celli = p.cell();
52 scalar xx = this->owner().rndGen().template sample01<scalar>();
57 p.typeId() =
max(p.typeId(), suppressedParcelType_);
65 template<
class CloudType>
73 suppressionCloud_(this->coeffDict().lookup(
"suppressionCloud")),
76 this->coeffDict().lookupOrDefault(
"suppressedParcelType", -1)
81 template<
class CloudType>
95 template<
class CloudType>
Virtual abstract base class for parcel clouds. As parcelCloudBase but with additional virtualisation ...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word suppressionCloud_
Name of cloud used for suppression.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Inter-cloud collision model, whereby the canReact flag can be used to inhibit devolatilisation and su...
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
const label suppressedParcelType_
Suppressed parcel type - optional.
const dimensionSet dimTime
virtual const tmp< volScalarField > vDotSweep() const =0
Volume swept rate of parcels per cell.
dimensionedScalar exp(const dimensionedScalar &ds)
virtual void collide(typename CloudType::parcelType::trackingData &td, const scalar dt)
Update the model.
SuppressionCollision(const dictionary &dict, CloudType &owner)
Construct from dictionary.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
virtual ~SuppressionCollision()
Destructor.
Templated stochastic collision model class.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
Templated base class for dsmc cloud.