DenseDragForce< CloudType > Class Template Reference
Inheritance diagram for DenseDragForce< CloudType >:
Collaboration diagram for DenseDragForce< CloudType >:

Public Member Functions

 DenseDragForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &typeName)
 Construct from mesh. More...
 
 DenseDragForce (const DenseDragForce< CloudType > &df)
 Construct copy. More...
 
virtual ~DenseDragForce ()
 Destructor. More...
 
const interpolation< scalar > & alphacInterp () const
 Return the volume fraction interpolation. More...
 
virtual void cacheFields (const bool store)
 Cache fields. More...
 
- Public Member Functions inherited from ParticleForce< CloudType >
 TypeName ("particleForce")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, ParticleForce, dictionary,(CloudType &owner, const fvMesh &mesh, const dictionary &dict),(owner, mesh, dict))
 Declare runtime constructor selection table. More...
 
 ParticleForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType, const bool readCoeffs)
 Construct from mesh. More...
 
 ParticleForce (const ParticleForce &pf)
 Construct copy. More...
 
virtual autoPtr< ParticleForce< CloudType > > clone () const
 Construct and return a clone. More...
 
virtual ~ParticleForce ()
 Destructor. More...
 
const CloudTypeowner () const
 Return const access to the cloud owner. More...
 
CloudTypeowner ()
 Return references to the cloud owner. More...
 
const fvMeshmesh () const
 Return the mesh database. More...
 
const dictionarycoeffs () const
 Return the force coefficients dictionary. More...
 
virtual forceSuSp calcCoupled (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar dt, const scalar mass, const scalar Re, const scalar muc) const
 Calculate the coupled force. More...
 
virtual forceSuSp calcNonCoupled (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar dt, const scalar mass, const scalar Re, const scalar muc) const
 Calculate the non-coupled force. More...
 
virtual scalar massAdd (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const
 Return the added mass. More...
 

Protected Attributes

const word alphacName_
 Name of the carrier volume fraction field. More...
 
autoPtr< volScalarFieldalphacPtr_
 The carrier volume fraction field. More...
 
autoPtr< interpolation< scalar > > alphacInterpPtr_
 Interpolation for the carrier volume fraction field. More...
 

Additional Inherited Members

- Public Types inherited from ParticleForce< CloudType >
typedef VectorSpace< Vector< vector >, vector, 2 > returnType
 Convenience typedef for return type. More...
 
- Static Public Member Functions inherited from ParticleForce< CloudType >
static autoPtr< ParticleForce< CloudType > > New (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType)
 Selector. More...
 

Detailed Description

template<class CloudType>
class Foam::DenseDragForce< CloudType >

Definition at line 44 of file DenseDragForce.H.

Constructor & Destructor Documentation

◆ DenseDragForce() [1/2]

DenseDragForce ( CloudType owner,
const fvMesh mesh,
const dictionary dict,
const word typeName 
)

Construct from mesh.

Definition at line 34 of file DenseDragForce.C.

◆ DenseDragForce() [2/2]

Construct copy.

Definition at line 50 of file DenseDragForce.C.

◆ ~DenseDragForce()

~DenseDragForce ( )
virtual

Destructor.

Definition at line 64 of file DenseDragForce.C.

Member Function Documentation

◆ alphacInterp()

const Foam::interpolation< Foam::scalar > & alphacInterp ( ) const

Return the volume fraction interpolation.

Definition at line 72 of file DenseDragForce.C.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ cacheFields()

void cacheFields ( const bool  store)
virtual

Cache fields.

Reimplemented from ParticleForce< CloudType >.

Definition at line 86 of file DenseDragForce.C.

References mesh.

Member Data Documentation

◆ alphacName_

const word alphacName_
protected

Name of the carrier volume fraction field.

Definition at line 53 of file DenseDragForce.H.

◆ alphacPtr_

autoPtr<volScalarField> alphacPtr_
protected

The carrier volume fraction field.

Definition at line 56 of file DenseDragForce.H.

◆ alphacInterpPtr_

autoPtr<interpolation<scalar> > alphacInterpPtr_
protected

Interpolation for the carrier volume fraction field.

Definition at line 59 of file DenseDragForce.H.


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