30 #include "phaseModel.H" 31 #include "phasePair.H" 46 const dictionary&
dict,
51 speciesNames_(
dict.lookup(
"species"))
60 const dictionary&
dict,
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_
90 return ctorPtr(
dict, pair);
96 bool Foam::interfaceCompositionModel::transports(
word& speciesName)
const 98 return this->speciesNames_.found(speciesName);
Ostream & endl(Ostream &os)
Add newline and flush stream.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
A class for handling words, derived from Foam::string.
interfaceCompositionModel(const dictionary &dict, const phasePair &pair)
Construct from a dictionary and a phase pair.
errorManip< error > abort(error &err)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
static autoPtr< interfaceCompositionModel > New(const dictionary &dict, const phasePair &pair)
messageStream Info
Information stream (stdout output on master, null elsewhere)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...