35 template<
class CloudType>
48 template<
class CloudType>
55 template<
class CloudType>
62 template<
class CloudType>
70 <<
"sigmaTcR called on NoBinaryCollision model, this should " 71 <<
"not happen, this is not an actual model." <<
nl 72 <<
"Enclose calls to sigmaTcR within a if (binaryCollision().active()) " 80 template<
class CloudType>
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual ~NoBinaryCollision()
Destructor.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
constexpr char nl
The newline '\n' character (0x0a)
Templated DSMC particle collision class.
virtual bool active() const
Flag to indicate whether model activates collision model.
A cloud is a registry collection of lagrangian particles.
virtual void collide(typename CloudType::parcelType &pP, typename CloudType::parcelType &pQ)
Apply collision.
errorManip< error > abort(error &err)
ParcelType parcelType
Type of parcel the cloud was instantiated for.
virtual scalar sigmaTcR(const typename CloudType::parcelType &pP, const typename CloudType::parcelType &pQ) const
Return the collision cross section * relative velocity product.
NoBinaryCollision(const dictionary &dict, CloudType &cloud)
Construct from dictionary.
Templated base class for dsmc cloud.