OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

HeatTransferModel< CloudType > Class Template Reference

Templated heat transfer model class. More...

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

List of all members.


Public Member Functions

 TypeName ("HeatTransferModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, HeatTransferModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table.
 HeatTransferModel (CloudType &owner)
 Construct null from owner.
 HeatTransferModel (const dictionary &dict, CloudType &owner, const word &type)
 Construct from dictionary.
virtual ~HeatTransferModel ()
 Destructor.
const dictionarydict () const
 Return the cloud dictionary.
const dictionarycoeffDict () const
 Return the coefficients dictionary.
const CloudType & owner () const
 Return the owner cloud object.
virtual bool active () const =0
 Flag to indicate whether model activates heat transfer model.
virtual scalar Nu (const scalar Re, const scalar Pr) const =0
 Nusselt number.
virtual scalar Pr () const =0
 Prandtl number.
virtual scalar h (const scalar dp, const vector &Ur, const scalar rhoc, const scalar rhop, const scalar cpc, const scalar cpp, const scalar muc) const
 Return heat transfer coefficient.
virtual scalar Cu (const scalar dp, const vector &Ur, const scalar rhoc, const scalar rhop, const scalar cpc, const scalar cpp, const scalar muc) const
 Return linearised coefficient for temperature equation.

Static Public Member Functions

static autoPtr
< HeatTransferModel< CloudType > > 
New (const dictionary &dict, CloudType &owner)
 Selector.

Detailed Description

template<class CloudType>
class Foam::HeatTransferModel< CloudType >

Templated heat transfer model class.

Source files

Definition at line 48 of file HeatTransferModel.H.


Constructor & Destructor Documentation

HeatTransferModel ( CloudType &  owner  )  [inline]

Construct null from owner.

Definition at line 23 of file HeatTransferModel.C.

HeatTransferModel ( const dictionary dict,
CloudType &  owner,
const word type 
) [inline]

Construct from dictionary.

Definition at line 33 of file HeatTransferModel.C.

~HeatTransferModel (  )  [inline, virtual]

Destructor.

Definition at line 48 of file HeatTransferModel.C.


Member Function Documentation

TypeName ( "HeatTransferModel< CloudType >"   ) 

Runtime type information.

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

Declare runtime constructor selection table.

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

Selector.

Definition at line 25 of file NewHeatTransferModel.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), and Foam::nl.

Here is the call graph for this function:

const Foam::dictionary & dict (  )  const [inline]

Return the cloud dictionary.

Definition at line 62 of file HeatTransferModel.C.

const Foam::dictionary & coeffDict (  )  const [inline]

Return the coefficients dictionary.

Definition at line 69 of file HeatTransferModel.C.

const CloudType & owner (  )  const [inline]

Return the owner cloud object.

Definition at line 55 of file HeatTransferModel.C.

virtual bool active (  )  const [pure virtual]

Flag to indicate whether model activates heat transfer model.

Implemented in NoHeatTransfer< CloudType >, and RanzMarshall< CloudType >.

virtual scalar Nu ( const scalar  Re,
const scalar  Pr 
) const [pure virtual]

virtual scalar Pr (  )  const [pure virtual]

Prandtl number.

Implemented in NoHeatTransfer< CloudType >, and RanzMarshall< CloudType >.

Foam::scalar h ( const scalar  dp,
const vector Ur,
const scalar  rhoc,
const scalar  rhop,
const scalar  cpc,
const scalar  cpp,
const scalar  muc 
) const [inline, virtual]

Return heat transfer coefficient.

Definition at line 77 of file HeatTransferModel.C.

Foam::scalar Cu ( const scalar  dp,
const vector Ur,
const scalar  rhoc,
const scalar  rhop,
const scalar  cpc,
const scalar  cpp,
const scalar  muc 
) const [inline, virtual]

Return linearised coefficient for temperature equation.

Definition at line 102 of file HeatTransferModel.C.


The documentation for this class was generated from the following files:
  • src/lagrangian/intermediate/submodels/Thermodynamic/HeatTransferModel/HeatTransferModel/HeatTransferModel.H
  • src/lagrangian/intermediate/submodels/Thermodynamic/HeatTransferModel/HeatTransferModel/HeatTransferModel.C
  • src/lagrangian/intermediate/submodels/Thermodynamic/HeatTransferModel/HeatTransferModel/NewHeatTransferModel.C
Copyright © 2000-2009 OpenCFD Ltd