Variable Hard Sphere BinaryCollision Model with Larsen Borgnakke internal energy redistribution. Based on the INELRS subroutine in Bird's DSMC0R.FOR. More...
Public Member Functions | |
TypeName ("LarsenBorgnakkeVariableHardSphere") | |
Runtime type information. More... | |
LarsenBorgnakkeVariableHardSphere (const dictionary &dict, CloudType &cloud) | |
Construct from dictionary. More... | |
virtual | ~LarsenBorgnakkeVariableHardSphere () |
Destructor. More... | |
virtual scalar | sigmaTcR (const typename CloudType::parcelType &pP, const typename CloudType::parcelType &pQ) const |
Return the collision cross section * relative velocity product. More... | |
virtual void | collide (typename CloudType::parcelType &pP, typename CloudType::parcelType &pQ) |
Apply collision. More... | |
Public Member Functions inherited from BinaryCollisionModel< CloudType > | |
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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from BinaryCollisionModel< CloudType > | |
static autoPtr< BinaryCollisionModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. More... | |
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.
LarsenBorgnakkeVariableHardSphere | ( | const dictionary & | dict, |
CloudType & | cloud | ||
) |
Construct from dictionary.
Definition at line 95 of file LarsenBorgnakkeVariableHardSphere.C.
References LarsenBorgnakkeVariableHardSphere< CloudType >::~LarsenBorgnakkeVariableHardSphere().
|
virtual |
Destructor.
Definition at line 113 of file LarsenBorgnakkeVariableHardSphere.C.
References LarsenBorgnakkeVariableHardSphere< CloudType >::sigmaTcR().
Referenced by LarsenBorgnakkeVariableHardSphere< CloudType >::LarsenBorgnakkeVariableHardSphere().
TypeName | ( | "LarsenBorgnakkeVariableHardSphere< CloudType >" | ) |
Runtime type information.
|
virtual |
Return the collision cross section * relative velocity product.
Implements BinaryCollisionModel< CloudType >.
Definition at line 121 of file LarsenBorgnakkeVariableHardSphere.C.
References LarsenBorgnakkeVariableHardSphere< CloudType >::collide(), DSMCCloud< ParcelType >::constProps(), Foam::exp(), Foam::constant::physicoChemical::k, Foam::lgamma(), Foam::mag(), Foam::constant::mathematical::pi(), and Foam::pow().
Referenced by LarsenBorgnakkeVariableHardSphere< CloudType >::~LarsenBorgnakkeVariableHardSphere().
|
virtual |
Apply collision.
Implements BinaryCollisionModel< CloudType >.
Definition at line 168 of file LarsenBorgnakkeVariableHardSphere.C.
References DSMCCloud< ParcelType >::constProps(), Foam::cos(), Foam::magSqr(), phi, Foam::pow(), rndGen(), DSMCCloud< ParcelType >::rndGen(), Foam::sin(), Foam::sqrt(), and Foam::constant::mathematical::twoPi().
Referenced by LarsenBorgnakkeVariableHardSphere< CloudType >::sigmaTcR().