44 const word interfaceSurfaceTensionModelType(modelDict.
lookup(
"type"));
46 Info<<
"Selecting interfaceSurfaceTensionModel for "
47 << interface.
name() <<
": " << interfaceSurfaceTensionModelType <<
endl;
49 dictionaryConstructorTable::iterator cstrIter =
50 dictionaryConstructorTablePtr_->find(interfaceSurfaceTensionModelType);
52 if (cstrIter == dictionaryConstructorTablePtr_->end())
55 <<
"Unknown interfaceSurfaceTensionModel type "
56 << interfaceSurfaceTensionModelType <<
endl <<
endl
57 <<
"Valid interfaceSurfaceTensionModel types are : " <<
endl
58 << dictionaryConstructorTablePtr_->sortedToc()
62 return cstrIter()(modelDict, interface);
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Abstract base-class for interface surface-tension models which can be used when interface compression...
static autoPtr< interfaceSurfaceTensionModel > New(const dictionary &dict, const phaseInterface &interface, const bool outer=true)
Class to represent an interface between phases. Derivations can further specify the configuration of ...
const phaseSystem & fluid() const
Return the phase system.
virtual word name() const
Name.
static const dictionary & modelSubDict(const dictionary &dict)
Return the dictionary from which to construct a low-level.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
void outer(FieldField< Field1, typename outerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)