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);
surfaceTensionModel(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
static autoPtr< surfaceTensionModel > New(const dictionary &dict, const phasePair &pair)
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool writeData(Ostream &os) const
Dummy write for regIOobject.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
defineTypeNameAndDebug(interfaceCompositionModel, 0)
OBJstream os(runTime.globalPath()/outputName)
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
messageStream Info
Information stream (stdout output on master, null elsewhere)
defineRunTimeSelectionTable(interfaceCompositionModel, dictionary)
Defines the attributes of an object for which implicit objectRegistry management is supported...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...