PackingModel< CloudType > Class Template Referenceabstract

Base class for packing models. More...

Inheritance diagram for PackingModel< CloudType >:
[legend]
Collaboration diagram for PackingModel< CloudType >:
[legend]

Public Member Functions

 TypeName ("packingModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, PackingModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table. More...
 
 PackingModel (CloudType &owner)
 Construct null from owner. More...
 
 PackingModel (const dictionary &dict, CloudType &owner, const word &type)
 Construct from components. More...
 
 PackingModel (const PackingModel< CloudType > &cm)
 Construct copy. More...
 
virtual autoPtr< PackingModel< CloudType > > clone () const =0
 Construct and return a clone. More...
 
virtual ~PackingModel ()
 Destructor. More...
 
virtual vector velocityCorrection (typename CloudType::parcelType &p, const scalar deltaT) const =0
 Calculate the velocity correction. More...
 

Static Public Member Functions

static autoPtr< PackingModel< CloudType > > New (const dictionary &dict, CloudType &owner)
 Selector. More...
 

Protected Attributes

autoPtr< ParticleStressModelparticleStressModel_
 Protected data. More...
 

Detailed Description

template<class CloudType>
class Foam::PackingModel< CloudType >

Base class for packing models.

Source files

Definition at line 98 of file KinematicCloud.H.

Constructor & Destructor Documentation

◆ PackingModel() [1/3]

PackingModel ( CloudType owner)

Construct null from owner.

Definition at line 37 of file PackingModel.C.

◆ PackingModel() [2/3]

PackingModel ( const dictionary dict,
CloudType owner,
const word type 
)

Construct from components.

Definition at line 46 of file PackingModel.C.

◆ PackingModel() [3/3]

PackingModel ( const PackingModel< CloudType > &  cm)

Construct copy.

Definition at line 64 of file PackingModel.C.

◆ ~PackingModel()

~PackingModel ( )
virtual

Destructor.

Definition at line 74 of file PackingModel.C.

Member Function Documentation

◆ TypeName()

TypeName ( "packingModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
PackingModel< CloudType ,
dictionary  ,
(const dictionary &dict, CloudType &owner)  ,
(dict, owner)   
)

Declare runtime constructor selection table.

◆ clone()

virtual autoPtr<PackingModel<CloudType> > clone ( ) const
pure virtual

Construct and return a clone.

Implemented in Explicit< CloudType >, Implicit< CloudType >, and NoPacking< CloudType >.

◆ New()

Foam::autoPtr< Foam::PackingModel< CloudType > > New ( const dictionary dict,
CloudType owner 
)
static

Selector.

Definition at line 83 of file PackingModel.C.

◆ velocityCorrection()

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

Calculate the velocity correction.

Implemented in Explicit< CloudType >, Implicit< CloudType >, and NoPacking< CloudType >.

Member Data Documentation

◆ particleStressModel_

autoPtr<ParticleStressModel> particleStressModel_
protected

Protected data.

Particle stress model

Definition at line 77 of file PackingModel.H.


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