Model which uses a saturation pressure model for a single species to calculate the interface composition. More...
#include <Saturated.H>


Public Member Functions | |
| TypeName ("saturated") | |
| Runtime type information. | |
| Saturated (const dictionary &dict, const phasePair &pair) | |
| Construct from components. | |
| virtual | ~Saturated () |
| Destructor. | |
| virtual void | update (const volScalarField &Tf) |
| Update the composition. | |
| virtual tmp< volScalarField > | Yf (const word &speciesName, const volScalarField &Tf) const |
| The interface species fraction. | |
| virtual tmp< volScalarField > | YfPrime (const word &speciesName, const volScalarField &Tf) const |
| The interface species fraction derivative w.r.t. temperature. | |
| Public Member Functions inherited from InterfaceCompositionModel< Thermo, OtherThermo > | |
| InterfaceCompositionModel (const dictionary &dict, const phasePair &pair) | |
| Construct from components. | |
| virtual | ~InterfaceCompositionModel ()=default |
| Destructor. | |
| virtual tmp< volScalarField > | dY (const word &speciesName, const volScalarField &Tf) const |
| Mass fraction difference between the interface and the field. | |
| virtual tmp< volScalarField > | Dfrom (const word &speciesName) const |
| Specie mass diffusivity for pure mixture. | |
| virtual tmp< volScalarField > | Dto (const word &speciesName) const |
| Specie mass diffusivity for specie in a multicomponent. | |
| virtual tmp< volScalarField > | L (const word &speciesName, const volScalarField &Tf) const |
| Latent heat (to - from)(thermo - otherThermo). | |
| InterfaceCompositionModel (const dictionary &dict, const phasePair &pair) | |
| Construct from components. | |
| ~InterfaceCompositionModel ()=default | |
| Destructor. | |
| virtual tmp< volScalarField > | dY (const word &speciesName, const volScalarField &Tf) const |
| Mass fraction difference between the interface and the field. | |
| virtual tmp< volScalarField > | D (const word &speciesName) const |
| Mass diffusivity. | |
| virtual tmp< volScalarField > | L (const word &speciesName, const volScalarField &Tf) const |
| Latent heat. | |
| virtual void | addMDotL (const volScalarField &K, const volScalarField &Tf, volScalarField &mDotL, volScalarField &mDotLPrime) const |
| Add latent heat flow rate to total. | |
| 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::volScalarField > | getSpecieMassFraction (const word &speciesName, const multiComponentMixture< ThermoType > &mixture) const |
| template<class ThermoType> | |
| Foam::tmp< Foam::volScalarField > | getSpecieMassFraction (const word &speciesName, const pureMixture< ThermoType > &mixture) const |
| template<class ThermoType> | |
| Foam::tmp< Foam::volScalarField > | MwMixture (const pureMixture< ThermoType > &mixture) const |
| template<class ThermoType> | |
| Foam::tmp< Foam::volScalarField > | MwMixture (const multiComponentMixture< ThermoType > &mixture) const |
| Public Member Functions inherited from interfaceCompositionModel | |
| TypeName ("interfaceCompositionModel") | |
| Runtime type information. | |
| 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. | |
| virtual | ~interfaceCompositionModel ()=default |
| Destructor. | |
| const word | transferSpecie () const |
| Return the transferring species name. | |
| const phasePair & | pair () const |
| The phase pair. | |
| const multiphaseInterSystem & | fluid () const |
| Return the multiphaseInterSystem this interface belongs to. | |
| virtual tmp< volScalarField > | Kexp (const volScalarField &field)=0 |
| Explicit full mass transfer. | |
| virtual tmp< volScalarField > | KSp (label modelVariable, const volScalarField &field)=0 |
| Implicit mass transfer. | |
| virtual tmp< volScalarField > | KSu (label modelVariable, const volScalarField &field)=0 |
| Explicit mass transfer. | |
| virtual const dimensionedScalar & | Tactivate () const noexcept=0 |
| Reference value. | |
| virtual bool | includeDivU () const noexcept |
| Add/subtract alpha*div(U) as a source term for alpha, substituting div(U) = mDot(1/rho1 - 1/rho2). | |
| bool | includeVolChange () |
| Add volume change in pEq. | |
| const word & | variable () const |
| Returns the variable on which the model is based. | |
Protected Member Functions | |
| tmp< volScalarField > | wRatioByP () const |
| Constant of proportionality between partial pressure and mass. | |
| Protected Member Functions inherited from InterfaceCompositionModel< Thermo, OtherThermo > | |
| 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. | |
| 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. | |
| template<class ThermoType> | |
| tmp< volScalarField > | getSpecieMassFraction (const word &speciesName, const pureMixture< ThermoType > &thermo) const |
| Return mass fraction for a pureMixture equal to one. | |
| template<class ThermoType> | |
| tmp< volScalarField > | getSpecieMassFraction (const word &speciesName, const multiComponentMixture< ThermoType > &thermo) const |
| Return mass fraction for speciesName. | |
| template<class ThermoType> | |
| tmp< volScalarField > | MwMixture (const pureMixture< ThermoType > &thermo) const |
| Return moleculas weight of the mixture for pureMixture [Kg/mol]. | |
| template<class ThermoType> | |
| tmp< volScalarField > | MwMixture (const multiComponentMixture< ThermoType > &) const |
| Return moleculas weight of the mixture for multiComponentMixture. | |
| 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. | |
| 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. | |
Protected Attributes | |
| word | saturatedName_ |
| Saturated species name. | |
| label | saturatedIndex_ |
| Saturated species index. | |
| autoPtr< saturationModel > | saturationModel_ |
| Saturation pressure model. | |
| Protected Attributes inherited from InterfaceCompositionModel< Thermo, OtherThermo > | |
| const Thermo & | fromThermo_ |
| Thermo (from). | |
| const OtherThermo & | toThermo_ |
| Other Thermo (to). | |
| const dimensionedScalar | Le_ |
| Lewis number. | |
| const Thermo & | thermo_ |
| Thermo. | |
| const OtherThermo & | otherThermo_ |
| Other Thermo. | |
| Protected Attributes inherited from interfaceCompositionModel | |
| modelVariable | modelVariable_ |
| Enumeration for the model variable. | |
| bool | includeVolChange_ |
| Add volume change in pEq. | |
| const phasePair & | pair_ |
| Phase pair. | |
| word | speciesName_ |
| Names of the transferring specie. | |
| const fvMesh & | mesh_ |
| Reference to mesh. | |
Additional Inherited Members | |
| Public Types inherited from interfaceCompositionModel | |
| enum | modelVariable { T , P , Y , alpha } |
| Enumeration for variable based mass transfer models. More... | |
| Static Public Member Functions inherited from interfaceCompositionModel | |
| static autoPtr< interfaceCompositionModel > | New (const dictionary &dict, const phasePair &pair) |
| Static Protected Attributes inherited from interfaceCompositionModel | |
| static const Enum< modelVariable > | modelVariableNames_ |
| Selection names for the modelVariable. | |
Model which uses a saturation pressure model for a single species to calculate the interface composition.
Definition at line 54 of file Saturated.H.
| Saturated | ( | const dictionary & | dict, |
| const phasePair & | pair ) |
Construct from components.
Definition at line 44 of file Saturated.C.
References composition, dict, InterfaceCompositionModel< Thermo, OtherThermo >::InterfaceCompositionModel(), mesh, interfaceCompositionModel::New(), interfaceCompositionModel::pair(), phase1, saturatedIndex_, saturatedName_, saturationModel_, and InterfaceCompositionModel< Thermo, OtherThermo >::thermo_.

