35 namespace blendingMethods
52 const dictionary&
dict,
58 for (
const word& phaseName : phaseNames)
60 maxFullyDispersedAlpha_.insert
71 maxPartlyDispersedAlpha_.insert
84 maxFullyDispersedAlpha_[phaseName]
85 > maxPartlyDispersedAlpha_[phaseName]
89 <<
"The supplied fully dispersed volume fraction for " 91 <<
" is greater than the partly dispersed value." 107 maxFullAlpha(maxFullyDispersedAlpha_[
phase1.
name()]);
109 maxPartAlpha(maxPartlyDispersedAlpha_[
phase1.
name()]);
117 /(maxPartAlpha - maxFullAlpha + SMALL),
132 maxFullAlpha(maxFullyDispersedAlpha_[
phase2.
name()]);
134 maxPartAlpha(maxPartlyDispersedAlpha_[
phase2.
name()]);
142 /(maxPartAlpha - maxFullAlpha + SMALL),
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual tmp< volScalarField > f2(const phaseModel &phase1, const phaseModel &phase2) const
Factor for secondary phase.
const dimensionSet dimless
Dimensionless.
Macros for easy insertion into run-time selection tables.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
List< word > wordList
List of word.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const word & name() const
addToRunTimeSelectionTable(blendingMethod, hyperbolic, dictionary)
A class for managing temporary objects.
defineTypeNameAndDebug(hyperbolic, 0)
linear(const dictionary &dict, const wordList &phaseNames)
Construct from a dictionary and two phases.
virtual tmp< volScalarField > f1(const phaseModel &phase1, const phaseModel &phase2) const
Factor for primary phase.