Variable Hard Sphere BinaryCollision Model with Larsen Borgnakke internal energy redistribution. Based on the INELRS subroutine in Bird's DSMC0R.FOR. More...
#include <dsmc/LarsenBorgnakkeVariableHardSphere.H>
Variable Hard Sphere BinaryCollision Model with Larsen Borgnakke internal energy redistribution. Based on the INELRS subroutine in Bird's DSMC0R.FOR.
Definition at line 46 of file LarsenBorgnakkeVariableHardSphere.H.
Public Member Functions | |
TypeName ("LarsenBorgnakkeVariableHardSphere") | |
Runtime type information. | |
LarsenBorgnakkeVariableHardSphere (const dictionary &dict, CloudType &cloud) | |
Construct from dictionary. | |
virtual | ~LarsenBorgnakkeVariableHardSphere () |
virtual scalar | sigmaTcR (label typeIdP, label typeIdQ, const vector &UP, const vector &UQ) const |
Return the collision cross section * relative velocity product. | |
virtual void | collide (label typeIdP, label typeIdQ, vector &UP, vector &UQ, scalar &EiP, scalar &EiQ) |
Apply collision. | |
![]() | |
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. |
Additional Inherited Members | |
![]() | |
static autoPtr < BinaryCollisionModel < CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. |
LarsenBorgnakkeVariableHardSphere | ( | const dictionary & | dict, |
CloudType & | cloud | ||
) |
Construct from dictionary.
Definition at line 93 of file LarsenBorgnakkeVariableHardSphere.C.
|
virtual |
Definition at line 111 of file LarsenBorgnakkeVariableHardSphere.C.
TypeName | ( | "LarsenBorgnakkeVariableHardSphere< CloudType >" | ) |
Runtime type information.
|
virtual |
Return the collision cross section * relative velocity product.
Implements BinaryCollisionModel< CloudType >.
Definition at line 120 of file LarsenBorgnakkeVariableHardSphere.C.
References Foam::exp(), Foam::lgamma(), Foam::mag(), Foam::mathematicalConstant::pi(), and Foam::pow().
|
virtual |
Apply collision.
Implements BinaryCollisionModel< CloudType >.
Definition at line 168 of file LarsenBorgnakkeVariableHardSphere.C.
References Foam::cos(), magSqr(), phi, Foam::mathematicalConstant::pi(), Foam::pow(), Foam::sin(), and Foam::sqrt().