Templated DSMC particle collision class. More...
#include <dsmc/BinaryCollisionModel.H>
Templated DSMC particle collision class.
Definition at line 53 of file BinaryCollisionModel.H.
Public Member Functions | |
TypeName ("BinaryCollisionModel") | |
Runtime type information.
| |
declareRunTimeSelectionTable (autoPtr, BinaryCollisionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
Declare runtime constructor selection table.
| |
BinaryCollisionModel (const dictionary &dict, CloudType &owner, const word &type) | |
Construct from components.
| |
virtual | ~BinaryCollisionModel () |
const CloudType & | owner () const |
Return the owner cloud object.
| |
CloudType & | owner () |
Return non-const access to the owner cloud object.
| |
const dictionary & | dict () const |
Return the dictionary.
| |
const dictionary & | coeffDict () const |
Return the coefficients dictionary.
| |
virtual scalar | sigmaTcR (label typeIdP, label typeIdQ, const vector &UP, const vector &UQ) const =0 |
Return the collision cross section * relative velocity product.
| |
virtual void | collide (label typeIdP, label typeIdQ, vector &UP, vector &UQ, scalar &EiP, scalar &EiQ)=0 |
Apply collision.
| |
Static Public Member Functions | |
static autoPtr < BinaryCollisionModel < CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector.
|
BinaryCollisionModel | ( | const dictionary & | dict, |
CloudType & | owner, | ||
const word & | type | ||
) |
Construct from components.
Definition at line 32 of file BinaryCollisionModel.C.
~BinaryCollisionModel | ( | ) | [virtual]
|
Definition at line 47 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.
Foam::autoPtr< Foam::BinaryCollisionModel< CloudType > > New | ( | const dictionary & | dict, |
CloudType & | owner | ||
) | [static]
|
Selector.
Definition at line 33 of file NewBinaryCollisionModel.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), and Foam::nl.
const CloudType & owner | ( | ) | const |
Return the owner cloud object.
Definition at line 55 of file BinaryCollisionModel.C.
CloudType & owner | ( | ) |
Return non-const access to the owner cloud object.
Definition at line 63 of file BinaryCollisionModel.C.
const Foam::dictionary & dict | ( | ) | const |
Return the dictionary.
Definition at line 71 of file BinaryCollisionModel.C.
const Foam::dictionary & coeffDict | ( | ) | const |
Return the coefficients dictionary.
Definition at line 79 of file BinaryCollisionModel.C.
virtual scalar sigmaTcR | ( | label | typeIdP, |
label | typeIdQ, | ||
const vector & | UP, | ||
const vector & | UQ | ||
) | const [pure virtual]
|
Return the collision cross section * relative velocity product.
Implemented in LarsenBorgnakkeVariableHardSphere< CloudType >, and VariableHardSphere< CloudType >.
virtual void collide | ( | label | typeIdP, |
label | typeIdQ, | ||
vector & | UP, | ||
vector & | UQ, | ||
scalar & | EiP, | ||
scalar & | EiQ | ||
) | [pure virtual]
|
Apply collision.
Implemented in LarsenBorgnakkeVariableHardSphere< CloudType >, and VariableHardSphere< CloudType >.