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

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

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

Public Member Functions

 TypeName ("implicit")
 Runtime type information. More...
 
 Implicit (const dictionary &dict, CloudType &owner)
 Construct from components. More...
 
 Implicit (const Implicit< CloudType > &cm)
 Construct copy. More...
 
virtual autoPtr< PackingModel< CloudType > > clone () const
 Construct and return a clone. More...
 
virtual ~Implicit ()
 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

volScalarField alpha_
 Private data. More...
 
tmp< surfaceScalarFieldphiCorrect_
 Correction flux. More...
 
tmp< volVectorFielduCorrect_
 Correction cell-centred velocity. More...
 
Switch applyGravity_
 Flag to indicate whether gravity is applied. More...
 
scalar alphaMin_
 Minimum stable volume fraction. More...
 
scalar rhoMin_
 Minimum stable density. 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::Implicit< CloudType >

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

The time evolution of particulate volume fraction is solved for implicitly on the eulerian mesh. The computed flux is then applied to the lagrangian field. The gravity force can optionally be applied to the particles as part of this model, using the keyword "applyGravity".

Source files

Definition at line 56 of file Implicit.H.

Constructor & Destructor Documentation

◆ Implicit() [1/2]

Implicit ( const dictionary dict,
CloudType owner 
)

Construct from components.

Definition at line 38 of file Implicit.C.

◆ Implicit() [2/2]

Implicit ( const Implicit< CloudType > &  cm)

Construct copy.

Definition at line 61 of file Implicit.C.

◆ ~Implicit()

~Implicit
virtual

Destructor.

Definition at line 80 of file Implicit.C.

Member Function Documentation

◆ TypeName()

TypeName ( "implicit"  )

Runtime type information.

◆ clone()

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

Construct and return a clone.

Definition at line 97 of file Implicit.H.

◆ cacheFields()

void cacheFields ( const bool  store)
virtual

◆ velocityCorrection()

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

Calculate the velocity correction.

Implements PackingModel< CloudType >.

Definition at line 249 of file Implicit.C.

References tetrahedron::barycentric(), Foam::mag(), mesh, DSMCCloud< ParcelType >::mesh(), p, phi, tetIndices::tet(), and U.

Here is the call graph for this function:

Field Documentation

◆ alpha_

volScalarField alpha_
private

Private data.

Volume fraction field

Definition at line 65 of file Implicit.H.

◆ phiCorrect_

tmp<surfaceScalarField> phiCorrect_
private

Correction flux.

Definition at line 68 of file Implicit.H.

◆ uCorrect_

tmp<volVectorField> uCorrect_
private

Correction cell-centred velocity.

Definition at line 71 of file Implicit.H.

◆ applyGravity_

Switch applyGravity_
private

Flag to indicate whether gravity is applied.

Definition at line 74 of file Implicit.H.

◆ alphaMin_

scalar alphaMin_
private

Minimum stable volume fraction.

Definition at line 77 of file Implicit.H.

◆ rhoMin_

scalar rhoMin_
private

Minimum stable density.

Definition at line 80 of file Implicit.H.


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