30#include "phaseModel.H"
51 speciesNames_(
dict.lookup(
"species"))
66 dict.get<word>(
"type")
68 +
pair.phase1().thermo().type()
70 +
pair.phase2().thermo().type()
74 Info<<
"Selecting interfaceCompositionModel for "
75 <<
pair <<
": " << modelType <<
endl;
77 auto* ctorPtr = dictionaryConstructorTable(modelType);
84 "interfaceCompositionModel",
86 *dictionaryConstructorTablePtr_
98 return this->speciesNames_.found(speciesName);
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
interfaceCompositionModel(const dictionary &dict, const phasePair &pair)
Construct from a dictionary and a phase pair.
static autoPtr< interfaceCompositionModel > New(const dictionary &dict, const phasePair &pair)
bool transports(word &speciesName) const
Returns whether the species is transported by the model and provides the name of the diffused species...
const hashedWordList speciesNames_
Names of the transferring species.
const phasePair & pair() const
The phase pair.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.