Go to the documentation of this file.
30 template<
class modelType>
59 template<
class modelType>
89 template<
class modelType>
92 const word& 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
151 IOobject::groupName(modelName, phaseName),
159 if (!models.found(
key))
178 template <
class modelType>
189 template <
class modelType>
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
Hashing functor for phasePairKey.
A class for handling words, derived from Foam::string.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
void createSubModels(const dictTable &modelDicts, HashTable< autoPtr< modelType >, phasePairKey, phasePairKey::hash > &models)
Generate pairs and sub-model tables using pair keys.
const modelType & lookupSubModel(const phasePair &key) const
Access 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 Type & lookupObject(const word &name, const bool recursive=false) const
An ordered or unorder pair of phase names. Typically specified as follows.
Lookup type of boundary radiation properties.
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & mesh() const
Return mesh.
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)
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.