71 namec[0] = toupper(namec[0]);
72 return first() +
"In" + namec;
79 <<
"Requested other name phase from an ordered pair."
const word & first() const noexcept
const word & second() const noexcept
virtual word otherName() const
Other pair name.
orderedPhasePair(const multiphaseInter::phaseModel &from, const multiphaseInter::phaseModel &to)
Construct from two phases and gravity.
virtual word name() const
Pair name.
virtual ~orderedPhasePair()=default
Destructor.
virtual const phaseModel & continuous() const
Continuous phase.
virtual const phaseModel & dispersed() const
Dispersed phase.
virtual tmp< volScalarField > E() const
Aspect ratio.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const phaseSystem & fluid() const
Return the system to which this phase belongs.
phasePair(const multiphaseInter::phaseModel &phase1, const multiphaseInter::phaseModel &phase2, const bool ordered=false)
Construct from two phases.
tmp< volScalarField > E(const phasePairKey &key) const
Return the aspect-ratio for a pair.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
static const word null
An empty word.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
errorManipArg< error, int > exit(error &err, const int errNo=1)