26 #include "noPhaseChange.H" 39 phaseChangePropertiesName,
48 word modelType(twoPhaseChangeModels::noPhaseChange::typeName);
54 twoPhaseChangeModel::typeName
59 Info<<
"No phase change: " 60 << twoPhaseChangeModelIO.
name()
61 <<
" not found" <<
endl;
64 Info<<
"Selecting phaseChange model " << modelType <<
endl;
66 dictionaryConstructorTable::iterator cstrIter =
67 dictionaryConstructorTablePtr_->find(modelType);
69 if (cstrIter == dictionaryConstructorTablePtr_->end())
72 <<
"Unknown " << twoPhaseChangeModel::typeName<<
" type " 73 << modelType <<
nl <<
nl 74 <<
"Valid twoPhaseChangeModels are : " << endl
75 << dictionaryConstructorTablePtr_->sortedToc()
const word & name() const
Return name.
bool typeHeaderOk(const bool checkType=true)
Read header (uses typeFilePath to find file) and check header.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< twoPhaseChangeModel > New(const immiscibleIncompressibleTwoPhaseMixture &mixture)
Return a reference to the selected phaseChange model.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const volVectorField & U() const
Return const-access to the mixture velocity.
A class for handling words, derived from string.
const word & constant() const
Return constant name.
An immiscible incompressible two-phase mixture transport model.
const Time & time() const
Return time.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const objectRegistry & db() const
Return the local objectRegistry.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.