26 #include "orderedPhasePair.H" 27 #include "aspectRatioModel.H" 33 const phaseModel& dispersed,
34 const phaseModel& continuous,
36 const scalarTable& sigmaTable,
37 const dictTable& aspectRatioTable
40 phasePair(dispersed, continuous, g, sigmaTable, true)
42 if (aspectRatioTable.found(*
this))
48 aspectRatioTable[*
this],
78 word namec(continuous().
name());
79 namec[0] = toupper(namec[0]);
80 return dispersed().name() +
"In" + namec;
86 if (!aspectRatio_.valid())
89 <<
"Aspect ratio model not specified for " << *
this <<
"." 93 return aspectRatio_->E();
static autoPtr< aspectRatioModel > New(const dictionary &dict, const phasePair &pair)
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual ~orderedPhasePair()
Destructor.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual word name() const
Pair name.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
A class for handling words, derived from string.
virtual const phaseModel & continuous() const
Continuous phase.
virtual tmp< volScalarField > E() const
Aspect ratio.
word name(const complex &)
Return a string representation of a complex.
orderedPhasePair(const phaseModel &dispersed, const phaseModel &continuous)
Construct from two phases and gravity.
A class for managing temporary objects.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
virtual const phaseModel & dispersed() const
Dispersed phase.