Public Member Functions | List of all members
WenYuDragForce< CloudType > Class Template Reference

Wen-Yu drag model for solid spheres. More...

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

Public Member Functions

 TypeName ("WenYuDrag")
 Runtime type information. More...
 
 WenYuDragForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict)
 Construct from mesh. More...
 
 WenYuDragForce (const WenYuDragForce< CloudType > &df)
 Construct copy. More...
 
virtual autoPtr< ParticleForce< CloudType > > clone () const
 Construct and return a clone. More...
 
virtual ~WenYuDragForce ()
 Destructor. 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...
 
- 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 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...
 
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::WenYuDragForce< CloudType >

Wen-Yu drag model for solid spheres.

Definition at line 47 of file WenYuDragForce.H.

Constructor & Destructor Documentation

◆ WenYuDragForce() [1/2]

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

Construct from mesh.

Definition at line 49 of file WenYuDragForce.C.

◆ WenYuDragForce() [2/2]

Construct copy.

Definition at line 68 of file WenYuDragForce.C.

◆ ~WenYuDragForce()

~WenYuDragForce ( )
virtual

Destructor.

Definition at line 86 of file WenYuDragForce.C.

References WenYuDragForce< CloudType >::calcCoupled().

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

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

Member Function Documentation

◆ TypeName()

TypeName ( "WenYuDrag"  )

Runtime type information.

◆ clone()

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

Construct and return a clone.

Reimplemented from ParticleForce< CloudType >.

Definition at line 83 of file WenYuDragForce.H.

References WenYuDragForce< CloudType >::calcCoupled(), p, and WenYuDragForce< CloudType >::~WenYuDragForce().

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

Calculate the coupled force.

Reimplemented from ParticleForce< CloudType >.

Definition at line 94 of file WenYuDragForce.C.

References Foam::pow(), Foam::sqr(), and Foam::Zero.

Referenced by WenYuDragForce< CloudType >::clone(), and WenYuDragForce< CloudType >::~WenYuDragForce().

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: