FreeFOAM The Cross-Platform CFD Toolkit
SphereDrag< CloudType > Class Template Reference

Drag model based on assumption of solid spheres. More...

#include <lagrangianIntermediate/SphereDrag.H>


Detailed Description

template<class CloudType>
class Foam::SphereDrag< CloudType >

Drag model based on assumption of solid spheres.

Definition at line 46 of file SphereDrag.H.

+ Inheritance diagram for SphereDrag< CloudType >:
+ Collaboration diagram for SphereDrag< CloudType >:

List of all members.

Public Member Functions

 TypeName ("SphereDrag")
 Runtime type information.
 SphereDrag (const dictionary &dict, CloudType &owner)
 Construct from dictionary.
virtual ~SphereDrag ()
 Destructor.
bool active () const
 Flag to indicate whether model activates drag model.
scalar Cd (const scalar Re) const
 Return drag coefficient.
- Public Member Functions inherited from DragModel< CloudType >
 TypeName ("DragModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, DragModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table.
 DragModel (const dictionary &dict, CloudType &owner)
 Construct from components.
virtual ~DragModel ()
 Destructor.
const CloudType & owner () const
 Return the owner cloud object.
const dictionarydict () const
 Return the dictionary.
scalar utc (const scalar Re, const scalar d, const scalar mu) const
 Return momentum transfer coefficient.

Additional Inherited Members

- Static Public Member Functions inherited from DragModel< CloudType >
static autoPtr< DragModel
< CloudType > > 
New (const dictionary &dict, CloudType &cloud)
 Selector.

Constructor & Destructor Documentation

SphereDrag ( const dictionary dict,
CloudType &  owner 
)

Construct from dictionary.

Definition at line 32 of file SphereDrag.C.

~SphereDrag ( )
virtual

Destructor.

Definition at line 44 of file SphereDrag.C.


Member Function Documentation

TypeName ( "SphereDrag< CloudType >"  )

Runtime type information.

bool active ( ) const
virtual

Flag to indicate whether model activates drag model.

Implements DragModel< CloudType >.

Definition at line 51 of file SphereDrag.C.

Foam::scalar Cd ( const scalar  Re) const
virtual

Return drag coefficient.

Implements DragModel< CloudType >.

Definition at line 58 of file SphereDrag.C.

References Foam::pow().


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