45 const word& modelType,
56 const word& modelType,
74 word heatTransferCoefficientModelType(
dict.lookup(typeName));
76 Info<<
"Selecting " << typeName <<
" "
77 << heatTransferCoefficientModelType <<
endl;
79 meshConstructorTable::iterator cstrIter =
80 meshConstructorTablePtr_->find(heatTransferCoefficientModelType);
82 if (cstrIter == meshConstructorTablePtr_->end())
85 <<
"Unknown " << typeName <<
" type "
86 << heatTransferCoefficientModelType <<
endl <<
endl
87 <<
"Valid " << typeName <<
" types are : " <<
endl
88 << meshConstructorTablePtr_->sortedToc()
95 dict.optionalSubDict(heatTransferCoefficientModelType +
"Coeffs"),
108 word heatTransferCoefficientModelType(
dict.lookup(typeName));
110 Info<<
"Selecting " << typeName <<
" "
111 << heatTransferCoefficientModelType <<
endl;
113 modelConstructorTable::iterator cstrIter =
114 modelConstructorTablePtr_->find(heatTransferCoefficientModelType);
116 if (cstrIter == modelConstructorTablePtr_->end())
119 <<
"Unknown " << typeName <<
" type "
120 << heatTransferCoefficientModelType <<
endl <<
endl
121 <<
"Valid " << typeName <<
" types are : " <<
endl
122 << modelConstructorTablePtr_->sortedToc()
129 dict.optionalSubDict(heatTransferCoefficientModelType +
"Coeffs"),
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
Base class for heat transfer coefficient modelling used in heat transfer fvModels.
virtual bool read(const dictionary &dict)
Read dictionary.
static autoPtr< heatTransferCoefficientModel > New(const dictionary &dict, const fvMesh &mesh)
Select from dictionary and mesh.
heatTransferCoefficientModel(const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from dictionary and mesh.
virtual ~heatTransferCoefficientModel()
Destructor.
Base class for inter-region exchange.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
defineTypeNameAndDebug(bound, 0)
defineRunTimeSelectionTable(heatTransferCoefficientModel, mesh)
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.