41 const word liftModelType(modelDict.
lookup(
"type"));
43 Info<<
"Selecting liftModel for "
44 << interface.
name() <<
": " << liftModelType <<
endl;
46 dictionaryConstructorTable::iterator cstrIter =
47 dictionaryConstructorTablePtr_->find(liftModelType);
49 if (cstrIter == dictionaryConstructorTablePtr_->end())
52 <<
"Unknown liftModel type "
54 <<
"Valid liftModel types are : " <<
endl
55 << dictionaryConstructorTablePtr_->sortedToc()
59 return cstrIter()(modelDict, interface);
static autoPtr< blendedLiftModel > New(const dictionary &dict, const phaseInterface &interface)
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.
Model for the lift force between two phases.
static autoPtr< liftModel > 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)