26 #include "wallLubricationModel.H"
27 #include "phasePair.H"
33 const dictionary&
dict,
37 word wallLubricationModelType(
dict.lookup(
"type"));
39 Info<<
"Selecting wallLubricationModel for "
40 << pair <<
": " << wallLubricationModelType <<
endl;
42 dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(wallLubricationModelType);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
48 <<
"Unknown wallLubricationModelType type "
49 << wallLubricationModelType <<
endl <<
endl
50 <<
"Valid wallLubricationModel types are : " <<
endl
51 << dictionaryConstructorTablePtr_->sortedToc()
55 return cstrIter()(
dict, pair);