Public Member Functions | List of all members
NoBinaryCollision< CloudType > Class Template Reference

No collison BinaryCollision Model. More...

Inheritance diagram for NoBinaryCollision< CloudType >:
Inheritance graph
[legend]
Collaboration diagram for NoBinaryCollision< CloudType >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("none")
 Runtime type information. More...
 
 NoBinaryCollision (const dictionary &dict, CloudType &cloud)
 Construct from dictionary. More...
 
virtual ~NoBinaryCollision ()
 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...
 
- Public Member Functions inherited from BinaryCollisionModel< CloudType >
 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 CloudTypeowner () const
 Return the owner cloud object. More...
 
CloudTypeowner ()
 Return non-const access to the owner cloud object. More...
 
const dictionarydict () const
 Return the dictionary. More...
 
const dictionarycoeffDict () const
 Return the coefficients dictionary. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryCollisionModel< CloudType >
static autoPtr< BinaryCollisionModel< CloudType > > New (const dictionary &dict, CloudType &owner)
 Selector. More...
 

Detailed Description

template<class CloudType>
class Foam::NoBinaryCollision< CloudType >

No collison BinaryCollision Model.

Definition at line 45 of file NoBinaryCollision.H.

Constructor & Destructor Documentation

NoBinaryCollision ( const dictionary dict,
CloudType cloud 
)

Construct from dictionary.

Definition at line 35 of file NoBinaryCollision.C.

~NoBinaryCollision ( )
virtual

Destructor.

Definition at line 47 of file NoBinaryCollision.C.

Member Function Documentation

TypeName ( "none"  )

Runtime type information.

bool active ( ) const
virtual

Flag to indicate whether model activates collision model.

Implements BinaryCollisionModel< CloudType >.

Definition at line 54 of file NoBinaryCollision.C.

References NoBinaryCollision< CloudType >::sigmaTcR().

Here is the call graph for this function:

Foam::scalar sigmaTcR ( const typename CloudType::parcelType pP,
const typename CloudType::parcelType pQ 
) const
virtual

Return the collision cross section * relative velocity product.

Implements BinaryCollisionModel< CloudType >.

Definition at line 62 of file NoBinaryCollision.C.

References Foam::abort(), NoBinaryCollision< CloudType >::collide(), Foam::FatalError, FatalErrorIn, and Foam::nl.

Referenced by NoBinaryCollision< CloudType >::active().

Here is the call graph for this function:

Here is the caller graph for this function:

void collide ( typename CloudType::parcelType pP,
typename CloudType::parcelType pQ 
)
virtual

Apply collision.

Implements BinaryCollisionModel< CloudType >.

Definition at line 87 of file NoBinaryCollision.C.

Referenced by NoBinaryCollision< CloudType >::sigmaTcR().

Here is the caller graph for this function:


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