Public Member Functions | Static Public Member Functions | Protected Attributes
PackingModel Class Referenceabstract

Base class for packing models. More...

Inheritance diagram for PackingModel:
Inheritance graph
[legend]
Collaboration diagram for PackingModel:
Collaboration graph
[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

Base class for packing models.

Source files

Definition at line 53 of file MPPICCloud.H.

Constructor & Destructor Documentation

◆ PackingModel() [1/3]

PackingModel ( CloudType owner)

Construct null from owner.

Definition at line 34 of file PackingModel.C.

◆ PackingModel() [2/3]

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

Construct from components.

Definition at line 43 of file PackingModel.C.

◆ PackingModel() [3/3]

PackingModel ( const PackingModel< CloudType > &  cm)

Construct copy.

Definition at line 61 of file PackingModel.C.

◆ ~PackingModel()

~PackingModel ( )
virtual

Destructor.

Definition at line 71 of file PackingModel.C.

Member Function Documentation

◆ TypeName()

TypeName ( "packingModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
PackingModel  ,
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.

◆ New()

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

Selector.

Definition at line 80 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 >.

Field Documentation

◆ particleStressModel_

autoPtr<ParticleStressModel> particleStressModel_
protected

Protected data.

Particle stress model

Definition at line 71 of file PackingModel.H.


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