SphereDragForce< CloudType > Class Template Reference

Drag model for spheres. More...

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

Public Member Functions

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

Static Public Member Functions

static scalar CdRe (const scalar Re)
 Drag coefficient multiplied by Reynolds number. 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...
 

Additional Inherited Members

- Public Types inherited from ParticleForce< CloudType >
typedef VectorSpace< Vector< vector >, vector, 2 > returnType
 Convenience typedef for return type. More...
 

Detailed Description

template<class CloudType>
class Foam::SphereDragForce< CloudType >

Drag model for spheres.

Reference:

    Amsden, A. A., Butler, T. D., & O'Rourke, P. J. (1987).
    The KIVA-II computer program for transient multidimensional chemically
    reactive flows with sprays
    SAE Technical Paper.

Definition at line 54 of file SphereDragForce.H.

Constructor & Destructor Documentation

◆ SphereDragForce() [1/2]

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

Construct from mesh.

Definition at line 48 of file SphereDragForce.C.

Referenced by SphereDragForce< CloudType >::CdRe().

Here is the caller graph for this function:

◆ SphereDragForce() [2/2]

Construct copy.

Definition at line 60 of file SphereDragForce.C.

◆ ~SphereDragForce()

~SphereDragForce ( )
virtual

Destructor.

Definition at line 71 of file SphereDragForce.C.

References SphereDragForce< CloudType >::calcCoupled().

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

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

Member Function Documentation

◆ CdRe()

Foam::scalar CdRe ( const scalar  Re)
static

Drag coefficient multiplied by Reynolds number.

Definition at line 31 of file SphereDragForce.C.

References Foam::pow(), Foam::Re(), and SphereDragForce< CloudType >::SphereDragForce().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "sphereDrag"  )

Runtime type information.

◆ clone()

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

Construct and return a clone.

Reimplemented from ParticleForce< CloudType >.

Definition at line 84 of file SphereDragForce.H.

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

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 79 of file SphereDragForce.C.

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

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

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: