26 #include "heatTransferModel.H" 32 const dictionary& interfaceDict,
34 const phaseModel& phase1,
35 const phaseModel& phase2
38 word heatTransferModelType
40 interfaceDict.lookup(
"heatTransferModel" + phase1.name())
43 Info<<
"Selecting heatTransferModel for phase " 46 << heatTransferModelType <<
endl;
48 dictionaryConstructorTable::iterator cstrIter =
49 dictionaryConstructorTablePtr_->find(heatTransferModelType);
51 if (cstrIter == dictionaryConstructorTablePtr_->end())
54 <<
"Unknown heatTransferModelType type " 55 << heatTransferModelType << endl << endl
56 <<
"Valid heatTransferModel types are : " << endl
57 << dictionaryConstructorTablePtr_->sortedToc()
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.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static autoPtr< heatTransferModel > New(const dictionary &interfaceDict, const volScalarField &alpha1, const phaseModel &phase1, const phaseModel &phase2)