30 #include "phasePair.H" 36 namespace reactingMultiphaseEuler
53 const bool registerObject
83 Info<<
"Selecting surfaceTensionModel for " 84 << pair <<
": " << modelType <<
endl;
86 auto* ctorPtr = dictionaryConstructorTable(modelType);
93 "surfaceTensionModel",
95 *dictionaryConstructorTablePtr_
99 return ctorPtr(
dict, pair,
true);
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.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
defineTypeNameAndDebug(surfaceTensionModel, 0)
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.
errorManip< error > abort(error &err)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
surfaceTensionModel(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
OBJstream os(runTime.globalPath()/outputName)
static const dimensionSet dimSigma
Coefficient dimensions.
defineRunTimeSelectionTable(surfaceTensionModel, dictionary)
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)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
static autoPtr< surfaceTensionModel > New(const dictionary &dict, const phasePair &pair)
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.
bool writeData(Ostream &os) const
Dummy write for regIOobject.
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 ...