Variable Hard Sphere BinaryCollision Model. More...
#include <VariableHardSphere.H>


Public Member Functions | |
| TypeName ("VariableHardSphere") | |
| Runtime type information. | |
| VariableHardSphere (const dictionary &dict, CloudType &cloud) | |
| Construct from dictionary. | |
| virtual | ~VariableHardSphere () |
| 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.
Definition at line 41 of file VariableHardSphere.H.
| VariableHardSphere | ( | const dictionary & | dict, |
| CloudType & | cloud ) |
Construct from dictionary.
Definition at line 29 of file VariableHardSphere.C.
References BinaryCollisionModel< CloudType >::BinaryCollisionModel(), BinaryCollisionModel< CloudType >::coeffDict(), BinaryCollisionModel< CloudType >::dict(), and Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName.

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

|
virtual |
Flag to indicate whether model activates collision model.
Implements BinaryCollisionModel< CloudType >.
Definition at line 50 of file VariableHardSphere.C.
|
virtual |
Return the collision cross section * relative velocity product.
Implements BinaryCollisionModel< CloudType >.
Definition at line 57 of file VariableHardSphere.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 106 of file VariableHardSphere.C.
References Foam::cos(), Foam::mag(), BinaryCollisionModel< CloudType >::owner(), phi, rndGen, Foam::sin(), Foam::sqrt(), Foam::constant::mathematical::twoPi(), DSMCParcel< ParcelType >::typeId(), and DSMCParcel< ParcelType >::U().
