44 const dictionary&
dict,
45 const phaseModel& phase
48 diameterProperties_(
dict),
58 const dictionary&
dict,
59 const phaseModel& phase
62 const word modelType(
dict.
get<word>(
"diameterModel"));
64 Info<<
"Selecting diameterModel for phase " 69 auto* ctorPtr = dictionaryConstructorTable(modelType);
78 *dictionaryConstructorTablePtr_
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual bool read(const dictionary &phaseProperties)=0
Read phaseProperties dictionary.
virtual void correct()
Correct the diameter field.
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.
diameterModel(const dictionary &dict, const phaseModel &phase)
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary, otherwise return this dictionary.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
static autoPtr< diameterModel > New(const dictionary &diameterProperties, const phaseModel &phase)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
messageStream Info
Information stream (stdout output on master, null elsewhere)
#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 ...