Go to the documentation of this file.
30 template<
class modelType>
33 const dictTable& modelDicts,
44 const phasePairKey& key = iter.key();
59 template<
class modelType>
89 template<
class modelType>
92 const word& modelName,
101 dictTable modelDicts(
lookup(modelName));
103 generatePairs(modelDicts);
105 createSubModels(modelDicts, models);
109 template<
class modelType>
112 const word& modelName,
124 generatePairs(modelDicts);
126 createSubModels(modelDicts,
mesh, models);
130 template<
class modelType>
133 const word& modelName,
146 for (
const word& phaseName : phaseNames_)
148 modelTypeTable tempModels;
149 generatePairsAndSubModels
159 if (!models.found(key))
178 template <
class modelType>
189 template <
class modelType>
192 const phaseModel& from,
196 return lookupSubModel<modelType>(orderedPhasePair(from, to));
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
A class for handling words, derived from Foam::string.
Ordered or unordered hashing of word pair.
void createSubModels(const dictTable &modelDicts, HashTable< autoPtr< modelType >, phasePairKey, phasePairKey::hash > &models)
Generate pairs and sub-model tables.
const modelType & lookupSubModel(const phasePair &key) const
Return a sub model between a phase pair.
void generatePairsAndSubModels(const word &modelName, HashTable< autoPtr< modelType >, phasePairKey, phasePairKey::hash > &models)
Generate pairs and sub-model tables.
const cellModel * lookup(const word &modelName)
Deprecated(2017-11) equivalent to cellModel::ptr static method.
const Type & lookupObject(const word &name, const bool recursive=false) const
Mesh data needed to do the Finite Volume discretisation.
A HashTable similar to std::unordered_map.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
forAllConstIters(mixture.phases(), phase)
virtual word name() const
Pair name.
phasePairTable phasePairs_
Phase pairs.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.