InterfaceCompositionModel< Thermo, OtherThermo > Class Template Reference

Base class for interface composition models, templated on the two thermodynamic models either side of the interface. More...

Inheritance diagram for InterfaceCompositionModel< Thermo, OtherThermo >:
Collaboration diagram for InterfaceCompositionModel< Thermo, OtherThermo >:

Public Member Functions

 InterfaceCompositionModel (const dictionary &dict, const phasePair &pair)
 Construct from components. More...
 
 ~InterfaceCompositionModel ()
 Destructor. More...
 
virtual tmp< volScalarFielddY (const word &speciesName, const volScalarField &Tf) const
 Mass fraction difference between the interface and the field. More...
 
virtual tmp< volScalarFieldD (const word &speciesName) const
 Mass diffusivity. More...
 
virtual tmp< volScalarFieldL (const word &speciesName, const volScalarField &Tf) const
 Latent heat. More...
 
virtual void addMDotL (const volScalarField &K, const volScalarField &Tf, volScalarField &mDotL, volScalarField &mDotLPrime) const
 Add latent heat flow rate to total. More...
 
- Public Member Functions inherited from interfaceCompositionModel
 TypeName ("interfaceCompositionModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, interfaceCompositionModel, dictionary,(const dictionary &dict, const phasePair &pair),(dict, pair))
 
 interfaceCompositionModel (const dictionary &dict, const phasePair &pair)
 Construct from a dictionary and a phase pair. More...
 
virtual ~interfaceCompositionModel ()
 Destructor. More...
 
virtual void update (const volScalarField &Tf)=0
 Update the composition. More...
 
const hashedWordListspecies () const
 Return the transferring species names. More...
 
bool transports (word &speciesName) const
 Returns whether the species is transported by the model and. More...
 
virtual tmp< volScalarFieldYf (const word &speciesName, const volScalarField &Tf) const =0
 Interface mass fraction. More...
 
virtual tmp< volScalarFieldYfPrime (const word &speciesName, const volScalarField &Tf) const =0
 The interface mass fraction derivative w.r.t. temperature. More...
 

Protected Member Functions

template<class ThermoType >
const pureMixture< ThermoType >::thermoType & getLocalThermo (const word &speciesName, const pureMixture< ThermoType > &globalThermo) const
 Get a reference to the local thermo for a pure mixture. More...
 
template<class ThermoType >
const multiComponentMixture< ThermoType >::thermoType & getLocalThermo (const word &speciesName, const multiComponentMixture< ThermoType > &globalThermo) const
 Get a reference to the local thermo for a multi component mixture. More...
 

Protected Attributes

const Thermo & thermo_
 Thermo. More...
 
const OtherThermo & otherThermo_
 Other Thermo. More...
 
const dimensionedScalar Le_
 Lewis number. More...
 
- Protected Attributes inherited from interfaceCompositionModel
const phasePairpair_
 Phase pair. More...
 
const hashedWordList speciesNames_
 Names of the transferring species. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from interfaceCompositionModel
static autoPtr< interfaceCompositionModelNew (const dictionary &dict, const phasePair &pair)
 

Detailed Description

template<class Thermo, class OtherThermo>
class Foam::InterfaceCompositionModel< Thermo, OtherThermo >

Base class for interface composition models, templated on the two thermodynamic models either side of the interface.

Source files

Definition at line 55 of file InterfaceCompositionModel.H.

Constructor & Destructor Documentation

◆ InterfaceCompositionModel()

InterfaceCompositionModel ( const dictionary dict,
const phasePair pair 
)

Construct from components.

◆ ~InterfaceCompositionModel()

Destructor.

Member Function Documentation

◆ getLocalThermo() [1/2]

const pureMixture<ThermoType>::thermoType& getLocalThermo ( const word speciesName,
const pureMixture< ThermoType > &  globalThermo 
) const
protected

Get a reference to the local thermo for a pure mixture.

◆ getLocalThermo() [2/2]

const multiComponentMixture<ThermoType>::thermoType& getLocalThermo ( const word speciesName,
const multiComponentMixture< ThermoType > &  globalThermo 
) const
protected

Get a reference to the local thermo for a multi component mixture.

◆ dY()

virtual tmp<volScalarField> dY ( const word speciesName,
const volScalarField Tf 
) const
virtual

Mass fraction difference between the interface and the field.

Implements interfaceCompositionModel.

◆ D()

virtual tmp<volScalarField> D ( const word speciesName) const
virtual

Mass diffusivity.

Implements interfaceCompositionModel.

◆ L()

virtual tmp<volScalarField> L ( const word speciesName,
const volScalarField Tf 
) const
virtual

Latent heat.

Implements interfaceCompositionModel.

◆ addMDotL()

virtual void addMDotL ( const volScalarField K,
const volScalarField Tf,
volScalarField mDotL,
volScalarField mDotLPrime 
) const
virtual

Add latent heat flow rate to total.

Implements interfaceCompositionModel.

Member Data Documentation

◆ thermo_

const Thermo& thermo_
protected

Thermo.

Definition at line 64 of file InterfaceCompositionModel.H.

◆ otherThermo_

const OtherThermo& otherThermo_
protected

Other Thermo.

Definition at line 67 of file InterfaceCompositionModel.H.

◆ Le_

const dimensionedScalar Le_
protected

Lewis number.

Definition at line 70 of file InterfaceCompositionModel.H.


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