Relaxation< CloudType > Class Template Reference

Relaxation collisional damping model. More...

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

Public Member Functions

 TypeName ("relaxation")
 Runtime type information. More...
 Relaxation (const dictionary &dict, CloudType &owner)
 Construct from components. More...
 Relaxation (const Relaxation< CloudType > &cm)
 Construct copy. More...
virtual autoPtr< DampingModel< CloudType > > clone () const
 Construct and return a clone. More...
virtual ~Relaxation ()
 Destructor. More...
virtual void cacheFields (const bool store)
 Member Functions. More...
virtual vector velocityCorrection (typename CloudType::parcelType &p, const scalar deltaT) const
 Calculate the velocity correction. More...
- Public Member Functions inherited from DampingModel< CloudType >
 TypeName ("dampingModel")
 Runtime type information. More...
 declareRunTimeSelectionTable (autoPtr, DampingModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table. More...
 DampingModel (CloudType &owner)
 Construct null from owner. More...
 DampingModel (const dictionary &dict, CloudType &owner, const word &type)
 Construct from components. More...
 DampingModel (const DampingModel< CloudType > &cm)
 Construct copy. More...
virtual ~DampingModel ()
 Destructor. More...

Additional Inherited Members

- Static Public Member Functions inherited from DampingModel< CloudType >
static autoPtr< DampingModel< CloudType > > New (const dictionary &dict, CloudType &owner)
 Selector. More...
- Protected Attributes inherited from DampingModel< CloudType >
autoPtr< TimeScaleModeltimeScaleModel_
 Time scale model. More...

Detailed Description

template<class CloudType>
class Foam::DampingModels::Relaxation< CloudType >

Relaxation collisional damping model.

Particle velocities are relaxed towards the local mean over a time-scale.


    "An improved collision damping time for MP-PIC calculations of dense
    particle flows with applications to polydisperse sedimenting beds and
    colliding particle jets"
    P O'Rourke and D Snider
    Chemical Engineering Science
    Volume 65, Issue 22, Pages 6014-6028, November 2010
Source files

Definition at line 68 of file Relaxation.H.

Constructor & Destructor Documentation

◆ Relaxation() [1/2]

Relaxation ( const dictionary dict,
CloudType owner 

Construct from components.

Definition at line 34 of file Relaxation.C.

◆ Relaxation() [2/2]

Relaxation ( const Relaxation< CloudType > &  cm)

Construct copy.

Definition at line 47 of file Relaxation.C.

◆ ~Relaxation()

~Relaxation ( )


Definition at line 61 of file Relaxation.C.

Member Function Documentation

◆ TypeName()

TypeName ( "relaxation"  )

Runtime type information.

◆ clone()

virtual autoPtr<DampingModel<CloudType> > clone ( ) const

Construct and return a clone.

Implements DampingModel< CloudType >.

Definition at line 97 of file Relaxation.H.

◆ cacheFields()

void cacheFields ( const bool  store)

Member Functions.

Calculate the damping time scales

Definition at line 68 of file Relaxation.C.

References cloudName(), dict, mesh, DSMCCloud< ParcelType >::mesh(), and timeName.

Here is the call graph for this function:

◆ velocityCorrection()

Foam::vector velocityCorrection ( typename CloudType::parcelType p,
const scalar  deltaT 
) const

Calculate the velocity correction.

Implements DampingModel< CloudType >.

Definition at line 139 of file Relaxation.C.

References p, and x.

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