Go to the documentation of this file.
40 word modelType(
"none");
46 "radiationProperties",
49 IOobject::MUST_READ_IF_MODIFIED,
58 dict = std::move(propDict);
60 dict.readEntry(
"radiationModel", modelType);
64 Info<<
"Radiation model not active: radiationProperties not found"
68 Info<<
"Selecting radiationModel " << modelType <<
endl;
70 auto cstrIter = TConstructorTablePtr_->cfind(modelType);
72 if (!cstrIter.found())
79 *TConstructorTablePtr_
96 Info<<
"Selecting radiationModel " << modelType <<
endl;
98 auto cstrIter = dictionaryConstructorTablePtr_->cfind(modelType);
100 if (!cstrIter.found())
107 *dictionaryConstructorTablePtr_
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
static autoPtr< radiationModel > New(const volScalarField &T)
Return a reference to the selected radiation model.
messageStream Info
Information stream (uses stdout - output is on the master only)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
errorManipArg< error, int > exit(error &err, const int errNo=1)