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