|
virtual |
Destructor.
Definition at line 77 of file Saturated.C.
|
protected |
Constant of proportionality between partial pressure and mass.
fraction
Definition at line 27 of file Saturated.C.
References Foam::dimMass, Foam::dimMoles, saturatedIndex_, and InterfaceCompositionModel< Thermo, OtherThermo >::thermo_.
Referenced by Yf(), and YfPrime().

| TypeName | ( | "saturated" | ) |
Runtime type information.
|
virtual |
Update the composition.
Definition at line 85 of file Saturated.C.
|
virtual |
The interface species fraction.
Reimplemented from InterfaceCompositionModel< Thermo, OtherThermo >.
Definition at line 94 of file Saturated.C.
References Foam::max(), saturatedIndex_, saturatedName_, saturationModel_, InterfaceCompositionModel< Thermo, OtherThermo >::thermo_, and wRatioByP().

|
virtual |
The interface species fraction derivative w.r.t. temperature.
Definition at line 121 of file Saturated.C.
References Foam::max(), saturatedIndex_, saturatedName_, saturationModel_, InterfaceCompositionModel< Thermo, OtherThermo >::thermo_, and wRatioByP().

|
protected |
Saturated species name.
Definition at line 65 of file Saturated.H.
Referenced by Saturated(), Yf(), and YfPrime().
|
protected |
Saturated species index.
Definition at line 70 of file Saturated.H.
Referenced by Saturated(), wRatioByP(), Yf(), and YfPrime().
|
protected |
Saturation pressure model.
Definition at line 75 of file Saturated.H.
Referenced by Saturated(), Yf(), and YfPrime().