35 word rhoChemistryModelType;
47 "chemistryProperties",
55 chemistryPropertiesDict.
lookup(
"rhoChemistryModel") >> userModel;
59 label tempOpen = userModel.find(
'<');
60 label tempClose = userModel.find(
'>');
62 word className = userModel(0, tempOpen);
63 thermoTypeName = userModel(tempOpen + 1, tempClose - tempOpen - 1);
65 rhoChemistryModelType =
66 className +
'<' + typeName +
',' + thermoTypeName +
'>';
71 Info<<
"Selecting rhoChemistryModel " << rhoChemistryModelType <<
endl;
75 Info<<
"Selecting rhoChemistryModel " << userModel <<
endl;
78 fvMeshConstructorTable::iterator cstrIter =
79 fvMeshConstructorTablePtr_->find(rhoChemistryModelType);
81 if (cstrIter == fvMeshConstructorTablePtr_->end())
86 <<
"Unknown rhoChemistryModel type " << rhoChemistryModelType
87 <<
nl <<
nl <<
"Valid rhoChemistryModel types are:" <<
nl
92 wordList models = fvMeshConstructorTablePtr_->sortedToc();
95 models[i] = models[i].replace(typeName +
',',
"");
99 <<
"Unknown rhoChemistryModel type " << userModel
100 <<
nl <<
nl <<
"Valid rhoChemistryModel types are:" <<
nl
106 (cstrIter()(
mesh, typeName, thermoTypeName));