Go to the documentation of this file.
29 #include "phaseSystem.H"
35 const phaseModel& dispersed,
36 const phaseModel& continuous
71 namec[0] = toupper(namec[0]);
72 return first() +
"In" + namec;
79 <<
"Requested other name phase from an ordered pair."
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for handling words, derived from Foam::string.
virtual word name() const
Pair name.
A class for managing temporary objects.
virtual const phaseModel & continuous() const
Continuous phase.
virtual tmp< volScalarField > E() const
Aspect ratio.
virtual word otherName() const
Other pair name.
virtual ~orderedPhasePair()=default
Destructor.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual const phaseModel & dispersed() const
Dispersed phase.
static const word null
An empty word.
const phaseSystem & fluid() const
Return the system to which this phase belongs.
orderedPhasePair(const phaseModel &from, const phaseModel &to)
Construct from two phases and gravity.
tmp< volScalarField > E(const phasePairKey &key) const
Return the aspect-ratio for a pair.