34template<
class CloudType>
37 typename CloudType::parcelType::trackingData&
td,
42 this->
owner().mesh().template
51 1.0 -
exp(-vDotSweep*Dt)
57 const label celli =
p.cell();
59 scalar xx = this->
owner().rndGen().template sample01<scalar>();
72template<
class CloudType>
79 StochasticCollisionModel<CloudType>(
dict, owner, typeName),
80 suppressionCloud_(this->coeffDict().lookup(
"suppressionCloud")),
83 this->
coeffDict().getOrDefault(
"suppressedParcelType", -1)
88template<
class CloudType>
95 suppressionCloud_(cm.suppressionCloud_),
102template<
class CloudType>
const CloudType & owner() const
Return const access to the owner cloud.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
Templated stochastic collision model class.
StochasticCollisionModel(CloudType &owner)
Construct null from owner.
Inter-cloud collision model, whereby the canReact flag can be used to inhibit devolatilisation and su...
SuppressionCollision(const dictionary &dict, CloudType &owner)
Construct from dictionary.
const word suppressionCloud_
Name of cloud used for suppression.
const label suppressedParcelType_
Suppressed parcel type - optional.
virtual ~SuppressionCollision()
Destructor.
virtual void collide(typename CloudType::parcelType::trackingData &td, const scalar dt)
Update the model.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Virtual abstract base class for templated KinematicCloud.
virtual const tmp< volScalarField > vDotSweep() const =0
Volume swept rate of parcels per cell.
Lookup type of boundary radiation properties.
const dictionary & coeffDict() const
Return const access to the coefficients dictionary.
const dictionary & dict() const
Return const access to the cloud dictionary.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
DSMCCloud< dsmcParcel > CloudType
dimensionedScalar exp(const dimensionedScalar &ds)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.