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