26 #include "heatTransferModel.H" 27 #include "phasePair.H" 33 const dictionary& dict,
37 word heatTransferModelType(dict.lookup(
"type"));
39 Info<<
"Selecting heatTransferModel for " 40 << pair <<
": " << heatTransferModelType <<
endl;
42 dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(heatTransferModelType);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
48 <<
"Unknown heatTransferModelType type " 49 << heatTransferModelType << endl << endl
50 <<
"Valid heatTransferModel types are : " << endl
51 << dictionaryConstructorTablePtr_->sortedToc()
55 return cstrIter()(
dict, pair);
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< heatTransferModel > New(const dictionary &interfaceDict, const volScalarField &alpha1, const phaseModel &phase1, const phaseModel &phase2)