OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

BinaryCollisionModel< CloudType > Class Template Reference

Templated DSMC particle collision class. More...

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.

Detailed Description

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

Templated DSMC particle collision class.

Source files

Definition at line 48 of file BinaryCollisionModel.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 24 of file BinaryCollisionModel.C.

~BinaryCollisionModel (  )  [inline, virtual]

Definition at line 39 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 
) [inline, static]

Selector.

Definition at line 25 of file NewBinaryCollisionModel.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), and Foam::nl.

Here is the call graph for this function:

const CloudType & owner (  )  const [inline]

Return the owner cloud object.

Definition at line 47 of file BinaryCollisionModel.C.

CloudType & owner (  )  [inline]

Return non-const access to the owner cloud object.

Definition at line 55 of file BinaryCollisionModel.C.

const Foam::dictionary & dict (  )  const [inline]

Return the dictionary.

Definition at line 63 of file BinaryCollisionModel.C.

const Foam::dictionary & coeffDict (  )  const [inline]

Return the coefficients dictionary.

Definition at line 71 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:
Copyright © 2000-2009 OpenCFD Ltd