Go to the documentation of this file.
100 auto cstrIter = ConstructorTablePtr_->cfind(
name);
102 if (!cstrIter.found())
108 *ConstructorTablePtr_
132 if (
dict.
get<
bool>(
"defaultCoeffs"))
134 return New(liquidType);
137 auto cstrIter = dictionaryConstructorTablePtr_->cfind(liquidType);
139 if (!cstrIter.found())
146 *dictionaryConstructorTablePtr_
159 auto cstrIter = dictionaryConstructorTablePtr_->cfind(liquidType);
161 if (!cstrIter.found())
168 *dictionaryConstructorTablePtr_
197 <<
"Pressure below triple point pressure: "
198 <<
"p = " <<
p <<
" < Pt = " << Pt_ <<
nl <<
endl;
210 while ((Thi - Tlo) > 1.0
e-4)
212 if ((pv(
p,
T) -
p) <= 0)
int debug
Static debugging option.
#define InfoInFunction
Report an information message using Foam::Info.
A class for handling words, derived from Foam::string.
static autoPtr< liquidProperties > New(const word &name)
Return a pointer to a new liquidProperties created from name.
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
virtual void writeData(Ostream &os) const =0
Write the function coefficients.
Ostream & endl(Ostream &os)
Add newline and flush stream.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Base-class for thermophysical properties of solids, liquids and gases providing an interface compatib...
The thermophysical properties of a liquid.
liquidProperties(scalar W, scalar Tc, scalar Pc, scalar Vc, scalar Zc, scalar Tt, scalar Pt, scalar Tb, scalar dipm, scalar omega, scalar delta)
Construct from components.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const complex &c)
Return string representation of complex.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual void writeData(Ostream &os) const =0
Write the function coefficients.
scalar S(const scalar p, const scalar T) const
virtual scalar pvInvert(scalar p) const
Invert the vapour pressure relationship to retrieve the.
word dictName() const
The local dictionary name (final part of scoped name)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
void readIfPresent(const dictionary &dict)
Read and set the properties present it the given dictionary.
void readIfPresent(const dictionary &dict)
Read and set the properties present it the given dictionary.
const dimensionedScalar e
Elementary charge.
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary, otherwise return this dictionary.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
defineTypeNameAndDebug(combustionModel, 0)
#define WarningInFunction
Report a warning using Foam::Warning.
Ostream & operator<<(Ostream &, const boundaryPatch &)
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const