38 "radiationProperties",
41 IOobject::MUST_READ_IF_MODIFIED,
46 word modelType(
"none");
53 Info<<
"Radiation model not active: radiationProperties not found" 57 Info<<
"Selecting radiationModel " << modelType <<
endl;
59 TConstructorTable::iterator cstrIter =
60 TConstructorTablePtr_->find(modelType);
62 if (cstrIter == TConstructorTablePtr_->end())
65 <<
"Unknown radiationModel type " 66 << modelType <<
nl <<
nl 67 <<
"Valid radiationModel types are:" <<
nl 68 << TConstructorTablePtr_->sortedToc()
82 const word modelType(dict.
lookup(
"radiationModel"));
84 Info<<
"Selecting radiationModel " << modelType <<
endl;
86 dictionaryConstructorTable::iterator cstrIter =
87 dictionaryConstructorTablePtr_->find(modelType);
89 if (cstrIter == dictionaryConstructorTablePtr_->end())
92 <<
"Unknown radiationModel type " 93 << modelType <<
nl <<
nl 94 <<
"Valid radiationModel types are:" <<
nl 95 << dictionaryConstructorTablePtr_->sortedToc()
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< radiationModel > New(const volScalarField &T)
Return a reference to the selected radiation model.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A class for handling words, derived from string.
const word & constant() const
Return constant name.
const Mesh & mesh() const
Return mesh.
const Time & time() const
Return time.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.