Go to the documentation of this file.
39 #ifndef interfaceCompositionModel_H
40 #define interfaceCompositionModel_H
75 TypeName(
"interfaceCompositionModel");
134 const word& speciesName,
141 const word& speciesName,
148 const word& speciesName,
155 const word& speciesName
161 const word& speciesName,
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
static autoPtr< interfaceCompositionModel > New(const dictionary &dict, const phasePair &pair)
A class for handling words, derived from Foam::string.
virtual ~interfaceCompositionModel()=default
Destructor.
virtual tmp< volScalarField > D(const word &speciesName) const =0
Mass diffusivity.
declareRunTimeSelectionTable(autoPtr, interfaceCompositionModel, dictionary,(const dictionary &dict, const phasePair &pair),(dict, pair))
virtual tmp< volScalarField > dY(const word &speciesName, const volScalarField &Tf) const =0
Mass fraction difference between the interface and the field.
Generic base class for interface composition models. These models describe the composition in phase 1...
const phasePair & pair() const
Return pair.
const hashedWordList & species() const
Return the transferring species names.
CGAL::Exact_predicates_exact_constructions_kernel K
virtual tmp< volScalarField > L(const word &speciesName, const volScalarField &Tf) const =0
Latent heat.
TypeName("interfaceCompositionModel")
Runtime type information.
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
virtual tmp< volScalarField > YfPrime(const word &speciesName, const volScalarField &Tf) const =0
The interface mass fraction derivative w.r.t. temperature.
const phasePair & pair_
Phase pair.
virtual void update(const volScalarField &Tf)=0
Update the composition.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool transports(word &speciesName) const
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const hashedWordList speciesNames_
Names of the transferring species.
interfaceCompositionModel(const dictionary &dict, const phasePair &pair)
Construct from a dictionary and a phase pair.
Macros to ease declaration of run-time selection tables.
virtual tmp< volScalarField > Yf(const word &speciesName, const volScalarField &Tf) const =0
Interface mass fraction.
virtual void addMDotL(const volScalarField &K, const volScalarField &Tf, volScalarField &mDotL, volScalarField &mDotLPrime) const =0
Add latent heat flow rate to total.