Go to the documentation of this file.
48 #ifndef PatchCollisionDensity_H
49 #define PatchCollisionDensity_H
62 template<
class CloudType>
72 const scalar minSpeed_;
75 volScalarField::Boundary collisionDensity_;
79 volScalarField::Boundary collisionDensity0_;
void write()
Write post-processing info.
A class for handling words, derived from Foam::string.
Function object which generates fields of the number and rate of collisions per unit area on all patc...
virtual ~PatchCollisionDensity()=default
Destructor.
const word & modelName() const
Return const access to the name of the sub-model.
virtual void postPatch(const parcelType &p, const polyPatch &pp, bool &keepParticle)
Post-patch hook.
TypeName("patchCollisionDensity")
Runtime type information.
const dictionary & dict() const
Return const access to the cloud dictionary.
A patch is a list of labels that address the faces in the global face list.
const CloudType & owner() const
Return const access to the owner cloud.
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
ParticleType particleType
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
PatchCollisionDensity(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
Templated cloud function object base class.