47 W_(
dict.lookup<scalar>(
"W"))
64 ConstructorTable::iterator cstrIter = ConstructorTablePtr_->find(
name);
66 if (cstrIter == ConstructorTablePtr_->end())
69 <<
"Unknown thermophysicalProperties type "
71 <<
"Valid thermophysicalProperties types are:" <<
nl
72 << ConstructorTablePtr_->sortedToc()
93 dictionaryConstructorTable::iterator cstrIter =
94 dictionaryConstructorTablePtr_->find(thermophysicalPropertiesTypeName);
96 if (cstrIter == dictionaryConstructorTablePtr_->end())
99 <<
"Unknown thermophysicalProperties type "
100 << thermophysicalPropertiesTypeName <<
nl <<
nl
101 <<
"Valid thermophysicalProperties types are:" <<
nl
102 << dictionaryConstructorTablePtr_->sortedToc()
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const word dictName() const
Return the local dictionary name (final part of scoped name)
A list of keyword definitions, which are a keyword followed by any number of values (e....
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
Base-class for thermophysical properties of solids, liquids and gases providing an interface compatib...
virtual void write(Ostream &os) const =0
Write the function coefficients.
thermophysicalProperties(scalar W)
Construct from molecular weight.
static autoPtr< thermophysicalProperties > New(const word &name)
Return a pointer to a new thermophysicalProperties created from name.
void readIfPresent(const dictionary &dict)
Read and set the properties present it the given dictionary.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define InfoInFunction
Report an information message using Foam::Info.
errorManipArg< error, int > exit(error &err, const int errNo=1)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
defineTypeNameAndDebug(combustionModel, 0)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
const scalarList W(::W(thermo))