Go to the documentation of this file.
29 #include "phasePair.H"
35 namespace multiphaseInter
49 const bool registerObject
79 Info<<
"Selecting surfaceTensionModel for "
80 << pair <<
": " << modelType <<
endl;
82 auto* ctorPtr = dictionaryConstructorTable(modelType);
89 "surfaceTensionModel",
91 *dictionaryConstructorTablePtr_
95 return ctorPtr(
dict, pair,
true);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
A class for handling words, derived from Foam::string.
Ostream & endl(Ostream &os)
static autoPtr< surfaceTensionModel > New(const dictionary &dict, const phasePair &pair)
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
surfaceTensionModel(const dictionary &dict, const phasePair &pair, const bool registerObject)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
errorManipArg< error, int > exit(error &err, const int errNo=1)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
defineTypeNameAndDebug(surfaceTensionModel, 0)
virtual word name() const
word name(const expressions::valueTypeCode typeCode)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const phaseModel & phase1() const
bool writeData(Ostream &os) const
defineRunTimeSelectionTable(surfaceTensionModel, dictionary)