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

Explicit model for applying an inter-particle stress to the particles. More...

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

Public Member Functions

 TypeName ("explicit")
 Runtime type information. More...
 
 Explicit (const dictionary &dict, CloudType &owner)
 Construct from components. More...
 
 Explicit (const Explicit< CloudType > &cm)
 Construct copy. More...
 
virtual autoPtr< PackingModel< CloudType > > clone () const
 Construct and return a clone. More...
 
virtual ~Explicit ()
 Destructor. More...
 
virtual void cacheFields (const bool store)
 Calculate the inter particles stresses. More...
 
virtual vector velocityCorrection (typename CloudType::parcelType &p, const scalar deltaT) const
 Calculate the velocity correction. More...
 
- Public Member Functions inherited from PackingModel< CloudType >
 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...
 

Private Attributes

const AveragingMethod< scalar > * volumeAverage_
 Private data. More...
 
const AveragingMethod< vector > * uAverage_
 Velocity average. More...
 
autoPtr< AveragingMethod< scalar > > stressAverage_
 Stress average field. More...
 
autoPtr< CorrectionLimitingMethodcorrectionLimiting_
 Correction limiter. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from PackingModel< CloudType >
static autoPtr< PackingModel< CloudType > > New (const dictionary &dict, CloudType &owner)
 Selector. More...
 
- Protected Attributes inherited from PackingModel< CloudType >
autoPtr< ParticleStressModelparticleStressModel_
 Protected data. More...
 

Detailed Description

template<class CloudType>
class Foam::PackingModels::Explicit< CloudType >

Explicit model for applying an inter-particle stress to the particles.

The inter-particle stress is calculated using current particle locations. This force is then applied only to the particles that are moving towards regions of close pack. The resulting velocity change is limited using an abtracted correction velocity limiter.

Reference:

    "An Incompressible Three-Dimensional Multiphase Particle-in-Cell Model
    for Dense Particle Flows"
    D Snider
    Journal of Computational Physics
    Volume 170, Issue 2, Pages 523-549, July 2001
Source files

Definition at line 65 of file Explicit.H.

Constructor & Destructor Documentation

◆ Explicit() [1/2]

Explicit ( const dictionary dict,
CloudType owner 
)

Construct from components.

Definition at line 32 of file Explicit.C.

◆ Explicit() [2/2]

Explicit ( const Explicit< CloudType > &  cm)

Construct copy.

Definition at line 51 of file Explicit.C.

◆ ~Explicit()

~Explicit
virtual

Destructor.

Definition at line 67 of file Explicit.C.

Member Function Documentation

◆ TypeName()

TypeName ( "explicit"  )

Runtime type information.

◆ clone()

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

Construct and return a clone.

Definition at line 100 of file Explicit.H.

◆ cacheFields()

void cacheFields ( const bool  store)
virtual

Calculate the inter particles stresses.

Definition at line 74 of file Explicit.C.

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

Here is the call graph for this function:

◆ velocityCorrection()

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

Calculate the velocity correction.

Implements PackingModel< CloudType >.

Definition at line 141 of file Explicit.C.

References Foam::constant::atomic::alpha, mesh, DSMCCloud< ParcelType >::mesh(), and p.

Here is the call graph for this function:

Field Documentation

◆ volumeAverage_

const AveragingMethod<scalar>* volumeAverage_
private

Private data.

Volume fraction average

Definition at line 74 of file Explicit.H.

◆ uAverage_

const AveragingMethod<vector>* uAverage_
private

Velocity average.

Definition at line 77 of file Explicit.H.

◆ stressAverage_

autoPtr<AveragingMethod<scalar> > stressAverage_
private

Stress average field.

Definition at line 80 of file Explicit.H.

◆ correctionLimiting_

autoPtr<CorrectionLimitingMethod> correctionLimiting_
private

Correction limiter.

Definition at line 83 of file Explicit.H.


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