30 #include "aspectRatioModel.H" 43 phasePair(dispersed, continuous,
g, sigmaTable, true)
45 if (aspectRatioTable.
found(*
this))
51 aspectRatioTable[*
this],
81 word namec(continuous().
name());
82 namec[0] = toupper(namec[0]);
83 return dispersed().
name() +
"In" + namec;
92 <<
"Aspect ratio model not specified for " << *
this <<
"." 96 return aspectRatio_->E();
static autoPtr< aspectRatioModel > New(const dictionary &dict, const phasePair &pair)
virtual word name() const
Pair name.
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.
bool found(const Key &key) const
Same as contains()
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A class for handling words, derived from Foam::string.
virtual tmp< volScalarField > E() const
Aspect ratio.
const uniformDimensionedVectorField & g
virtual ~orderedPhasePair()=default
Destructor.
orderedPhasePair(const multiphaseInter::phaseModel &from, const multiphaseInter::phaseModel &to)
Construct from two phases and gravity.
const word & name() const
virtual const phaseModel & continuous() const
Continuous phase.
A class for managing temporary objects.
virtual const phaseModel & dispersed() const
Dispersed phase.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...