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()
91 const word& thermophysicalPropertiesTypeName = dict.
dictName();
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()
Base-class for thermophysical properties of solids, liquids and gases providing an interface compatib...
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void readIfPresent(const dictionary &dict)
Read and set the properties present it the given dictionary.
const word dictName() const
Return the local dictionary name (final part of scoped name)
stressControl lookup("compactNormalStress") >> compactNormalStress
static autoPtr< thermophysicalProperties > New(const word &name)
Return a pointer to a new thermophysicalProperties created from name.
A class for handling words, derived from string.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
virtual void write(Ostream &os) const =0
Write the function coefficients.
defineTypeNameAndDebug(combustionModel, 0)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
const scalarList W(::W(thermo))
Ostream & operator<<(Ostream &, const ensightPart &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
thermophysicalProperties(scalar W)
Construct from molecular weight.
#define InfoInFunction
Report an information message using Foam::Info.