Variable Hard Sphere BinaryCollision Model with Larsen Borgnakke internal energy redistribution. Based on the INELRS subroutine in Bird's DSMC0R.FOR. More...
#include <LarsenBorgnakkeVariableHardSphere.H>


Public Member Functions | |
| TypeName ("LarsenBorgnakkeVariableHardSphere") | |
| Runtime type information. | |
| LarsenBorgnakkeVariableHardSphere (const dictionary &dict, CloudType &cloud) | |
| Construct from dictionary. | |
| virtual | ~LarsenBorgnakkeVariableHardSphere () |
| Destructor. | |
| virtual bool | active () const |
| Flag to indicate whether model activates collision model. | |
| virtual scalar | sigmaTcR (const typename CloudType::parcelType &pP, const typename CloudType::parcelType &pQ) const |
| Return the collision cross section * relative velocity product. | |
| virtual void | collide (typename CloudType::parcelType &pP, typename CloudType::parcelType &pQ) |
| Apply collision. | |
| Public Member Functions inherited from BinaryCollisionModel< CloudType > | |
| TypeName ("BinaryCollisionModel") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, BinaryCollisionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
| Declare runtime constructor selection table. | |
| BinaryCollisionModel (CloudType &owner) | |
| Construct null from owner. | |
| BinaryCollisionModel (const dictionary &dict, CloudType &owner, const word &type) | |
| Construct from components. | |
| virtual | ~BinaryCollisionModel () |
| Destructor. | |
| 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 Public Member Functions inherited from BinaryCollisionModel< CloudType > | |
| static autoPtr< BinaryCollisionModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
| Selector. | |
Variable Hard Sphere BinaryCollision Model with Larsen Borgnakke internal energy redistribution. Based on the INELRS subroutine in Bird's DSMC0R.FOR.
Definition at line 42 of file LarsenBorgnakkeVariableHardSphere.H.
| LarsenBorgnakkeVariableHardSphere | ( | const dictionary & | dict, |
| CloudType & | cloud ) |
Construct from dictionary.
Definition at line 88 of file LarsenBorgnakkeVariableHardSphere.C.
References BinaryCollisionModel< CloudType >::BinaryCollisionModel(), BinaryCollisionModel< CloudType >::coeffDict(), BinaryCollisionModel< CloudType >::dict(), and Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName.

|
virtual |
Destructor.
Definition at line 107 of file LarsenBorgnakkeVariableHardSphere.C.
Runtime type information.
References BinaryCollisionModel< CloudType >::dict().

|
virtual |
Flag to indicate whether model activates collision model.
Implements BinaryCollisionModel< CloudType >.
Definition at line 115 of file LarsenBorgnakkeVariableHardSphere.C.
|
virtual |
Return the collision cross section * relative velocity product.
Implements BinaryCollisionModel< CloudType >.
Definition at line 122 of file LarsenBorgnakkeVariableHardSphere.C.
References Foam::exp(), Foam::constant::physicoChemical::k, Foam::lgamma(), Foam::mag(), BinaryCollisionModel< CloudType >::owner(), Foam::constant::mathematical::pi(), Foam::pow(), DSMCParcel< ParcelType >::typeId(), and DSMCParcel< ParcelType >::U().

|
virtual |
Apply collision.
Implements BinaryCollisionModel< CloudType >.
Definition at line 169 of file LarsenBorgnakkeVariableHardSphere.C.
References Foam::cos(), DSMCParcel< ParcelType >::Ei(), Foam::magSqr(), BinaryCollisionModel< CloudType >::owner(), phi, Foam::pow(), rndGen, Foam::sin(), Foam::sqrt(), Foam::constant::mathematical::twoPi(), DSMCParcel< ParcelType >::typeId(), and DSMCParcel< ParcelType >::U().
