Templated DSMC particle collision class. More...
Public Member Functions | |
TypeName ("BinaryCollisionModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, BinaryCollisionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
Declare runtime constructor selection table. More... | |
BinaryCollisionModel (CloudType &owner) | |
Construct null from owner. More... | |
BinaryCollisionModel (const dictionary &dict, CloudType &owner, const word &type) | |
Construct from components. More... | |
virtual | ~BinaryCollisionModel () |
Destructor. More... | |
const CloudType & | owner () const |
Return the owner cloud object. More... | |
CloudType & | owner () |
Return non-const access to the owner cloud object. More... | |
const dictionary & | dict () const |
Return the dictionary. More... | |
const dictionary & | coeffDict () const |
Return the coefficients dictionary. More... | |
virtual scalar | sigmaTcR (const typename CloudType::parcelType &pP, const typename CloudType::parcelType &pQ) const =0 |
Return the collision cross section * relative velocity product. More... | |
virtual void | collide (typename CloudType::parcelType &pP, typename CloudType::parcelType &pQ)=0 |
Apply collision. More... | |
Static Public Member Functions | |
static autoPtr< BinaryCollisionModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. More... | |
Templated DSMC particle collision class.
Definition at line 55 of file DSMCCloud.H.
BinaryCollisionModel | ( | CloudType & | owner | ) |
Construct null from owner.
Definition at line 31 of file BinaryCollisionModel.C.
Referenced by BinaryCollisionModel< Foam::DSMCCloud< ParcelType > >::BinaryCollisionModel().
BinaryCollisionModel | ( | const dictionary & | dict, |
CloudType & | owner, | ||
const word & | type | ||
) |
Construct from components.
Definition at line 41 of file BinaryCollisionModel.C.
|
virtual |
Destructor.
Definition at line 56 of file BinaryCollisionModel.C.
TypeName | ( | "BinaryCollisionModel< CloudType >" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
BinaryCollisionModel< CloudType > | , | ||
dictionary | , | ||
(const dictionary &dict, CloudType &owner) | , | ||
(dict, owner) | |||
) |
Declare runtime constructor selection table.
|
static |
Selector.
Definition at line 33 of file BinaryCollisionModelNew.C.
const CloudType & owner | ( | ) | const |
Return the owner cloud object.
Definition at line 64 of file BinaryCollisionModel.C.
CloudType & owner | ( | ) |
Return non-const access to the owner cloud object.
Definition at line 72 of file BinaryCollisionModel.C.
const Foam::dictionary & dict | ( | ) | const |
Return the dictionary.
Definition at line 80 of file BinaryCollisionModel.C.
const Foam::dictionary & coeffDict | ( | ) | const |
Return the coefficients dictionary.
Definition at line 88 of file BinaryCollisionModel.C.
|
pure virtual |
Return the collision cross section * relative velocity product.
Implemented in LarsenBorgnakkeVariableHardSphere< CloudType >, VariableHardSphere< CloudType >, and NoBinaryCollision< CloudType >.
|
pure virtual |
Apply collision.
Implemented in LarsenBorgnakkeVariableHardSphere< CloudType >, VariableHardSphere< CloudType >, and NoBinaryCollision< CloudType >.