48 Info<<
"Selecting mixture viscosity model " << modelType <<
endl;
50 dictionaryConstructorTable::iterator cstrIter =
51 dictionaryConstructorTablePtr_->find(modelType);
53 if (cstrIter == dictionaryConstructorTablePtr_->end())
56 <<
"Unknown mixtureViscosityModel type "
57 << modelType <<
nl <<
nl
58 <<
"Valid mixtureViscosityModels are : " <<
endl
59 << dictionaryConstructorTablePtr_->sortedToc()
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Class to represent a mixture of two constant density phases.
static autoPtr< mixtureViscosityModel > New(const incompressibleDriftFluxMixture &mixture)
Return a reference to the selected viscosity model.
static IOobject findModelDict(const objectRegistry &obr, const word &group, bool registerObject=false)
Find the physicalProperties dictionary and return the IOobject.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.