35 namespace blendingMethods
58 for (
const word& phaseName : phaseNames)
60 minFullyContinuousAlpha_.insert
71 minPartlyContinuousAlpha_.insert
84 minFullyContinuousAlpha_[phaseName]
85 < minPartlyContinuousAlpha_[phaseName]
89 <<
"The supplied fully continuous volume fraction for " 91 <<
" is less than the partly continuous value." 107 minFullAlpha(minFullyContinuousAlpha_[
phase2.name()]);
109 minPartAlpha(minPartlyContinuousAlpha_[
phase2.name()]);
117 /(minFullAlpha - minPartAlpha + SMALL),
132 minFullAlpha(minFullyContinuousAlpha_[
phase1.name()]);
134 minPartAlpha(minPartlyContinuousAlpha_[
phase1.name()]);
142 /(minFullAlpha - minPartAlpha + 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...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#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.
Generic dimensioned Type class.
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.
A class for handling words, derived from Foam::string.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
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.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
virtual tmp< volScalarField > f1(const phaseModel &phase1, const phaseModel &phase2) const
Factor for primary phase.