Go to the documentation of this file.
39 "radiationProperties",
42 IOobject::MUST_READ_IF_MODIFIED,
47 word modelType(
"none");
54 Info<<
"Radiation model not active: radiationProperties not found"
58 Info<<
"Selecting radiationModel " << modelType <<
endl;
60 TConstructorTable::iterator cstrIter =
61 TConstructorTablePtr_->find(modelType);
63 if (cstrIter == TConstructorTablePtr_->end())
66 <<
"Unknown radiationModel type "
67 << modelType <<
nl <<
nl
68 <<
"Valid radiationModel types are:" <<
nl
69 << TConstructorTablePtr_->sortedToc()
84 const word modelType(
dict.lookup(
"radiationModel"));
86 Info<<
"Selecting radiationModel " << modelType <<
endl;
88 dictionaryConstructorTable::iterator cstrIter =
89 dictionaryConstructorTablePtr_->find(modelType);
91 if (cstrIter == dictionaryConstructorTablePtr_->end())
94 <<
"Unknown radiationModel type "
95 << modelType <<
nl <<
nl
96 <<
"Valid radiationModel types are:" <<
nl
97 << dictionaryConstructorTablePtr_->sortedToc()
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling words, derived from string.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool headerOk()
Read and check header info.
static autoPtr< radiationModel > New(const volScalarField &T)
Return a reference to the selected radiation model.
A list of keyword definitions, which are a keyword followed by any number of values (e....
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Generic GeometricField class.