33 namespace blendingMethods
50 const dictionary& dict,
63 maxFullyDispersedAlpha_.insert
79 maxPartlyDispersedAlpha_.insert
92 maxFullyDispersedAlpha_[*iter]
93 > maxPartlyDispersedAlpha_[*iter]
97 <<
"The supplied fully dispersed volume fraction for " 99 <<
" is greater than the partly dispersed value." 116 const phaseModel& phase1,
117 const phaseModel& phase2
121 maxFullAlpha(maxFullyDispersedAlpha_[phase1.name()]);
123 maxPartAlpha(maxPartlyDispersedAlpha_[phase1.name()]);
130 (phase1 - maxFullAlpha)
131 /(maxPartAlpha - maxFullAlpha + SMALL),
141 const phaseModel& phase1,
142 const phaseModel& phase2
146 maxFullAlpha(maxFullyDispersedAlpha_[phase2.name()]);
148 maxPartAlpha(maxPartlyDispersedAlpha_[phase2.name()]);
155 (maxPartAlpha - phase2)
156 /(maxPartAlpha - maxFullAlpha + SMALL),
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Macros for easy insertion into run-time selection tables.
virtual tmp< volScalarField > f1(const phaseModel &phase1, const phaseModel &phase2) const
Factor for primary phase.
static word groupName(Name name, const word &group)
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
virtual tmp< volScalarField > f2(const phaseModel &phase1, const phaseModel &phase2) const
Factor for secondary phase.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
List< word > wordList
A List of words.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.
linear(const dictionary &dict, const wordList &phaseNames)
Construct from a dictionary and two phases.