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

Raoult's law of ideal mixing. A separate composition model is given for each species. The composition of a species is equal to the value given by the model scaled by the species fraction in the bulk of the other phase. More...

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

Public Member Functions

 TypeName ("Raoult")
 
 Raoult (const dictionary &dict, const phasePair &pair)
 
virtual ~Raoult ()=default
 
virtual void update (const volScalarField &Tf)
 
virtual tmp< volScalarFieldYf (const word &speciesName, const volScalarField &Tf) const
 
virtual tmp< volScalarFieldYfPrime (const word &speciesName, const volScalarField &Tf) const
 
- 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< 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
 
virtual tmp< volScalarFieldKexp (const volScalarField &field)=0
 
virtual tmp< volScalarFieldKSp (label modelVariable, const volScalarField &field)=0
 
virtual tmp< volScalarFieldKSu (label modelVariable, const volScalarField &field)=0
 
virtual const dimensionedScalarTactivate () const noexcept=0
 
virtual bool includeDivU () const noexcept
 
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
 
const hashedWordListspecies () const
 
bool transports (word &speciesName) const
 

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::interfaceCompositionModels::Raoult< Thermo, OtherThermo >

Raoult's law of ideal mixing. A separate composition model is given for each species. The composition of a species is equal to the value given by the model scaled by the species fraction in the bulk of the other phase.

Source files

Definition at line 54 of file Raoult.H.

Constructor & Destructor Documentation

◆ Raoult()

Raoult ( const dictionary dict,
const phasePair pair 
)

Definition at line 27 of file Raoult.C.

References dict, and Foam::New().

Here is the call graph for this function:

◆ ~Raoult()

virtual ~Raoult ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "Raoult< Thermo, OtherThermo >"  )

◆ update()

void update ( const volScalarField Tf)
virtual

Implements interfaceCompositionModel.

Definition at line 78 of file Raoult.C.

References forAllIters.

◆ Yf()

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

Reimplemented from InterfaceCompositionModel< Thermo, OtherThermo >.

Definition at line 102 of file Raoult.C.

◆ YfPrime()

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

Implements interfaceCompositionModel.

Definition at line 125 of file Raoult.C.


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