All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SRFForce< CloudType > Class Template Reference

Calculates particle SRF reference frame force. More...

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

Public Member Functions

 TypeName ("SRF")
 Runtime type information. More...
 
 SRFForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict)
 Construct from mesh. More...
 
 SRFForce (const SRFForce &srff)
 Construct copy. More...
 
virtual autoPtr< ParticleForce< CloudType > > clone () const
 Construct and return a clone. More...
 
virtual ~SRFForce ()
 Destructor. More...
 
virtual void cacheFields (const bool store)
 Cache fields. 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...
 
- 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 ~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 scalar massAdd (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const
 Return the added mass. 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::SRFForce< CloudType >

Calculates particle SRF reference frame force.

Source files

Definition at line 52 of file SRFForce.H.

Constructor & Destructor Documentation

◆ SRFForce() [1/2]

SRFForce ( CloudType owner,
const fvMesh mesh,
const dictionary dict 
)

Construct from mesh.

Definition at line 32 of file SRFForce.C.

◆ SRFForce() [2/2]

SRFForce ( const SRFForce< CloudType > &  srff)

Construct copy.

Definition at line 45 of file SRFForce.C.

◆ ~SRFForce()

~SRFForce ( )
virtual

Destructor.

Definition at line 57 of file SRFForce.C.

Referenced by SRFForce< CloudType >::clone().

Here is the caller graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "SRF"  )

Runtime type information.

◆ clone()

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

Construct and return a clone.

Reimplemented from ParticleForce< CloudType >.

Definition at line 82 of file SRFForce.H.

References SRFForce< CloudType >::cacheFields(), SRFForce< CloudType >::calcNonCoupled(), p, Foam::Re(), and SRFForce< CloudType >::~SRFForce().

Here is the call graph for this function:

◆ cacheFields()

void cacheFields ( const bool  store)
virtual

Cache fields.

Reimplemented from ParticleForce< CloudType >.

Definition at line 64 of file SRFForce.C.

References SRFForce< CloudType >::calcNonCoupled(), and mesh.

Referenced by SRFForce< CloudType >::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calcNonCoupled()

Foam::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
virtual

Calculate the non-coupled force.

Reimplemented from ParticleForce< CloudType >.

Definition at line 81 of file SRFForce.C.

References SRFModel::omega(), forceSuSp::Su(), dimensioned< Type >::value(), and Foam::Zero.

Referenced by SRFForce< CloudType >::cacheFields(), and SRFForce< CloudType >::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

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