heatTransferModel Class Referenceabstract
Inheritance diagram for heatTransferModel:
[legend]
Collaboration diagram for heatTransferModel:
[legend]

Public Member Functions

 TypeName ("heatTransferModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, heatTransferModel, dictionary,(const dictionary &dict, const volScalarField &alpha1, const phaseModel &phase1, const phaseModel &phase2),(dict, alpha1, phase1, phase2))
 
 heatTransferModel (const dictionary &dict, const volScalarField &alpha1, const phaseModel &phase1, const phaseModel &phase2)
 
virtual ~heatTransferModel ()=default
 Destructor. More...
 
virtual tmp< volScalarFieldK (const volScalarField &Ur) const =0
 The heat-transfer function K used in the enthalpy eq. More...
 
 TypeName ("heatTransferModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, heatTransferModel, dictionary,(const dictionary &dict, const phasePair &pair),(dict, pair))
 
 heatTransferModel (const dictionary &dict, const phasePair &pair)
 Construct froma dictionary and a phase pair. More...
 
virtual ~heatTransferModel ()=default
 Destructor. More...
 
tmp< volScalarFieldK () const
 The heat transfer function K used in the enthalpy equation. More...
 
virtual tmp< volScalarFieldK (const scalar residualAlpha) const =0
 The heat transfer function K used in the enthalpy equation. More...
 
 TypeName ("heatTransferModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, heatTransferModel, dictionary,(const dictionary &dict, const phasePair &pair),(dict, pair))
 
 heatTransferModel (const dictionary &dict, const phasePair &pair)
 Construct froma dictionary and a phase pair. More...
 
virtual ~heatTransferModel ()=default
 Destructor. More...
 
virtual tmp< volScalarFieldK () const =0
 The heat transfer function K used in the enthalpy equation. More...
 

Static Public Member Functions

static autoPtr< heatTransferModelNew (const dictionary &dict, const volScalarField &alpha1, const phaseModel &phase1, const phaseModel &phase2)
 
static autoPtr< heatTransferModelNew (const dictionary &dict, const phasePair &pair)
 
static autoPtr< heatTransferModelNew (const dictionary &dict, const phasePair &pair)
 

Static Public Attributes

static const dimensionSet dimK
 Coefficient dimensions. More...
 

Protected Attributes

const dictionaryinterfaceDict_
 
const volScalarFieldalpha1_
 
const phaseModelphase1_
 
const phaseModelphase2_
 
const phasePairpair_
 Phase pair. More...
 
const dimensionedScalar residualAlpha_
 Residual phase fraction. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ heatTransferModel() [1/3]

heatTransferModel ( const dictionary dict,
const volScalarField alpha1,
const phaseModel phase1,
const phaseModel phase2 
)

Definition at line 43 of file heatTransferModel.C.

◆ ~heatTransferModel() [1/3]

virtual ~heatTransferModel ( )
virtualdefault

Destructor.

◆ heatTransferModel() [2/3]

heatTransferModel ( const dictionary dict,
const phasePair pair 
)

Construct froma dictionary and a phase pair.

Definition at line 48 of file heatTransferModel.C.

◆ ~heatTransferModel() [2/3]

virtual ~heatTransferModel ( )
virtualdefault

Destructor.

◆ heatTransferModel() [3/3]

heatTransferModel ( const dictionary dict,
const phasePair pair 
)

Construct froma dictionary and a phase pair.

◆ ~heatTransferModel() [3/3]

virtual ~heatTransferModel ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName() [1/3]

TypeName ( "heatTransferModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable() [1/3]

declareRunTimeSelectionTable ( autoPtr  ,
heatTransferModel  ,
dictionary  ,
(const dictionary &dict, const volScalarField &alpha1, const phaseModel &phase1, const phaseModel &phase2 ,
(dict, alpha1, phase1, phase2  
)

◆ New() [1/3]

Foam::autoPtr< Foam::heatTransferModel > New ( const dictionary dict,
const volScalarField alpha1,
const phaseModel phase1,
const phaseModel phase2 
)
static

Definition at line 60 of file heatTransferModel.C.

References alpha1, dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, Foam::Info, phase1, and phase2.

Here is the call graph for this function:

◆ K() [1/4]

virtual tmp<volScalarField> K ( const volScalarField Ur) const
pure virtual

The heat-transfer function K used in the enthalpy eq.

ddt(alpha1*rho1*ha) + ... = ... alpha1*alpha2*K*(Ta - Tb) ddt(alpha2*rho2*hb) + ... = ... alpha1*alpha2*K*(Tb - Ta) NB! ***************************** for numerical reasons alpha1 and alpha2 has been extracted from the heat-transfer function K, so you MUST divide K by alpha1*alpha2 when implementing the heat-transfer function NB! *****************************

Implemented in RanzMarshall.

◆ TypeName() [2/3]

TypeName ( "heatTransferModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable() [2/3]

declareRunTimeSelectionTable ( autoPtr  ,
heatTransferModel  ,
dictionary  ,
(const dictionary &dict, const phasePair &pair)  ,
(dict, pair)   
)

◆ New() [2/3]

Foam::autoPtr< Foam::heatTransferModel > New ( const dictionary dict,
const phasePair pair 
)
static

Definition at line 72 of file heatTransferModel.C.

References Foam::abort(), dict, Foam::endl(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.

Here is the call graph for this function:

◆ K() [2/4]

The heat transfer function K used in the enthalpy equation.

ddt(alpha1*rho1*ha) + ... = ... K*(Ta - Tb) ddt(alpha2*rho2*hb) + ... = ... K*(Tb - Ta)

Definition at line 102 of file heatTransferModel.C.

References heatTransferModel::residualAlpha_, and dimensioned< Type >::value().

Here is the call graph for this function:

◆ K() [3/4]

virtual tmp<volScalarField> K ( const scalar  residualAlpha) const
pure virtual

The heat transfer function K used in the enthalpy equation.

ddt(alpha1*rho1*ha) + ... = ... K*(Ta - Tb) ddt(alpha2*rho2*hb) + ... = ... K*(Tb - Ta) with a specified residual volume fraction

Implemented in constantNuHeatTransfer, RanzMarshall, and sphericalHeatTransfer.

◆ TypeName() [3/3]

TypeName ( "heatTransferModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable() [3/3]

declareRunTimeSelectionTable ( autoPtr  ,
heatTransferModel  ,
dictionary  ,
(const dictionary &dict, const phasePair &pair)  ,
(dict, pair)   
)

◆ New() [3/3]

static autoPtr<heatTransferModel> New ( const dictionary dict,
const phasePair pair 
)
static

◆ K() [4/4]

virtual tmp<volScalarField> K ( ) const
pure virtual

The heat transfer function K used in the enthalpy equation.

ddt(alpha1*rho1*ha) + ... = ... K*(Ta - Tb) ddt(alpha2*rho2*hb) + ... = ... K*(Tb - Ta)

Implemented in RanzMarshall, and sphericalHeatTransfer.

Member Data Documentation

◆ interfaceDict_

const dictionary& interfaceDict_
protected

Definition at line 59 of file heatTransferModel.H.

◆ alpha1_

const volScalarField& alpha1_
protected

Definition at line 60 of file heatTransferModel.H.

◆ phase1_

const phaseModel& phase1_
protected

Definition at line 61 of file heatTransferModel.H.

◆ phase2_

const phaseModel& phase2_
protected

Definition at line 62 of file heatTransferModel.H.

◆ pair_

const phasePair & pair_
protected

Phase pair.

Definition at line 62 of file heatTransferModel.H.

◆ residualAlpha_

const dimensionedScalar residualAlpha_
protected

Residual phase fraction.

Definition at line 65 of file heatTransferModel.H.

Referenced by heatTransferModel::K().

◆ dimK

static const dimensionSet dimK
static

Coefficient dimensions.

Definition at line 92 of file heatTransferModel.H.


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