FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

VariableHardSphere< CloudType > Class Template Reference

Variable Hard Sphere BinaryCollision Model. More...

#include <dsmc/VariableHardSphere.H>


Detailed Description

template<class CloudType>
class Foam::VariableHardSphere< CloudType >

Variable Hard Sphere BinaryCollision Model.

Definition at line 45 of file VariableHardSphere.H.

Inheritance diagram for VariableHardSphere< CloudType >:
Collaboration diagram for VariableHardSphere< CloudType >:

List of all members.

Public Member Functions

 TypeName ("VariableHardSphere")
 Runtime type information.
 VariableHardSphere (const dictionary &dict, CloudType &cloud)
 Construct from dictionary.
virtual  ~VariableHardSphere ()
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.

Constructor & Destructor Documentation

VariableHardSphere ( const dictionary &   dict,
CloudType &   cloud  
)

Construct from dictionary.

Definition at line 32 of file VariableHardSphere.C.

~VariableHardSphere (  ) [virtual]

Definition at line 45 of file VariableHardSphere.C.


Member Function Documentation

TypeName ( "VariableHardSphere< CloudType >"    )

Runtime type information.

Foam::scalar sigmaTcR ( label   typeIdP,
label   typeIdQ,
const vector &   UP,
const vector &   UQ  
) const [virtual]

Return the collision cross section * relative velocity product.

Implements BinaryCollisionModel< CloudType >.

Definition at line 54 of file VariableHardSphere.C.

References Foam::exp(), Foam::lgamma(), Foam::mag(), Foam::mathematicalConstant::pi(), and Foam::pow().

void collide ( label   typeIdP,
label   typeIdQ,
vector &   UP,
vector &   UQ,
scalar &   EiP,
scalar &   EiQ  
) [virtual]

The documentation for this class was generated from the following files: