Variable Hard Sphere BinaryCollision Model. More...
Public Member Functions | |
TypeName ("VariableHardSphere") | |
Runtime type information. More... | |
VariableHardSphere (const dictionary &dict, CloudType &cloud) | |
Construct from dictionary. More... | |
virtual | ~VariableHardSphere () |
Destructor. More... | |
virtual bool | active () const |
Flag to indicate whether model activates collision model. 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... | |
![]() | |
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... | |
virtual bool | active () const=0 |
Flag to indicate whether model activates collision model. More... | |
Private Attributes | |
const scalar | Tref_ |
Reference temperature. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< BinaryCollisionModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. More... | |
Variable Hard Sphere BinaryCollision Model.
Definition at line 45 of file VariableHardSphere.H.
VariableHardSphere | ( | const dictionary & | dict, |
CloudType & | cloud | ||
) |
Construct from dictionary.
Definition at line 35 of file VariableHardSphere.C.
|
virtual |
Destructor.
Definition at line 48 of file VariableHardSphere.C.
TypeName | ( | "VariableHardSphere< CloudType >" | ) |
Runtime type information.
|
virtual |
Flag to indicate whether model activates collision model.
Definition at line 55 of file VariableHardSphere.C.
|
virtual |
Return the collision cross section * relative velocity product.
Implements BinaryCollisionModel< CloudType >.
Definition at line 63 of file VariableHardSphere.C.
References Foam::exp(), Foam::constant::physicoChemical::k, Foam::lgamma(), Foam::mag(), Foam::constant::mathematical::pi(), and Foam::pow().
|
virtual |
Apply collision.
Implements BinaryCollisionModel< CloudType >.
Definition at line 112 of file VariableHardSphere.C.
References Foam::cos(), Foam::mag(), phi, rndGen(), Foam::sin(), Foam::sqrt(), and Foam::constant::mathematical::twoPi().
|
private |
Reference temperature.
Definition at line 52 of file VariableHardSphere.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.