Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
LiftForce< CloudType > Class Template Reference

Base class for particle lift force models. More...

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

Public Member Functions

 LiftForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType)
 
 LiftForce (const LiftForce &lf)
 
virtual autoPtr< ParticleForce< CloudType > > clone () const
 
virtual ~LiftForce ()
 
const interpolation< vector > & curlUcInterp () const
 
virtual void cacheFields (const bool store)
 
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
 
- Public Member Functions inherited from ParticleForce< CloudType >
 TypeName ("particleForce")
 
 declareRunTimeSelectionTable (autoPtr, ParticleForce, dictionary,(CloudType &owner, const fvMesh &mesh, const dictionary &dict),(owner, mesh, dict))
 
 ParticleForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType, const bool readCoeffs)
 
 ParticleForce (const ParticleForce &pf)
 
virtual ~ParticleForce ()
 
const CloudTypeowner () const
 
CloudTypeowner ()
 
const fvMeshmesh () const
 
const dictionarycoeffs () const
 
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
 
virtual scalar massAdd (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const
 

Protected Member Functions

virtual scalar Cl (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const vector &curlUc, const scalar Re, const scalar muc) const
 

Protected Attributes

const word UName_
 
autoPtr< interpolation< vector > > curlUcInterpPtr_
 

Additional Inherited Members

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

Detailed Description

template<class CloudType>
class Foam::LiftForce< CloudType >

Base class for particle lift force models.

Source files

Definition at line 53 of file LiftForce.H.

Constructor & Destructor Documentation

◆ LiftForce() [1/2]

LiftForce ( CloudType owner,
const fvMesh mesh,
const dictionary dict,
const word forceType 
)

Definition at line 46 of file LiftForce.C.

◆ LiftForce() [2/2]

LiftForce ( const LiftForce< CloudType > &  lf)

Definition at line 60 of file LiftForce.C.

◆ ~LiftForce()

~LiftForce
virtual

Definition at line 71 of file LiftForce.C.

Member Function Documentation

◆ Cl()

virtual scalar Cl ( const typename CloudType::parcelType p,
const typename CloudType::parcelType::trackingData &  td,
const vector curlUc,
const scalar  Re,
const scalar  muc 
) const
protectedvirtual

◆ clone()

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

Reimplemented from ParticleForce< CloudType >.

Reimplemented in TomiyamaLiftForce< CloudType >, and SaffmanMeiLiftForce< CloudType >.

Definition at line 98 of file LiftForce.H.

◆ curlUcInterp()

const Foam::interpolation< Foam::vector > & curlUcInterp
inline

Definition at line 26 of file LiftForceI.H.

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

Here is the call graph for this function:

◆ cacheFields()

void cacheFields ( const bool  store)
virtual

Reimplemented from ParticleForce< CloudType >.

Definition at line 78 of file LiftForce.C.

References Foam::fvc::curl(), and mesh.

Here is the call graph for this function:

◆ calcCoupled()

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

Reimplemented from ParticleForce< CloudType >.

Definition at line 126 of file LiftForce.C.

References p, Foam::Re(), forceSuSp::Su(), and Foam::Zero.

Here is the call graph for this function:

Member Data Documentation

◆ UName_

const word UName_
protected

Definition at line 62 of file LiftForce.H.

◆ curlUcInterpPtr_

autoPtr<interpolation<vector> > curlUcInterpPtr_
protected

Definition at line 65 of file LiftForce.H.


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