Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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 >:
Inheritance graph
[legend]
Collaboration diagram for InterfaceCompositionModel< Thermo, OtherThermo >:
Collaboration graph
[legend]

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 ( const dictionary dict,
const phasePair pair 
)

Construct from components.

Destructor.

Member Function Documentation

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.

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.

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

Mass fraction difference between the interface and the field.

Implements interfaceCompositionModel.

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

Mass diffusivity.

Implements interfaceCompositionModel.

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

Latent heat.

Implements interfaceCompositionModel.

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

const Thermo& thermo_
protected

Thermo.

Definition at line 64 of file InterfaceCompositionModel.H.

const OtherThermo& otherThermo_
protected

Other Thermo.

Definition at line 67 of file InterfaceCompositionModel.H.

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: