Go to the documentation of this file.
37 const word combModelName
43 IOobject::groupName(
"combustionProperties", phaseName),
44 mesh.time().constant(),
50 ).
lookup(
"combustionModel")
53 Info<<
"Selecting combustion model " << combModelName <<
endl;
55 dictionaryConstructorTable::iterator cstrIter =
56 dictionaryConstructorTablePtr_->find(combModelName);
58 if (cstrIter == dictionaryConstructorTablePtr_->end())
61 <<
"Unknown psiCombustionModel type "
63 <<
"Valid combustionModels are : " <<
endl
64 << dictionaryConstructorTablePtr_->toc()
68 const label tempOpen = combModelName.find(
'<');
70 const word className = combModelName(0, tempOpen);
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.
static autoPtr< psiCombustionModel > New(const fvMesh &mesh, const word &phaseName=word::null)
Selector.
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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Mesh data needed to do the Finite Volume discretisation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.