interfaceCompositionModel Class Referenceabstract

Generic base class for interface composition models. These models describe the composition in phase 1 of the supplied pair at the interface with phase 2. More...

Inheritance diagram for interfaceCompositionModel:

Public Member Functions

 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...
 
const phasePairpair () const
 Return the phase pair. More...
 
const hashedWordListspecies () const
 Return the transferring species names. More...
 
const rhoReactionThermothermo () const
 Return the thermo. More...
 
const basicSpecieMixturecomposition () const
 Return the composition. More...
 
const rhoThermootherThermo () const
 Return the other thermo. More...
 
bool otherHasComposition () const
 Return whether the other side has a multi-specie composition. More...
 
const basicSpecieMixtureotherComposition () const
 Return the other composition. 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...
 
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 addDmdtL (const volScalarField &K, const volScalarField &Tf, volScalarField &dmdtL, volScalarField &dmdtLPrime) const
 Add latent heat flow rate to total. More...
 
virtual void update (const volScalarField &Tf)=0
 Update the composition. More...
 

Static Public Member Functions

static autoPtr< interfaceCompositionModelNew (const dictionary &dict, const phasePair &pair)
 

Detailed Description

Generic base class for interface composition models. These models describe the composition in phase 1 of the supplied pair at the interface with phase 2.

Source files

Definition at line 57 of file interfaceCompositionModel.H.

Constructor & Destructor Documentation

◆ interfaceCompositionModel()

interfaceCompositionModel ( const dictionary dict,
const phasePair pair 
)

Construct from a dictionary and a phase pair.

◆ ~interfaceCompositionModel()

virtual ~interfaceCompositionModel ( )
virtual

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "interfaceCompositionModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

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

◆ New()

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

◆ pair()

const Foam::phasePair & pair ( ) const
inline

Return the phase pair.

Definition at line 28 of file interfaceCompositionModelI.H.

◆ species()

const Foam::hashedWordList & species ( ) const
inline

Return the transferring species names.

Definition at line 34 of file interfaceCompositionModelI.H.

◆ thermo()

const Foam::rhoReactionThermo & thermo ( ) const
inline

Return the thermo.

Definition at line 41 of file interfaceCompositionModelI.H.

◆ composition()

const Foam::basicSpecieMixture & composition ( ) const
inline

Return the composition.

Definition at line 48 of file interfaceCompositionModelI.H.

References rhoReactionThermo::composition().

Referenced by interfaceCompositionModel::otherComposition().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ otherThermo()

const Foam::rhoThermo & otherThermo ( ) const
inline

Return the other thermo.

Definition at line 54 of file interfaceCompositionModelI.H.

◆ otherHasComposition()

bool otherHasComposition ( ) const
inline

Return whether the other side has a multi-specie composition.

Definition at line 60 of file interfaceCompositionModelI.H.

◆ otherComposition()

const Foam::basicSpecieMixture & otherComposition ( ) const
inline

Return the other composition.

Definition at line 67 of file interfaceCompositionModelI.H.

References interfaceCompositionModel::composition().

Here is the call graph for this function:

◆ Yf()

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

Interface mass fraction.

Implemented in nonRandomTwoLiquid, saturated, Henry, and Raoult.

◆ YfPrime()

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

The interface mass fraction derivative w.r.t. temperature.

Implemented in nonRandomTwoLiquid, saturated, Henry, and Raoult.

◆ dY()

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

Mass fraction difference between the interface and the field.

◆ D()

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

Mass diffusivity.

◆ L()

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

Latent heat.

◆ addDmdtL()

virtual void addDmdtL ( const volScalarField K,
const volScalarField Tf,
volScalarField dmdtL,
volScalarField dmdtLPrime 
) const
virtual

Add latent heat flow rate to total.

◆ update()

virtual void update ( const volScalarField Tf)
pure virtual

Update the composition.

Implemented in nonRandomTwoLiquid, saturated, Henry, and Raoult.


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