FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

DragModel< CloudType > Class Template Reference

Templated drag model class. More...

#include <lagrangianIntermediate/DragModel.H>


Detailed Description

template<class CloudType>
class Foam::DragModel< CloudType >

Templated drag model class.

Source files

Definition at line 53 of file DragModel.H.

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

List of all members.

Public Member Functions

 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 dictionary &  dict () const
 Return the dictionary.
virtual bool  active () const =0
 Flag to indicate whether model activates drag model.
virtual scalar  Cd (const scalar Re) const =0
 Return drag coefficient.
scalar  utc (const scalar Re, const scalar d, const scalar mu) const
 Return momentum transfer coefficient.

Static Public Member Functions

static autoPtr< DragModel
< CloudType > >  
New (const dictionary &dict, CloudType &cloud)
 Selector.

Constructor & Destructor Documentation

DragModel ( const dictionary &   dict,
CloudType &   owner  
)

Construct from components.

Definition at line 32 of file DragModel.C.

~DragModel (  ) [virtual]

Destructor.

Definition at line 45 of file DragModel.C.


Member Function Documentation

TypeName ( "DragModel< CloudType >"    )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr   ,
DragModel< CloudType >   ,
dictionary   ,
(const dictionary &dict, CloudType &owner)   ,
(dict, owner)    
)

Declare runtime constructor selection table.

Foam::autoPtr< Foam::DragModel< CloudType > > New ( const dictionary &   dict,
CloudType &   cloud  
) [static]
const CloudType & owner (  ) const

Return the owner cloud object.

Definition at line 52 of file DragModel.C.

const Foam::dictionary & dict (  ) const

Return the dictionary.

Definition at line 59 of file DragModel.C.

virtual bool active (  ) const [pure virtual]

Flag to indicate whether model activates drag model.

Implemented in NoDrag< CloudType >, and SphereDrag< CloudType >.

virtual scalar Cd ( const scalar   Re  ) const [pure virtual]

Return drag coefficient.

Implemented in NoDrag< CloudType >, and SphereDrag< CloudType >.

Foam::scalar utc ( const scalar   Re,
const scalar   d,
const scalar   mu  
) const

Return momentum transfer coefficient.

Drag force per unit particle surface area = utc(U - Up)

Definition at line 67 of file DragModel.C.


The documentation for this class was generated from the following files:
  • src/lagrangian/intermediate/submodels/Kinematic/DragModel/DragModel/DragModel.H
  • src/lagrangian/intermediate/submodels/Kinematic/DragModel/DragModel/DragModel.C
  • src/lagrangian/intermediate/submodels/Kinematic/DragModel/DragModel/NewDragModel.C