Public Member Functions | List of all members
interfaceHeatResistance< Thermo, OtherThermo > Class Template Reference

Interface Heat Resistance type of condensation/saturation model using spread source distribution following: More...

Inheritance diagram for interfaceHeatResistance< Thermo, OtherThermo >:
Inheritance graph
[legend]
Collaboration diagram for interfaceHeatResistance< Thermo, OtherThermo >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("interfaceHeatResistance")
 
 interfaceHeatResistance (const dictionary &dict, const phasePair &pair)
 
virtual ~interfaceHeatResistance ()=default
 
virtual tmp< volScalarFieldKexp (const volScalarField &field)
 
virtual tmp< volScalarFieldKSp (label modelVariable, const volScalarField &field)
 
virtual tmp< volScalarFieldKSu (label modelVariable, const volScalarField &field)
 
virtual const dimensionedScalarTactivate () const noexcept
 
virtual bool includeDivU () const noexcept
 
- Public Member Functions inherited from InterfaceCompositionModel< Thermo, OtherThermo >
 InterfaceCompositionModel (const dictionary &dict, const phasePair &pair)
 
 ~InterfaceCompositionModel ()=default
 
virtual tmp< volScalarFielddY (const word &speciesName, const volScalarField &Tf) const
 
virtual tmp< volScalarFieldYf (const word &speciesName, const volScalarField &Tf) const
 
virtual tmp< volScalarFieldD (const word &speciesName) const
 
virtual tmp< volScalarFieldL (const word &speciesName, const volScalarField &Tf) const
 
 InterfaceCompositionModel (const dictionary &dict, const phasePair &pair)
 
 ~InterfaceCompositionModel ()=default
 
virtual tmp< volScalarFielddY (const word &speciesName, const volScalarField &Tf) const
 
virtual tmp< volScalarFieldD (const word &speciesName) const
 
virtual tmp< volScalarFieldL (const word &speciesName, const volScalarField &Tf) const
 
virtual void addMDotL (const volScalarField &K, const volScalarField &Tf, volScalarField &mDotL, volScalarField &mDotLPrime) const
 
template<class ThermoType >
const Foam::multiComponentMixture< ThermoType >::thermoType & getLocalThermo (const word &speciesName, const multiComponentMixture< ThermoType > &globalThermo) const
 
template<class ThermoType >
const Foam::pureMixture< ThermoType >::thermoType & getLocalThermo (const word &speciesName, const pureMixture< ThermoType > &globalThermo) const
 
template<class ThermoType >
Foam::tmp< Foam::volScalarFieldgetSpecieMassFraction (const word &speciesName, const multiComponentMixture< ThermoType > &mixture) const
 
template<class ThermoType >
Foam::tmp< Foam::volScalarFieldgetSpecieMassFraction (const word &speciesName, const pureMixture< ThermoType > &mixture) const
 
template<class ThermoType >
Foam::tmp< Foam::volScalarFieldMwMixture (const pureMixture< ThermoType > &mixture) const
 
template<class ThermoType >
Foam::tmp< Foam::volScalarFieldMwMixture (const multiComponentMixture< ThermoType > &mixture) const
 
- Public Member Functions inherited from interfaceCompositionModel
 TypeName ("interfaceCompositionModel")
 
 declareRunTimeSelectionTable (autoPtr, interfaceCompositionModel, dictionary,(const dictionary &dict, const phasePair &pair),(dict, pair))
 
 interfaceCompositionModel (const dictionary &dict, const phasePair &pair)
 
virtual ~interfaceCompositionModel ()=default
 
const word transferSpecie () const
 
const phasePairpair () const
 
bool includeVolChange ()
 
const wordvariable () const
 
 TypeName ("interfaceCompositionModel")
 
 declareRunTimeSelectionTable (autoPtr, interfaceCompositionModel, dictionary,(const dictionary &dict, const phasePair &pair),(dict, pair))
 
 interfaceCompositionModel (const dictionary &dict, const phasePair &pair)
 
virtual ~interfaceCompositionModel ()=default
 
virtual void update (const volScalarField &Tf)=0
 
const hashedWordListspecies () const
 
bool transports (word &speciesName) const
 
virtual tmp< volScalarFieldYfPrime (const word &speciesName, const volScalarField &Tf) const =0
 

Additional Inherited Members

- Public Types inherited from interfaceCompositionModel
enum  modelVariable { T, P, Y, alpha }
 
- Static Public Member Functions inherited from interfaceCompositionModel
static autoPtr< interfaceCompositionModelNew (const dictionary &dict, const phasePair &pair)
 
static autoPtr< interfaceCompositionModelNew (const dictionary &dict, const phasePair &pair)
 
