36 word hsReactionThermoTypeName;
46 "thermophysicalProperties",
54 thermoDict.
lookup(
"thermoType") >> hsReactionThermoTypeName;
57 Info<<
"Selecting thermodynamics package " << hsReactionThermoTypeName
60 fvMeshConstructorTable::iterator cstrIter =
61 fvMeshConstructorTablePtr_->find(hsReactionThermoTypeName);
63 if (cstrIter == fvMeshConstructorTablePtr_->end())
66 <<
"Unknown hsReactionThermo type "
67 << hsReactionThermoTypeName <<
nl <<
nl
68 <<
"Valid hsReactionThermo types are:" <<
nl
69 << fvMeshConstructorTablePtr_->sortedToc() <<
nl
80 const word& thermoType
83 word hsReactionThermoTypeName;
93 "thermophysicalProperties",
101 thermoDict.
lookup(
"thermoType") >> hsReactionThermoTypeName;
103 if (hsReactionThermoTypeName.find(thermoType) == string::npos)
105 wordList allModels = fvMeshConstructorTablePtr_->sortedToc();
109 if (allModels[i].find(thermoType) != string::npos)
111 validModels.
append(allModels[i]);
117 "autoPtr<hsReactionThermo> hsReactionThermo::NewType"
122 ) <<
"Inconsistent thermo package selected:" <<
nl <<
nl
123 << hsReactionThermoTypeName <<
nl <<
nl <<
"Please select a "
124 <<
"thermo package based on " << thermoType
125 <<
". Valid options include:" <<
nl << validModels <<
nl
130 Info<<
"Selecting thermodynamics package " << hsReactionThermoTypeName
133 fvMeshConstructorTable::iterator cstrIter =
134 fvMeshConstructorTablePtr_->find(hsReactionThermoTypeName);
136 if (cstrIter == fvMeshConstructorTablePtr_->end())
139 <<
"Unknown hsReactionThermo type "
140 << hsReactionThermoTypeName <<
nl <<
nl
141 <<
"Valid hsReactionThermo types are:" <<
nl
142 << fvMeshConstructorTablePtr_->sortedToc() <<
nl