Go to the documentation of this file.
29 #include "phasePair.H"
35 namespace multiphaseInter
49 const bool registerObject
56 IOobject::groupName(typeName, pair.
name()),
57 pair.
phase1().mesh().time().timeName(),
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)
Add newline and flush stream.
static autoPtr< surfaceTensionModel > New(const dictionary &dict, const phasePair &pair)
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (stdout output on master, null elsewhere)
surfaceTensionModel(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
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
Pair name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const phaseModel & phase1() const
bool writeData(Ostream &os) const
Dummy write for regIOobject.
defineRunTimeSelectionTable(surfaceTensionModel, dictionary)