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

BinaryCollisionModel< CloudType > Class Template Reference

Templated DSMC particle collision class. More...

#include <dsmc/BinaryCollisionModel.H>


Detailed Description

template<class CloudType>
class Foam::BinaryCollisionModel< CloudType >

Templated DSMC particle collision class.

Source files

Definition at line 53 of file BinaryCollisionModel.H.

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

List of all members.

Public Member Functions

 TypeName ("BinaryCollisionModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, BinaryCollisionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table.
 BinaryCollisionModel (const dictionary &dict, CloudType &owner, const word &type)
 Construct from components.
virtual  ~BinaryCollisionModel ()
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.
virtual scalar  sigmaTcR (label typeIdP, label typeIdQ, const vector &UP, const vector &UQ) const =0
 Return the collision cross section * relative velocity product.
virtual void  collide (label typeIdP, label typeIdQ, vector &UP, vector &UQ, scalar &EiP, scalar &EiQ)=0
 Apply collision.

Static Public Member Functions

static autoPtr
< BinaryCollisionModel
< CloudType > >  
New (const dictionary &dict, CloudType &owner)
 Selector.

Constructor & Destructor Documentation

BinaryCollisionModel ( const dictionary &   dict,
CloudType &   owner,
const word &   type  
)

Construct from components.

Definition at line 32 of file BinaryCollisionModel.C.

~BinaryCollisionModel (  ) [virtual]

Definition at line 47 of file BinaryCollisionModel.C.


Member Function Documentation

TypeName ( "BinaryCollisionModel< CloudType >"    )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr   ,
BinaryCollisionModel< CloudType >   ,
dictionary   ,
(const dictionary &dict, CloudType &owner)   ,
(dict, owner)    
)

Declare runtime constructor selection table.

Foam::autoPtr< Foam::BinaryCollisionModel< CloudType > > New ( const dictionary &   dict,
CloudType &   owner  
) [static]
const CloudType & owner (  ) const

Return the owner cloud object.

Definition at line 55 of file BinaryCollisionModel.C.

CloudType & owner (  )

Return non-const access to the owner cloud object.

Definition at line 63 of file BinaryCollisionModel.C.

const Foam::dictionary & dict (  ) const

Return the dictionary.

Definition at line 71 of file BinaryCollisionModel.C.

const Foam::dictionary & coeffDict (  ) const

Return the coefficients dictionary.

Definition at line 79 of file BinaryCollisionModel.C.

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

Return the collision cross section * relative velocity product.

Implemented in LarsenBorgnakkeVariableHardSphere< CloudType >, and VariableHardSphere< CloudType >.

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

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