Public Member Functions | Private Member Functions | Private Attributes
LarsenBorgnakkeVariableHardSphere< CloudType > Class Template Reference

Variable Hard Sphere BinaryCollision Model with Larsen Borgnakke internal energy redistribution. Based on the INELRS subroutine in Bird's DSMC0R.FOR. More...

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

Public Member Functions

 TypeName ("LarsenBorgnakkeVariableHardSphere")
 Runtime type information. More...
 
 LarsenBorgnakkeVariableHardSphere (const dictionary &dict, CloudType &cloud)
 Construct from dictionary. More...
 
virtual ~LarsenBorgnakkeVariableHardSphere ()
 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...
 
virtual bool active () const=0
 Flag to indicate whether model activates collision model. More...
 

Private Member Functions

scalar energyRatio (scalar ChiA, scalar ChiB)
 Calculate the energy ratio for distribution to internal degrees of. More...
 

Private Attributes

const scalar Tref_
 Reference temperature. More...
 
const scalar relaxationCollisionNumber_
 Relaxation collision number. 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::LarsenBorgnakkeVariableHardSphere< CloudType >

Variable Hard Sphere BinaryCollision Model with Larsen Borgnakke internal energy redistribution. Based on the INELRS subroutine in Bird's DSMC0R.FOR.

Definition at line 46 of file LarsenBorgnakkeVariableHardSphere.H.

Constructor & Destructor Documentation

◆ LarsenBorgnakkeVariableHardSphere()

LarsenBorgnakkeVariableHardSphere ( const dictionary dict,
CloudType cloud 
)

Construct from dictionary.

Definition at line 95 of file LarsenBorgnakkeVariableHardSphere.C.

◆ ~LarsenBorgnakkeVariableHardSphere()

Destructor.

Definition at line 113 of file LarsenBorgnakkeVariableHardSphere.C.

Member Function Documentation

◆ energyRatio()

Foam::scalar energyRatio ( scalar  ChiA,
scalar  ChiB 
)
private

Calculate the energy ratio for distribution to internal degrees of.

freedom

Definition at line 35 of file LarsenBorgnakkeVariableHardSphere.C.

References Foam::pow(), and rndGen().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "LarsenBorgnakkeVariableHardSphere< CloudType >"  )

Runtime type information.

◆ active()

bool active
virtual

Flag to indicate whether model activates collision model.

Definition at line 120 of file LarsenBorgnakkeVariableHardSphere.C.

◆ sigmaTcR()

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 128 of file LarsenBorgnakkeVariableHardSphere.C.

References Foam::exp(), Foam::constant::physicoChemical::k, Foam::lgamma(), Foam::mag(), Foam::constant::mathematical::pi(), and Foam::pow().

Here is the call graph for this function:

◆ collide()

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

Apply collision.

Implements BinaryCollisionModel< CloudType >.

Definition at line 175 of file LarsenBorgnakkeVariableHardSphere.C.

References Foam::cos(), Foam::magSqr(), phi, Foam::pow(), rndGen(), Foam::sin(), Foam::sqrt(), and Foam::constant::mathematical::twoPi().

Here is the call graph for this function:

Field Documentation

◆ Tref_

const scalar Tref_
private

Reference temperature.

Definition at line 53 of file LarsenBorgnakkeVariableHardSphere.H.

◆ relaxationCollisionNumber_

const scalar relaxationCollisionNumber_
private

Relaxation collision number.

Definition at line 56 of file LarsenBorgnakkeVariableHardSphere.H.


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