35 const word phaseSystemType
42 mesh.time().constant(),
51 Info<<
"Selecting phaseSystem " 52 << phaseSystemType <<
endl;
54 dictionaryConstructorTable::iterator cstrIter =
55 dictionaryConstructorTablePtr_->find(phaseSystemType);
57 if (cstrIter == dictionaryConstructorTablePtr_->end())
60 <<
"Unknown phaseSystemType type " 61 << phaseSystemType << endl << endl
62 <<
"Valid phaseSystem types are : " << endl
63 << dictionaryConstructorTablePtr_->sortedToc()
67 return cstrIter()(
mesh);
static const word propertiesName
Default name of the phase properties dictionary.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
IOobject(const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true)
Construct from name, instance, registry, io options.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< phaseSystem > New(const fvMesh &mesh)
IOdictionary(const IOobject &io, const word &wantedType)
Construct given an IOobject, supply wanted typeName.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const fvMesh & mesh() const
Return the mesh.