Explicit< CloudType > Class Template Reference

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

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

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 ~PackingModel ()
 Destructor. 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.


    "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 70 of file Explicit.H.

Constructor & Destructor Documentation

◆ Explicit() [1/2]

Explicit ( const dictionary dict,
CloudType owner 

Construct from components.

Definition at line 35 of file Explicit.C.

◆ Explicit() [2/2]

Explicit ( const Explicit< CloudType > &  cm)

Construct copy.

Definition at line 54 of file Explicit.C.

◆ ~Explicit()

~Explicit ( )


Definition at line 70 of file Explicit.C.

Member Function Documentation

◆ TypeName()

TypeName ( "explicit"  )

Runtime type information.

◆ clone()

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

Construct and return a clone.

Implements PackingModel< CloudType >.

Definition at line 105 of file Explicit.H.

◆ cacheFields()

void cacheFields ( const bool  store)

Calculate the inter particles stresses.

Definition at line 77 of file Explicit.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 PackingModel< CloudType >.

Definition at line 144 of file Explicit.C.

References Foam::constant::atomic::alpha, p, and Foam::Zero.

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