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

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...

#include <dsmc/LarsenBorgnakkeVariableHardSphere.H>


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.

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

List of all members.

Public Member Functions

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

LarsenBorgnakkeVariableHardSphere ( const dictionary &   dict,
CloudType &   cloud  
)

Construct from dictionary.

Definition at line 93 of file LarsenBorgnakkeVariableHardSphere.C.

Definition at line 111 of file LarsenBorgnakkeVariableHardSphere.C.


Member Function Documentation

TypeName ( "LarsenBorgnakkeVariableHardSphere< 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 120 of file LarsenBorgnakkeVariableHardSphere.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: