Base class for interface composition models, templated on the two thermodynamic models either side of the interface. More...
Public Member Functions | |
InterfaceCompositionModel (const dictionary &dict, const phasePair &pair) | |
~InterfaceCompositionModel ()=default | |
virtual tmp< volScalarField > | dY (const word &speciesName, const volScalarField &Tf) const |
virtual tmp< volScalarField > | Yf (const word &speciesName, const volScalarField &Tf) const |
virtual tmp< volScalarField > | D (const word &speciesName) const |
virtual tmp< volScalarField > | L (const word &speciesName, const volScalarField &Tf) const |
InterfaceCompositionModel (const dictionary &dict, const phasePair &pair) | |
~InterfaceCompositionModel ()=default | |
virtual tmp< volScalarField > | dY (const word &speciesName, const volScalarField &Tf) const |
virtual tmp< volScalarField > | D (const word &speciesName) const |
virtual tmp< volScalarField > | L (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::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 |
![]() | |
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 phasePair & | pair () const |
virtual tmp< volScalarField > | Kexp (const volScalarField &field)=0 |
virtual tmp< volScalarField > | KSp (label modelVariable, const volScalarField &field)=0 |
virtual tmp< volScalarField > | KSu (label modelVariable, const volScalarField &field)=0 |
virtual const dimensionedScalar & | Tactivate () const noexcept=0 |
virtual bool | includeDivU () const noexcept |
bool | includeVolChange () |
const word & | variable () 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 |
virtual void | update (const volScalarField &Tf)=0 |
const hashedWordList & | species () const |
bool | transports (word &speciesName) const |
virtual tmp< volScalarField > | YfPrime (const word &speciesName, const volScalarField &Tf) const =0 |
Protected Member Functions | |
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< volScalarField > | getSpecieMassFraction (const word &speciesName, const pureMixture< ThermoType > &thermo) const |
template<class ThermoType > | |
tmp< volScalarField > | getSpecieMassFraction (const word &speciesName, const multiComponentMixture< ThermoType > &thermo) const |
template<class ThermoType > | |
tmp< volScalarField > | MwMixture (const pureMixture< ThermoType > &thermo) const |
template<class ThermoType > | |
tmp< volScalarField > | MwMixture (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 | |
const Thermo & | fromThermo_ |
const OtherThermo & | toThermo_ |
const dimensionedScalar | Le_ |
const Thermo & | thermo_ |
const OtherThermo & | otherThermo_ |
![]() | |
modelVariable | modelVariable_ |
bool | includeVolChange_ |
const phasePair & | pair_ |
word | speciesName_ |
const fvMesh & | mesh_ |
const hashedWordList | speciesNames_ |
Additional Inherited Members | |
![]() | |
enum | modelVariable { T, P, Y, alpha } |
![]() | |
static autoPtr< interfaceCompositionModel > | New (const dictionary &dict, const phasePair &pair) |
static autoPtr< interfaceCompositionModel > | New (const dictionary &dict, const phasePair &pair) |
![]() | |
static const Enum< modelVariable > | modelVariableNames_ |
Base class for interface composition models, templated on the two thermodynamic models either side of the interface.
Definition at line 54 of file InterfaceCompositionModel.H.
InterfaceCompositionModel | ( | const dictionary & | dict, |
const phasePair & | pair | ||
) |
Definition at line 174 of file InterfaceCompositionModel.C.
|
default |
InterfaceCompositionModel | ( | const dictionary & | dict, |
const phasePair & | pair | ||
) |
|
default |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
Implements interfaceCompositionModel.
Definition at line 299 of file InterfaceCompositionModel.C.
References NotImplemented.
|
virtual |
Implements interfaceCompositionModel.
Reimplemented in NonRandomTwoLiquid< Thermo, OtherThermo >, Saturated< Thermo, OtherThermo >, Henry< Thermo, OtherThermo >, and Raoult< Thermo, OtherThermo >.
Definition at line 312 of file InterfaceCompositionModel.C.
References NotImplemented.
|
virtual |
Implements interfaceCompositionModel.
Definition at line 211 of file InterfaceCompositionModel.C.
References D, Foam::dimArea, Foam::dimTime, forAll, Foam::New(), p, T, and Foam::Zero.
|
virtual |
Implements interfaceCompositionModel.
Definition at line 257 of file InterfaceCompositionModel.C.
References Foam::dimEnergy, Foam::dimMass, forAll, L(), Foam::New(), p, and Foam::Zero.
|
protected |
|
protected |
|
virtual |
Implements interfaceCompositionModel.
|
virtual |
Implements interfaceCompositionModel.
|
virtual |
Implements interfaceCompositionModel.
|
virtual |
Implements interfaceCompositionModel.
Definition at line 202 of file InterfaceCompositionModel.C.
const Foam::multiComponentMixture< ThermoType >::thermoType & getLocalThermo | ( | const word & | speciesName, |
const multiComponentMixture< ThermoType > & | globalThermo | ||
) | const |
Definition at line 35 of file InterfaceCompositionModel.C.
References multiComponentMixture::getLocalThermo().
const Foam::pureMixture< ThermoType >::thermoType & getLocalThermo | ( | const word & | speciesName, |
const pureMixture< ThermoType > & | globalThermo | ||
) | const |
Definition at line 55 of file InterfaceCompositionModel.C.
References pureMixture::cellMixture().
Foam::tmp<Foam::volScalarField> getSpecieMassFraction | ( | const word & | speciesName, |
const multiComponentMixture< ThermoType > & | mixture | ||
) | const |
Definition at line 68 of file InterfaceCompositionModel.C.
References Foam::dimless, mesh, Foam::New(), and Foam::Zero.
Foam::tmp<Foam::volScalarField> getSpecieMassFraction | ( | const word & | speciesName, |
const pureMixture< ThermoType > & | mixture | ||
) | const |
Definition at line 102 of file InterfaceCompositionModel.C.
References Foam::dimless, mesh, and Foam::New().
Foam::tmp<Foam::volScalarField> MwMixture | ( | const pureMixture< ThermoType > & | mixture | ) | const |
Definition at line 130 of file InterfaceCompositionModel.C.
References Foam::dimMass, Foam::dimMoles, Foam::constant::electromagnetic::e, mesh, and Foam::New().
Foam::tmp<Foam::volScalarField> MwMixture | ( | const multiComponentMixture< ThermoType > & | mixture | ) | const |
Definition at line 162 of file InterfaceCompositionModel.C.
|
protected |
Definition at line 63 of file InterfaceCompositionModel.H.
|
protected |
Definition at line 66 of file InterfaceCompositionModel.H.
|
protected |
Definition at line 69 of file InterfaceCompositionModel.H.
|
protected |
Definition at line 63 of file InterfaceCompositionModel.H.
|
protected |
Definition at line 66 of file InterfaceCompositionModel.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.