35template<
class CloudType>
48template<
class CloudType>
55template<
class CloudType>
62template<
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()) "
80template<
class CloudType>
const dictionary & dict() const
Return the dictionary.
BinaryCollisionModel(CloudType &owner)
Construct null from owner.
NoBinaryCollision(const dictionary &dict, CloudType &cloud)
Construct from dictionary.
virtual scalar sigmaTcR(const typename CloudType::parcelType &pP, const typename CloudType::parcelType &pQ) const
Return the collision cross section * relative velocity product.
virtual ~NoBinaryCollision()
Destructor.
virtual bool active() const
Flag to indicate whether model activates collision model.
virtual void collide(typename CloudType::parcelType &pP, typename CloudType::parcelType &pQ)
Apply collision.
A cloud is a registry collection of lagrangian particles.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
DSMCCloud< dsmcParcel > CloudType
errorManip< error > abort(error &err)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
constexpr char nl
The newline '\n' character (0x0a).