- Protected Member Functions inherited from InterfaceCompositionModel< Thermo, OtherThermo >
template<class ThermoType >
const pureMixture< ThermoType >::thermoType & getLocalThermo (const word &speciesName, const pureMixture< ThermoType > &globalThermo) const
 
template<class ThermoType >
const multiComponentMixture< ThermoType >::thermoType & getLocalThermo (const word &speciesName, const multiComponentMixture< ThermoType > &globalThermo) const
 
template<class ThermoType >
tmp< volScalarFieldgetSpecieMassFraction (const word &speciesName, const pureMixture< ThermoType > &thermo) const
 
template<class ThermoType >
tmp< volScalarFieldgetSpecieMassFraction (const word &speciesName, const multiComponentMixture< ThermoType > &thermo) const
 
template<class ThermoType >
tmp< volScalarFieldMwMixture (const pureMixture< ThermoType > &thermo) const
 
template<class ThermoType >
tmp< volScalarFieldMwMixture (const multiComponentMixture< ThermoType > &) const
 
template<class ThermoType >
const pureMixture< ThermoType >::thermoType & getLocalThermo (const word &speciesName, const pureMixture< ThermoType > &globalThermo) const
 
template<class ThermoType >
const multiComponentMixture< ThermoType >::thermoType & getLocalThermo (const word &speciesName, const multiComponentMixture< ThermoType > &globalThermo) const
 
- Protected Attributes inherited from InterfaceCompositionModel< Thermo, OtherThermo >
const Thermo & fromThermo_
 
const OtherThermo & toThermo_
 
const dimensionedScalar Le_
 
const Thermo & thermo_
 
const OtherThermo & otherThermo_
 
- Protected Attributes inherited from interfaceCompositionModel
modelVariable modelVariable_
 
bool includeVolChange_
 
const phasePairpair_
 
word speciesName_
 
const fvMeshmesh_
 
const hashedWordList speciesNames_
 
- Static Protected Attributes inherited from interfaceCompositionModel
static const Enum< modelVariablemodelVariableNames_
 

Detailed Description

template<class Thermo, class OtherThermo>
class Foam::meltingEvaporationModels::interfaceHeatResistance< Thermo, OtherThermo >

Interface Heat Resistance type of condensation/saturation model using spread source distribution following:

References:

    Hardt, S., Wondra, F. (2008).
    Evaporation model for interfacial flows based on a continuum-
    field representation of the source term
    Journal of Computational Physics 227 (2008), 5871-5895
Usage

Example usage:

massTransferModel
(
    (liquid to gas)
    {
        type                interfaceHeatResistance;
        R                   2e6;
        Tactivate           373;
    }
);

where:

Property Description Required Default value
R Heat transfer coefficient yes
includeVolChange Volumen change no yes
isoAlpha iso-alpha for interface no 0.5
Tactivate Saturation temperature yes
species Specie name on the other phase no none
spread Cells to spread the source for pEq no 3
Source files

Definition at line 123 of file interfaceHeatResistance.H.

Constructor & Destructor Documentation

◆ interfaceHeatResistance()

interfaceHeatResistance ( const dictionary dict,
const phasePair pair 
)

Definition at line 114 of file interfaceHeatResistance.C.

◆ ~interfaceHeatResistance()

virtual ~interfaceHeatResistance ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "interfaceHeatResistance< Thermo, OtherThermo >"  )

◆ Kexp()

Foam::tmp< Foam::volScalarField > Kexp ( const volScalarField field)
virtual

◆ KSp()

Foam::tmp< Foam::volScalarField > KSp ( label  modelVariable,
const volScalarField field 
)
virtual

Implements interfaceCompositionModel.

Definition at line 258 of file interfaceHeatResistance.C.

References Foam::pos(), and Foam::sign().

Here is the call graph for this function:

◆ KSu()

Foam::tmp< Foam::volScalarField > KSu ( label  modelVariable,
const volScalarField field 
)
virtual

Implements interfaceCompositionModel.

Definition at line 285 of file interfaceHeatResistance.C.

References tmp::New(), interfaceCompositionModel::P, Foam::pos(), and Foam::sign().

Here is the call graph for this function:

◆ Tactivate()

virtual const dimensionedScalar& Tactivate ( ) const
inlinevirtualnoexcept

Implements interfaceCompositionModel.

Definition at line 202 of file interfaceHeatResistance.H.

◆ includeDivU()

virtual bool includeDivU ( ) const
inlinevirtualnoexcept

Reimplemented from interfaceCompositionModel.

Definition at line 209 of file interfaceHeatResistance.H.


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