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

Model which uses a saturation pressure model for a single species to calculate the interface composition. More...

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

Public Member Functions

 TypeName ("saturated")
 
 Saturated (const dictionary &dict, const phasePair &pair)
 
virtual ~Saturated ()
 
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
 

Protected Member Functions

tmp< volScalarFieldwRatioByP () const
 
- 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

word saturatedName_
 
label saturatedIndex_
 
autoPtr< saturationModelsaturationModel_
 
- 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_
 

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)
 
- Static Protected Attributes inherited from interfaceCompositionModel
static const Enum< modelVariablemodelVariableNames_
 

Detailed Description

template<class Thermo, class OtherThermo>
class Foam::interfaceCompositionModels::Saturated< Thermo, OtherThermo >

Model which uses a saturation pressure model for a single species to calculate the interface composition.

Source files

Definition at line 54 of file Saturated.H.

Constructor & Destructor Documentation

◆ Saturated()

Saturated ( const dictionary dict,
const phasePair pair 
)

Definition at line 45 of file Saturated.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ ~Saturated()

~Saturated
virtual

Definition at line 77 of file Saturated.C.

Member Function Documentation

◆ wRatioByP()

Foam::tmp< Foam::volScalarField > wRatioByP
protected

Definition at line 28 of file Saturated.C.

References Foam::dimMass, and Foam::dimMoles.

◆ TypeName()

TypeName ( "saturated"  )

◆ update()

void update ( const volScalarField Tf)
virtual

Implements interfaceCompositionModel.

Definition at line 86 of file Saturated.C.

◆ Yf()

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

Reimplemented from InterfaceCompositionModel< Thermo, OtherThermo >.

Definition at line 95 of file Saturated.C.

References Foam::max().

Here is the call graph for this function:

◆ YfPrime()

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

Implements interfaceCompositionModel.

Definition at line 122 of file Saturated.C.

References Foam::max().

Here is the call graph for this function:

Member Data Documentation

◆ saturatedName_

word saturatedName_
protected

Definition at line 63 of file Saturated.H.

◆ saturatedIndex_

label saturatedIndex_
protected

Definition at line 66 of file Saturated.H.

◆ saturationModel_

autoPtr<saturationModel> saturationModel_
protected

Definition at line 69 of file Saturated.H.


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